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
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
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
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
Alexander Bruy
068d74d51a
[processing] allow enums values to be used in description files
2018-02-08 17:22:20 +02: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
715677ee5d
move getValues, getDoubleValues to vector layer utils source file
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
Denis Rouzaud
3205c96af6
Merge pull request #6275 from 3nids/messagelevel
...
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
2018-02-06 05:28:17 -09:00
Denis Rouzaud
8f2c857e55
Merge pull request #6258 from 3nids/options_better_3
...
Allow adding custom highlight widget to custom pages in option
2018-02-06 03:57:12 -09:00
Denis Rouzaud
3dc3d9d1b2
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
...
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Denis Rouzaud
9389be83c6
[processing] search also show children in config
2018-02-06 08:36:46 -04:00
Nyall Dawson
2fc0b5b777
Remove some outdated Python api files
2018-02-06 22:39:42 +11:00
Nyall Dawson
1d3a4e421e
Update sip bindings
2018-02-06 16:30:20 +10:00
Denis Rouzaud
3b17d5a784
processing search: also search in group items and fix return value
2018-02-05 09:31:57 -04:00
Juergen E. Fischer
325af48680
fix #18050 (followup f6269c41d)
2018-02-05 14:04:07 +01:00
Denis Rouzaud
c6840bd0e6
remove ownesrhip transfer
2018-02-05 08:51:47 -04:00
Nyall Dawson
c8d1d2d588
Fix hang in options search widget
2018-02-05 08:51:47 -04:00
Denis Rouzaud
8d55cadeb7
Allow adding custom highlight widget to custom pages in option
2018-02-05 08:51:47 -04:00
Alexander Bruy
567ebb9dd0
[processing] fixes after rebasing
2018-02-05 08:53:52 +02:00
Alexander Bruy
15a185dab0
[processing] turn keep n biggest parts script into normal algorithm
2018-02-05 08:50:44 +02:00
Alexander Bruy
54167bcaa6
fix indentation
2018-02-05 08:50:44 +02:00
Alexander Bruy
4f2a4644db
[processing] remove obsolete code and disable exporting models as script
...
until we update it so support new scripts format
2018-02-05 08:50:44 +02:00
Alexander Bruy
fa5ab81a2a
[processing] scripts also can be feature-based algorithms
2018-02-05 08:50:37 +02:00
Alexander Bruy
cd7bb16ad5
[processing] class name is not needed anymore to load scripts
2018-02-05 08:50:37 +02:00
Alexander Bruy
5ad3af592f
[processing] remove tests for old scripts
2018-02-05 08:50:37 +02:00
Alexander Bruy
f5f0399171
[processing] use custom editor class, as QgsCodeEditor is not available
...
on some platforms
2018-02-05 08:50:37 +02:00
Alexander Bruy
e1a64f6a8f
[processing] remove unused files
2018-02-05 08:50:37 +02:00
Alexander Bruy
724390c7df
[processing] completely restore support for script execution from editor
2018-02-05 08:50:37 +02:00
Alexander Bruy
263702e1f0
[processing] ressurect script execution from editor (work in progress)
2018-02-05 08:50:37 +02:00
Alexander Bruy
53ff800ff8
[processing] temporarily disable fetch actions for scripts and models
2018-02-05 08:50:37 +02:00
Alexander Bruy
472b8bf6bf
[processing] ressurect 'new script' action
2018-02-05 08:49:59 +02:00
Alexander Bruy
7115e044e3
[processing] ressurect 'add from file' action
2018-02-05 08:49:59 +02:00
Alexander Bruy
b747a6b50c
[processing] ressurect delete and edit actions for scripts
2018-02-05 08:49:59 +02:00
Alexander Bruy
422d804db1
[processing] update script provider to use QgsProcessingAlgorithm
...
subclasses instead of custom script code
2018-02-05 08:49:59 +02:00
Alexander Bruy
aee3b44909
[processing] remove not needed trAction method
2018-02-05 08:49:41 +02:00
Alexander Bruy
862b1139fa
[processing] move script provider stuff into provider directory
2018-02-05 08:49:29 +02:00
Alexander Bruy
6841c52210
Merge pull request #6257 from alexbruy/processing-sharing
...
[processing][needs-docs] remove Get scripts and models functionality
2018-02-05 08:48:00 +02:00
Nyall Dawson
345dd0c376
[layouts] Fix items disappear in designer with 90 or 270 degree
...
rotation
Caused by Qt bug 66185
Fixes #18027
2018-02-05 12:36:18 +11:00
Nyall Dawson
5ba69ea945
[processing] Fix invalid parameter definitions for spatialite algs
2018-02-05 10:11:03 +10:00
Alexander Bruy
87e55ba3c7
[processing] remove Get scripts and models functionality
...
Users should use Resource Sharing plugin instead
2018-02-04 11:11:47 +02:00
Denis Rouzaud
1a117cf080
fix doxygen
2018-02-03 15:52:33 -09:00
Denis Rouzaud
70f9c228d7
[options search] API refactoring
...
* avoid using lambdas and use dedicate class and subclasses for each widget type (lable, groupbox, tree, etc)
* this makes the code much more clearer
* allow creating custom highlight widgets with API
2018-02-03 15:52:33 -09:00