Nyall Dawson
1d62d106fb
[processing] Don't hold on to algorithm instances for menu items
...
Instead, only store references to the algorithm id string, and
use this to retrieve algorithms when the actions are triggered.
This avoids errors caused by the algorithm instances being
removed, e.g. due to plugin removal or reload of providers
(e.g. by opening options dialog).
Fixes #19070
2018-05-31 15:28:12 +10:00
Nyall Dawson
59d425c5b0
[processing] Fix some incorrect formatting of algorithm titles
2018-05-31 15:27:51 +10:00
Nyall Dawson
612d61dc09
[processing] Tweak algorithHelp formatting
2018-05-31 15:27:34 +10:00
Nyall Dawson
db916bc238
[processing] Show accepted data types for parameters in processing.algorithmHelp
2018-05-31 15:27:34 +10:00
Nyall Dawson
0bbaa3b01e
[processing] Add method to retrieve list of accepted Python data types for a parameter type
2018-05-31 15:27:34 +10:00
Nyall Dawson
e8515d86ee
Fix crash in QgsNetworkContentFetcherRegistry
2018-05-31 10:50:24 +10:00
Nyall Dawson
37b06bcf29
[processing] Fix Rectangles/Ovals/...(variable) chokes on angle values of 0
...
Change the test to a NULL test instead, as angle values of 0 are valid
2018-05-31 08:55:26 +10:00
Nyall Dawson
6bf5274b11
[processing] Fix some missing references warnings
2018-05-30 08:51:30 +10:00
Nyall Dawson
aabbb307fa
[processing] Fix clearing destination doesn't actually reset to temporary output
...
Even though the UI makes it look like it did
2018-05-30 07:45:34 +10:00
Nyall Dawson
ce2f7739e7
[processing] Correct text for temporary folder output
2018-05-30 07:45:34 +10:00
Salvatore Larosa
68b7f5a807
Merge pull request #7087 from slarosa/fix_19001
...
Fixes #19001 : update url for _pyqgis and _api commands
2018-05-29 22:38:32 +02:00
Nyall Dawson
d157b6e661
[processing] Fix destination folder param is not updated after
...
picking from the file dialog alone
2018-05-30 06:12:09 +10:00
Nyall Dawson
2a70c4bcca
Remove invalid ring handling from filterVertices, move to removeInvalidRings()
2018-05-30 05:01:40 +10:00
Nyall Dawson
0c7df170e1
Optimise QgsCurve::asQPolygonF for linestring geometries
2018-05-30 05:01:40 +10:00
Nyall Dawson
f092c7edb7
Add method to filter vertices for geometries in place, by providing a custom filter function
2018-05-30 05:01:40 +10:00
Nyall Dawson
8341b9b19c
Safer memory management for shapeburst fills
...
Fail gracefully if temporary image could not be allocated
TODO: use a maximum size for the image, and downsample to match
2018-05-30 05:01:40 +10:00
Nyall Dawson
ff7c70fc87
[processing][gdal] Fix gdal command does not automatically update
...
when destination value is changed
2018-05-29 22:21:31 +10:00
nirvn
5ab3fe4ba0
Add subsetStringChanged signal
2018-05-29 17:10:17 +07:00
Salvatore Larosa
3edc07b4c2
also versioning cookbook url
2018-05-29 11:59:54 +02:00
Salvatore Larosa
8f5bde40cf
use https for cookbook url
2018-05-29 11:52:43 +02:00
Matthias Kuhn
b202d60672
const correctness QgsVectorLayer::deleteAttributes
2018-05-29 19:43:04 +10:00
Denis Rouzaud
637f59ded1
fix server/app files and sipify test
2018-05-28 10:39:34 -08:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Alexander Bruy
fc55d869a0
Merge pull request #7098 from alexbruy/fix-cmake
...
fix build with CMake < 3.7
2018-05-28 17:47:16 +03:00
Nyall Dawson
4c3a9ef7be
Ensure that class \brief comes before \since ( #7081 )
...
Otherwise it breaks the Python docstrings, which require
the brief to come first
2018-05-28 04:03:46 -08:00
Alexander Bruy
6cac1bdcbd
use complex condition for CMake < 3.7
2018-05-28 14:20:10 +03:00
Salvatore Larosa
fc740d7140
Fixes #19001 : update url to _pyqgis and _api commands
2018-05-28 08:42:45 +02:00
Nyall Dawson
e25c81377e
Fix SAGA parameter value check
2018-05-28 16:02:38 +10:00
Nyall Dawson
a26ae3c1d9
[processing][grass] Fix broken checkParameterValues tests
2018-05-28 16:02:38 +10:00
Nyall Dawson
870d20740c
[processing] Tweaks and checks for checkParameterValues
2018-05-28 16:02:38 +10:00
Nyall Dawson
6441b64a58
[Processing] Fix raster menu split in two in some locales
...
Fixes #17448
2018-05-28 13:49:13 +10:00
Nyall Dawson
b56f1132fc
[processing] Add some more tags and icons to stats algs
2018-05-28 11:09:42 +10:00
Nyall Dawson
b6f2f7bd40
Don't use QgsVectorLayer::selectedFeatures() to check for a selection
...
in a layer
This is incredibly inefficient, because selectedFeatures() actually
fetches a full copy of all selected features (including all
attributes and geometry). Instead use selectedFeatureIds(), which
is just a list of numbers.
Add warning note to docs cautioning against this practice.
Fixes massive ui lockup when right clicking on a layer with
selected features in the layer tree
2018-05-28 10:59:48 +10:00
Nyall Dawson
e552ce62be
Add warning note to QgsLayoutPageCollection::shouldExportPage
2018-05-28 10:06:23 +10:00
Nyall Dawson
5cf33969ae
Cleaner conditional generation of pyi typehint stub files
2018-05-28 10:04:38 +10:00
Alexander Bruy
b150f41f12
fix build with SIP < 4.18
2018-05-28 10:04:38 +10:00
Nyall Dawson
a804a33bc7
Remove some useless \returns dox
2018-05-28 09:48:46 +10:00
Harrissou Sant-anna
f0b72ae62e
Set the dpi default to -1 to use layout dpi
2018-05-28 08:56:32 +10:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
ea0c1d8cbc
Typo
2018-05-28 08:22:11 +10:00
Juergen E. Fischer
499459be4b
fix build with SIP <4.19
2018-05-27 19:17:12 +02:00
Nyall Dawson
7a1a787c0a
Fix incorrect returns docstring when doxygen \returns has extra trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
0e75f6ef85
Don't indent multiline versionadded/deprecated tags
...
Turns out there isn't any valid ones anyway - the only
multiline versionadded tags are due to incorrect ordering
of brief/since tags (which is fixed in a different PR)
2018-05-27 18:54:09 +10:00
Nyall Dawson
9f650fead9
Fix incorrect param docstring when doxygen \param has extra
...
trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
4b1b752633
Fix bad regex
2018-05-27 18:54:09 +10:00
Nyall Dawson
71107d1d2f
Sipify
2018-05-27 18:54:09 +10:00
Nyall Dawson
3b5ada15f7
Move class since annotation to after brief
...
Lots of classes do this, but it messes with the python docstrings.
TODO: add a unit test preventing this behavior
2018-05-27 18:54:09 +10:00
Nyall Dawson
1edbca4978
Fix bad class docstring
2018-05-27 18:54:09 +10:00
Nyall Dawson
3d6ea5972b
Remove some junk lines from docstrings
2018-05-27 18:54:09 +10:00
Nyall Dawson
38850bdb94
[pyqgis] Ensure that multiline param tags are indented for additional lines
2018-05-27 18:54:09 +10:00