5826 Commits

Author SHA1 Message Date
volaya
0af700652e [processing] do not recreate algs tree when removing provider
This should fix the problem of QGIS taking to long to shutdown if there are plugins that add algorithms to Processing
2016-02-03 11:41:48 +01:00
Nyall Dawson
b6c714ac20 Improve API, docs for QgsDistanceArea 2016-02-03 18:57:10 +11:00
Nyall Dawson
ac328a6993 Fix QgsDataItem docs 2016-02-03 16:30:58 +11:00
Nyall Dawson
d4ea95ea49 Improve QgsCoordinateReferenceSystem documentation 2016-02-03 07:52:40 +11:00
Alexander Bruy
50bbd6f071 [processing] include OTB descriptions and help into CMakeLists.txt 2016-02-02 19:49:36 +02:00
Nyall Dawson
c3a57434d9 Fix clazy 'pass small and trivially-copyable type by value' warnings 2016-02-02 19:47:21 +11:00
Nyall Dawson
f3c7ab61e6 Spelling fixes, updates to chkspelling.sh 2016-02-02 19:47:21 +11:00
Juergen E. Fischer
490236f2f2 spelling fixes 2016-02-02 02:37:15 +01:00
Denis Rouzaud
2797ed79b0 Merge pull request #2743 from 3nids/testfieldwidget2
Fix label expression/field lose when removing a join in layer properties
2016-02-01 04:54:29 -05:00
Denis Rouzaud
e453c1588d remove join returns true in case of success 2016-02-01 03:38:16 -05:00
Alexander Bruy
dc78035329 [processing] restore OgrAlgorothm, as it may be used by some 3rd party
plugins. This class will be removed in QGIS 3.
2016-02-01 09:40:09 +02:00
Nyall Dawson
7fb9b68cfe Don't report a postgis import was successful when the user cancels
it mid-way through
2016-01-31 22:54:11 +11:00
Giovanni Manghi
f1f0b0a341 GRASS dissolve works only with areas 2016-01-30 15:44:31 +00:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11:00
Alexander Bruy
d4e400a425 [processing] fixes for vector geoprocessing algorithms 2016-01-29 16:33:21 +02:00
volaya
4c2c905c32 [processing] added option to not show disabled providers tooltip 2016-01-29 14:09:06 +01:00
Matthias Kuhn
2f411afe75 [Processing] Fix raster tools
GDAL arguments need to be str since they are passed as unencoded const
char*.
2016-01-28 15:54:12 +01:00
Juergen E. Fischer
ecfcd319ef sip sync QgsFeatureRendererV2 2016-01-28 12:20:20 +01:00
Nyall Dawson
082f113197 Readd missing sip binding 2016-01-28 21:43:09 +11:00
Nyall Dawson
4aafed8366 Indentation 2016-01-28 20:51:22 +11:00
Juergen E. Fischer
4dd76da7f8 geometry sip sync and some cosmetics 2016-01-28 10:31:08 +01:00
volaya
7af58516bc [processing] fixed group names in lidar provider 2016-01-28 10:15:00 +01:00
Martin Dobias
fa66583e6f Improve indexing strategy for snapping (fixes #12578)
Implemented a simple heuristic that should keep the number of cached
features per layer reasonable - and thus lower the amount of consumed
memory and CPU for big layers.
2016-01-27 23:16:47 +01:00
Martin Dobias
86307ffc7c Add debug capabilities to snapping utils 2016-01-27 23:16:46 +01:00
Alexander Bruy
1858cc719c Revert "[processing] also make Modeler non-blocking when opened from context menus (follow up 51ec2bfba6)"
This reverts commit 602437aa0676a7ad4ce21bc32b62c2b107474bff.

Having modeler as non-blocking window it risky as changes in the
algorithms will not be reflected in it.
2016-01-27 14:01:37 +02:00
Alexander Bruy
469985da39 Revert "[processing] make Modeller non-blocking window"
This reverts commit 51ec2bfba6cd5eeb4bf10588d8b94ee30e7faa4a.

Having Processing modeler non-modal risky as user can add/remove
new providers and this changes will not be reflected in the modeler
2016-01-27 14:01:37 +02:00
Nyall Dawson
0d433b092e Fix warnings 2016-01-27 20:56:32 +11:00
Nyall Dawson
4ec0912001 Fix inconsistent behaviour when deleting nodes with node tool
(fix #14168)
2016-01-27 20:12:20 +11:00
Salvatore Larosa
47013f7bef [dbmanager] Fixes #13679 - QGIS master crashes when closing DB Manager in preview mode 2016-01-27 09:54:43 +01:00
Alexander Bruy
602437aa06 [processing] also make Modeler non-blocking when opened from context menus (follow up 51ec2bfba6) 2016-01-27 09:52:32 +02:00
Alexander Bruy
554ca8da87 [processing] unregister actions when unloading (follow up f7e6fa67b0) 2016-01-27 09:49:25 +02:00
Nyall Dawson
c7204cc722 Fix editing composer legend titles while filtering enabled (fix #11459) 2016-01-27 15:51:47 +11:00
Nyall Dawson
6893f4941d Properly fix doxygen warning 2016-01-27 14:40:51 +11:00
Nyall Dawson
59f418b763 Revert "Fix doxygen warning"
This reverts commit 9e1a2359ba7aab9094544f85ba04efceceedf5f6.
2016-01-27 14:40:01 +11:00
Nyall Dawson
9e1a2359ba Fix doxygen warning 2016-01-27 14:38:05 +11:00
Nyall Dawson
fe95e4eeea Show variables from symbol scope in symbol layer widget expression
builders. (This lets users know they are available).

Also swap some variable names to static strings for speed.
2016-01-27 13:58:32 +11:00
Nyall Dawson
39f0035246 Improve preview of current variable value in expression builder 2016-01-27 11:36:56 +11:00
Nyall Dawson
a665b7d72e Don't crash when using raster calculator with huge raster (refs #13336)
Now we abort and advise the user if insufficient memory is available
to perform the calculation.

At some future stage it would be nice to perform the calculations
in blocks to allow this scenario, but for now it's better not to
crash.
2016-01-27 10:48:12 +11:00
Sebastian Dietrich
560007846a [DbManager] allow to delete materialized views
(refs #13829)
2016-01-27 00:28:22 +01:00
Sebastian Dietrich
990261331d [DbManager] give materialized views their own icon 2016-01-27 00:28:22 +01:00
Sebastian Dietrich
50878114a7 [DbManager] fetch type of view (materialized or not) and show in info
(refs #13829)
2016-01-27 00:28:22 +01:00
Nyall Dawson
3744ac2fc4 Fix categorised renderer does not store changes to the source symbol
Avoids the frustrating situation where changes to a symbol in the
categorised renderer are lost when the layer properties window
is reopened

Also improve docs and fix a leak in the Python bindings
2016-01-27 09:58:47 +11:00
volaya
99b9a495b8 [processing] fixed autodetection of grass folder
Fix provided by Stefan Blumentrath
2016-01-26 19:43:06 +01:00
Alexander Bruy
beaa45e557 Merge pull request #2705 from SebDieBln/FixVectorGridLock
[fTools] restore 1:1 ratio when checking 'Lock 1:1 ratio' checkbox
2016-01-26 13:10:58 +02:00
Nyall Dawson
24d9c65494 Fix more classes which violate the rule-of-three
Also remove some empty destructors
2016-01-26 14:24:45 +11:00
Martin Dobias
492c1a9ff0 Improve documentation for renderer registry metadata (refs #13973) 2016-01-25 18:16:32 +01:00
Martin Dobias
83eed1109c Improve renderer class documentation (refs #14025) 2016-01-25 18:16:32 +01:00
Matthias Kuhn
b5ee06dc28 Merge pull request #2702 from alexbruy/styles-bindings
fix SIP bindings for listStylesInDatabase() method (fix #11210)
2016-01-25 17:39:20 +01:00
volaya
73bef58470 [processing] correctly initialize lastools settings before loading algs 2016-01-25 10:12:04 +01:00
Nyall Dawson
39e1f68ccc Fix filtering legend content by map when renderer contains
duplicate symbols (fix #14131)

Now, we don't test for map content using the symbols but instead
use the legend key during the hit test
2016-01-25 14:43:54 +11:00