37825 Commits

Author SHA1 Message Date
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
9c30a0e72e Fix bad string encoding on windows 2017-04-07 12:45:37 +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
85b38e36eb Whitespace 2017-04-07 09:23:24 +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
505f2c686b Merge pull request #4337 from timlinux/browser
Changed Tile Server (XYZ) to XYZ Tiles to reduce visual clutter
2017-04-07 08:57:24 +10:00
Nyall Dawson
d26d1b7c4a Merge pull request #4336 from nyalldawson/background_raster
[FEATURE] Background saving of raster layers
2017-04-07 08:56:35 +10:00
Nyall Dawson
c28ad0b1d9 Merge pull request #4335 from nyalldawson/save_vector_with_extent
Much faster save as vector layer when using restricted extent
2017-04-07 08:56:18 +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
26e2947765 Changed Tile Server (XYZ) to XYZ Tile Server to reduce visual clutter 2017-04-06 16:41:24 +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
b601467d92 Merge branch 'master' of github.com:qgis/QGIS 2017-04-06 10:16:17 +02:00
Borys Jurgiel
e5d10b6946 Fix Refactor Fields error if layer has no features 2017-04-06 10:14:01 +02:00
Nyall Dawson
d2f3eb1ba5 Much faster save as vector layer when using restricted extent
Use a provider filter rect to avoid looping through every single
feature in this case, and also use a prepared extent geometry
to speed up the remaining intersection checks.
2017-04-06 16:57:54 +10:00
Nathan Woodrow
c0fb3f25a7 Add API area selector in test template 2017-04-06 04:46:30 +01:00
Nathan Woodrow
e9cad2cd19 Add ignore for astyle for template folder 2017-04-06 13:19:15 +10:00
Larry Shaffer
d303ca8cdc Fix startup NSBitmapImageRep exceptions on macOS, due to missing files
See https://github.com/qgis/homebrew-qgisdev/issues/27

Exceptions happen when PNGs were changed to SVGs, but the .ui file was
not entirely updated. Then, when PNGs were deleted, a valid, but null,
QIcon gets created for the macOS menu item and the exception is thrown.

Qt 5.8.0 regression.
2017-04-05 21:17:19 -06:00
Nathan Woodrow
375814e140 Fix broken template 2017-04-06 02:56:43 +01:00
Nathan Woodrow
b76bfdee7e Fix unset var in template install script
Pro Tip: Don't code on the train early in the morning
2017-04-06 02:45:54 +01:00
Nathan Woodrow
53e3f3bc2d Fix typo in install template script 2017-04-06 02:42:29 +01:00
Nathan Woodrow
58909a1c21 Add install script for editor templates and code style 2017-04-06 07:43:18 +10: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
Alessandro Pasotti
cf2f431fcc Merge pull request #4334 from gabrimonfa/bug_16389_sld_stroke_color
fixes #16389 stroke color is not correctly exported in SLD
2017-04-05 12:42:27 +02:00
Gabriele Monfardini
cf7acdf5f8 bug 16389 fix error in sld export about stroke color 2017-04-05 12:16:21 +02:00
Nyall Dawson
88c3b51f7e Merge pull request #4333 from nyalldawson/dataobjects
Port more processing dataobjects methods to c++
2017-04-05 20:06:39 +10: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
Juergen E. Fischer
85d59e648a creatensis.pl: fix md5sum verification on filenames with a plus 2017-04-05 11:10:14 +02:00
Nyall Dawson
ee29fa66f9 Use QgsMapLayerComboBox in processing field calculator 2017-04-05 18:39:12 +10:00
Denis Rouzaud
c2c9335911 [sipify] fix private inheritance with namespace 2017-04-05 09:58:44 +02:00
Denis Rouzaud
d7014846f1 [sipify] skip protected members 2017-04-05 09:58:37 +02:00
Nyall Dawson
9a0595117b Merge pull request #4331 from nyalldawson/dataobjects
Port some processing dataobjects routines to c++
2017-04-05 15:43:16 +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