Nyall Dawson
c6436f8971
Make modifications through the style dock much faster
...
Before any change in the style dock would invalidate the cache
for ALL map layers, resulting in every layer being redrawn.
Now only the affected layer is redrawn and all others just use
the cached render.
2016-10-06 19:03:47 +10:00
Alexander Bruy
9a9df32cca
Merge pull request #3574 from mbernasocchi/master
...
[processing] fix save to postgis table
2016-10-06 11:58:13 +03:00
Alexander Bruy
dcdf91b09a
Merge pull request #3507 from alexbruy/memory-provider-25d
...
Add support for 2.5D geometries to memory provider
2016-10-06 11:37:19 +03:00
rldhont
5d64a8b55c
Merge pull request #3551 from rldhont/ogcutils_propertyIsLike_attributs
...
[BUGFIX] Support OGC PropertyIsLike attributs
2016-10-06 10:27:47 +02:00
Even Rouault
702eace76c
Merge pull request #3532 from pvalsecc/discover_relations
...
Add auto-discovery of relations for PostgresQL and SpatiaLite
2016-10-06 10:26:06 +02:00
Nyall Dawson
37e3dd76c4
When taking main widget from QgsPanelWidgetStack, auto accept
...
all open child panel widgets
Avoids the stack state becoming inconsistent because child
panel widgets from a different main panel are still present
And add unit tests for QgsPanelWidgetStack
2016-10-06 17:36:23 +10:00
Nyall Dawson
fbdc414957
Rename methods in QgsPanelWidgetStack for consistency
2016-10-06 17:36:23 +10:00
Matthias Kuhn
3b0486cc6e
Followup 722fdef: fix grass plugin build
2016-10-05 22:15:15 +02:00
Marco Bernasocchi
7c59e41177
fix save to postgis table in processing
2016-10-05 20:35:28 +02:00
Matthias Kuhn
9242d225e5
Remove fields from default value configuration widget
2016-10-05 20:02:51 +02:00
Matthias Kuhn
d0ec367044
Fix crash in QgsEncodingFileDialog
2016-10-05 16:18:29 +02:00
Matthias Kuhn
5179a3a55d
[processing] Fix extent selection widget
2016-10-05 15:51:43 +02:00
Matthias Kuhn
722fdefe43
referencedColumns returns QSet<QString> instead of QStringList
...
The order of the elements is irrelevant and duplicate elements are unwanted. It
is therefore a perfect candidate for a set instead of a list. This prevents
filtering for duplicates manually be replacing some filer codes with (more
performant) builtin methods of QSet.
2016-10-05 14:33:38 +02:00
Matthias Kuhn
3767cd4819
Debloat QgsExpression header
...
it's used throughout the project and keeping it slick should keep compile time a
little lower.
These methods are also normally used while building the request or preparing, so
inlining them shouldn't make much difference.
2016-10-05 14:33:38 +02:00
Matthias Kuhn
b642c3ff5e
Show fields in "default value" expression editor
2016-10-05 13:41:03 +02:00
Sandro Santilli
0348dd5ce7
Force use of estimated metadata upon loading topologies
2016-10-05 12:17:57 +02:00
Alexander Bruy
eeb8269464
[processing] drop GEOM_TYPE_MAP in favour of QgsWkbTypes.displayString()
2016-10-05 09:45:55 +03:00
Alexander Bruy
7a49612a60
fix handling of layers without geometry
2016-10-05 09:42:57 +03:00
Alexander Bruy
2f66e1d6e2
add new geometry types to memory layer tests
2016-10-05 09:42:57 +03:00
Alexander Bruy
33644efeba
use QgsWkbTypes methods to simplify code
2016-10-05 09:42:57 +03:00
Alexander Bruy
5b67d2a327
remove extra QString wrapper
2016-10-05 09:42:56 +03:00
Alexander Bruy
a4bdfb76c0
[processing] support more geometry types in memory layers ( fix #15508 )
2016-10-05 09:42:56 +03:00
Alexander Bruy
2b115449ab
don't flatten geometries when pasting them as new memory layer
2016-10-05 09:42:56 +03:00
Alexander Bruy
b9ca91a55a
[FEATURE] support for 2.5D geometries in memory provider
2016-10-05 09:42:56 +03:00
Nyall Dawson
b95a5e98c8
Fix missing live updates when raster colorize color changes
2016-10-05 14:27:04 +10:00
Nyall Dawson
79fd6fa0ac
Fix raster style dock widgets not opened with dock mode flag
...
Makes the color picker and ramp editors open inline for
the raster properties pages
2016-10-05 14:27:04 +10:00
Nyall Dawson
3e1536f1da
Fix crash in raster transparency widget on close
...
mPixelSelectorTool is owned by canvas, which may be deleted
before the QgsRasterTransparencyWidget on QGIS exit
2016-10-05 14:27:04 +10:00
nirvn
1e0e9c2e95
[pseudocolor renderer] fix invert check box in continous mode
...
(fixes #15209 )
2016-10-05 14:04:52 +10:00
Nyall Dawson
bc32b1fe5a
Fix crash when validating geometry ( fix #15660 )
...
Also fix python bindings for QgsGeometryValidator
2016-10-05 13:17:55 +10:00
Nyall Dawson
ddbd25d046
Correctly emit panelAccepted when panel is not in dock mode
...
Fixes #15373 - refine current rule not working when symbol widgets
are not used in the style dock
This fixes a behavioural difference when new panels are opened
in a QgsPanelWidget when in docked/undocked mode. When in
docked mode, the newly opened panel will emit panelAccepted
when it is accepted. But for undocked mode, the parent
panel was emitting the panelAccepted signal and so the
connection to update the renderer was never
triggered. Now both docked/undocked panels will always
emit panelAccepted ONLY from the newly opened panel itself.
This also fixes memory leaks as the clean up code was never
run in undocked mode.
I've updated the docs to clarify this behaviour.
2016-10-05 12:59:59 +10:00
Nyall Dawson
bad137283b
Fix last segment length in measure dialog is incorrect after
...
completing measurement with right mouse click
2016-10-05 10:53:10 +10:00
Nyall Dawson
03bff507d9
Fix measure dialog shows wrong results when changing units
...
If the measurement was not finished (ie right click occurred)
then the last length would be missing from the table
Fix #15433
2016-10-05 10:53:10 +10:00
Alexander Bruy
cc62c52269
[processing] add icon caching for other providers
2016-10-04 19:53:21 +03:00
Alexander Bruy
d03d2069b9
[processing] correct GRASS 7 detection on Mac ( fix #15645 )
...
follow up e1ff6e896a
2016-10-04 17:08:18 +03:00
rldhont
52a78def7f
Reactivate ogcutils tests and update its
2016-10-04 15:22:23 +02:00
rldhont
1d6e5d28e6
[BUGFIX] Support OGC PropertyIsLike attributs
...
The OGC PropertyIsLike element can have 4 attributs:
* matchCase to specify LIKE or ILIKE
* wildCard to specify a wildcard char symbol
* signleChar to specify a single char symbol
* escape to specify an escape char symbol
2016-10-04 15:22:02 +02:00
rldhont
b47f03db33
Fix testqgsogcutils
2016-10-04 15:22:02 +02:00
Nyall Dawson
0b68363789
Merge pull request #3565 from nyalldawson/svg_background
...
Fix SVG preview blocks QGIS (fix #14255 )
2016-10-04 19:22:39 +10:00
Matthias Kuhn
7332dda0d8
Remove visitor pattern from QgsExpression ( #3569 )
...
It is not in use anywhere and can easily be reintroduced if there is a use case
where it is an appropriate fit.
Fix https://github.com/qgis/qgis3.0_api/issues/64
2016-10-04 10:46:56 +02:00
Mathieu Pellerin
62c8510089
[qt5] setConfirmOverwrite is gone, use setOption ( #3567 )
2016-10-04 10:45:10 +02:00
Nyall Dawson
111106c64f
Fix cannot modify diagram attribute expression ( fix #15514 )
...
Also clean up some code
2016-10-04 16:36:30 +10:00
Nyall Dawson
3abded3186
Keep the user set order for svg paths
2016-10-04 15:45:17 +10:00
Nyall Dawson
b4a70c771e
Merge pull request #3559 from nyalldawson/fix_render_flashing
...
Fix layers with layer wide opacity "flashing" while rendering
2016-10-04 15:40:30 +10:00
Nyall Dawson
a2166bd042
Small optimisations to model/views
2016-10-04 15:34:35 +10:00
Nyall Dawson
a20c3cf68a
Guard against circular symbolic links in SVG selector widget
2016-10-04 15:26:56 +10:00
Nyall Dawson
c60c4f7f0c
Fix SVG preview blocks QGIS ( fix #14255 )
...
Now SVG preview loading occurs in a background thread so that
dialogs can open instantly
2016-10-04 14:55:05 +10:00
Nyall Dawson
377de52b38
Port generate_test_mask_image.py to python3
2016-10-04 09:22:40 +10:00
Nyall Dawson
19f6b62cd8
Fix layers with layer wide opacity "flashing" by rendering
...
intermediate states without opacity
2016-10-04 09:22:40 +10:00
Alessandro Pasotti
d3f8763bd9
Merge pull request #3564 from elpaso/test-wait-for-network3
...
Yet another strategy to get a free port from the server
2016-10-03 21:53:45 +02:00
Alessandro Pasotti
9761a86e4f
Renamed constants for consistency
2016-10-03 20:47:32 +02:00