33286 Commits

Author SHA1 Message Date
Médéric RIBREUX
dbd1050879 [Processing][Tests] Improve Processing GRASS7 testsuite 2016-06-11 11:27:23 +02:00
Salvatore Larosa
3b998d21ed [dbmanager] fix some import statement 2016-06-10 22:18:52 +02:00
Salvatore Larosa
c578f3a635 [dbmanager] Fix some pyqtslot 2016-06-10 18:01:02 +02:00
Salvatore Larosa
b9d1544c64 [dbmanager] Fixes #14740 - Previews do not work and python error for PG layers 2016-06-10 17:22:19 +02:00
Denis Rouzaud
02d80425ac better order of columns in fields tab (vector layer properties) (#3195) 2016-06-10 16:25:34 +02:00
Matthias Kuhn
91de99a8df Remove buggy and outdated code 2016-06-10 15:27:54 +02:00
rldhont
d9a79c9381 [BUGFIX] Emit layerWillBeRemoved like layersWillBeRemoved (#3194)
The signal layerWillBeremoved is only emitted when the layer is owned by QgsMapLayerRegistry.

To fix it just move the emitted layerWilBeRemoved out of the scope of layers owned by QgsMapLayerRegistry.
2016-06-10 15:27:03 +02:00
Matthias Kuhn
c66906dbe2 Fix compiling with older gcc versions 2016-06-10 15:10:42 +02:00
Alexander Bruy
48949d642f [processing] improve error message text (refs #14929) 2016-06-10 15:30:03 +03:00
Juergen E. Fischer
ef0f3d5b8c use Qt types 2016-06-10 11:08:09 +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
Denis Rouzaud
76bf6e0dc6 do not init dualview if no layer
fix crash of QtDesigner with custom widgets
kudos to @m-kuhn
2016-06-10 10:34:23 +02:00
Alexander Bruy
895b9558b5 Merge pull request #3166 from nirvn/fix_processing_refactor_fields
[processing] fix missing quotes to field name in refactor fields
2016-06-10 10:59:00 +03:00
Denis Rouzaud
37598bdf52 add custom widget for QgsDockWidget 2016-06-10 07:47:00 +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
50a6ed07f7 Allow editing joins by double clicking on them in list 2016-06-10 15:00:38 +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
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