51922 Commits

Author SHA1 Message Date
Matthias Kuhn
79e63d8922
Make doxygen a bit happier 2018-10-31 10:27:55 +01:00
Matthias Kuhn
08c2002d10
Use decodeUri instead of string parsing 2018-10-31 10:27:54 +01:00
Matthias Kuhn
50cf8b9e4e
Unify parameter names 2018-10-31 10:27:54 +01:00
Matthias Kuhn
229c617785
Ignore FID field when merging vector layers to geopackage 2018-10-31 10:27:54 +01:00
Matthias Kuhn
3949cb70c4
Fix faulty alg name in test 2018-10-31 10:27:54 +01:00
Matthias Kuhn
19276e2b03
Add merge vector layer test for gpkg 2018-10-31 10:27:54 +01:00
Matthias Kuhn
2a973fc0b6
Allow using gpkg in processing tests 2018-10-31 10:27:54 +01:00
Alessandro Pasotti
94aa628e3e [wms] Do not pass null QStrings to QgsWmsProvider::setQueryItem
Fix #20271 - WMS is not displayed in QGIS 3.4.0

With test
2018-10-31 10:06:47 +01:00
rldhont
b64e72a89d [Bugfix][Server] Use Project selection color in GetPrint 3.4 2018-10-31 09:38:28 +01:00
nirvn
4d33422fe2 Prevent flooding (and app freeze) of items added to the message bar 2018-10-31 10:03:21 +07:00
Denis Rouzaud
f5a1b4efda
native/CMakeLists.txt cleanup (#8380) 2018-10-30 16:24:24 -08:00
Nyall Dawson
f3e9aaf79a Fix some inefficient python dictionary iteration 2018-10-31 08:42:51 +10:00
Nyall Dawson
85efc77bb4 Fix inefficient calls to QgsFeature.attributes()[idx]
Replace with just f[idx]. Calling QgsFeature.attributes()
allocates a list of all attributes, which is inefficient
when only a single attribute value is needed.
2018-10-31 08:42:51 +10:00
fuzzysolutions
6c99cbc1ba Minor changes to speed up PointstoPaths algorithm
# 1: Replaced time-consuming call on all attributes by a more specific request - responsible for about 90% of running time in my tests.
# 2: Minor speedup by calling items() before the for loop (1s in a large layer).
2018-10-31 08:42:51 +10:00
Nyall Dawson
3a18ba6b24 Fix another warning 2018-10-31 07:37:33 +10:00
Nyall Dawson
2c278f3118 Fix a (harmless) build warning 2018-10-31 07:37:33 +10:00
Björn Harrtell
c3e7632ce8 Prefetch memory variable changed to 32-bit and default raised to 8MB 2018-10-30 22:26:53 +01:00
Nyall Dawson
0d7f59865b Fix broken handle bad layers dialog
Partially revert af0bae67f and ea2cc365

Fixes #20265
2018-10-31 04:45:31 +10:00
Nyall Dawson
f6aecd152d Avoid crash in style model when adding symbols with a new tag to library
Fixes #20256
2018-10-31 04:45:15 +10:00
Nyall Dawson
5ebb974569 [browser] Fix some items which are marked as "Collapse" capability
are incorrectly expanded on startup
2018-10-31 04:44:56 +10:00
Nyall Dawson
a873289da7 [processing] Fix crash when right clicking toolbox outside of an item
Fixes #20264
2018-10-31 04:44:36 +10:00
Matthias Kuhn
2f1dec9824
Merge pull request #8362 from m-kuhn/codeReadability
Improve code readability
2018-10-30 10:31:20 +01:00
Matthias Kuhn
3a74c879cc
Merge pull request #8361 from m-kuhn/deadlockInGeometryValidation
Fix deadlock in geometry validation
2018-10-30 08:54:26 +01:00
Matthias Kuhn
f4326842ab
Switch 2018-10-30 08:09:09 +01:00
Matthias Kuhn
e968819d6e
More comprehensive API docs 2018-10-30 07:56:32 +01:00
Matthias Kuhn
59b1d3090f
Merge pull request #8360 from m-kuhn/hideGeometryValidation
Hide geometry validation dock
2018-10-30 07:38:00 +01:00
Ricardo Garcia Silva
a9f7f3542e vector layer properties now checks if config widget factory supports layer
previously the factory would always be used, even if it did not
support the active layer

fixes #20240
2018-10-30 10:13:00 +10:00
William Kyngesburye
2f86f22852 update mac bundling for new Qt frameworks 2018-10-29 19:02:51 -05:00
Matthias Kuhn
1332e5c58e
Allow calling getFeatureSource without feedback 2018-10-29 16:15:35 +01:00
Matthias Kuhn
13876318a4
Improve code readability 2018-10-29 15:44:17 +01:00
Matthias Kuhn
46563556d6
Silence warning 2018-10-29 15:38:30 +01:00
Matthias Kuhn
02ec785e1b
Fix deadlock in geometry validation
Fix a deadlock in geometry validation. This happens when the mainthread "waits for finished" of a checker thread.

What happened in this case was, that the main thread canceled the feedback and waited for any jobs to finish.
If a job was waiting for a feature source (or something else to be executed on the main thread) this resulted in a mighty deadlock.

What we do here is that we regularly check if we ought to cancel while waiting for our slot on the main thread and can bail out if we should cancel before the main thread gets around to take care of our function.
The difference is, we still execute the code on the background thread and make sure that the main thread is not doing anything during this time to avoid working on the same data structures in parallel.
2018-10-29 15:05:51 +01:00
Alessandro Pasotti
b00b3f68fc
Merge pull request #8358 from elpaso/bugfix-20255
Fix geometry precision input in vector layer properties and not-dot l…
2018-10-29 13:58:37 +01:00
Alessandro Pasotti
ac54e9611b Show an empty string if precision is 0 or not valid 2018-10-29 12:36:08 +01:00
Matthias Kuhn
e16e25c016
Hide geometry validation dock
Fix #20245 https://issues.qgis.org/issues/20245
2018-10-29 12:34:04 +01:00
Alessandro Pasotti
12c75d3ca2 Fix geometry precision input in vector layer properties and not-dot locales
Fix #20255 - Impossible to enter a decimal value for the geometry precision in French (comma as decimal separator)
2018-10-29 12:01:47 +01:00
Matthias Kuhn
8fc43780dc
Merge pull request #8114 from signedav/bugfix_not_deleting_relation
More intuitive relation reference widget text filter
2018-10-29 09:52:41 +01:00
Nyall Dawson
d4cf8cf7de More clazy optimisations 2018-10-29 18:14:57 +10:00
Nyall Dawson
3c3fcf50a9 Fix clazy warnings 2018-10-29 18:14:57 +10:00
Nyall Dawson
d196125bd0 Fix build 2018-10-29 18:14:57 +10:00
Nyall Dawson
0035b7c369 Avoid creating temporary project properties and options dialogs
for locator filter

This is expensive and results in a lengthy delay when first
using the locator in a QGIS session.

Replace with an alternative approach which doesn't rely on
creation of temporary dialogs, yet should still ensure that
these dialogs don't go out of sync with the locator.
2018-10-29 18:14:57 +10:00
Nyall Dawson
1dd36f132d Capitalization 2018-10-29 11:27:40 +10:00
Nyall Dawson
0d5a8ddd8e [processing] Fix exceptions due to closed algorithm dialogs when
opened from toolbox and closed before task completes
2018-10-29 10:49:46 +10:00
Nyall Dawson
908a058a3a Avoid useless tray icon on Windows 7
Fixes #20247
2018-10-29 10:17:34 +10:00
Nyall Dawson
c920688437 Follow up status bar font fixes, avoid too small font on Windows 2018-10-29 10:06:02 +10:00
Juergen E. Fischer
9e45223d42 reset English translations on update 2018-10-27 19:06:37 +02:00
Juergen E. Fischer
9ad01cf9ba replace three dots with ellipsises in translation strings 2018-10-27 19:06:37 +02:00
Juergen E. Fischer
012bd99e11 scripts/tsstat.pl: remove unused site mode and add note to doc/TRANSLATORS 2018-10-27 19:06:37 +02:00
Etienne Trimaille
c4b3cbcd07 add missing expression groups 2018-10-27 11:51:57 +07:00
Etienne Trimaille
ce32a25386 remove translations for expression group to fix the UI 2018-10-27 11:51:57 +07:00