5931 Commits

Author SHA1 Message Date
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
Sebastian Dietrich
e4ee3156b2 restore 1:1 ratio when checking 'Lock 1:1 ratio' checkbox 2016-01-21 00:19:33 +01:00
Alexander Bruy
f0cb706a5d [processing] exclude commented R libraries when generating dependencies list (fix #14143) 2016-01-20 18:36:22 +02:00
Matthias Kuhn
47549ebcba Merge pull request #2691 from m-kuhn/fixrulebased
Also render all parent features on refined rules
2016-01-20 17:21:05 +01:00
Alexander Bruy
908a380241 [processing] fix deprecation warnings 2016-01-20 16:39:13 +02:00
Alexander Bruy
3b70b84465 [fTools] warn if layer and project CRS are different (fix #10059) 2016-01-20 15:38:00 +02:00
Alexander Bruy
51ec2bfba6 [processing] make Modeller non-blocking window 2016-01-20 14:51:04 +02:00
Alexander Bruy
f7e6fa67b0 [processing] register Processing menu items in the Shortcuts Manager (addresses #13715) 2016-01-20 14:51:04 +02:00
Alexander Bruy
fe2503dab3 fix SIP bindings for listStylesInDatabase() method (fix #11210) 2016-01-20 14:36:20 +02:00
Martin Dobias
9fda6aaf53 [tracing] fix the case when OTF reprojection is disabled 2016-01-20 09:44:24 +01:00
Nyall Dawson
60816af372 Correctly mark some raster classes copy/assignment as private
As they haven't been properly implemented yet and the classes
violate the rule of three
2016-01-20 17:06:04 +11:00
Martin Dobias
7a5df7ada6 Move tracing action creation to qgis app 2016-01-19 18:03:15 +01:00
mhugent
f4bdaad59f Merge pull request #2666 from mhugent/symbology_brush_transform
Symbology brush transform
2016-01-19 16:19:09 +01:00
Marco Hugentobler
aa3e550a2f Revert "Revert sipfile changes"
This reverts commit f7284651218c7ebb0eb043e98f648ee04be42f83.
2016-01-19 14:43:45 +01:00
volaya
014b69647a [processing] removed redundant code 2016-01-19 12:35:00 +01:00
volaya
f762380835 [processing] more checks before running model 2016-01-19 12:34:59 +01:00
Giuseppe Sucameli
472fa9bb08 Merge pull request #2696 from mdouchin/debug_dbmanager_sqlite_layer_info
[bugfix][DbManager] Fix indexes fetch with sqlite >= v3.8.9 (fix #14110)
2016-01-19 11:33:38 +01:00
Sandro Santilli
da372c8d40 Ensure "dbname" is always set in the uri
Fixes #10600
2016-01-19 10:58:14 +01:00
Michael Douchin
bae865153f [bugfix][DbManager] 14110 - Error fetching layer indexes with recent sqlite version
Fixes #14110

The method `getTableIndexes`, situated in line 371 of the file `db_manager/db_plugins/spatialite/connector.py`,
expected to get 3 fields from the sqlite method `PRAGMA index_list` .
In recent versions of SQLite, since 3.8.9, though, this method now returns 5 fields.
This commit fixes this issue by checking the length of columns returned by the method.
2016-01-19 10:27:52 +01:00
volaya
a549ded47b [processing] prevent circular dependencies in models
fixes #99090
2016-01-19 09:39:57 +01:00
volaya
b2a12735c5 [processing] fixed update of console call in GdalAlgorithmDialog
fixes #14129
2016-01-19 09:03:23 +01:00
Matthias Kuhn
3529433729 Fix memory leak in rulebased renderer sip bindings 2016-01-19 00:23:13 +01:00
Nyall Dawson
7e90d5773f Whitespace fix 2016-01-19 08:42:02 +11:00
Alexander Bruy
b2ca6d0288 [fTools] correctly handle real fields in Random Points algorithm (fix #10140) 2016-01-18 17:01:35 +02:00
Alexander Bruy
c63d16a3b2 [gdaltools] allow multiple nodata valued in Build VRT tool (fix #11063) 2016-01-18 17:01:35 +02:00