33268 Commits

Author SHA1 Message Date
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
9a06144819 [needs-docs] Rename 'select by form' to 'select by value'
As that wording is more explanatory
2016-06-10 13:52:00 +10:00
Nyall Dawson
fae6ee4a94 Make styling widget live apply remember setting 2016-06-10 13:45:33 +10:00
Nyall Dawson
a592167d29 Fix failing test on qt5 2016-06-10 13:34:46 +10:00
Nyall Dawson
7af6d24788 Change QDockWidgets to QgsDockWidgets
No benefit as yet, but future proofing for when QgsDockWidget
gains additional fixes/tweaks over QDockWidget
2016-06-10 13:10:59 +10:00
Nyall Dawson
3afb05c21d Merge pull request #3193 from nirvn/pal_fix_quadrant
[pal] fix quadrant exp. wrongly overwriting cartographic placement (fixes #14989)
2016-06-10 12:56:34 +10:00
Nyall Dawson
a3768672c8 Correctly support joins using virtual fields (fix #14820) 2016-06-10 12:53:40 +10:00
nirvn
7c34c53709 [pal] fix quadrant exp. wrongly overwriting cartographic placement
(fixes #14989)
2016-06-10 08:59:18 +07: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
Alexander Bruy
9e54287bb4 [processing] fix alglist() function 2016-06-09 14:58:08 +03: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
Sandro Santilli
92dda429d0 Do not loose signed semantic on converting int32 pk to fid
Fixes again editing of features with negative identifiers.
Now a test fails, but it is the test being broken this time
(testSignedIdentifiers). The test was added as part of
2bd7f446b4dd368968f23b990262c5e8a5a83f80, which fixed a crash
when using signed identifiers.
2016-06-09 11:48:29 +02:00
Sandro Santilli
f4a135b535 Only shift 32bit int identifiers when negative
Fixes existing tests to retain expectances
2016-06-09 11:48:29 +02:00
Sandro Santilli
e763b41c08 Use FidMap for int64 primary keys
Also rename pktInt64 to pktUint64, in case we'll be able to know
in advance the database contains only positive integers (not
implemented in this commit).
2016-06-09 11:48:29 +02:00
Sandro Santilli
a7a0eefe72 Support negative short integer primary keys on PostgreSQL
See http://hub.qgis.org/issues/14262

NOTE: signed int64 keys would still fail
2016-06-09 11:48:28 +02:00
Nyall Dawson
6d8f5c43aa Merge pull request #3188 from nirvn/icon_offset_rotate
new icons for offset and rotate point symbol actions
2016-06-09 19:25:12 +10:00
Juergen E. Fischer
03de74dc89 fix typo 2016-06-09 11:13:11 +02:00
nirvn
3213c81b60 new icons for offset and rotate point symbol actions 2016-06-09 15:56:23 +07:00
Nyall Dawson
acc84bfa8a Add missing docs 2016-06-09 17:57:15 +10:00
rldhont
61d243e9f7 QgsEditorWidgetRegistry disconnect signals when mapLayer will be removed (#3186)
Add a method to disconnect signals added when layerIsAdded to QgsMapLayerRegistry. This method is connect to layerWillBeRemoved.

This method will probably fix an issue in QGIS Server about performance deterioration.
Each time a layer is added to QgsMapLayerRegistry by QGIS Server, QgsEditorWidgetRegistry connects to appropriate signals from map layers to load and save style but NEVER disconnects its.
2016-06-09 09:31:09 +02:00
Nyall Dawson
015ee77a7c Hide relation widgets when in multiedit/search mode 2016-06-09 16:48:27 +10:00
Nyall Dawson
ec97622542 Don't show constraint messages when form is in search mode 2016-06-09 16:48:27 +10:00
Nyall Dawson
fe26d33e29 [needs-docs] Add shortcut to Select by Form to toolbar and menu
Also add keyboard shortcut (F3) to open select by form
dialog
2016-06-09 16:48:27 +10:00
Nyall Dawson
ce7d79e495 Show scrollbars for attribute form as identify results 2016-06-09 16:48:27 +10:00
Nyall Dawson
b44f62a1c2 Cleanups for attribute form in search mode 2016-06-09 16:48:27 +10:00
Mathieu Pellerin
7cfe7f838c [style dock] vectorize undo & redo button, create history symbol (#3187) 2016-06-09 12:54:53 +10:00
Nyall Dawson
1b31f08b07 Add F7 shortcut to show/hide style dock 2016-06-09 11:36:01 +10:00
Nyall Dawson
8909584e02 Auto refresh when symbol levels changed in style dock (fix #14861) 2016-06-09 11:29:17 +10:00
Nyall Dawson
a3a20744bd Make style dock Apply button always enabled
Just in case we miss signals which trigger the live update, it's
safer to give users an option to manually apply changes too
2016-06-09 11:22:22 +10:00
Nyall Dawson
31c572f0ad Fix style dock forgets expanded state of rendering group (fix #14864)
Also fix a memory leak
2016-06-09 11:10:34 +10: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
Juergen E. Fischer
a033e81add add qjson to INSTALL (fixes #14982) 2016-06-09 00:50:07 +02:00
Juergen E. Fischer
ee8e340d6e avoid closing the last tab of the message log viewer 2016-06-08 20:29:18 +02:00
Nyall Dawson
fea82ae86a Fix some missing auto updates from style dock 2016-06-08 22:20:43 +10:00
Nyall Dawson
35a08faf8c Indentation 2016-06-08 22:04:12 +10:00
Nyall Dawson
8a2e8715fb Always use string comparison in expressions for string fields
Fixes #13204
2016-06-08 21:48:06 +10:00
Asger Skovbo Petersen
85fbeb26f8 Hillshaderenderer: Fix transparency effects (#3185) 2016-06-08 21:30:00 +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
Denis Rouzaud
5f50fc0926 disable the scale widget if scale is locked 2016-06-08 09:50:53 +02:00
Nyall Dawson
50cada431c Fix home dir being added as default svg and template path
Fixes #14662, #14652, #14883
2016-06-08 14:42:11 +10:00
Nyall Dawson
f0c8fe689a Ensure data defined button displayed fields are always up to date
Fix #14809
2016-06-08 10:44:28 +10:00
Nyall Dawson
f8f3b21b64 Fix cannot set shortcut for zoom in (fix #14958) 2016-06-08 09:45:54 +10:00
Salvatore Larosa
a8cf02ad8d [dbmanager] fix DeprecationWarning 2016-06-07 22:28:50 +02:00