12946 Commits

Author SHA1 Message Date
Nyall Dawson
e273ac2815 [processing] Some test debugging help 2018-06-01 11:54:31 +10:00
Nyall Dawson
46a4c23648 Resurrect a grass test 2018-06-01 11:54:31 +10:00
Nyall Dawson
ae95adba40 [processing][GRASS] Fix r.relief.scaling has inverted min/max values for altitude and azimuth parameters
Fixes #19076
2018-06-01 09:36:24 +10:00
Nyall Dawson
32792d3409 Better dox, spelling 2018-06-01 08:53:20 +10:00
Nyall Dawson
f7a6864b9c [processing] Fix invalid characters in HTML for 'Raster layer unique values' report 2018-06-01 08:53:20 +10:00
Denis Rouzaud
0cffd19e5f monkey path custom widgets
this will add module to the system to avoid missing modules when running on a local install (uic widget-plugin not installed)
2018-05-31 12:33:38 -08:00
Matthias Kuhn
497abfe797
Merge pull request #7120 from nyalldawson/opts
Optimise geometry conversion to/from geos
2018-05-31 11:30:40 +02:00
Matthias Kuhn
8cf7447a2c
Merge pull request #7124 from nyalldawson/fix_16428
[processing] Hopefully fix bad layout for docks in modeler
2018-05-31 09:49:07 +02:00
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
db2c3d4986 [processing] Show search icon in search boxes 2018-05-31 12:51:53 +10:00
Nyall Dawson
879622547c [processing] Fix bad layout for docks in modeler
Because there's some deep underlying issue which causes the dock
layouts to get corrupted in certain circumstances, avoid the
issue entirely by moving construction of the docks out of
the .ui file and instead do it all manually via Python code.

Fixes #16428, #19068
2018-05-31 12:45:47 +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
3aa4968f93 Optimise geometry conversion to/from geos 2018-05-30 18:52:41 +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