48 Commits

Author SHA1 Message Date
Alexander Bruy
555fe3d911 [processing] simplify variables handling in scripts 2016-05-13 09:34:25 +03:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
volaya
8a9cb05dbb [processing] better handling of variables in scripts 2016-04-26 12:47:55 +02:00
volaya
45cb80a0ff [processing] fixed wild import 2016-04-07 12:32:46 +02:00
volaya
794ef72520 [processing] added support for QGIS variables in python scripts 2016-04-07 12:03:41 +02:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
fb3fcfa3a0 Python3/Qt5/2to3 updates:
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Alexander Bruy
dd68c33eb4 [processing] add support for ParameterPoint to major algorothm providers 2016-02-29 12:41:27 +02:00
Matthias Kuhn
b956886e81 [processing] Initialize icons before first usage 2016-02-04 13:35:16 +01:00
rldhont
322e511797 [Processing] Fix default value support in script
For some parameters like Number if no default is set script is invalid.
2016-01-15 17:25:48 +01:00
volaya
8884c37b6f [processing] add nocrswarning option to scripts
fixes #12784
2016-01-14 11:53:50 +01:00
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
volaya
9f3bd1d46d [processing] minor fix in parameter parsing in scripts 2015-11-06 14:02:38 +01:00
rldhont
55e75addce [Processing] Optional parameters for script and model
In processing core every parameters can be optional but in scripts there is no way to define a parameter as optional and in modeler only layers can be optional.

For script, I propose a notation like output, if a parameter token starts with optional the parameter is optional.

For model, I propose to add the required combobox to all parameters.

This proposition does not change the value setter.

This proposition can fix the issue http://hub.qgis.org/issues/5488.
2015-11-04 09:51:33 +01:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Juergen E. Fischer
66a3d02240 integrate processing into update_ts.sh (also includes all translations
in the repository and none outside of it).
2015-07-26 04:28:37 +02:00
volaya
a58085bf4e [processing] allow selection parameters with option populated from data source 2015-05-21 09:05:26 +02:00
Alexander Bruy
30dbd8fd5b [processing] drop resources.qrc and load images dynamically. Also remove
unused images
2015-05-19 15:30:25 +03:00
volaya
8ac22c5f30 [processing] fixed wrong creation of error message in script algorithm 2015-04-28 08:44:41 +02:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
radosuav
8fc6dd8d42 [Processing] Let a script know where what is its description file.
Usefull if it needs to access other files located relative to the script
location.
2015-01-22 14:33:17 +01:00
volaya
c54cd92f81 [processing] fixed handling of file outputs in scripts
Fixes #11990
2015-01-15 10:27:20 +01:00
Alexander Bruy
bd13693ae3 [processing] make bunch of strings translatable (sorry translators) 2014-10-04 11:36:39 +03:00
Alexander Bruy
12dc59fa66 [processing] fix script algorithm provider 2014-09-19 21:10:19 +03:00
Rado Guzinski
f780f2a04b [Processing] Remove print statements which sometimes cause an exception 2014-07-22 11:06:45 +02:00
volaya
6486594f57 [Processing] Refactoring of parameters and outputs
It also adds some changes in the core and tools package, to provide a cleaner structure
2014-07-14 14:47:05 +02:00
Juergen E. Fischer
647504306c indentation update 2014-07-13 17:16:24 +02:00
Victor Olaya
784b46bbcd [processing] allow adding core processing algs using scripts 2014-07-11 09:06:34 +02:00
Juergen E. Fischer
3682384675 indentation update 2014-06-13 09:03:15 +02:00
Victor Olaya
7f434a0c7e [processing] more correct handling of nomodeler tag in scripts 2014-06-10 22:39:13 +02:00
Victor Olaya
7f11ca4179 [processing] some minor improvements in script algorithm 2014-06-08 19:59:58 +02:00
Victor Olaya
5f42a2f730 [processing] added 'nomodeler' option to scripts 2014-06-08 19:59:57 +02:00
Victor Olaya
1093866241 [processing] allow blank spaces in script parameters definition 2014-05-30 18:45:40 +02:00
Alexander Bruy
240c128cb7 another follow up for 5ad518afd2. Allow use of OutputDirectory in scripts 2014-05-16 15:45:21 +03:00
Victor Olaya
79757fabee [processing] some fixes in help system 2014-04-24 18:33:56 +02:00
Victor Olaya
bce5b899a2 [processing] improvements in help for algorithms
Avoid creating temporary helpfiles
Added basic converter to convert rst into html on the fly
Added SAGA help files
2014-04-19 20:49:18 +02:00
Juergen E. Fischer
a7b5a8a574 indentation update 2014-04-06 12:41:09 +02:00
Victor Olaya
6f3046caf1 [processing] fixed error when running script algorithm from script editor (fixes #9905) 2014-03-27 15:13:20 +01:00
Victor Olaya
8fff180ac0 [processing] added support for multiline strings in scripts 2014-03-27 14:24:44 +01:00
Salvatore Larosa
d04239d70b [processing] small fix for non-ascii string (fixes #9175) 2014-01-11 15:02:10 +01:00
volaya
ee3870e4af Merge pull request #986 from p0cisk/processing_crs
[processing] Add crs selection panel to scripts
2013-11-12 01:24:12 -08:00
Victor Olaya
c4e39abc36 [processing] allow geometry types to be specified when defining inputs in scripts 2013-11-06 19:27:35 +01:00
Piotr Pociask
761314197c [processing] Add crs selection panel to scripts 2013-11-06 17:52:43 +01:00
Alexander Bruy
498a5d9ab8 [processing] code formatting, make sources more pep8 compliant 2013-10-02 16:24:10 +03:00
Victor Olaya
1517e58ae7 test models and scripts are now hidden 2013-09-21 12:48:20 +02:00
Alexander Bruy
59a5a14515 [FEATURE] new Scintilla-based script editor for Processing 2013-09-15 14:30:58 +03:00
Alexander Bruy
fbedfae8ef [processing] fix parsing of selection options in scripts 2013-09-14 17:30:15 +03:00
Victor Olaya
9bb3d6eb6b renamed "sextante" to "processing" 2013-08-20 09:22:03 +02:00