Nyall Dawson
32834e9bf1
Update indentation
2017-11-24 14:57:39 +10:00
Nyall Dawson
f29eb7b19e
Port and fix unit tests
2017-11-24 10:24:36 +10:00
Nyall Dawson
3c4fae0015
Readd tests for scalebars
2017-11-24 10:24:36 +10:00
Nyall Dawson
604e51d390
Restore some tests
2017-11-24 10:24:36 +10:00
Nyall Dawson
2a75ad8e96
More work on layout multiframe undo/redo
2017-11-24 10:24:36 +10:00
Nyall Dawson
e71d4d7c84
more attempts to fix multiframe undo
2017-11-24 10:24:36 +10:00
Nyall Dawson
f04d438572
Some undo/redo fixes for multiframe items
2017-11-24 10:24:36 +10:00
Nyall Dawson
c6eaf1f7fd
Update test masks
2017-11-24 10:24:36 +10:00
Nyall Dawson
584cbd0734
Fix test failure
2017-11-24 10:24:35 +10:00
Nyall Dawson
dddce25e13
More work on porting multiframe items
2017-11-24 10:24:35 +10:00
Nyall Dawson
2cf99116d7
Resurrect tests for html item
2017-11-24 10:24:35 +10:00
Nyall Dawson
0e71505fe8
Fix a number of multiframe methods
2017-11-24 10:24:35 +10:00
Nyall Dawson
c4c0c83ca5
Restore api for handling layout item page numbers
2017-11-24 10:24:35 +10:00
Nyall Dawson
714920ff25
Start of multiframe porting
2017-11-24 10:24:35 +10:00
Martin Dobias
a2ff3631d5
Fix tessellation of polygons that are not horizontal
...
Discovered by Nyall while working on PR #5708
Tessellation would shift coordinates because when points got reprojected
to the new base, the Z coordinates were considered zero (which worked only
when all points were on the same plane).
2017-11-23 14:09:03 +01:00
Nyall Dawson
5206bf0f76
[3d] Fix creation of extruded walls in vertex binding mode
...
Previously the walls always had horizontal top/bottom, but
in vertex binding mode the walls need to have different z values
at the start and end coordinate
Note that the unit test exposes a different bug in the tesselator,
which should also be fixed...
2017-11-23 11:40:52 +01:00
Alessandro Pasotti
9d8a39fac0
Merge pull request #5694 from elpaso/bugfix-17518-pg-import--without-schema
...
[bugfix][postgres] Browser panel D&D a layer onto a postgresql connection tree …
2017-11-23 07:53:57 +01:00
Nyall Dawson
fada3d9ace
Add unit test for package algorithm
2017-11-23 11:27:24 +10:00
Alessandro Pasotti
9f56878d88
[bugfix] Add some more logic to get the schema name if empty
2017-11-22 17:22:14 +01:00
Alessandro Pasotti
23dfb1de57
[bugfix] Browser panel D&D a layer onto a postgresql connection tree node icon fails without notice
...
Fixes #17518 by defaulting to "public" if no schema is given
2017-11-22 13:02:15 +01:00
Blottiere Paul
fd1539f502
Skip test instead of commenting
2017-11-22 07:46:24 +00:00
Blottiere Paul
e29f605bb3
Add some masks and set a higher threshold for comparing images
2017-11-22 07:46:24 +00:00
Blottiere Paul
1c81c4236b
Disable a test
2017-11-22 07:46:24 +00:00
Blottiere Paul
d24de06c10
Split some WMS tests
2017-11-22 07:46:24 +00:00
Nyall Dawson
b058df7d1d
Merge pull request #5686 from nyalldawson/encoding
...
[processing] Don't use crappy Qt file picker dialog
2017-11-22 07:27:50 +11:00
Alessandro Pasotti
b2c6464e58
Merge pull request #5679 from elpaso/bugfix-16935-gpkg-split-features
...
[bugfix] Editing a GPKG layer added by d&d leads
2017-11-21 14:00:45 +01:00
Etienne Trimaille
373471214f
rename metadata() to htmlMetadata() in QgsRasterDataProvider
2017-11-21 11:38:50 +01:00
Nyall Dawson
f660d78017
Add a new dialog for selecting file encoding, QgsEncodingSelectionDialog
...
Can be used to prompt users for a file encoding choice
2017-11-21 20:38:07 +10:00
Matthias Kuhn
62713a5029
Merge pull request #5510 from m-kuhn/relationsearch
...
[FEATURE] Search widget for relations using aggregates
2017-11-21 09:11:26 +01:00
Alessandro Pasotti
a12939d380
[ogr] Implement skipConstraintsCheck for fid
...
With test.
2017-11-21 09:03:24 +01:00
Nyall Dawson
95cf299099
Followup c9b8ddc, add unit test
2017-11-21 08:58:54 +10:00
Matthias Kuhn
04101c3f43
Add dummy canvas to test
2017-11-20 20:31:39 +01:00
Matthias Kuhn
f8a8cb96b8
Fix failing tests
2017-11-20 20:31:39 +01:00
Alessandro Pasotti
f97b5a54d0
Fix test for primary key constraints
2017-11-20 18:30:49 +01:00
Alessandro Pasotti
73d6765e89
[bugfix] Editing a GPKG layer added by d&d leads
...
... to error and data corruption
Fixes #16935 for GPKG (OGR), still needs to check spatialite
Thanks to Matthias Kuhn for pointing me into the right direction
2017-11-20 17:04:17 +01:00
Matthias Kuhn
67b68a841d
Merge pull request #5578 from gacarrillor/iface_copy_paste_features
...
Expose through iface methods to copy/paste features between given layers
2017-11-20 07:24:41 +01:00
Nyall Dawson
eb2ef6a681
Merge pull request #5672 from nyalldawson/provider_fixes2
...
Add tests/fixes for some provider issues
2017-11-20 11:51:49 +11:00
Nyall Dawson
8cf9f8fb6f
Fix combining extent of valid rectangle with invalid rectangle results
...
in invalid rectangle
2017-11-20 08:29:17 +11:00
Nyall Dawson
6c4a8a246e
Update WFS tests
2017-11-19 17:19:04 +10:00
Nyall Dawson
d6eb8eccdd
Add a bit of tolerance to WFS provider test
...
Was failing on Fedora 27
2017-11-19 16:20:02 +10:00
Nyall Dawson
705416c489
More consistent exception throwing in QgsCoordinateTransform::transformBoundingBox
...
Depending on the os and proj versions, we weren't always getting an
exception when a bad bounding box transform was made. So now we
explicitly check the result, and if everything was invalid
then we also throw an exception.
This makes the behavior consistent across different platforms,
and fixes running the provider tests on non Travis platforms
(highly likely also fixes various issues encountered while running
QGIS)
2017-11-19 16:17:30 +10:00
Nyall Dawson
957cf652aa
Add some more provider tests for feature count when subset string is added/removed
2017-11-19 08:59:12 +10:00
Nyall Dawson
1cfd6ee829
Add provider test to ensure that extent is correctly calculated
...
for layers with 1 point and also no features
The first scenario should return an 'empty' rectangle with x/y
min/max matching just the single point's coordinate, the
second scenario must return a null rectangle (not an empty 0,0
rectangle!)
2017-11-19 08:56:48 +10:00
Blottiere Paul
898eb4abf4
Merge pull request #5628 from pblottiere/bugfix-transaction-tuple
...
executeSql in transaction does not return an error on tuple
2017-11-16 09:36:56 +00:00
Blottiere Paul
9283b26762
Update tests
2017-11-16 08:40:45 +00:00
Blottiere Paul
f52300d361
Update tests
2017-11-16 08:04:03 +00:00
Blottiere Paul
c6b054ed4d
Add test
2017-11-16 08:01:07 +00:00
Alessandro Pasotti
8dd70c1dab
Merge pull request #5526 from boundlessgeo/ogr_authconfig_2
...
[auth][needs-docs] Authentication configuration support in OGR provider
2017-11-16 09:00:04 +01:00
Mathieu Pellerin
05d38b3d1d
[processing] preserve field length and precision for temporary outputs ( #5654 )
...
* add test case to cover length and precision through uri
2017-11-16 14:13:52 +07:00
Larry Shaffer
72af1a00da
[auth][ogr] Add missing PyQGIS auth manager OGR test
2017-11-15 19:30:34 -07:00