51713 Commits

Author SHA1 Message Date
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
Nyall Dawson
aa42b8689c Add native platform method to show file/folder properties, implement
for linux
2018-10-27 09:54:37 +10:00
Denis Rouzaud
d34fe6b109
fix gdal_contour in test (#8351)
now gdal_contour does not create 3D by default
see upstream issue https://github.com/OSGeo/gdal/issues/336
and fix abae82ccf4
2018-10-26 13:50:49 -08:00
Juergen E. Fischer
f3b0b257e4 add islandic translator (followup f4e6477a) 2018-10-26 22:01:32 +02:00
Denis Rouzaud
b872f61708 add missing GUI_EXPORT macro 2018-10-27 05:11:50 +10:00
Nyall Dawson
7ac521529b [FEATURE] Add "export to file" options for raster and vector layers
within the browser panel

Allows direct export of these files (e.g. to a different format,
crs, etc) without having to actually load them into a project
first.
2018-10-27 05:07:15 +10:00
Juergen E. Fischer
2089887754 Bump version to 3.5 2018-10-26 14:34:02 +02:00
Juergen E. Fischer
736b0f7051 changelog and news update for 3.4 2018-10-26 14:32:54 +02:00
Juergen E. Fischer
07e05d8949 translation update for 3.4 from transifex 2018-10-26 14:32:41 +02:00