8887 Commits

Author SHA1 Message Date
Alexander Bruy
8b7a6b80a7 sipify 2017-04-08 08:30:59 +03:00
Alexander Bruy
9fbb31a31c add context menu with select/deselect all options 2017-04-08 08:30:59 +03:00
Alexander Bruy
ec2af9bd89 more doxymentation 2017-04-08 08:30:59 +03:00
Alexander Bruy
6ab2bd0673 add Python bindings 2017-04-08 08:30:59 +03:00
Nyall Dawson
bfd37e1122 [sipify] Add return types for functions in docstrings
and change \return -> :return: in docystrings
2017-04-08 09:48:48 +10:00
Matthias Kuhn
58d2d6d7f9 sipify_all 2017-04-07 12:26:30 +02:00
Matthias Kuhn
c65f76266c QgsAttributeEditorElement is an abstrat class 2017-04-07 12:26:30 +02:00
Matthias Kuhn
cd3528a109 Sipification 2017-04-07 12:26:30 +02:00
Matthias Kuhn
f82997c4aa [sipify] Force newlines after sip commands 2017-04-07 12:26:30 +02:00
Alexander Bruy
a82aba9cd6 Merge pull request #4338 from timlinux/processing-fixes
[processing] Added more error handling for cases when processing help causes an error
2017-04-07 08:46:20 +03:00
Alexander Bruy
2308b07671 fix indentation 2017-04-07 08:25:02 +03:00
Nyall Dawson
837ee29488 Indentation 2017-04-07 13:38:24 +10:00
Nyall Dawson
11d71d98bc Attempt to fix failing GDAL test 2017-04-07 13:34:06 +10:00
Nyall Dawson
69c31a2d71 Always return const algorithms, since algorithms should not be modified 2017-04-07 13:28:42 +10:00
Nyall Dawson
5a6f11d52e Some cleanups 2017-04-07 13:21:28 +10:00
Nyall Dawson
1bc3b28f94 Fix processing error when grass7 not available 2017-04-07 13:21:28 +10:00
Nyall Dawson
1aa7ca3452 Update sip 2017-04-07 13:21:28 +10:00
Nyall Dawson
ebd851993a Remove processing specific methods for adding/removing providers
QgsProcessingRegistry methods should always be used instead
2017-04-07 13:21:28 +10:00
Nyall Dawson
fdcf04f9f3 Remove AlgorithmProvider
Totally ported to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
42a614154c Also refactor provider context menu actions and remove from AlgorithmProvider 2017-04-07 13:21:28 +10:00
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
Tim Sutton
2bdef02bfa Added more error handling for cases when processing help causes an error 2017-04-06 12:13:50 +02: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
Martin Dobias
61ace1cc61 Slightly improved markers for highlighted nodes and circular nodes 2017-04-05 16:10:46 +08: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