51788 Commits

Author SHA1 Message Date
Björn Harrtell
4ab377b92f Remove meaningless conditional and improve user input handling 2018-10-31 17:11:25 +01:00
Matthias Kuhn
429cd0bacd
Merge pull request #8240 from m-kuhn/mergeVectorLayersDuplicateFid
Ignore FID field when merging vector layers to geopackage
2018-10-31 13:47:12 +01:00
Alessandro Pasotti
467fae8e26
Merge pull request #8388 from elpaso/bugfix-20271-wms-null-styles
[wms] Do not pass null QStrings to QgsWmsProvider::setQueryItem
2018-10-31 13:34:47 +01:00
Matthias Kuhn
c55b4eb4c8
Make sip a bit happier 2018-10-31 12:15:43 +01:00
Alessandro Pasotti
9f2fb2d4cf Skip kw check 2018-10-31 11:42:54 +01:00
Matthias Kuhn
87c126323c
Regenerate fids for "multipart to singlepart algorithm" 2018-10-31 10:27:56 +01:00
Matthias Kuhn
2df0cae8e3
Regenerate fids for "join attributes by location", pt2 2018-10-31 10:27:56 +01:00
Matthias Kuhn
0a2b0f4115
Regenerate fids for "Join attributes by field value" 2018-10-31 10:27:55 +01:00
Matthias Kuhn
d0eeffbecb
Regenerate fids for "points along geometry"
Fix #19998
2018-10-31 10:27:55 +01:00
Matthias Kuhn
f8d873c7cb
Regenerate fids for "join attributes by location"
Fix #19708
2018-10-31 10:27:55 +01:00
Matthias Kuhn
432bec17fc
Add test for QgsVectorLayerExporter with RegeneratePrimaryKey 2018-10-31 10:27:55 +01:00
Matthias Kuhn
71590bb859
Case insensitive file extension check 2018-10-31 10:27:55 +01:00
Matthias Kuhn
a4d4c55c82
Parameter name harmonization 2018-10-31 10:27:55 +01:00
Matthias Kuhn
2e1c5e6103
Skip path checking 2018-10-31 10:27:55 +01:00
Matthias Kuhn
6fe832b984
Add missing param doc 2018-10-31 10:27:55 +01:00
Matthias Kuhn
99b246dd78
Add comment for semi-broken control file 2018-10-31 10:27:55 +01:00
Matthias Kuhn
2c4abdf70d
Fix test for merging layers to gpkg 2018-10-31 10:27:55 +01:00
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