56681 Commits

Author SHA1 Message Date
Nyall Dawson
ad215a92aa [labeling] Show a wait cursor while building label property dialog
and auxiliary field creation is required

This can take some time (30 seconds or so), and without the wait
cursor it looks like QGIS has hung...
2019-07-17 11:07:01 +10:00
Nyall Dawson
4ab51b02fc [labeling] Fix labels 'jump' when using move label tool and alignment
is set to a non-field based value
2019-07-17 11:07:01 +10:00
Nyall Dawson
e1bfb857da [labeling] When label map tools are used to select a label and the
user clicks on overlapping labels, prioritise either the labels in
the current layer OR fallback to picking the smallest candidate
label (since it will be the most difficult to select)
2019-07-17 11:07:01 +10:00
Nyall Dawson
48c21bb978 Always show 'clear' action in property override button
Previously this was only shown if the button was set to an expression
value, but there's also a need to clear when a property is set
to a field value. Otherwise it's impossible (well, annoyingly
fiddly) to clear the 'red' status when a bound field is deleted
or no longer available.
2019-07-17 08:22:22 +10:00
David Signer
478dd5f602 qgsarrayutils to care for postgres-array like formatted list in strings 2019-07-16 21:13:57 +02:00
Matthias Kuhn
54a2be82db Update src/gui/qgsrubberband.cpp 2019-07-17 04:26:29 +10:00
Matthias Kuhn
9dbedd4993 Remove extra ; 2019-07-17 04:26:29 +10:00
Matthias Kuhn
331c67e914 Solve additional code issues 2019-07-17 04:26:29 +10:00
Matthias Kuhn
a51fbd6057 Add angle unit tests for mil 2019-07-17 04:26:29 +10:00
Matthias Kuhn
7013539981 Resolve code issues 2019-07-17 04:26:29 +10:00
Matthias Kuhn
1e8b1872ea Add missing import 2019-07-17 04:26:29 +10:00
Sandro Mani
afb698b334 Add missing consts 2019-07-17 04:26:29 +10:00
Matthias Kuhn
5e121bcc15 More rubberband code cleanup 2019-07-17 04:26:29 +10:00
Matthias Kuhn
7691f526be Cleanup rubberband code 2019-07-17 04:26:29 +10:00
Sandro Mani
7af22a8bf6 Add QgsRubberBand::IconType::ICON_SVG 2019-07-17 04:26:29 +10:00
Sandro Mani
bc4bd9199e Add QgsUnitTypes::AngleUnit::AngleMil 2019-07-17 04:26:29 +10:00
Sandro Mani
68c94dd844 Move QgsReadWriteContext::DefaultTranslator to cpp file
The nested class appears to cause sip to stumble with undefined references to vtable (observed cross-compiling from Fedora to MinGW)
2019-07-17 04:26:29 +10:00
Julien Cabieces
dc51505541 Fix addEntry for reference relation widget and use referenced field
index and not referencing one
2019-07-16 15:55:14 +02:00
Nyall Dawson
1e4114a634 Fix creating auxilary field fails if _ present in field name 2019-07-16 20:53:35 +10:00
Denis Rouzaud
943cbd067c
[expressions] fix comparison of intervals (#30657)
* [expressions] fix comparison of intervals

* add test for interval comparison
2019-07-16 12:31:31 +02:00
nirvn
f517773705 Import bookmarks using prepared statements (fixes #30711) 2019-07-16 17:09:42 +07:00
signedav
63d1957d59 Preserve snapping settings for offline editing (#30718)
* preserve individual snapping settings

* care for old layers

* don't use temporary list, and edit temporary snapping config

* preserve snapping config per layer on synchronization back from offline project

* use current snappingconfig object and remove unneeded comments
2019-07-16 10:03:32 +02:00
nirvn
dded60611b [callouts] Add symbol-related variables to the expression context 2019-07-16 14:59:06 +07:00
luz.paz
604e66ba75 sipify_all 2019-07-16 11:29:42 +10:00
luz.paz
aa3480b717 Fix typos 2019-07-16 11:29:42 +10:00
Guillaume Pasero
05e267ae55 TEST: change to cdash 2.6 2019-07-16 09:13:27 +10:00
Harrissou Sant-anna
29523e9e2c Browsing features in attribute table does not require edit mode
In attribute table form view, since the buttons to pan to, zoom to and highlight the active feature are available regardless the layer edit mode, their tooltip should not refer to "currently edited feature".
2019-07-16 08:15:47 +10:00
Nyall Dawson
b01c5e1e0e Add test for other callout stacking option 2019-07-16 07:46:58 +10:00
Nyall Dawson
171f06447a [callouts] Ensure simple callouts are rendered below all map labels
...instead of being rendered on top of some. For this callout style,
we don't want callouts overlapping labels (rather the opposite). But
leave API in place to allow other callout styles to render below
their associated labels only, as this may be wanted for some styles
(e.g. balloon style callouts)
2019-07-16 07:46:58 +10:00
Nyall Dawson
c2ce430116 [processing] Don't append full traceback when a QgsProcessingException is
raised by a Python algorithm

This is too noisy for these expected exceptions -- instead, only
show the traceback for other exceptions (Which are likely a result
of Python coding errors, so they are useful for debugging)
2019-07-16 07:44:09 +10:00
Alexander Bruy
e45b62c6af re-enable some disabled test and fix broken r.describe algorithm 2019-07-16 06:20:23 +10:00
Alexander Bruy
807564a435 [processing] improve handling of the HTML outputs in GRASS provider (fix #30609) 2019-07-16 06:20:23 +10:00
Nyall Dawson
56d03f783f Ship a seperate srs.db file for proj >= 6 builds
It's too dangerous to reuse the existing one, as it breaks the
ability to run multiple versions of qgis (i.e. proj < 6 and proj >= 6)
on the same machine

Fixes #30569
2019-07-16 06:18:32 +10:00
Alexander Bruy
da8b574bf1
Merge pull request #30716 from alexbruy/fix-sip
fix SIP file
2019-07-15 19:11:22 +03:00
Alexander Bruy
109d1fb7a8 [processing] pass layer name to the gdalwarp to avoid issues with
multi-layer datasources (fix #30292)
2019-07-15 16:05:16 +03:00
Matthias Kuhn
5f0447b397
Fix sip file (#30714) 2019-07-15 15:01:42 +02:00
Alexander Bruy
39124dad04 update SIP file 2019-07-15 15:59:25 +03:00
pmav99
fc19dffb90 Stop hardcoding "grass6" in GISRC path. (#30330)
References #30238
2019-07-15 13:29:59 +02:00
Matthias Kuhn
59e31df9bd
Merge pull request #30707 from rldhont/fix-db_manager-oracle-plugin-uniqueCol
[Bugfix] DB Mananger: Fix in Oracle plugin the way to strip uniqueCol
2019-07-15 13:26:05 +02:00
rldhont
7362faca02 [Bugfix] DB Mananger: Fix in Oracle plugin the way to strip uniqueCol 2019-07-15 10:37:36 +02:00
Alex
248af94ba9 Symbol aware legend expression (#9648) 2019-07-15 07:12:24 +02:00
nirvn
eb73702982 Fix exit crash in the plugin layer registry deconstructor (fixes #30681) 2019-07-15 11:15:20 +07:00
Nyall Dawson
d6ed4dcddd Fix initial state of news feed when no entries to show 2019-07-15 12:52:20 +10:00
Nyall Dawson
01b8c7d212 Add shell entries to qgis_global_settings.ini for controlling feed behavior 2019-07-15 12:52:20 +10:00
Nyall Dawson
e52b06eeb4 Unit test for feed language 2019-07-15 12:52:20 +10:00
Nyall Dawson
e783323fd7 Include lat/long in newsfeed url if available 2019-07-15 12:52:20 +10:00
Nyall Dawson
f4ea33fef1 Auto-prune expired news items on launch 2019-07-15 12:52:20 +10:00
Nyall Dawson
64ecc06fed Store publish_to field locally 2019-07-15 12:52:20 +10:00
Nyall Dawson
0a336d4c89 Adapt to upstream changes in feed 2019-07-15 12:52:20 +10:00
Nyall Dawson
21f7992a57 Allow News Feed to be enabled/disabled from QGIS options 2019-07-15 12:52:20 +10:00