Nyall Dawson
eb34079c01
Don't crash when python exceptions occur in non-main thread
2016-12-05 14:08:11 +10:00
Nyall Dawson
4c0f4ee6f0
Resolve circular dependencies
2016-12-05 14:08:11 +10:00
Nyall Dawson
b065edeed7
Improvements to QgsTaskWrapper
2016-12-05 14:08:11 +10:00
Nyall Dawson
4291904c8d
Support for dependent tasks
...
Cancelling a task on which others depend leads to all these other
tasks getting cancelled as well.
2016-12-05 14:08:11 +10:00
Nyall Dawson
dcecf4476f
Add support for placing queued tasks on hold
2016-12-05 14:08:10 +10:00
Nyall Dawson
cf5eeb758b
API cleanups
2016-12-05 14:08:10 +10:00
Nyall Dawson
5d4689294d
Add simple python method QgsTask.fromFunction for creation of tasks
...
from a function without having to create a QgsTask subclass
2016-12-05 14:08:10 +10:00
Nyall Dawson
e29dd79432
Api + test cleanups
2016-12-05 14:08:10 +10:00
Nyall Dawson
6021d7806e
Make QgsTaskManager handle threading of tasks
2016-12-05 14:08:10 +10:00
Nyall Dawson
ebae15f23a
Framework for task manager
...
Adds new classes:
- QgsTask. An interface for long-running background tasks
- QgsTaskManager. Handles groups of tasks - also available as a global
instance for tracking application wide tasks
- QgsTaskManagerWidget. A list view for showing active tasks and their
progress, and for cancelling them
A new dock widget has been added with a task manager widget showing
global tasks
2016-12-05 14:08:10 +10:00
nirvn
ab4a37f760
[color ramp] save/restore invert state for cpt-city ramps
2016-12-05 10:20:28 +07:00
nirvn
0b9fbeb983
QgsColorRampComboBox is dead, long live QgsColorRampButton
2016-12-03 13:40:27 +07:00
nirvn
56c5534455
[symblogy] migrate heatmap renderer color ramp widget
2016-12-03 13:40:27 +07:00
volaya
d849e43278
[processing] fixed gdal proximity
...
Fixes #15895
2016-12-02 10:38:43 +01:00
Bernhard Ströbl
b02c6a3206
[processing][FEATURE] Return multi geometries from split alg
...
accept multi geometries as input
2016-12-02 16:47:30 +10:00
Nyall Dawson
3a789e5f14
Merge pull request #3825 from nyalldawson/legend_count
...
QgsVectorLayer::featureCount( QgsSymbol* symbol ) to featureCount( const QString& legendKey )
2016-12-02 16:35:20 +10:00
Mathieu Pellerin
eb85e3fcfa
[raster] migrate singleband pseudo-color renderer color ramp widget ( #3817 )
2016-12-02 12:48:45 +07:00
Nyall Dawson
7de1cc2f13
Removed unused QgsLayerTreeModelLegendNode::SymbolLegacyRuleKeyRole
2016-12-02 13:55:41 +10:00
Nyall Dawson
6d0203d612
Change QgsVectorLayer::featureCount( QgsSymbol* symbol ) to instead
...
use a legend key string
Avoids crashes due to symbol pointer lifetime issues
2016-12-02 13:55:41 +10:00
Nyall Dawson
968c82a30b
Small cleanups for QgsColorRampButton
2016-12-02 09:47:55 +10:00
volaya
420b7ec902
[processing] removed incompatible basestring check
2016-12-01 14:37:36 +01:00
Alexander Bruy
b85b5e75e7
[processing] values() is a dict view object, not list
2016-12-01 12:53:57 +01:00
Alexander Bruy
781ebd9a69
[processing] xrange() removed, should use range() instead
2016-12-01 12:53:57 +01:00
Alexander Bruy
3e7b26233e
[processing] replace deprecated % operator with format()
2016-12-01 12:53:57 +01:00
Alexander Bruy
50a785bdd6
[processing] indentation update
2016-12-01 12:53:57 +01:00
Alexander Bruy
f002321be1
[processing] iteritems() removed, should use items() instead
2016-12-01 12:53:57 +01:00
volaya
40053f81f2
renamed ParameterExpression in raster calculator to avoid name clash
2016-12-01 12:53:57 +01:00
volaya
44f963f60d
[processing] removed debug line
2016-12-01 12:53:57 +01:00
volaya
8bd0dd5aea
[processing] added tests for raster calculator
...
Conflicts:
python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml
2016-12-01 12:53:56 +01:00
volaya
a7f9018e11
[processing] added native raster calculator algorithm
...
Conflicts:
python/plugins/processing/algs/qgis/QGISAlgorithmProvider.py
2016-12-01 12:52:45 +01:00
volaya
fcc343724e
[processing] some fixes and changes in parameters and parameters panel
2016-12-01 12:50:27 +01:00
Nyall Dawson
a17facf6cb
Merge pull request #3816 from nyalldawson/processing_datetime
...
[processing][FEATURE] New unified basic stats algorithm
2016-12-01 20:37:15 +10:00
volaya
2c4eb3cb8c
[processing] allow selecting multiple file in ‘add script from file’
2016-12-01 11:29:49 +01:00
Nyall Dawson
b30a1ff65d
[FEATURE][processing] New universal 'basic stats for field' algorithm
...
Replaces the existing 'Basic Stats for Numeric Fields' and
'Basic Stats for String Fields' algorithms and adds support
for date/time/datetime fields.
Having a single unified algorithm allows more flexible models
where a field type may not be known in advance.
Deprecate existing basic stats algorithms
2016-12-01 16:27:20 +10:00
Nyall Dawson
1ff165a32f
[processing] Fix updating results panel to match selected item
2016-12-01 16:27:07 +10:00
Mathieu Pellerin
ae75e45d80
[symbology] migrate graduated renderer color ramp widget ( #3815 )
2016-11-30 16:47:23 +07:00
Nyall Dawson
08505b388a
[processing] Allow restricting fields to date/time types
2016-11-30 15:04:21 +10:00
Nyall Dawson
b0662f908a
[processing] Basic stats algs should allow non-spatial tables
2016-11-30 15:03:20 +10:00
nirvn
a755f08ba6
add test coverage for qgscolorramp's invert() function
2016-11-30 11:02:05 +07:00
nirvn
deb18c40db
color ramp button widget for gradiant fill and categorized renderer
2016-11-30 11:02:05 +07:00
nirvn
fa16e3e403
[FEATURE] color ramp button widget
2016-11-30 11:02:05 +07:00
nirvn
7181cf25e8
[color ramp] implement invert() function
2016-11-30 09:57:24 +07:00
Nyall Dawson
ab29f2de28
[processing] Use QgsStringStatisticalSummary in basic stats for strings
...
And also further optimise the algorithm
2016-11-30 12:47:39 +10:00
Nyall Dawson
e272bb3e9c
[processing] Optimise basic stats numbers algorithm
2016-11-30 12:35:20 +10:00
Nyall Dawson
a927d9743f
Allow QgsStringStatisticalSummary to calculate mean string length
2016-11-30 12:03:32 +10:00
Nyall Dawson
57f17e31e2
Merge pull request #3808 from nyalldawson/processing_dupe_remove_rings
...
[processing] Remove duplicate fill holes algorithm
2016-11-30 09:50:57 +10:00
Nyall Dawson
6bb4934907
[FEATURE][processing] Remove duplicate create points along lines script
...
This functionality is duplicated by the PointsAlongGeometry algorithm
Keep the algorithm version, since it has unit tests and supports things
like progress reports.
(marked as feature for inclusion in release notes)
2016-11-30 09:35:06 +10:00
Nyall Dawson
d4c38f9277
[FEATURE][processing] Remove duplicate fill holes algorithm
...
The Fill_holes script is duplicated by the DeleteHoles algorithm,
and the DeleteHoles algorithm has many advantages:
- it's a full algorithm rather than a script
- uses qgis geometry classes and maintains curves/z/m
- has unit tests
- doesn't rely on non-standard external library (shapely)
(marked as feature for inclusion in release notes)
2016-11-30 09:32:57 +10:00
Alessandro Pasotti
61b599ed0e
Added histogram values to the bindings
2016-11-29 15:44:34 +01:00
Larry Shaffer
fe8dfe1c1c
Merge pull request #3803 from dakcarto/qt5py3-more-mac-fixes
2016-11-28 17:59:02 -07:00