63118 Commits

Author SHA1 Message Date
Alexander Bruy
263d2a871d [processing] redirect tool standard output to fake Processing output in
some GRASS algorithms (fix #36520)
2020-05-24 08:52:53 +03:00
Alexander Bruy
585db6440f
Merge pull request #36618 from alexbruy/grass-tempfile
[processing] fix handling for stdout and file outputs in GRASS
2020-05-24 08:51:50 +03:00
Nyall Dawson
d73eaa1d58 Drop compass plugin
This was originally written for use by QGIS for Android, which is
no longer supported. The plugin is not included in any of our
builds and its functionality is better supported by native
functionality in QField/input/QGIS GPS panel.
2020-05-24 06:02:55 +10:00
Alessandro Pasotti
f13b739903
Merge pull request #36677 from elpaso/bugfix-36525-auto-transactions
Fix transaction groups on multiple GPKGs
2020-05-23 18:59:46 +02:00
Alessandro Pasotti
c343af75c0 Fix transaction groups on multiple GPKGs
Fixes #36525
2020-05-23 15:51:46 +02:00
Vincent Cloarec
42ba3d78fe
[MESH] fix streamlines and traces renderer when vector is null (#36633)
[MESH] fix streamlines and traces renderer when vector is null
2020-05-23 10:29:41 +02:00
nirvn
204694e191 [temporal] Make the temporal controller's set range button more useable 2020-05-23 13:14:46 +07:00
Nyall Dawson
4de6a53235 Ensure symbol opacity is always ignored for selections
Fixes #27859
2020-05-23 14:20:20 +10:00
Nyall Dawson
987310fe90 Fix random sort order of symbols in Symbol Export dialog
Fixes #20572
2020-05-23 14:20:00 +10:00
Nyall Dawson
3961fa26f5 Allow clearing heatmap weighting field
Fixes #20256
2020-05-23 14:19:39 +10:00
Nyall Dawson
50b3f0c20f Fix some hidpi issues with tiny icons 2020-05-23 12:47:34 +10:00
Mathieu Pellerin
ee9dadbd64
[ui] Make temporal controller's forward, backward and pause
buttons behave as animation state toggle
2020-05-23 09:35:18 +07:00
Nyall Dawson
f676c821d9 Flag SAGA 'Merge Layers' algorithm as having known issues
Fixes #36375
2020-05-22 21:21:42 +10:00
Nyall Dawson
288ba2e80e Fix processing Execute SQL algorithms steal ownership of database providers
Fixes #36641
2020-05-22 21:21:13 +10:00
Alexander Bruy
938dc618b1 update algorithms which use "ext" mechanism 2020-05-22 11:13:22 +03:00
Alexander Bruy
b5d323c583 [processing] fix handling for stdout and file outputs in GRASS
algorithms when temporary files are used
2020-05-22 10:30:07 +03:00
Nyall Dawson
25e24e7d2a Tweak temporal playback behavior
If a non-looping animation is paused at the end and the user hits the play
button again, auto rewind and play the animation from the start
2020-05-22 17:22:28 +10:00
Nyall Dawson
fb8cd81b79 Compile make_datetime on oracle 2020-05-22 13:53:54 +07:00
Nyall Dawson
b17da0571c [mssql] Compile make_datetime, make_date, make_time
Allows efficient use of SQL server tables along with temporal mode
2020-05-22 16:28:39 +10:00
Mathieu Pellerin
0618b2e406
[ogr] Compile make_datetime, make_date, make_time (#36636)
* [ogr] Compile make_datetime, make_date, make_time

* Update test
2020-05-22 13:20:30 +07:00
Alessandro Pasotti
12dd3ef6ce
Merge pull request #36627 from elpaso/server-standalone-processevents-workaround
Dev server workaround for processEvents
2020-05-22 08:11:41 +02:00
Alessandro Pasotti
5aea8ed2b7
Merge pull request #36620 from elpaso/bugfix-gh36583-change-attr-values
Bugfix gh36583 change attr values
2020-05-22 08:11:16 +02:00
Nyall Dawson
93648dd552 Add Python repr for QgsVertexId 2020-05-22 15:32:44 +10:00
Mathieu Pellerin
eec8ca4037
[expression] Compile make_{datetime,date,time} for sqlite 2020-05-22 09:37:12 +07:00
Benjamin Trigona-Harany
73e888d946 Debian mime file 2020-05-22 12:33:28 +10:00
Benjamin Trigona-Harany
edb141e5dc desktop 2020-05-22 12:33:28 +10:00
Benjamin Trigona-Harany
e0997da333 rpm mime 2020-05-22 12:33:28 +10:00
Benjamin Trigona-Harany
3103538736 Add seperate mimetype for qgz 2020-05-22 12:33:28 +10:00
Alexander Bruy
255113ee09 init member variable 2020-05-22 09:28:10 +10:00
Alexander Bruy
0a6312da82 restore last used attribute table view when exiting multi-edit mode
(fix #25099)
2020-05-22 09:28:10 +10:00
uclaros
621d607362 Cleanup leftover rubberband 2020-05-22 09:27:44 +10:00
Nyall Dawson
d4a6ef0740 Don't try to update raster layer data source's if they haven't changed 2020-05-22 09:26:40 +10:00
uclaros
f3ae6c119d
Vertex tool, fix escape to stop dragging edge
and make keypress handling cleaner
2020-05-22 09:22:34 +10:00
Nyall Dawson
ef01c3c29d Dox 2020-05-22 08:40:51 +10:00
Nyall Dawson
0521c2ef16 [gps] If a GPS devices is connected and set to follow the GPS location,
block the single click navigation mode to avoid accidental map canvas
pans away from the GPS location.

(for now, we don't block click-and-drag pans, as they are less likely
to be accidentally triggered)
2020-05-22 08:40:51 +10:00
Nyall Dawson
3ebd09724b Add framework to allow for flexible interaction blocking with map canvas 2020-05-22 08:40:51 +10:00
Nyall Dawson
baec06ce4f Correctly hide GPS bearing line when unchecking the option 2020-05-22 08:40:51 +10:00
Alessandro Pasotti
8c76c51224 Dev server workaround for processEvents
... because handleRequest calls qApp->processEvents
causing all kind of side effects in the standalone
server code (which is based on events) and even
crashes on deleteLater connections.

The original issue was the finish call invoking
plugins on deleted request handlers (not a crash
but still a bug).

This is a workaround while we decide if we can
remove the qApp->processEvents in the main server
handle request routine which has been there for
decades.
2020-05-21 23:17:53 +02:00
Nyall Dawson
38c82187a6 Workaround odd upstream Qt issue where a painter with a semi-transparent
brush with no solid pattern incorrectly applies the brush opacity to
the pen when exporting to printer devices

Fixes #36580
2020-05-22 07:15:17 +10:00
Nyall Dawson
150b373c7a Improve plugin watchdog message and UX
- Reword the message to clarify that it previously crashed QGIS, not
necessarily on the last session. Also make the message shorter to fit
into normal messagebar width
- Add "Enable Plugin" button to the message, which clears the watchdog
status for the plugin and immediately reloads it
- Add "Ignore" button, which stops the message showing on subsequent
startups. Otherwise the only way to clear this message is to manually
go to plugin manager and enable/disable the plugin
2020-05-22 07:14:56 +10:00
Nyall Dawson
5cc0f0964b Fix resetting fields in Refactor Fields algorithm dialog 2020-05-22 07:14:14 +10:00
Nyall Dawson
169ca650fe [processing] Fix exception when changing layer in Refactor Fields algorithm
Fixes #36582
2020-05-22 07:14:14 +10:00
Alessandro Pasotti
34ec263d71 Flake8 2020-05-21 15:57:08 +02:00
Alessandro Pasotti
25d3052fa0 Sipify 2020-05-21 15:50:01 +02:00
Alessandro Pasotti
18e9bdc010 Providers: fix inconsistent behavior of OGR + tests
Fixes #36583

Add a base test to make sure all major DB providers will
behave the same way and return FALSE when a constraint violation
refuses an attribute change (in a batch with a valid one).

OGR with GPKG was the "bad guy" here.
2020-05-21 15:49:02 +02:00
nirvn
011168f93d Fix missing navigation disabled label when opening temporal controller panel after launch 2020-05-21 17:31:24 +07:00
nirvn
00ff55caff [ui] Improve spacing and margin of temporal controller panel 2020-05-21 17:31:24 +07:00
nirvn
7ee0fce60f [ui] Improve temporal controller toolbar icon 2020-05-21 15:48:00 +07:00
Nyall Dawson
6ce84d2c34 [layouts] Warn when previewing an atlas and a feature with no geometry
is encountered, when one or more maps are set to be driven by atlas feature

This situation is definetly not what the user is expecting -- so we
show a warning to them to advise them that the feature has no geometry.

Fixes #36556
2020-05-21 16:18:47 +10:00
nirvn
cf0467a373 [themes] Fix slider 'fill' missing in themes and improve looks of night mapping theme slider 2020-05-21 12:18:20 +07:00