8713 Commits

Author SHA1 Message Date
Nyall Dawson
651355d569 Refactor provider actions and remove from AlgorithmProvider 2017-04-07 13:21:28 +10:00
Nyall Dawson
117260dcf3 Remove activation control from AlgorithmProvider
Split between QgsProcessingProvider and subclasses
2017-04-07 13:21:28 +10:00
Nyall Dawson
ff32054da6 Fix some breakage 2017-04-07 13:21:28 +10:00
Nyall Dawson
3739c3aa51 Move tr out of AlgorithmProvider to subclasses 2017-04-07 13:21:28 +10:00
Nyall Dawson
9a97a87b4d Use display name in algorithm help 2017-04-07 13:21:28 +10:00
Nyall Dawson
fb1cf1e185 Remove processing algList
All functionality has been moved to QgsProcessingRegistry
2017-04-07 13:21:28 +10:00
Nyall Dawson
4970bb4cd5 Move more algList functionality to QgsProcessingRegistry 2017-04-07 13:21:28 +10:00
Nyall Dawson
2a1a71574a Move algorithm id (previously commandLineName) to QgsProcessingAlgorithm 2017-04-07 13:21:28 +10:00
Nyall Dawson
950ed680bd Don't try to deepcopy QgsProcessingAlgorithm class 2017-04-07 13:21:28 +10:00
Nyall Dawson
b3142a0baf Move provider algorithm handling to QgsProcessingProvider 2017-04-07 13:21:28 +10:00
Nyall Dawson
0e72fe0591 Fix error when trying to run processing algs
Caused by trying to deepcopy a c++ object. This is a temporary
fix - when the next part of the processing/c++ work lands algorithm
copies will no longer be required
2017-04-07 09:36:45 +10:00
Nyall Dawson
ca8e1d343d [sipify] Replace nullptr with None in docstrings
Since nullptr has no meaning to Python devs
2017-04-07 09:21:26 +10:00
Nyall Dawson
5ccc6cccef Update api break docs, sipify QgsRasterFileWriter 2017-04-07 09:21:26 +10:00
Etienne Trimaille
9c832adc51 disable export button if we try to export a raster layer (#4319) 2017-04-07 09:14:36 +10:00
Nyall Dawson
110828feab [FEATURE] Background saving of raster layers
Use the task manager framework to handle saving of raster layers
in the background
2017-04-07 08:18:57 +10:00
Mathieu Pellerin
25d9936df8 [OGR] fix feature count issue for OSM datasets (fixes #16402) (#4322) 2017-04-06 16:04:48 +07:00
Borys Jurgiel
e5d10b6946 Fix Refactor Fields error if layer has no features 2017-04-06 10:14:01 +02:00
Richard Duivenvoorde
a30cf2923c Fix dutch service url
English 'eng' is now a poorly implemented redirect to 'dut', which fails. So fixing this already here while the redirect is fixed at the Kadaster
2017-04-05 13:58:03 +02:00
Nyall Dawson
377b181c4e Port more processing dataobjects methods to c++
Also
- simplify and add tests
- remove large memory leak (persistant store of all non-project layers)
- remove broken support for direct loading postgres/virtual layers
by string (Python version was very broken and would never match
a postgres/virtual layer)
2017-04-05 19:50:46 +10:00
Nyall Dawson
ee29fa66f9 Use QgsMapLayerComboBox in processing field calculator 2017-04-05 18:39:12 +10:00
Nyall Dawson
8ffdb362cc Port some processing dataobjects routines to c++ 2017-04-05 15:27:17 +10:00
Nyall Dawson
d5f930adad Allow storing QgsCoordinateReferenceSystem in QVariants 2017-04-05 10:55:36 +10:00
Nyall Dawson
5718abd4e1 Spell check "condtion" -> "condition" 2017-04-05 10:36:04 +10:00
Nyall Dawson
4eeacb8fdf [sipify] Replace :: with . during doxygen->docstring conversion
e.g.

You can use QgsXmlUtils::writeVariant to save it to an XML document
->
You can use QgsXmlUtils.writeVariant to load it from an XML document
2017-04-05 10:32:27 +10:00
Nyall Dawson
51517fd77e Merge pull request #4311 from nyalldawson/proc_c4
Simple c++ base class for processing algorithms
2017-04-05 06:17:11 +10:00
volaya
85e83e1470 [Processing] prevent error when running escapeAndJoin with empty param string
fixes #16200
2017-04-04 15:10:58 +02:00
volaya
7a12d5fa32 Revert "[Processing] prevent error when running escapeAndJoin with empty param string"
This reverts commit c2a566a3a7bfe369832e5361a0c582bfe2ea5a98.
2017-04-04 15:09:45 +02:00
volaya
c2a566a3a7 [Processing] prevent error when running escapeAndJoin with empty param string
fixes #16200
2017-04-04 13:02:31 +02:00
volaya
84897e3d14 [processing] cast setting size value to int
fixes #16347
2017-04-04 12:09:36 +02:00
volaya
439b9de98d fixed saga algorithm to adapt it to 2.3 syntax 2017-04-04 11:04:22 +02:00
Nyall Dawson
ae59e35dac Complete daily allocation of Qt5 connect transitions 2017-04-04 09:40:25 +10:00
Nyall Dawson
d2a242aa95 Move format handling flags to QgsAlgorithmProvider 2017-04-04 08:15:54 +10:00
Tom Kralidis
c403994d02 [FEATURE] [needs-docs] MetaSearch: add support for ESRI MapServer/FeatureServer layer integration (fixes #16320) 2017-04-03 12:22:59 -04:00
Tom Kralidis
d6433c5b4c MetaSearch: set 4326 as default CRS, use WKT to feed polygon geometry 2017-04-03 08:01:18 -04:00
Nyall Dawson
6e8a696ef4 Update PreconfiguredAlgorithm for new API 2017-04-03 21:20:56 +10:00
Nyall Dawson
2be4c6a15e Fix failing test 2017-04-03 21:17:45 +10:00
Nyall Dawson
e40389a41c Sipify QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
a0bd464232 Use formatted name for algorithm names
Avoids conversion of names later and gives clearer separation
between visible names and internal names
2017-04-03 21:17:45 +10:00
Nyall Dawson
e506ceb1f8 Move flags (hide from toolbox, etc) to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
6987d7b37c Port handling of algorithm names to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
dc729c1b5a Move algorithm group handling to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
faa8a653b2 Move algorithm icon handling to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
28e75731e1 Move tag handling to QgsProcessingAlgorithm 2017-04-03 21:17:45 +10:00
Nyall Dawson
52cc002990 Simple c++ base class for processing algorithms 2017-04-03 21:17:45 +10:00
Nyall Dawson
e462bfb106 [processing] Fix MessageBarProgress 2017-04-03 20:59:21 +10:00
Nyall Dawson
26495dbd81 [processing] Move dataobjects.getSupportedOutputVectorLayerExtensions
to QgsVectorFileWriter
2017-04-03 15:41:32 +10:00
Nyall Dawson
e1e1f0d514 Strip \a from doxygen comments in sipify 2017-04-03 13:18:36 +10:00
Nyall Dawson
5813eb132b Modernise CharacterWidget API, move to sipify 2017-04-03 13:18:36 +10:00
Nyall Dawson
9b3539ab07 Update sip files 2017-04-03 13:18:36 +10:00
Nyall Dawson
e8ef91ce98 Cleanup QgsRasterDataProvider/QgsRasterLayer progress reporting
Instead of progress changed signals on the provider/layer level,
instead use QgsFeedback arguments for methods which previously
emitted progress changed signals
2017-04-03 12:08:08 +10:00