Nyall Dawson
a08137f101
Add unit tests for map renderer label caching
2017-02-07 11:24:30 +10:00
Nyall Dawson
9757116a26
Fix crash
2017-02-07 10:07:19 +10:00
Nyall Dawson
d0d9bab0a6
Don't cache labeling if blend modes are used
...
The flattening of the label results to an image blocks
blend modes applying correctly to underlying layers
2017-02-07 10:07:19 +10:00
Nyall Dawson
2b3805eea5
Reuse existing labeling results if cached labels were redrawn
2017-02-07 10:07:19 +10:00
Nyall Dawson
33eb4bc0c4
[FEATURE] Cache labeling result to avoid unnecessary redraws
...
when refreshing canvas
This change allows the labeling results to be cached to an image
following a map render. If the cached label result image can be
reused for the next render then it will be, avoiding the need
to redraw all layers participating in the labeling problem and
resolving the labeling solution.
Basically this means that canvas refreshes as a result of changes
to any NON-LABELED layer are much faster. (Changing a layer which
is part of the labeling solution still requires all labeled
layers to be completely redrawn)
2017-02-07 10:07:19 +10:00
Juergen E. Fischer
9475850f39
* update INSTALL
...
* osgeo4w: search qt5 first and use pyrcc5.bat
2017-02-07 00:58:56 +01:00
Nyall Dawson
d47d31d13c
Rename "Db"/"DB" in API to "Database"
...
Motivations:
- consistency - we generally use expanded names, and this also
matches Qt API which uses Database instead of Db
- avoids unpredictable capitalization throughout API (mix of "Db"
and "DB")
2017-02-07 09:32:05 +10:00
Harrissou Sant-anna
bfd18c4a6d
Update Startup tips
2017-02-07 00:03:47 +01:00
Denis Rouzaud
64748aaa89
compile custom widgets on Travis
2017-02-06 13:55:11 +01:00
Denis Rouzaud
d84725fce8
[custom widgets] add missing file widget
2017-02-06 13:30:53 +01:00
alisovenko
332961f748
Add test for map edit tool. Test the correctness of getting default z.
2017-02-06 14:12:57 +03:00
Denis Rouzaud
6f5161a6f0
spelling fix
2017-02-06 11:48:47 +01:00
Mathieu Pellerin
d99faecf3e
[ui] make layer rendering collapsed by default ( #4108 )
2017-02-06 11:31:01 +07:00
Nyall Dawson
c1b5da4726
Clear cached map renders if dependent layer is removed
2017-02-06 11:35:46 +10:00
Nyall Dawson
aa392dc23a
Add method to retrieve dependent layers for map renderer cached images
2017-02-06 11:27:42 +10:00
Juergen E. Fischer
748acc6790
osgeo4w: packaging fixes
2017-02-06 01:30:59 +01:00
Nyall Dawson
737c92ddbb
Fix logically dead code identified by Coverity
2017-02-06 10:16:44 +10:00
Nyall Dawson
a80cca0fb3
Fix indentation
2017-02-06 09:28:15 +10:00
Nyall Dawson
48e5c09b89
Fix a lot of memory leaks when fetching provider libraries
2017-02-06 08:51:35 +10:00
Nyall Dawson
4f7d9cddfe
Merge pull request #4064 from jgrocha/delete-style-from-db-provider-postgis
...
Delete style from db provider postgis
2017-02-06 08:34:24 +10:00
Nyall Dawson
6ca2cc18ef
Fix label font size unit from 2.x projects incorrectly restored ( fix #16143 )
2017-02-06 08:32:32 +10:00
Jorge Gustavo Rocha
20eea32952
Replaced QLibrary * with more safer QScopedPointer
2017-02-05 22:03:13 +00:00
Jorge Gustavo Rocha
8b36ad5b90
Updated Qt connections to the new style qgis/QGIS-Enhancement-Proposals#77
...
Changed isDeleteStyleFromDBSupported to isDeleteStyleFromDbSupported
2017-02-05 19:35:47 +00:00
Nyall Dawson
c5546b0357
Allow conversion of QgsPropertyTransfomers to expressions (when possible)
2017-02-05 20:19:12 +10:00
Nyall Dawson
ac55f396dd
Fix reading project properties fails if any child element
...
has a tag named "properties"
2017-02-05 19:58:51 +10:00
Nyall Dawson
be9e93d671
Refactor internals of QgsPropertyOverrideButton
2017-02-05 15:16:48 +10:00
Nyall Dawson
54089ff710
Follow up 4a3871, fix broken data defined properties
...
(definitions are often accessed before a QgsSymboLayer/etc
is constructed)
2017-02-05 14:27:26 +10:00
Nyall Dawson
fa8189a53c
Tweak property definitions for size type properties
2017-02-05 14:27:14 +10:00
Juergen E. Fischer
2c65a66587
revert more of ab0345
2017-02-04 21:22:48 +01:00
Juergen E. Fischer
e20bbd515c
translation string fixes
2017-02-04 20:44:44 +01:00
Juergen E. Fischer
4a387130b5
fix initial crash on windows
2017-02-04 20:25:34 +01:00
Nyall Dawson
4f20979d39
Partially revert ab0345
2017-02-04 21:43:19 +10:00
Nyall Dawson
a0cb64520a
Merge pull request #4095 from nyalldawson/label_engine_layers
...
Use weak layer pointers in labeling engine
2017-02-04 15:03:20 +10:00
Nyall Dawson
11150dde3e
Add additional curvepolygon with compound curve to reference geometry tests
2017-02-04 14:57:29 +10:00
Nyall Dawson
ab03453136
[processing] Rename 'export/add geometry columns' alg + add tags for discoverability
2017-02-04 14:56:54 +10:00
alisovenko
d780ba7593
Merged master fixed conflict.
2017-02-03 18:11:49 +03:00
rldhont
cb9314af67
Merge pull request #4100 from rldhont/bugfix_dbmanager_detect_query_layer
...
[BUGFIX][DB Manager] Detect query layer like providers do
2017-02-03 11:30:58 +01:00
matteo
74c65c8e74
[processing] qgis voronoi test
2017-02-03 11:28:09 +01:00
alisovenko
a1bdb8fc7d
Fix return value warning in defaultZValue function.
2017-02-03 10:32:31 +03:00
Nyall Dawson
7619cba438
Fix/avoid Coverity null pointer dereference warnings
2017-02-03 09:28:02 +10:00
Nyall Dawson
f84508a35d
Fix Coverity uninitialized member warnings
2017-02-03 07:11:12 +10:00
rldhont
2a77ba76f4
[BUGFIX][DB Manager] Detect query layer like providers do
...
In postgres provider, a query layer is detected as a table starting with `(` and ending with `)`.
2017-02-02 14:21:42 +01:00
Alexander Bruy
5939ae23e7
Merge pull request #4076 from volaya/remove_processing_providers
...
[FEATURE][processing] removed otb and lidartools providers
Tagged as feature to not forget mention this in changelog and docs
2017-02-02 10:56:56 +02:00
Alexander Bruy
95091d9342
Merge pull request #4062 from alexbruy/raster-provider
...
Use native QGIS raster API instead of GDAL API in zonal statistics
2017-02-02 10:54:03 +02:00
Denis Rouzaud
02b7a551d5
do not run spell check on Travis if no files were edited (only deleted)
2017-02-02 08:32:06 +01:00
Nyall Dawson
1d118e9671
Merge pull request #4016 from nyalldawson/template_error
...
Avoid startup error when project template folder does not exist
2017-02-02 16:46:03 +10:00
Denis Rouzaud
fbcf62499d
remove old designer folder
...
I guess that the intention is parlty solved by the custom widgets
2017-02-02 07:19:25 +01:00
Nyall Dawson
46404f73d9
Merge pull request #4081 from ghtmtt/rename_sql
...
[processing] rename execute sql output
2017-02-02 14:24:48 +10:00
Borys Jurgiel
c30eb9e084
Merge pull request #4097 from alexbruy/plugin-from-zip
...
[FEATURE] allow installing plugins from local ZIP packages
2017-02-01 18:11:38 +01:00
Alexander Bruy
afe85ca39e
[FEATURE] allow installing plugins from local ZIP packages
...
This may be useful for users who have plugin packages, so they
don't need to extract them manually.
2017-02-01 17:31:09 +02:00