5805 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
ae52aabd70 more spelling fixes 2016-01-24 20:16:28 +01:00
Nyall Dawson
8ad6ca08fe Fix some memory leaks identified by Coverity
Also improve the API for QgsExpressionContextUtils::updateSymbolScope
Previously it was hard to predict if the method would create storage,
which caused issues for the python bindings (eg, they had a choice of
either leaking or being crashy).
2016-01-24 15:17:17 +11:00
Salvatore Larosa
8346601174 [processing] remove unused code: followup e7e8451 2016-01-23 15:03:34 +01:00
Alexander Bruy
9193d8f5a0 [processing] drop GdalScriptAlgorithm as it is not used
Also remove OgrAlgorithm base class at it almost completely duplicates
GdalAlgorithm class. All affected algorithms updated accordingly.
2016-01-22 15:47:20 +02:00
Nyall Dawson
69ce55998e Fix some oddities in server access control and bindings (refs #13919) 2016-01-22 18:48:57 +11:00
Nyall Dawson
752f6bd150 Fix classes which violate rule of three, by implementing required
copy/= operators or making them private

This revealed (and fixes) some issues, including a potential crash
using server access control (refs #13919), and a potential crash with
diagrams
2016-01-22 18:45:45 +11:00
Matthias Kuhn
8d72f13a57 [25d] Improve convertability to other layers
* Move height and angle expressions for 2.5D renderer to layer
 * Apply color based on main symbol color

This makes the transition to other renderers easy.

Fixes #14132
2016-01-21 22:37:51 +01:00
Juergen E. Fischer
4d2c10800d typo fixes 2016-01-21 22:22:39 +01:00
Nyall Dawson
4fb6b67bf9 astyle fix 2016-01-22 06:57:35 +11:00
Alexander Bruy
c7231c3703 remove unused code 2016-01-21 20:02:45 +02:00
Alexander Bruy
cf02a71bb0 get rid of multiple inheritance, fix missed import 2016-01-21 17:56:48 +02:00
Alexander Bruy
fe2bb2f09f [processing] take in account vector subsets when clipping raster (fix #11972) 2016-01-21 16:24:33 +02:00
Alexander Bruy
085c12e924 [fTools] use QErrorMessage for long errors (fix #11810) 2016-01-21 16:24:33 +02:00
Jürgen Fischer
72a1e7eeb5 Merge pull request #2708 from boundlessgeo/postgis-pki-fix
[auth][db_manager] fix uri expansion on importing layer
2016-01-21 11:59:40 +01:00
Nyall Dawson
c38ee41f5b Fix rendering of CurvePolygons without curved segments (fix #14028) 2016-01-21 21:44:40 +11:00
Luigi Pirelli
0012761ab3 [auth][db_manager] fix connection info expansio on importing layer in pki postgis 2016-01-21 11:03:21 +01:00
Juergen E. Fischer
00633811c9 spelling fixes 2016-01-21 10:42:25 +01:00
volaya
eeb5daea3c [processing] updated lidar provider
forgot to add this change in a previous commit
2016-01-21 09:03:52 +01:00
volaya
8ade74cadd [processing] show wait cursor while updating alg list 2016-01-21 09:01:27 +01:00
volaya
858dbd2d1f [processing]do not show option for wine folder if running windows 2016-01-21 09:01:26 +01:00
Nyall Dawson
ddf3db04b6 Fix indentation 2016-01-21 18:11:38 +11:00