2410 Commits

Author SHA1 Message Date
Nyall Dawson
660900ba6b Tweak test tolerance for xenial 2016-06-14 08:55:40 +10:00
Nyall Dawson
0a5ad73581 Invalid join cache when layer is modified (fix #11140) 2016-06-13 22:08:55 +10:00
Nyall Dawson
16eb1e14d0 Classifications on joined fields should only consider values which
are matched to layer's features (fix #9051)
2016-06-13 13:43:46 +10:00
Matthias Kuhn
4f803e8658 Fix failing test 2016-06-12 16:40:21 +02:00
Matthias Kuhn
7b3e667282 Remove more debug noise 2016-06-12 16:05:40 +02:00
Matthias Kuhn
c63b910d75 Remove debug noise 2016-06-12 16:01:51 +02:00
Even Rouault
5fcadebc50 Indentation fix 2016-06-12 15:46:33 +02:00
Even Rouault
31879e5211 [WFS provider] Fix handling of LatLongBoundingBox in WFS 1.0
According to the specification, the values of LatLongBoundingBox
are supposed to be in the SRS, not necessarily in WGS84.

But some servers do not follow the spec and return values in WGS84,
so let's try to accomodate for this too.

Fix #14876
2016-06-12 15:14:23 +02:00
Even Rouault
7ed1a7ff79 Merge branch 'master' of github.com:qgis/QGIS 2016-06-11 14:03:03 +02:00
Even Rouault
f7cf974774 Merge remote branch 'origin/wfs_geomedia_fixes' 2016-06-11 13:55:34 +02:00
Even Rouault
5839a3a8cd Merge branch 'master' of github.com:qgis/QGIS 2016-06-11 13:01:49 +02:00
Nyall Dawson
607b1df4dc Fix joined attributes can't be used in filter expressions
(fix #13176)
2016-06-10 18:49:01 +10:00
Even Rouault
12bb1f7b4a testqgsogcutils.cpp: add more debug output to diagnose flake failure on QT5 2016-06-10 10:44:24 +02:00
Even Rouault
690e554b61 QgsGML: handle more type of geometries (Arc, CompositeSurface, etc...) through OGR 2016-06-10 09:39:11 +02:00
Even Rouault
a4f151131b QgsGmlStreamingParser: fix memory leak if parsing a GML file truncated in the middle of a feature 2016-06-10 09:39:11 +02:00
Even Rouault
5acb128867 testqgsgml.cpp: fix memory leaks in test 2016-06-10 09:39:11 +02:00
Even Rouault
544e8bd812 [WFS provider] Handle server exposing paging capabilities but obviously not implementing it. Handle feature duplicates when server return features without fid/gml:id 2016-06-10 09:39:11 +02:00
Even Rouault
08ead81321 [WFS provider] Use EPSG:XXXX format for SRSNAME= parameter for servers that adverize SRS in GetCapabilities response in that format. And also append srsname to value of BBOX parameter 2016-06-10 09:39:11 +02:00
Even Rouault
734a3a5555 [WFS provider] Recognize gmgml:Polygon_Surface_MultiSurface_CompositeSurfacePropertyType in DescribeFeatureType response 2016-06-10 09:39:11 +02:00
Nyall Dawson
8394b574fa Revert "Fix joined attributes can't be used in filter expressions"
This reverts commit acedb39c5a19509b91a2247b70db3d5da7c5b105.
2016-06-10 15:29:10 +10:00
Nyall Dawson
acedb39c5a Fix joined attributes can't be used in filter expressions
(fix #13176)
2016-06-10 14:47:36 +10:00
Nyall Dawson
a592167d29 Fix failing test on qt5 2016-06-10 13:34:46 +10:00
Nyall Dawson
a3768672c8 Correctly support joins using virtual fields (fix #14820) 2016-06-10 12:53:40 +10:00
Nyall Dawson
df0d5969aa Fix virtual fields which depend on other virtual fields may not be
calculated in some circumstances (fix #14939)
2016-06-10 11:18:25 +10:00
Nyall Dawson
1bc17e6c4f Default to requesting all attributes for python expression functions
Fix #14985
2016-06-10 10:03:34 +10:00
Sandro Santilli
d1cac842d3 Reach the proper lower negative value bound
This was tricky, due to
https://www.postgresql.org/message-id/20160608160800.GB13838%40localhost
2016-06-09 11:48:32 +02:00
Sandro Santilli
0f0d6c09a4 Add more tests to cover full signed int ranges 2016-06-09 11:48:31 +02:00
Sandro Santilli
3accda6dab Also test the estimatedmetadata code path for signedInts 2016-06-09 11:48:31 +02:00
Sandro Santilli
8b9a03536a Fix handling of int64 primary keys to use a FidMap
There was a code duplication where only one path did the right
thing. This commit also removes the duplication.
2016-06-09 11:48:30 +02:00
Sandro Santilli
8bd6ffcfae Fix expected test results for negative int4 and int2 FIDs
int8 negative identifier is still not handled correctly
2016-06-09 11:48:30 +02:00
Sandro Santilli
9a96414444 Fix storing attribute of feature with negative identifier and test
The test was also bogus in that it expected an inappropriate FID.
2016-06-09 11:48:30 +02:00
Nyall Dawson
cb4dacfebc Fix style dock button not synced to dock state (fix #14862)
Add a new class QgsDockWidget which has finer control over setting
and retrieving the dock visibility, to account for dock widgets
which are open but hidden by other docks
2016-06-09 11:01:56 +10:00
Nyall Dawson
8a2e8715fb Always use string comparison in expressions for string fields
Fixes #13204
2016-06-08 21:48:06 +10:00
Nyall Dawson
2265115f80 Fix issues rendering SVG with text (fix #14644, #14794) 2016-06-08 18:46:01 +10:00
Nyall Dawson
0510da77ee More tests for QgsAttributeTableConfig 2016-06-08 18:46:01 +10:00
Nyall Dawson
5301a97f81 Ensure that attribute table config is always initially populated 2016-06-07 12:02:42 +02:00
Matthias Kuhn
c07f02d6dc QgsAbstractGeometryV2::wkbType always returns a valid type 2016-06-07 10:37:20 +02:00
Nyall Dawson
94e1d5e52e Fix crash when using inverted polygons with heatmap renderer
Add methods to QgsRendererV2AbstractMetadata and QgsRendererV2Registry
to control renderer compatiblity by layer type. Should make it
easier to avoid this recurring bug popping up again in future.

Also add unit tests for QgsRendererV2Registry

Fix #14968
2016-06-07 13:33:31 +10:00
Nyall Dawson
787d206bed Add some tests for QgsCRSCache 2016-06-07 07:26:34 +10:00
Nyall Dawson
0c6e289c8e Update test masks 2016-06-07 07:26:34 +10:00
Nyall Dawson
ebdccf3869 Add QgsDistanceArea test for empty polygon 2016-06-07 07:26:34 +10:00
Nyall Dawson
b4f88c5396 Update test masks for arrow symbol layer 2016-06-04 19:16:47 +10:00
Nyall Dawson
05c9e07c5e Fix shortcuts manager test on Qt5 2016-06-04 19:07:11 +10:00
Juergen E. Fischer
6e66eef1ef add missing copyright headers 2016-06-03 10:33:09 +02:00
Even Rouault
edace8d0e6 Merge branch 'master' of github.com:qgis/QGIS 2016-06-02 17:58:11 +02:00
Sandro Mani
1828563331 Add QgsWKBTypes::zmType test 2016-06-02 13:36:08 +02:00
Even Rouault
3351f5533a test_provider_ogr_sqlite.py: rename class to TestPyQgsOGRProviderSqlite and add it in CMakeLists.txt 2016-06-02 10:26:20 +02:00
Hugo Mercier
efd32ff2a8 Arrow symbol layer: option to repeat or not the arrow on the line 2016-06-02 09:52:03 +02:00
Hugo Mercier
6c9b588906 Arrow symbol layer: halved arrows and head width/height
The head size can now be configured by its width and its height
Arrows can also be rendered as "half arrows"
2016-06-02 09:52:03 +02:00
Nyall Dawson
0e03115d33 Add support for field renaming in QgsVectorLayer and edit buffer 2016-06-02 17:09:46 +10:00