33254 Commits

Author SHA1 Message Date
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
Matthias Kuhn
a03e28bb5b Fix sip bindings 2016-06-07 22:00:02 +02:00
Even Rouault
fa74b04ee9 [WFS provider] Fix crash when calling setSubsetString() with a SQL that modifies the fields while a download is in progress 2016-06-07 16:22:47 +02:00
Even Rouault
496c3f03a1 [WFS provider] Fix setSubsetString() to accept SELECT followed by newline or tabulation 2016-06-07 16:12:24 +02:00
David Marteau
5c3aa51e80 Clean up QgsExpressionContext in QgsServer::handleRequest 2016-06-07 14:55:44 +02:00
Salvatore Larosa
65aa860121 [dbmanager] Fixes #14722 - Adding new GeoPackage connection to DB Manager is throwing error 2016-06-07 14:06:07 +02:00
Matthias Kuhn
f84584c6ad Fix header 2016-06-07 13:46:40 +02:00
ThomasG77
e4a1b3f8ad Remove reference to renamed QgsAdvancedDigitizingDock in API doc 2016-06-07 13:46:40 +02:00
Even Rouault
773d6132dd SQL composer dialog: improve search in table combobox 2016-06-07 12:25:42 +02:00
Nyall Dawson
5301a97f81 Ensure that attribute table config is always initially populated 2016-06-07 12:02:42 +02:00
Matthias Kuhn
e0d6c3f307 [travis] Readonly ccache for pull requests 2016-06-07 11:17:48 +02:00
Matthias Kuhn
c07f02d6dc QgsAbstractGeometryV2::wkbType always returns a valid type 2016-06-07 10:37:20 +02:00
Matthias Kuhn
fdb28c09aa More string comparison fixes 2016-06-07 10:37:20 +02:00
Matthias Kuhn
d0feea57c1 [py3] Followup bad0d3e: Don't decode unencoded strings 2016-06-07 10:21:53 +02:00
Nyall Dawson
7a8d9dd506 Add missing proxies for legend check behaviour to subrenderers
for inverted polygon and displacement renderers
2016-06-07 15:18:36 +10:00