45 Commits

Author SHA1 Message Date
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
nirvn
9ce1093bce [FEATURE][ogr] Add string list field type support 2019-04-10 08:06:12 +07:00
Nyall Dawson
346f33544c [processing] Expose correct expression context in Refactor fields alg 2019-02-20 05:39:04 +10:00
Nyall Dawson
f3e9aaf79a Fix some inefficient python dictionary iteration 2018-10-31 08:42:51 +10:00
Nyall Dawson
c8abd40250 [processing] Fix gdal algorithm use of old wrapper API 2018-09-11 15:40:27 +10:00
Nyall Dawson
644ef6a752 [processing] Initial work on porting base GUI classes to c++
- Add abstract base class for Processing widget wrappers to c++
- Add wrapper factory interface to c++
- Make QgsProcessingGuiRegistry also register widget wrapper
factories, and be responsible for creation of new c++
processing widget wrapper instances
- Start on private c++ implementation of boolean widget wrapper,
including unit tests
2018-09-04 19:06:07 +10:00
gacarrillor
387e724b0f [processing] Refactor Fields algorithm: avoid unnecessary confirmation dialogs 2018-04-30 11:14:36 -05:00
Nyall Dawson
ff6ea33686 [processing] Fix broken Aggregate algorithm
Fixes #18349
2018-03-20 08:06:38 +11:00
Matthias Kuhn
592c9b24b9 Expose fields mapping parameter to modeler 2018-03-01 08:13:08 -05:00
Matthias Kuhn
b619dcb00a Refactor fields configuration in the modeler does not insist on layer
Inside the modeler, there is not enough knowledge about the layer on
which the refactor fields algorithm will run.
Let's be graceful with error messages here therefore.
2017-12-14 09:04:07 +01:00
Matthias Kuhn
e9d4c06cb2 Make string translatable 2017-12-14 09:04:07 +01:00
Mathieu Pellerin
97f749e6b4
[processing] fix error when adding refactor fields alg in empty model
(fixes #17421)
2017-11-24 18:04:50 +07:00
Alexander Bruy
ee8ef42c42 [processing] boolean fieds support in the Refactor Fields algorithm (fix #17168) 2017-11-16 12:46:00 +02:00
arnaud.morvan@camptocamp.com
4b5d81b370 [processing] Add Aggregate algorithm 2017-08-16 10:46:15 +02:00
arnaud.morvan@camptocamp.com
b26e6812d4 [processing] Check all parameter's values in ModelerParametersDialog
Check that all parameter's values pass the validity check,
even if not returned as QgsProcessingModelChildParameterSource.

In case of list, tests that it is really a QgsProcessingModelChildParameterSource list,
and create a QgsProcessingModelChildParameterSource from the list if it is not the case
(useful for custom parameters that return lists as ParameterFieldsMapping).
2017-08-14 13:48:50 +02:00
arnaud.morvan@camptocamp.com
b3a9e46cfe [processing] Port refactor fields to new API 2017-08-14 13:48:50 +02:00
Nyall Dawson
877775d2c0 Remove a bunch of unneeded imports 2017-05-02 14:47:58 +10:00
Nyall Dawson
8ffdb362cc Port some processing dataobjects routines to c++ 2017-04-05 15:27:17 +10:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Alexandre Neto
290758a4bc More PNG to SVG replacements (#4065) 2017-01-28 11:17:43 +07:00
Juergen E. Fischer
a61b9222de Qt 5.2 has QComboBox::currentData 2017-01-25 03:28:53 +01:00
Alexandre Neto
932de2ab55 Replace PNGs by SVGs (#3896)
- removes no longer needed SVG compounds
- Improves cap and join style icons
2016-12-21 08:55:22 +07:00
volaya
72fddb8b5e Merge pull request #3470 from arnaud-morvan/refactor_fields_context_generator
[Processing] Fix processing refactor fields algorithm using expression context generators
2016-11-08 10:45:32 +01:00
arnaud.morvan@camptocamp.com
78236c0be1 Use contextGenerator in refactor fields algorithm 2016-11-06 18:11:15 +01:00
arnaud.morvan@camptocamp.com
93be141af5 [processing] Fix import error in FieldsMappingPanel 2016-11-06 13:03:06 +01:00
arnaud.morvan@camptocamp.com
4184934b9a [processing] Apply 2to3 on changes 2016-10-05 12:39:01 +02:00
arnaud.morvan@camptocamp.com
a38c13d523 Create FieldMappingWrapper 2016-10-05 12:38:40 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Juergen E. Fischer
6b8130d54d remove pngs which are available as svg
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +02:00
Nyall Dawson
7da8110536 Remove deprecated methods from QgsExpression
Now all evaluate/prepare/etc methods must be called using QgsExpressionContexts

Also remove most remaining traces of special variables. This brings some
user facing changes, such that existing expressions may need to be
updated if they used these old special variables (eg $scale,
$feature). These changes are noted in doc/qgis3_user_changes.dox
so that we can include them in the release notes.
2016-08-10 17:55:06 +10:00
nirvn
14342ce65a [processing] fix missing quotes to field name in refactor fields 2016-06-05 09:32:51 +07:00
arnaud.morvan@camptocamp.com
7847f971d4 Processing - Adapt RefactorFields to work on tables as well as vector layers 2016-05-17 14:16:16 +02:00
Harrissou Sant-anna
cf45742fe8 use same icons as in other dialogs for this task 2016-05-09 07:02:30 +02:00
Harrissou Sant-anna
af73c3dd58 replace icon 2016-05-02 17:22:47 +02:00
Matthias Kuhn
abfd7740bd Fix qgis.PyQt compatibility imports 2016-04-29 14:10:41 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +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
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Alexander Bruy
d8e1cf30af [processing] load UI files dynamically 2015-05-19 15:30:26 +03:00
Giovanni Manghi
8a9893428e fixes processing refactor fields for certain datatypes 2015-05-07 11:27:48 +01:00
arnaud.morvan@camptocamp.com
3c938275eb Fix #12182 - In FieldsMapper, emit commitData on expression editor change 2015-02-11 15:46:51 +01:00
arnaud.morvan@camptocamp.com
ed94aff17d Fix #12183 - avoid error message in fieldsmapper when no field type selected 2015-02-11 14:34:12 +01:00
Juergen E. Fischer
f76d7301a3 indentation update/fix (followup 9ab22bd) 2015-02-11 13:49:07 +01:00
arnaud.morvan@camptocamp.com
9e51488a88 Create FieldMapper GeoAlgorithm 2015-02-06 16:10:14 +01:00