47025 Commits

Author SHA1 Message Date
Alessandro Pasotti
5be057c90a [tests] Add some tests for 9 cells algorithms
Note: this does not test the correctness of the
algorithms but only that the filters are correctly
working.
2018-04-16 15:39:07 +02:00
Matthias Kuhn
e93c97cb9b
Merge pull request #6801 from m-kuhn/relRefIdInsteadOfName
Use relation id instead of name for nesting detection
2018-04-16 14:21:28 +02:00
Matthias Kuhn
435d8077d5 Use relation id instead of name for nesting detection 2018-04-16 11:54:23 +02:00
Blottiere Paul
5e33d7d639
Merge pull request #6787 from pblottiere/bugfix_ellipse
[server] Add project's context before rendering
2018-04-16 08:30:48 +01:00
Nyall Dawson
d7fd14b340 [oracle] Ensure that all attributes required for order by are fetched
Fixes potentially broken iterator sorting with oracle provider when
a subset of attributes is fetched
2018-04-16 09:28:23 +10:00
Nyall Dawson
66bd813b79 [oracle] Always mark features as invalid when iterator is closed
Fixes some failing oracle provider conformance test suite failures
2018-04-16 08:27:05 +10:00
Juergen E. Fischer
dc1ab4c9e7 fix build with QScintilla <2.10 2018-04-15 13:09:38 +02:00
Juergen E. Fischer
6fb5777cc6 respect QGIS_PREFIX_PATH (followup 810241ffca; fixes windows nightlies) 2018-04-14 17:00:00 +02:00
Juergen E. Fischer
fdc2acdb7b fix windows build 2018-04-14 02:51:52 +02:00
Martin Dobias
322bc78755
Merge pull request #6782 from wonder-sk/required-layers
Mark layers as required in the project
2018-04-13 11:31:43 +02:00
Blottiere Paul
2d340a0de2 Update unit test with symbology depending on @map variables 2018-04-13 09:50:18 +01:00
Blottiere Paul
783702e95c Keep mapSettings scope 2018-04-13 09:44:38 +01:00
Alessandro Pasotti
b662b44e8d
Merge pull request #6781 from elpaso/fix-render-gui
Small GUI fix in raster style dialog
2018-04-13 09:25:14 +02:00
Juergen E. Fischer
d500580e47 debian packaging: followup bb0bfea3c4 2018-04-13 08:17:13 +02:00
Matthias Kuhn
e597d3886a
Merge pull request #6789 from DelazJ/patch-1
Remove wrong tooltip
2018-04-13 07:36:16 +02:00
Nathan Woodrow
76843be62d
[BUGFIX][needs-docs] Allow expression parser to report better error location
We return the line and column to allow builder to highlight
that location for the user.
2018-04-13 07:45:48 +10:00
matteo
b6242b4a58 rename algorithm name in template script 2018-04-13 06:47:56 +10:00
Harrissou Sant-anna
938db97df5
Remove wrong tooltip 2018-04-12 18:52:33 +02:00
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