Matthias Kuhn
c3fdef9db1
Merge pull request #6405 from lbartoletti/mkuidefaults_python3
...
Convert mkuidefaults script to python3 and pep8 it
2018-04-12 10:37:15 +02:00
Juergen E. Fischer
222e45b838
allow builds with DEBUG macro defined
2018-04-11 23:19:55 +02:00
Juergen E. Fischer
bb0bfea3c4
disable 3D in debian packages for debian unstable/buster
2018-04-11 22:53:58 +02:00
Martin Dobias
42517f8b58
[FEATURE] Mark layers as required in the project
...
Required layers are not allowed to be removed from the project.
This adds extra safety to protect project users from removing layers
they may think are not needed (e.g. used in joins, relations, expressions).
Users can set/unset layers that are required in project properties dialog.
2018-04-11 15:48:49 +02:00
Alessandro Pasotti
354433b078
Small GUI fix in raster style dialog
2018-04-11 14:51:01 +02:00
Martin Dobias
3400199eb8
[FEATURE] Map themes: store also expanded/collapsed state of nodes
...
Each map theme will also record which layers, groups and legend items are expanded,
so when a map theme is selected, the expanded/collapsed states get applied in the layer tree.
2018-04-11 09:04:23 +02:00
Matthias Kuhn
29b080fce3
Merge pull request #6754 from m-kuhn/processing_filter_algorithm
...
[FEATURE] Feature filter algorithm for processing models
2018-04-11 08:29:12 +02:00
Denis Rouzaud
9dc3ee4fa0
fix logical block with mis-matching arguments
2018-04-10 20:45:29 -04:00
Nyall Dawson
d5573a5a7b
[processing] Use silent feedback by default in processing.run
...
Relying on the iface messagebar feedback as a fallback is not
safe for standalone scripts. If callers want to use a message
bar feedback they should specify this feedback object specifically
when calling processing.run
2018-04-11 09:47:34 +10:00
Matthias Kuhn
fbb4ef5ad7
Add processing gui tests
2018-04-10 23:11:17 +02:00
Matthias Kuhn
ffb2817afb
Protect the const-ituional correctness
2018-04-10 23:10:35 +02:00
Nyall Dawson
bf0c4f9413
[processing] Accept strings of form "(1,2") for point parameters too
...
Since the help text above a point parameter indicates the acceptable
format is "(x, y)", it can be confusing for users to know whether
the brackets should be entered here. So be forgiving and accept
strings with or without brackets.
Refs https://gis.stackexchange.com/questions/278765/how-do-i-enter-start-point-in-shortest-path-algorithm-in-qgis-3-0-1
2018-04-11 04:56:12 +10:00
rldhont
c625f95bef
[BUGFIX][Server] Segfault in WFS GetCapabilities
2018-04-10 13:55:50 +02:00
David
254ceae91a
indentation fix
2018-04-10 13:15:36 +02:00
Martin Dobias
4a885e6e9c
Misc project storage fixes from Nyall's testing
...
- fix a crash when opening a project from unavailable connection
- make some messages in postgresql project storage translatable
- show the reason why a project was not read/written in storage if there is a message available
- push a message when reading a project that does not exist in postgresql storage
2018-04-10 11:28:34 +02:00
David
7018cb01a6
Save and load alpha of conditional style color
...
Alpha (saturation) will be saved and loaded for the conditional style color of text and background.
Before there was not only the problem, that it was not saved - it was additional the issue, that background with no color had after reopening the project the alpha(saturation) of FF and the color black.
This is fixed now.
2018-04-10 11:26:40 +02:00
David
4d984793e9
Conditional formatting on relation reference widget
...
in case we have additional display expressions there does use the conditional formatting for the row
and in case there is only one fieldname used in the display expression it does use this as well
Fix : #18521
2018-04-10 11:10:12 +02:00
Nyall Dawson
37295ec48e
Expose extra arguments to QgsGeometry::transform
...
Previously these were only available via the raw QgsAbstractGeometry
API.
Also add more unit tests for QgsGeometry::transform
2018-04-10 17:49:18 +10:00
Nyall Dawson
1357a4716a
[processing] Fix Select/Extract by Location algs with PostGIS layers
...
Fixes #18038
2018-04-10 16:55:41 +10:00
Nyall Dawson
b8e8541f0b
Fix build on Qt 5.5
2018-04-10 16:53:43 +10:00
Matthias Kuhn
1aa7bbc285
Merge pull request #6604 from 3nids/prefixpath
...
fix QgsApplication::setPrefixPath
2018-04-10 06:43:54 +02:00
Nyall Dawson
405d8f29d4
[processing] Skip more unnecessary geometry checks
2018-04-10 12:27:46 +10:00
Nyall Dawson
0a1a6769d2
Fix build with Qt 5.5
2018-04-10 10:15:19 +10:00
Nyall Dawson
f66993edbb
More hash updates
2018-04-10 09:57:58 +10:00
Nyall Dawson
fc133ef578
Update tests for travis
2018-04-10 09:57:58 +10:00
Nyall Dawson
7544cdb2ee
[processing][grass] Disable some failing tests
2018-04-10 09:57:58 +10:00
Nyall Dawson
e83cd6155f
[processing] Better debugging for failed tests
2018-04-10 09:57:58 +10:00
Nyall Dawson
20bbef3800
[processing][grass] Fix broken r.lake algorithm
2018-04-10 09:57:58 +10:00
Nyall Dawson
cba395e8c4
[processing][grass] Fix broken r.his algorithm
2018-04-10 09:57:58 +10:00
Nyall Dawson
89a3dd5e15
[processing][grass] Fix broken r.cost algorithm
2018-04-10 09:57:58 +10:00
Nyall Dawson
f03baa871a
[processing][grass] Don't try to create skipped optional outputs
2018-04-10 09:57:58 +10:00
Nyall Dawson
ee185cce4d
[processing] Fix python runAlgorithm when algorithm has missing optional outputs
2018-04-10 09:57:58 +10:00
Nyall Dawson
60efbb539e
[processing][grass] Fix broken r.li.renyi.ascii alg
2018-04-10 09:57:58 +10:00
Nyall Dawson
1fc5a0e597
[processing][grass] Fix broken r.statistics alg
2018-04-10 09:57:58 +10:00
Nyall Dawson
3455c13fa0
Don't remove python 2 from docker build-deps
...
Since grass package still depends on it
2018-04-10 09:57:58 +10:00
Nyall Dawson
7d66f034ad
Add saga to docker build-deps
2018-04-10 09:57:58 +10:00
Nyall Dawson
41a27f700f
Attempt SAGA tests on Travis
2018-04-10 09:57:58 +10:00
Nyall Dawson
ea24847adf
[processing] Try to resurrect grass tests
2018-04-10 09:57:58 +10:00
Matthias Kuhn
3f7042d104
Merge pull request #6768 from m-kuhn/remove_plugin_builder
...
Remove plugin builder code
2018-04-09 22:33:23 +02:00
Matthias Kuhn
02da420ea4
Add a remaining docstring
2018-04-09 22:24:12 +02:00
Matthias Kuhn
925d9af93f
[processing] Remove some unrequired geometry checks
2018-04-10 06:09:54 +10:00
Matthias Kuhn
605ef7d829
Remove plugin_template
2018-04-09 18:02:35 +02:00
Denis Rouzaud
810241ffca
one level deeper
2018-04-09 10:27:31 -04:00
Denis Rouzaud
304275ab01
fix QgsApplication::setPrefixPath
...
setPrefixPath was useless outside of the app since mPrefixPath was overwritten by env variables
2018-04-09 10:23:47 -04:00
Matthias Kuhn
41b47a297f
Add more feature filter algorithm tests
2018-04-09 13:10:49 +02:00
Matthias Kuhn
6dd89b5675
Really do not care about invalid geometries
...
in feature filter algorithm. We just leave the geometry alone in whatever
state it may be. If the consumers of our features have a problem with that,
let them take care of it. Just because THEY do not like invalid geometries
does not mean WE have to adjust our behavior here.
2018-04-09 13:10:49 +02:00
Matthias Kuhn
d7b75d1e99
Immediately apply configuration after change
2018-04-09 13:10:49 +02:00
Matthias Kuhn
8d9a978e9f
Properly initialize filter configuration table
2018-04-09 13:10:49 +02:00
Matthias Kuhn
4462dbae12
Do not complain on invalid geometries
2018-04-09 13:10:49 +02:00
Matthias Kuhn
ae1ea91801
Better error reporting
2018-04-09 13:10:49 +02:00