Alessandro Pasotti
e1876f5392
Merge pull request #6294 from elpaso/bugfix-17845-take2
...
[bugfix] Try harder to fix raster properties color picker
2018-02-09 12:23:20 +01:00
Alessandro Pasotti
6dbd0b950e
[mxe] Better packaging and fix Qt5 plugins path
2018-02-09 12:06:36 +01:00
Nyall Dawson
2ee0bc87ca
Fix incorrect layer type icons for some geopackage layers (e.g. curve types)
2018-02-09 20:28:04 +11:00
Alessandro Pasotti
e435d79d6c
Fixes #17845 tested on Linux KDE and Win 10
2018-02-09 10:23:20 +01:00
Nyall Dawson
8f902e7796
Implement manual locks on QgsSpatialIndex
...
Since libspatialindex is not thread safe on all platforms, and
have expressed desire to remove the thread safety that they DO
have on remaining platforms, it's safer and easier for us
to manually add locks to QgsSpatialIndex and be gauranteed that
this class is thread safe on all platforms and libspatialindex
versions.
Also improve docs for the class.
2018-02-09 20:13:04 +11:00
Nyall Dawson
426c72f28a
Avoid deep copy of spatial index when features are fetched on
...
main thread
2018-02-09 20:13:04 +11:00
Nyall Dawson
50a881360a
Include job preparation time in layer rendering timer
...
This prevents layers which are slow to prepare from rendering
in map preview jobs
2018-02-09 20:13:04 +11:00
Nyall Dawson
2e5d538a7e
Fix memory layers with spatial index crash when rendering
...
Fixes #17705
2018-02-09 20:13:04 +11:00
Nyall Dawson
abcaba857f
Add method to force a detach for QgsSpatialIndex
...
Since the underlying libspatialindex is not thread safe
on some platforms (e.g. Windows), manual calls to detach()
must be made if a QgsSpatialIndex is to be accessed across
multiple threads.
Note that for platforms on which libspatialindex is thread
safe, calling detach() has no effect and does not force the
deep copy.
2018-02-09 20:13:04 +11:00
Nyall Dawson
98d43ea4e8
Fix deep copy of QgsSpatialIndexData
2018-02-09 20:13:04 +11:00
Alessandro Pasotti
2a4ab6b08c
Merge pull request #6292 from elpaso/mxe
...
Scripts for cross build QGIS for windows on Linux with mxe
2018-02-09 10:08:24 +01:00
Juergen E. Fischer
9302613f28
fix #18066
2018-02-09 09:38:04 +01:00
Alexander Bruy
603d2e6364
Merge pull request #6293 from alexbruy/processing-enums
...
[processing] allow enums values to be used in description files
2018-02-09 09:08:05 +02:00
Alexander Bruy
90cc17b934
Merge pull request #6298 from nyalldawson/fix_17231
...
[processing] Allow providers to return a different helpId() vs their unique id()
2018-02-09 09:07:37 +02:00
nirvn
bcb68dda54
[processing] fix batch input selection panel for multiple layers parameter
2018-02-09 14:05:26 +07:00
nirvn
9562b9dad2
[processing] only pass needed raster entries in QgsRasterCalculator constructor
2018-02-09 14:05:26 +07:00
nirvn
5fa5b868f8
[raster calculator] use feedback when reprojecting raster block
2018-02-09 14:05:26 +07:00
nirvn
e27847d383
[processing] make output crs optional in the raster calculator
2018-02-09 14:05:26 +07:00
nirvn
c4874b3161
[processing] use feedback object in raster calculator
2018-02-09 14:05:26 +07:00
nirvn
2ed225d5f4
[processing] ressurect raster calculator and add CRS parameter
2018-02-09 14:05:26 +07:00
Nyall Dawson
f340eecc87
[delimited] Don't reset geometry type from "No geometry" when
...
changing other settings
Fixes #17971
2018-02-09 13:33:55 +11:00
Nyall Dawson
2d1e9188f1
[processing] Allow providers to return a different helpId() vs
...
their unique id()
This is used when generating the QgsHelp url for algorithms
attached to the providers.
Implement helpId overrides for the native and 3d providers so
that they return 'qgis' helpIds, meaning that all QGIS processing
algorithm documentation can be kept within the same url path
regardless of which QGIS provider library it sits within.
This also allows us to freely move algorithms from the Python
'qgis' provider to c++ 'native' provider in future releases
without breaking the help URLs.
Fixes #17231
2018-02-09 11:26:03 +10:00
Nyall Dawson
9da5fd325e
Always save newly created features, even if no attributes are
...
modified in the form popup after feature creation
Fixes #18056
2018-02-09 11:44:48 +11:00
Alessandro Pasotti
4bd385ff39
[mxe] autopep8
2018-02-08 18:28:40 +01:00
Alessandro Pasotti
b817a3f843
[mxe] Fix typos and qt.conf
2018-02-08 18:25:32 +01:00
Alexander Bruy
068d74d51a
[processing] allow enums values to be used in description files
2018-02-08 17:22:20 +02:00
Alessandro Pasotti
1dd6db384f
[mxe] Add install instructions for mxe
2018-02-08 13:38:27 +01:00
Alessandro Pasotti
d19eef0c59
[mxe] Restore build
2018-02-08 13:38:20 +01:00
Alexander Bruy
fcb50a6857
Revert "[processing] throw error if no layers selected in raster calculator"
...
This reverts commit c09c3018035eb7a4f47acbde7f3dae405ba444db.
2018-02-08 13:25:20 +02:00
nirvn
b6ff401452
[raster calc] make use of qgsfilewidget and fix some labels
2018-02-08 17:08:33 +07:00
nirvn
a29d6d27d2
[raster calc] use active layer to setup dialog to harmonize
...
the behavior with that of processing
2018-02-08 17:08:33 +07:00
nirvn
50a103f5b8
[raster calc] use new API to save/restore geometry
2018-02-08 17:08:33 +07:00
nirvn
90e353bc1c
[raster calc] use a monospace font for the expression editor ( fixes #17556 )
2018-02-08 17:08:33 +07:00
nirvn
605bb75876
[raster calc] cancelling the process should cancel the process
2018-02-08 17:08:33 +07:00
Alessandro Pasotti
6eac6ac8cb
[cmake] MXE build changes
2018-02-08 09:30:09 +01:00
Juergen E. Fischer
fb53ebfee5
fix xenial build
2018-02-08 08:44:09 +01:00
nirvn
839fa50812
[attribute table] fix crash when adding creating a field on field-less layers
2018-02-08 14:12:07 +07:00
Nyall Dawson
75843a8ba8
Make tooltip capitalization consistent
2018-02-08 16:06:26 +11:00
Nyall Dawson
3d23cde4c9
Add some separators to identify results toolbar
2018-02-08 16:06:26 +11:00
Nyall Dawson
147903125d
[needs-docs] Use correct open form icon in identify results toolbar
...
Before we used a different (non obvious) icon for "open form"
in the toolbar. This changes the toolbar icon to reuse the
same (clearer) icon which is used when expanding out the
tree and finding the "show feature form" action.
I've also moved the Open Form action to be first in the
toolbar, since it's the most frequently used action.
2018-02-08 16:06:26 +11:00
nirvn
e2c713e249
[raster] prevent pseudocolor auto-classify following color customization in tree
2018-02-08 10:34:16 +07:00
nirvn
234540f0c9
[attribute table] fix crash when removing layer with show selected features
2018-02-08 10:05:11 +07:00
Tudor Bărăscu
f54cc37258
fix server issue for devicePixelRatio leading to DPI requests with decimals
...
Some requests send the DPI parameters with decimals due to
devicePixelRatio and the Server doesn't cope with that. This fixes it.
2018-02-07 12:55:03 +02:00
nirvn
2cbf139bcd
[ui] save vertical space for the delimited text add layer dialog
...
(fixes #17972 )
2018-02-07 16:30:45 +07:00
nirvn
dd7c168e0b
document api break
2018-02-07 13:27:39 +07:00
nirvn
0885414d74
update the stats gatherer to use qgstask
2018-02-07 13:27:39 +07:00
nirvn
715677ee5d
move getValues, getDoubleValues to vector layer utils source file
2018-02-07 13:27:39 +07:00
nirvn
8495e8be4d
[stats] gather field/expression values in a thread to prevent long UI freeze
2018-02-07 13:27:39 +07:00
Alexander Bruy
c12884cc6b
[processing] remove obsolete script tests
2018-02-06 19:25:48 +02:00
Alexander Bruy
23a5dd3197
[processing] fix file permissions
2018-02-06 19:25:48 +02:00