Nyall Dawson
499a35d0c8
Refine paletted raster renderer classification
...
Change behaviour from clearing all existing values on classification
to instead keeping any existing values which do exist in the raster,
maintaining their current color and label.
2017-05-09 11:52:10 +10:00
Nyall Dawson
bccba30af7
Fix unreadable text in plugin manager ( fix #16516 )
2017-05-09 11:26:59 +10:00
Nyall Dawson
cd248c620a
Limit the initial feature request sent by expression builder widget
...
Should help avoid short delays in opening the expression widget
on slower layers (such as with the Postgres provider where features
are fetched in a minimum batch of 2000 by default)
2017-05-09 08:54:02 +10:00
Nyall Dawson
9a19a5fc58
Followup c2699b4, fix missing field names in expression builder
2017-05-09 08:53:07 +10:00
Juergen E. Fischer
135882259c
include metadata headers in install (followup 3a965e6d)
2017-05-08 13:21:23 +02:00
Mathieu Pellerin
f004fc109e
Update north arrow decorator to use a vector graphic ( #4519 )
2017-05-08 18:18:07 +07:00
Nyall Dawson
ac7cc12ca7
Merge pull request #4511 from nyalldawson/composer_async
...
Asyncronously render composer map previews
2017-05-08 20:18:16 +10:00
Nyall Dawson
29c87de679
[needs-docs][composer] Remove Render/Cache modes from composer maps
...
Make maps invalidate cache whenever layer order changes. Cache mode
is now identical to Render mode, so all mode switching has been
removed from composer maps. This should greatly simplify the learning
curve and usability of composer maps.
2017-05-08 19:31:55 +10:00
Alessandro Pasotti
de03642ebb
Consolidate QgsRequestHandler
2017-05-08 11:14:14 +02:00
Nyall Dawson
c5566e72c0
If composer map is set to use project CRS, update cached render
...
when project CRS changes
This should prevent one of the most common confusions with
composer maps - users inserting multiple maps, with apparently
different CRS due to outdated cache renders, and getting confused
because outputs from composer look different to the composer view....
2017-05-08 18:41:44 +10:00
Nyall Dawson
5e3b903955
[needs-docs][composer] Remove Rectangle mode from composer maps
...
No longer required - the Cache mode is now performant enough
that we don't have to rely on the old rectangle preview
when desiring responsive composers
2017-05-08 17:10:07 +10:00
Nyall Dawson
3f595ee8e1
[composer] Always update map caches when zoom changes
...
Before this would only happen with the "render" mode, not "cache"
mode. Now updating caches is so responsive and transparent to users
we can safely trigger the background cache update whenever the
zoom changes without any performance impact.
2017-05-08 17:10:02 +10:00
Nyall Dawson
491abc2b66
sipify QgsComposerMap
2017-05-08 17:10:02 +10:00
Nyall Dawson
abe8ead1a5
Rework how composer map cache is invalidated
...
Avoids unnecessary redraws and defers cache update until
when item is actually visible
2017-05-08 17:10:02 +10:00
Nyall Dawson
91b046a743
[FEATURE] Asyncronously render composer map previews without blocking UI
...
Makes working with compositions much more responsive and enjoyable!
Inspired by manisandro's commit in Sourcepole's fork
2017-05-08 17:09:42 +10:00
Denis Rouzaud
bfb62c4be9
[sipify] fix Abstract class
...
unblacklist qgstransaction.sip
(followup 931bf32a9fe46570ac80d947552d46c9f427457)
also fix method declaration with private only inheritance
2017-05-08 08:45:11 +02:00
Mathieu Pellerin
a88cf7ad31
[FEATURE] Save map/canvas as PDF ( #4516 )
2017-05-08 13:03:39 +07:00
Nyall Dawson
01f12221ad
Fix intermittent QgsMapLayerStore test failure
2017-05-08 12:03:46 +10:00
Nyall Dawson
9ee9df7627
Fix a lot of leaks in crssync and related QgsCoordinateReferenceSystem methods
2017-05-08 08:57:46 +10:00
Nathan Woodrow
660aaa540f
Black list some tests for now
2017-05-07 10:47:43 +01:00
Nathan Woodrow
2862439fb8
Fix build
2017-05-07 09:07:50 +01:00
Nathan Woodrow
6c41bdfd9f
Fix #16474 - Clean up formatting of crash report data
2017-05-07 06:58:59 +01:00
Nyall Dawson
ddbb1702ba
Merge pull request #4510 from qgis/revert-4494-composer_async
...
Revert "Asyncronously render composer map previews "
2017-05-07 10:25:59 +10:00
Nyall Dawson
40319df357
Revert "Asyncronously render composer map previews "
2017-05-07 10:25:45 +10:00
Juergen E. Fischer
4160e19bdc
fix windows build
2017-05-07 01:49:33 +02:00
Nyall Dawson
bcca7af5c3
Merge pull request #4495 from nyalldawson/writer
...
[processing] Port vector.createVectorWriter to c++
2017-05-07 09:31:27 +10:00
Nyall Dawson
54e208b974
Merge pull request #4494 from nyalldawson/composer_async
...
Asyncronously render composer map previews
2017-05-07 09:22:47 +10:00
Nyall Dawson
06c4dea7ff
[processing] Remove vector.createVectorWriter
...
Use QgsProcessingUtils.createFeatureSink instead
2017-05-07 08:02:54 +10:00
Nyall Dawson
a8a3cc82ed
[processing] Port vector.createVectorWriter to c++
...
This implements an improved version of vector.createVectorWriter
in QgsProcessingUtils. The improved version relies on the
core class QgsVectorLayerImport to create empty layers,
which:
- reduces duplicate code and reuses the mature QgsVectorLayerImport
routines
- avoids manual conversion of field types to destination provider
field types
- potentially allows any writable provider to be used as a feature
sink for algorithms (e.g. output direct to MSSQL/Oracle/db2). This
should work now - it just needs exposing via UI.
2017-05-07 08:02:53 +10:00
Juergen E. Fischer
7efcfee28c
osgeo4w: also build pdb and corresponding package for releases
2017-05-06 22:10:24 +02:00
Martin Dobias
040c4b32f9
Small cleanup of QgsAbstractGeometry header
2017-05-06 20:33:46 +08:00
Alessandro Pasotti
3c4567d0af
[server] More WMS tests for FILTER parameter with bool operators and UTF8
...
Forward port from 2.18 commit 8fd4fc60697738a986207
2017-05-06 10:45:10 +02:00
Alessandro Pasotti
a46e9a56c9
[server] Fail test when expected and reference have different number of lines
2017-05-06 10:44:36 +02:00
Alessandro Pasotti
a882a3b5fe
Added server changes to API break docs
2017-05-06 09:49:31 +02:00
Nyall Dawson
2af9698e03
Merge pull request #4507 from nyalldawson/import_sink
...
QgsVectorLayerImport is a QgsFeatureSink
2017-05-06 16:43:12 +10:00
Mathieu Pellerin
51d3fac19c
Fix attribute table header feature selection ( fixes #16520 )
2017-05-06 13:16:52 +07:00
Nyall Dawson
2b48026ec7
Fix perpetual rendering message on newly created maps
2017-05-06 15:05:47 +10:00
Nyall Dawson
baa65925f8
Add some safety checks
2017-05-06 15:05:47 +10:00
Nyall Dawson
57b1a39952
Initially draw 'rendering' text while waiting for first cache of composer maps
2017-05-06 15:05:47 +10:00
Nyall Dawson
4ec56bc8ff
Draw cached composer map image respecting any content movement
2017-05-06 15:05:47 +10:00
Nyall Dawson
b7ca7876b2
Also trigger composer map update on resize
2017-05-06 15:05:47 +10:00
Nyall Dawson
63a3037cb0
[composer] Use last complete map render when previewing map items
...
until a new cached preview is ready
Ensures that map items always show some content while a background
cache update is rendering
2017-05-06 15:05:47 +10:00
Nyall Dawson
ba46c8750e
Avoid crash on exit of PyQgsPalLabelingComposer test
2017-05-06 15:05:47 +10:00
Nyall Dawson
1be4fd5a7d
Remove debug messages
2017-05-06 15:05:47 +10:00
Nyall Dawson
bcfb8611c4
Cleanup 57d162, improved cancelation and code modernization
2017-05-06 15:05:47 +10:00
Sandro Mani
855e1f6986
Asyncronously render composer map previews
...
(Forward port from Sourcepole fork)
2017-05-06 15:05:47 +10:00
Nyall Dawson
1033c7b3bd
Remove unused argument
2017-05-06 14:59:56 +10:00
Nyall Dawson
80d22406c9
Make QgsVectorLayerImport protected members private
...
This class isn't designed to be subclassed
2017-05-06 14:15:13 +10:00
Nyall Dawson
83baf9eae6
Sipify QgsVectorLayerImport
2017-05-06 14:15:13 +10:00
Nyall Dawson
46ff65275e
QgsVectorLayerImport is a QgsFeatureSink
2017-05-06 14:15:13 +10:00