4535 Commits

Author SHA1 Message Date
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
nirvn
05beaa73b3 [needs-docs][processing] open existing script toolbar action 2018-05-21 10:58:40 +07:00
nirvn
310bfb1e3e [processing] show indentation guides in script editor 2018-05-20 15:50:31 +07:00
nirvn
6b3ebfc019 harmonize open script icons 2018-05-20 15:50:31 +07:00
nirvn
af45b84c1f [processing] do no wrap line in script editor
(harmonize behavior with python console)
2018-05-20 15:50:31 +07:00
nirvn
2ad74b9d97 [processing] better unsaved change dialog upon closing script editor 2018-05-20 15:50:31 +07:00
nirvn
5a4d33f351 [processing] use python console color/font settings for the script editor 2018-05-20 15:50:31 +07:00
Alexander Bruy
303a79a143 [processing] fix temporary directories handling 2018-05-20 18:17:15 +10:00
nirvn
6d067ba9e0 [processing] tiny improvements to the script editor
- add a keyboard shortcut to toggle the find panel
- focus on the find text box when opening panel
- find text when hitting return
2018-05-19 18:22:27 +07:00
matteo
ace955c08c resurrect also the test for r.thin 2018-05-19 08:12:40 +10:00
matteo
b44ce1e883 [processing] fix wrong parameter GRASS 2018-05-19 08:12:40 +10:00
Blottiere Paul
599799d264 Remove unused import 2018-05-18 08:29:33 +01:00
Blottiere Paul
e74e836017 Use parameter's name instead of description to save sql query 2018-05-18 07:05:56 +01:00
matteo
2a7c10e719 change empty '' with None 2018-05-18 08:44:02 +10:00