4548 Commits

Author SHA1 Message Date
Nyall Dawson
f6ac45a510 [processing][saga] Add unit test for reclassify values (simple) 2018-06-04 12:58:12 +10:00
Nyall Dawson
3dde95de5d [processing][SAGA] Fix broken reclassify values algorithm
Fixes #18750
2018-06-04 12:58:12 +10:00
Nyall Dawson
4b354984e8 [processing] Matrix parameter values are always 1-dimensional
Fix gui wrapper returns 2-dimensional parameters, which don't
match with the expectations of QgsProcessingParameterMatrix
2018-06-04 12:58:12 +10:00
Nyall Dawson
f85a3d6bc0 [processing][SAGA] Fix exposed output formats to include only those supported by SAGA
Refs #18908
2018-06-04 12:00:28 +10:00
Nyall Dawson
1395dc0e9c Add missing license headers 2018-06-04 11:30:32 +10:00
Nyall Dawson
bd65fc607b [processing][gdal] Don't double quote output paths
Breaks for some drivers, e.g. KML

Fixes #18264
2018-06-01 18:21:41 +10:00
Nyall Dawson
30ecb33855 [processing][GRASS] Fix some algorithms always export as GPKG, regardless of format selected 2018-06-01 16:53:00 +10:00
Nyall Dawson
60a87e9497 [processing] Fix error when creating tests and raster output
no longer exists

Fixes #16123
2018-06-01 16:20:12 +10:00
Nyall Dawson
4289bcb3cb [processing][saga] Fix some field parameters are incorrectly defined as feature sources
Fixes #18193
2018-06-01 15:55:11 +10:00
Nyall Dawson
950d042e72 [processing] Fix errors when filling parameters in batch panel
Fixes #18408
2018-06-01 15:55:11 +10:00
Nyall Dawson
dcba919eef Add another acceptable hash 2018-06-01 11:54:31 +10:00
Nyall Dawson
4719a7c1f5 See if test now passes on Travis 2018-06-01 11:54:31 +10:00
Nyall Dawson
09d21cf920 Resurrect another GRASS test 2018-06-01 11:54:31 +10:00
Nyall Dawson
3f456993d6 Resurrect a GRASS test 2018-06-01 11:54:31 +10:00
Nyall Dawson
0e7c31e9e7 [processing][grass] Fix handling of optional file parameters 2018-06-01 11:54:31 +10:00
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
f7a6864b9c [processing] Fix invalid characters in HTML for 'Raster layer unique values' report 2018-06-01 08:53:20 +10: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
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
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
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
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
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
nirvn
45aca2f942 fix unclosed strings not style in python console & script editor 2018-05-23 10:08:02 +07:00
nirvn
9cf6bbf424 Improve default color scheme for python console & script editor 2018-05-22 17:56:25 +07:00
nirvn
45b045d212 Fix missing color settings for python console / script editor 2018-05-22 13:31:29 +07:00
Nyall Dawson
c5ff6b9c99 [processing] Ensure parameters linked to layer parameters
(e.g. field choices) are correctly updated when a layer
is selected which doesn't belong to the project
2018-05-22 06:03:18 +10:00
Nyall Dawson
c0d9528090 Silence python warnings from 3rd party libraries on startup 2018-05-22 06:02:55 +10:00
Blottiere Paul
42199d1ad0 [processing] Declare NOT_SELECTED 2018-05-21 19:06:27 +10:00
Blottiere Paul
dcc79fcfbf [processing] Fix invalid attribute's name 2018-05-21 19:06:27 +10:00
Nyall Dawson
b21632602f [processing] Fix exception when editing enum input with no default value 2018-05-21 16:07:14 +10:00
Nyall Dawson
6b5e5b6ed5 [processing] Fix models cannot correctly set enum parameters
to a static choice
2018-05-21 16:07:14 +10:00
Nyall Dawson
84163841df [processing] Improved script editor dialog title
- show filename in title, or 'Untitled Script' for new
scripts
- show unsaved ('*') indicator when unsaved changes present
2018-05-21 14:28:37 +10:00
Nyall Dawson
28b23d0b24 [processing] Fix script editor dialog title 2018-05-21 14:28:37 +10:00
nirvn
fb882494d5 [needs-docs][processing] reword add model/script to toolbox actions 2018-05-21 10:58:40 +07:00