35309 Commits

Author SHA1 Message Date
Juergen E. Fischer
7a326b1b8d fix typos 2016-11-01 13:46:29 +01:00
Patrick Valsecchi
667718bc89 [feature] Editor widget auto config for foreign keys (#3699)
Automatically pick RelationReference widgets for foreign keys.
2016-11-01 08:36:21 +01:00
Nyall Dawson
4f8ee78f76 Fix some no such signal/slot warnings
... in such a way that they'll never appear again
2016-11-01 14:14:16 +10:00
Martin Dobias
5e4bb00fa3 Fix import of shapefiles to postgres - regression introduced in 5abdfcb (#3652)
(cherry picked from commit a965a132c52df9308b5a58be92c04a285826485a)
2016-11-01 11:41:23 +08:00
Martin Dobias
629ca8b986 Hide import/export buttons for arcgis services as they do not work (fixes #15637)
(cherry picked from commit 1c2f0de9fbea8e90c9d20036bfa1601c1d192a89)
2016-11-01 11:41:23 +08:00
Martin Dobias
b798040040 Fixed legend renderer expected images 2016-11-01 11:41:23 +08:00
Martin Dobias
5c83b7924a Fix reordering and removal of legend nodes in composer legend
(cherry picked from commit f4e1e6f6eefec74fcf61542c3c9e236c4fb3054f)
2016-11-01 11:41:23 +08:00
Martin Dobias
90e1c93661 Fix building of legend node tree if embedded widgets are used in the layer
(cherry picked from commit 10cab93c3652c38db27553616f36290f7b820c48)
2016-11-01 11:41:23 +08:00
Martin Dobias
6b120a8600 Fix display of diagram legend entries (fixes #15448)
To make the implementation saner, the legend node that may be embedded within parent
layer node is kept separately from activeNodes.

(cherry picked from commit b385ebd9ba9272516eed61e5825a603fcee969e9)
2016-11-01 11:41:23 +08:00
Nyall Dawson
47109d13b7 Flip some connects to new style 2016-11-01 11:10:40 +10:00
Nyall Dawson
70d7ce163e Describe some dependancy changes in API break docs 2016-11-01 08:44:55 +10:00
Even Rouault
08218de5f4 [OGR provider] Use constBegin() / constEnd() 2016-10-31 19:44:34 +01:00
Even Rouault
bb9c75b394 [OGR provider] Make addAttributes() return the requested field type, precision and width so as to make QgsVectorLayerEditBuffer::commitChanges() API
Fixes #15614
2016-10-31 17:10:58 +01:00
Matthias Kuhn
7d2098cdf4 Followup cc6b1e3: also respect subexp vars in presence of filter 2016-10-31 15:18:56 +01:00
Matthias Kuhn
cc6b1e3391 Fix @parent variable detection in aggregate subExpression 2016-10-31 14:25:35 +01:00
Matthias Kuhn
6d387650f4 More test for referencedVariables 2016-10-31 14:24:34 +01:00
Matthias Kuhn
25e983436d Revert "[ogr] Ignore request limit if unable to compile expression"
This reverts commit e7333f68145f27a74aacd8f75939623e37fc4510.
2016-10-31 13:03:28 +01:00
Matthias Kuhn
e7333f6814 [ogr] Ignore request limit if unable to compile expression
Fix #15771
2016-10-31 12:15:20 +01:00
Matthias Kuhn
1b2158d854 Fix caching aggregate expressions with @parent usage 2016-10-31 12:15:14 +01:00
Matthias Kuhn
f438542fe7 Break oneliners 2016-10-31 09:45:52 +01:00
Nyall Dawson
88871c2320 Merge pull request #3696 from nirvn/processing_otb_silent
[processing] remove console error message when optional otb provider not installed
2016-10-31 16:24:44 +10:00
nirvn
8e663309c0 [processing] remove console error message when optional otb provider not installed 2016-10-31 12:53:42 +07:00
Nyall Dawson
fa3663907a Fix 'enable macros' button does not run open macro (fix #9523) 2016-10-31 15:22:49 +10:00
Martin Dobias
a3186f80bc Fix layer tree expanded state when used expand/collapse all (fixes #15691)
(cherry picked from commit de85fdd6e8fa3d4f38196376aabccce317cbf341)
2016-10-31 12:53:30 +08:00
Martin Dobias
24fbe1a080 Fix crash in node tool after deleting the whole geometry (fixes #15659)
Made sure that both closestVertex() and closestSegment() return negative
distance on error (e.g. with null or emtpy geometry).

Also fixes snapping when dealing with layers with null/invalid geometries

(cherry picked from commit c093d5188fad685c4a596ff23c27aad7d151dac2)
2016-10-31 12:51:21 +08:00
Nyall Dawson
dd4b34ed16 [processing] Modeller should not be modal 2016-10-31 14:37:45 +10:00
Nyall Dawson
07b25af537 Merge pull request #3694 from nirvn/processing_sort_model_inputs
[processing] sort model input parameters to avoid random ordering
2016-10-31 14:13:42 +10:00
nirvn
bec379249e [processing] sort model input parameters to avoid random ordering 2016-10-31 10:53:13 +07:00
Nyall Dawson
3caccd531d [processing] Fix handling of multiple field input in modeller 2016-10-31 11:41:40 +10:00
Nyall Dawson
a117df2205 Merge pull request #3656 from nirvn/processing_import_to_spatialite
[processing] add "Import into Spatialite" algorithm
2016-10-31 09:14:19 +10:00
Nyall Dawson
29ce141dc4 Merge pull request #3657 from nirvn/processing_modeler_mandatory
[processing] fix modeler parameter mandatory checkbox logic
2016-10-31 09:13:37 +10:00
Nyall Dawson
d5698be69f Fix some processing breakage 2016-10-31 09:12:39 +10:00
Nyall Dawson
bd950616ac Rename visible "favourite" strings to "favorite", change API to
use "favorite"
2016-10-31 08:00:19 +10:00
Nyall Dawson
82312e10e4 [FEATURE][processing] New algorithm to extract specific nodes
This algorithm allows you to extract specific nodes from geometries.
Eg you can extract the first or last node in the geometry.

The algorithm accepts a comma separated list of node indices to
extract, eg 0 = first node, 1 = second node, etc. Negative indices
can be used to extract nodes from the end of the geometry. Eg
-1 = last node, -2 = second last node.
2016-10-31 07:56:24 +10:00
Nyall Dawson
8dab2cd4d7 [FEATURE][processing] New algorithm to extend lines
Allows extending linestrings by a set distance at the start
and end of the line
2016-10-31 07:56:24 +10:00
Nyall Dawson
2b545822e7 [FEATURE] New expression function 'extend'
Extends linestrings by a specified amount at the start and
end of the line
2016-10-31 07:56:24 +10:00
Nyall Dawson
ef34e393dc Add method to QgsGeometry to extend the start/end of a linestring 2016-10-31 07:56:24 +10:00
Nyall Dawson
c494c472ac Merge pull request #3690 from nyalldawson/extract_by_exp
[FEATURE][processing] New extract by expression algorithm
2016-10-30 08:23:40 +10:00
nirvn
121f48d654 [processing] add import into spatialite algorithm 2016-10-29 09:33:47 +07:00
Nyall Dawson
74e64645e4 [FEATURE][processing] New extract by expression algorithm
Filters an input layer by expression
2016-10-29 08:05:26 +10:00
Hugo Mercier
9166142181 Merge pull request #3688 from mhugo/fix_15737
Don't delete QgsAttributeDialog too early. Fixes #15737
2016-10-28 14:26:35 +02:00
Matthias Kuhn
7a05a7a8c4 Fix caching of aggregate values with @parent
And add a test for referencedVariables
2016-10-28 12:31:40 +02:00
Matthias Kuhn
8e25b89357 Merge duplicated api doc break section titles 2016-10-28 12:31:40 +02:00
Martin Dobias
800b1a6f63 fix indentation 2016-10-28 17:56:03 +08:00
Hugo Mercier
9ecdf61014 Don't delete QgsAttributeDialog too early. Fixes #15737 2016-10-28 11:17:46 +02:00
Martin Dobias
ed3b0714dd Cancel WCS requests just like it is done in WMS
(cherry picked from commit 50258e6f01ef7dededbf057c03813ecf3442f5b9)
2016-10-28 17:00:13 +08:00
Martin Dobias
aeeb5d9525 Fix crash when loading WCS layers (fixes #15595)
The problem is that some providers would still issue network
requests in prepareJobs() - this should be ideally avoided,
because it is run in main thread - all the work should be deferred
to be done in worker thread.

(cherry picked from commit 08f4a0f40cce21d5730653a75bdd44f175f3b0b8)
2016-10-28 16:58:58 +08:00
Martin Dobias
59d1d702d0 Fix identify tool for WMS if webkit is not available (fixes #15596)
(cherry picked from commit 430694ba9a2beb5fe23d5814b63aaecdbee7a3d7)
2016-10-28 16:33:51 +08:00
Martin Dobias
ea2e68b8ae Fix WMS identify when using "Feature" format and the layer has named CRS
(cherry picked from commit 9ef91ea6294cdab762ffb2543d02473bcccbed80)
2016-10-28 15:54:50 +08:00
Paolo Cavallini
79e5911e07 Update RegularPoints.py
Fixes #15773
2016-10-28 09:11:28 +02:00