2391 Commits

Author SHA1 Message Date
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
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
Sandro Mani
1828563331 Add QgsWKBTypes::zmType test 2016-06-02 13:36:08 +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
Nyall Dawson
ccc67ef7a5 Rename attributes support for postgres provider 2016-06-02 17:09:45 +10:00
Nyall Dawson
251474a62e Add support for attribute renaming to OGR provider 2016-06-02 17:09:45 +10:00
Nyall Dawson
58cc89019c [FEATURE] Add support for attribute renaming to QgsVectorDataProvider
Implemented in memory layer provider only, not yet supported
in edit buffer or configurable in GUI
2016-06-02 17:09:45 +10:00
Nyall Dawson
7af33661eb Fix leak in test 2016-06-02 13:18:56 +10:00
Nyall Dawson
e0c87ffe6b [FEATURE] Move QgsShortcutsManager, QgsConfigureShortcutsDialog to gui
This allows plugins to reuse the shortcuts manager if they
want to add the ability for users to customise their shortcut
key sequences.

The shortcut manager has been extended to also handle customisation
of QShortcut objects as well as QActions.
2016-06-02 10:25:16 +10:00
Even Rouault
fb49f700f2 [OGR provider] Fix deleteAttributes() when mFirstFieldIsFid 2016-06-01 23:31:06 +02:00
Juergen E. Fischer
9efbf28d71 spelling fixes 2016-06-01 23:22:15 +02:00
Even Rouault
73ab289e1b Fix Coverity warnings in testqgsogcutils.cpp and testqgsgdalprovider.cpp 2016-06-01 19:20:15 +02:00
Blottiere Paul
ea097becae replace "" by QString() 2016-05-31 20:16:22 +02:00
Blottiere Paul
9ddb441855 fix test doc 2016-05-31 20:16:21 +02:00
Blottiere Paul
aba02f11e0 rename constraint to expression for method's name 2016-05-31 20:16:21 +02:00
Blottiere Paul
020d20a968 [FEATURE] constraints on widgets 2016-05-31 20:16:21 +02:00
Even Rouault
a023f55b9d Merge pull request #3148 from rouault/wfs_better_behaviour_with_wrong_capability_extent
[WFS Provider] Implement workarounds to better behave when extent reported by capabilities is wrong
2016-05-30 17:46:35 +02:00
Even Rouault
86f6e7eb0d Merge pull request #3142 from rouault/identify_result_float_precision
Do not print excessive decimals when identifying value on a Float32 raster
2016-05-30 17:46:08 +02:00
Even Rouault
4b130cbf42 Merge pull request #3134 from rouault/do_not_write_nodata_if_not_existing
Nodata related fixes
2016-05-30 17:45:48 +02:00
Nyall Dawson
ddd37ad8bd Merge pull request #3138 from sbrunner/limit
Add and fix WFS server MAXFEATURES test
2016-05-30 12:15:32 +02:00
Nyall Dawson
00502620c0 [FEATURE] Allow web map style shift-drag zoom
When certain map tools are active, you can hold down shift
and drag a rectangle on the map to zoom to that area. This
is enabled for the map tools which are not selection tools
(since they use shift for adding to selection), and edit
tools.

Gracias a Girona!
2016-05-30 19:39:57 +10:00
Matthias Kuhn
ebf434037f Merge pull request #3077 from pvalsecc/legend_url
WMS: Better logic to pick the legend URL
2016-05-30 10:17:58 +02:00
Stéphane Brunner
47cf9240b3 Add and fix WFS server MAXFEATURES test
It was not working when we do a POST with an XML
2016-05-30 07:33:51 +02:00