49568 Commits

Author SHA1 Message Date
Nyall Dawson
aa62f3ae63 Remove unused methods 2018-08-20 15:01:52 +10:00
Nyall Dawson
fd934d84a6 Use a proxy task when scanning for postgres column types 2018-08-20 15:01:52 +10:00
Nyall Dawson
cea8b55480 Remove unused method 2018-08-20 15:01:52 +10:00
Nyall Dawson
2191db44a6 Fix warning when running crssync 2018-08-20 15:01:17 +10:00
nirvn
3c3cc43010 [FEATURE] Add generate_series(start,stop,step) expression function
The function creates an array containing a sequence of numbers.
2018-08-20 11:56:49 +07:00
nirvn
cc5e0e174b [ui] add security warning when executing scripts 2018-08-20 09:19:02 +07:00
nirvn
fcd0157703 [FEATURE] Script-provided algorithms support for run script action
Scripts with now launch a processing algorithm dialog (when
appropriate) when:
- drag and dropping a python script onto the main window
- using the browser panel's right-click run script action
2018-08-20 09:19:02 +07:00
Nyall Dawson
a6d0d7a8a9 Fix use of deprecated method 2018-08-20 09:31:37 +10:00
Juergen E. Fischer
1192f949ec * osgeo4w: build pdbs for releases
* disable copying of reports without feedback
2018-08-18 11:24:21 +02:00
Nyall Dawson
5d5d909923 Try to fix doc test 2018-08-18 16:53:32 +10:00
Nyall Dawson
1d62de3f1b Replace use of deprecated methods 2018-08-18 16:53:32 +10:00
Nyall Dawson
aa512636f0 Deprecate QgsFeatureRequest::(set)connectionTimeout, replace with
more generic QgsFeatureRequest::timeout
2018-08-18 16:53:32 +10:00
Nyall Dawson
7e24ec686a [wfs] Respect request timeout when retrieving features 2018-08-18 16:53:32 +10:00
Nyall Dawson
48f166eb26 Avoid warning in release builds 2018-08-18 16:17:09 +10:00
Andrea Giudiceandrea
ae8e0636f0 osgeo4w: remove registering of wrong classes 2018-08-18 02:29:28 +02:00
Nyall Dawson
2a12c6feeb New class QgsScopedProxyProgressTask, which makes it easy
to create proxy progress tasks and have their lifetime
managed automatically.
2018-08-18 08:42:34 +10:00
Nyall Dawson
54f4eefc45 Use a proxy task to show progress when dropping multiple layers to QGIS 2018-08-18 08:42:34 +10:00
Nyall Dawson
0d200623b1 [FEATURE][processing] Add non-joinable output to Join by Location alg
Allows unjoinable features to be saved to a separate optional layer
2018-08-18 08:03:39 +10:00
Nyall Dawson
773371a143 [FEATURE][processing] Join by field value can export unmatched records,
and reports counts of matched/unmatched features

This gives an explicit warning to users when features were not matched,
and optionally allows them to save non-matching features to a layer.
2018-08-18 08:03:39 +10:00
Matthias Kuhn
78aa26a609 Simplify code
This code does nothing and only adds overhead since 69b590b0ef6
2018-08-18 08:02:48 +10:00
Matthias Kuhn
ce87662393
Merge pull request #7612 from elpaso/bugfix-19441-rulerenderer-exp-depth
Bugfix 19441 rulerenderer exp depth
2018-08-17 14:06:28 +02:00
Martin Dobias
6d1e420c71 min/max to minimum/maximum renaming 2018-08-17 09:34:41 +02:00
Martin Dobias
d91e12d417 Fix missing min/max values for classification when changing datasets
The min/max values were stored in the color ramp shader, but to my surprise
these values were never persisted or copied: pseudo-color raster renderer
has a separate storage for the min/max values, so we need that for mesh renderer
as well.

The QgsRasterShaderFunction is not really useful, and QgsColorRamp should not
be derived from it, making things just more confusing.
2018-08-17 09:34:41 +02:00
Martin Dobias
2f5ef8e0f8 Fix regression - lost "load from raster band" button in raster GUI 2018-08-17 09:34:41 +02:00
nirvn
805e7ec06d [ui] remove original metadata row, duplicate of name 2018-08-17 12:00:20 +07:00
nirvn
1f31a9783c [ui] improve metadata feature count string
- use unknown instead of -1
- use thousands separator
2018-08-17 12:00:20 +07:00
Nyall Dawson
59dbe0e6c4 Avoid unnecessary handling of active layer changed when we are
adding many layers at once, or removing many (e.g. due to project
clear)

Saves a lot of unnecessary and potentially expensive processing
2018-08-17 12:01:54 +10:00
Nyall Dawson
19a4357fdf Avoid crash in gps info widget due to storage of potentially removed layer pointer 2018-08-17 12:01:54 +10:00
Nyall Dawson
56b6ebd91c Avoid crash from storage of potentially removed map layer storage in canvas 2018-08-17 12:01:54 +10:00
Nyall Dawson
8075368638 Fix clang/clazy warnings 2018-08-17 12:01:54 +10:00
Nyall Dawson
91572beaba Quiet noisy wfs provider debug messages 2018-08-17 11:53:09 +10:00
Salvatore Larosa
19c1a4b526 fix warning 2018-08-16 23:50:06 +02:00
Loïc Bartoletti
07c80b8281 Fix build of qgisnative for FreeBSD 2018-08-17 07:31:30 +10:00
Nyall Dawson
b422504c37 Disable feature fetching for symbol selector widget preview
It's just too expensive for any remote provider, e.g. wfs, and
causes many ui lockups. Revisit when support for iterator
timeouts is more mature.
2018-08-17 06:10:30 +10:00
Nyall Dawson
291224e8c7 [wfs] Avoid widget access from non main thread
It's not safe to loop through the app's widgets in a background
thread, so defer determination of the main window until
the progress dialog is being created in the main thread
2018-08-17 06:10:10 +10:00
nirvn
3b861f22f9 Add additional decodeUri tests 2018-08-16 16:46:01 +07:00
nirvn
8a117af7ce Add a path row to HTML metadata table 2018-08-16 16:46:01 +07:00
nirvn
1ab8716688 Implement decodeUri for the delimited text & spatialite providers 2018-08-16 16:46:01 +07:00
nirvn
45b209c2c1 [FEATURE] Add hyperlink to local vector,raster datasets in information panel 2018-08-16 16:46:01 +07:00
nirvn
f4a0e743fa Implement a QgsProviderRegistry decodeUri function + test 2018-08-16 16:46:01 +07:00
Heidi Vanparys
4ab4b42d27 Update Danish national CSW
geodata-info has been modernised (upgrade of GeoNetwork installation) and as a consequence, the CSW endpoint was changed from http://www.geodata-info.dk/registrant/srv/en/csw to https://geodata-info.dk/srv/dan/csw.
2018-08-16 19:12:53 +10:00
Martin Dobias
f37aa8c6e3
Merge pull request #7613 from wonder-sk/mesh-gui-fixes
Mesh layer fixes and improvements
2018-08-16 09:28:19 +02:00
Nyall Dawson
0be9de5dfc Add hidden configuration setting to set toolbar padding
Can be tweaked for better appearance on hidpi screens, e.g. on
my display a padding of 8 px looks best
2018-08-16 09:12:22 +10:00
Nyall Dawson
a0b4e024bb [processing] Respect application stylesheet in modeler/script editor dialogs 2018-08-16 09:12:22 +10:00
Nyall Dawson
4930061b21 [processing] Fix incorrect OGR warnings when loading raster layer results
Fixes #19597
2018-08-16 06:37:18 +10:00
nirvn
94300eab7c Add proxy progress task for non-background algorithms 2018-08-16 06:22:16 +10:00
Nyall Dawson
5d078ec222 Progress task on project load 2018-08-16 06:22:16 +10:00
Nyall Dawson
37f3be60b2 [layouts] Use proxy task to show progress/exporting status in task manager 2018-08-16 06:22:16 +10:00
Nyall Dawson
21693bd4a4 Add a QgsTask subclass for proxying progress reports from a
blocking operation via task manager

Allows use of the task manager progress reporting system from
operations which are blocking (and cannot be made background
tasks!), e.g. layout exporting, project loading.
2018-08-16 06:22:16 +10:00
Martin Dobias
c0f190d070 Address Nyall's point from review 2018-08-15 15:20:00 +02:00