47060 Commits

Author SHA1 Message Date
Matthias Kuhn
0135b4c90e
Merge pull request #6778 from signedav/fix_condformat_alpha
Save and load alpha of conditional style color
2018-04-12 17:41:46 +02:00
Denis Rouzaud
d94cf12dea fix list of updated files in pull requests 2018-04-12 10:35:32 -04:00
Blottiere Paul
e8ce121bc5 Add unit test to check symbol's rotation coming from a project variable 2018-04-12 14:21:53 +01:00
Blottiere Paul
d9fbca5df0 Add project context for map rendering 2018-04-12 14:21:21 +01:00
Blottiere Paul
39a1fabbf4 Fixes segmentation fault 2018-04-12 14:21:07 +01:00
rldhont
b93ec5dbcb [BUGFIX][Server] Segfault in WCS 2018-04-12 14:11:45 +02:00
rldhont
f93f389a84 [BUGFIX][Server] Segfault in WFS Transaction 2018-04-12 14:11:36 +02:00
David
a4b5816f0c add StringLiteral 2018-04-12 13:53:16 +02:00
rldhont
91a229b743 [BUGFIX][Server] Segfault in WFS DescribeFeatureType and GetFetaure 2018-04-12 13:21:58 +02:00
Martin Dobias
7e022f005d Disable remove action instead of message box + unit test 2018-04-12 10:44:36 +02:00
Matthias Kuhn
6cf14335a5
Merge pull request #6777 from signedav/fix_conditionalformat
Conditional formatting on relation reference widget
2018-04-12 10:41:39 +02:00
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