34789 Commits

Author SHA1 Message Date
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
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
Alessandro Pasotti
d950e3b637 Yet another strategy to get a free port from the server 2016-10-03 19:43:25 +02:00
Alessandro Pasotti
368c1cead3 Merge pull request #3563 from elpaso/test-wait-for-network2
Wait for server ready (and times out) before starting the tests
2016-10-03 16:42:07 +02:00
Matthias Kuhn
4fd5c014f2 Synchronize edit button state with read only mode (#3562) 2016-10-03 15:00:23 +02:00
Alessandro Pasotti
28f547ea81 Wait for server ready (and times out) before starting the tests 2016-10-03 14:19:49 +02:00
Hugo Mercier
8c90f7d6ea Merge pull request #3511 from nyalldawson/depend_redraw
If a dependent layer is redrawn, then also redraw child layer
2016-10-03 11:55:07 +02:00
Matthias Kuhn
8e54acf7b7 [travis] fixme 2016-10-03 11:38:34 +02:00
Hugo Mercier
645094cc1f Merge pull request #3558 from nirvn/layers_relation_icon
[gui] improve the layer dependencies icon
2016-10-03 11:29:24 +02:00
Nyall Dawson
456069207e Merge pull request #3554 from nyalldawson/parse_dash
New script to handle multiple render results from a dash results page
2016-10-03 19:13:40 +10:00
Matthias Kuhn
ce37f9c654 Disable flaky PyQgsServerWFST test 2016-10-03 10:45:55 +02:00
Nyall Dawson
8e14cf06d3 Fix leak in edit form config (#3556) 2016-10-03 08:15:23 +02:00
Nyall Dawson
5b3f10a531 Fix identify menu highlight only works with simple geometry types
Fix #15625
2016-10-03 15:15:12 +10:00
Nyall Dawson
7d27b43e79 Fix data defined buttons sometimes incorrectly show error state 2016-10-03 14:37:26 +10:00
Nyall Dawson
d36fb619b5 [labeling] Fix data defined placement with rotated maps
For layers requiring reprojection and with rotated maps any
labels with data defined x/y would not be rendered

Fix #14236
2016-10-03 14:21:34 +10:00
nirvn
1f78393404 [gui] improve the layer dependencies icon 2016-10-03 10:29:41 +07:00
Nyall Dawson
291f7bdaa3 Fix rule based renderer shows 0 count on first click of "show counts" 2016-10-03 13:00:37 +10:00
Nyall Dawson
0a9491a20f Fix oracle build 2016-10-03 12:44:41 +10:00
Nyall Dawson
82eeeac57f Fix invalid debugging noise 2016-10-03 12:15:15 +10:00
Nyall Dawson
dc481955a5 Fix many labeling unit settings are lost on closing dialog
(and also don't trigger auto preview)
2016-10-03 11:42:53 +10:00
Nyall Dawson
ba210d0150 Fix build with GDAL < 2 2016-10-03 11:19:05 +10:00
Nyall Dawson
c4bf35cc9c Default to WITH_QWTPOLAR OFF
Since it's not compatible with Qt5 builds
2016-10-03 11:19:05 +10:00
Nyall Dawson
230417c7a8 Add method to create QgsMapToPixel from scale/dpi/mapunits 2016-10-03 11:19:04 +10:00
Nyall Dawson
4b7876c1f2 Fix some Coverity null derefence warnings 2016-10-03 11:19:04 +10:00
Nyall Dawson
17db101cb5 Fix Coverity uninitialized variable warnings 2016-10-02 09:30:44 +11:00
Juergen E. Fischer
ffaffadbfa fix typos 2016-10-01 17:58:12 +02:00
Matthias Kuhn
e45f01de13 Fix compile errorr 2016-10-01 15:39:03 +02:00
Matthias Kuhn
ff52a9f29b setAttributeAlias is now setFieldAlias 2016-10-01 15:39:03 +02:00
Matthias Kuhn
37e06ae587 Rename setAttributeAlias and removeAttributeAlias 2016-10-01 15:39:03 +02:00
Matthias Kuhn
9c1181401c Add safety check to avoid crash 2016-10-01 15:39:03 +02:00
Matthias Kuhn
4a7a8ff263 Update python code 2016-10-01 15:39:03 +02:00
Matthias Kuhn
b6779f63ff Rename QgsFields::fieldNameIndex() to lookupField()
To have two clearly different names for tolerant/intolerant index lookup
2016-10-01 15:39:03 +02:00
Matthias Kuhn
9a261cfbbc QgsFields::fieldNameIndex also matches field alias
This method is also doing case insensitive "fuzzy" matching now, this
just adds yet another level of tolerance.
This changes the expressions to also take the alias into account if no
matches have been found.
2016-10-01 15:39:03 +02:00
Juergen E. Fischer
4b86838909 debian packaging: re-enable server 2016-10-01 13:58:25 +02:00