49305 Commits

Author SHA1 Message Date
Rudi von Staden
4f59bca213 Allow geometryless layers in Spatialite execute SQL
Fixes #19558
2018-08-08 19:29:10 +10:00
Nyall Dawson
b0bc604d2e Also show desktop notifications when tasks fail, not just when they succeed 2018-08-08 19:27:38 +10:00
Nyall Dawson
1eee88593b Fix fallback to system tray based notifications 2018-08-08 17:47:30 +10:00
Nyall Dawson
43d3870978 [processing][saga] Fix cubic spline definition, add unit test 2018-08-08 17:29:58 +10:00
Nyall Dawson
a2a56696b0 Drop minimum task time to 5 second before showing a system notification 2018-08-08 15:37:17 +10:00
Nyall Dawson
8c6068a2e2 Don't show system notifications for short tasks
Too annoying!
2018-08-08 15:37:17 +10:00
Nyall Dawson
790408ffee Redisable waitForFinished test on Travis 2018-08-08 15:13:28 +10:00
Nyall Dawson
91c6556faa Make save as initial path default to current project path instead
of last used path

This is more logical (as you're more likely to want to save
a copy of the project somewhere near the original as opposed
to wherever the last project was saved (which is effectively
random!))
2018-08-08 14:48:37 +10:00
Etienne Trimaille
d90348df40 avoid CRS in the tooltip when the layer is not spatial 2018-08-08 14:26:51 +10:00
nirvn
f145631e25 followup 9664103: synchronize initializeMainWindow parameters 2018-08-08 09:42:03 +07:00
Mathieu Pellerin
9664103f22
[FEATURE] Add linux native progress report API (#7549)
Works on: 
- Unity
- Gnome-Shell (dash to dock extension)
- KDA Plasma
2018-08-08 09:16:33 +07:00
Stephen Knox
56e605bdd1 [feature] Add parameter for field selection to Postgis OGR importer 2018-08-08 10:04:15 +10:00
Stephen Knox
53cbe26101 Fix quotes on postgis import, & fix mysql datsource formatting 2018-08-08 10:04:15 +10:00
Nyall Dawson
157a624e0e [layouts] Fix filename links in message bar 2018-08-08 08:02:50 +10:00
Nyall Dawson
c7a076a81a Task manager status bar widget should also show indeterminate progress at first 2018-08-08 08:02:50 +10:00
Nyall Dawson
13b790d1e6 Fix some clang warnings 2018-08-08 08:02:50 +10:00
havatv
4b1bc82ca1 Added a test for VoronoiPolygon.py that covers some new cases 2018-08-08 05:54:44 +10:00
Nyall Dawson
42332f2dc2 Fix QgsTask::waitForFinished test 2018-08-08 05:06:09 +10:00
Nyall Dawson
9b4be7ae64 Simplify QgsTask::waitForFinished, hopefully fix bugs 2018-08-08 05:06:09 +10:00
Håvard Tveite
28fa839a08 [processing] Update to VoronoiPolygons.py, some fixes for #8002
* Update to VoronoiPolygons.py, fixes #8002 adds comments, ++

* Fixed a spelling an an indentation mistake reported by travis

* Found some new cases (vertical line clipping and a mistake in the handling of extreme points)
2018-08-08 04:52:41 +10:00
Håvard Tveite
ca0017410b [processing] Update the comparison implementation in voronoi.py (fixes #18219)
When "translating" the cmp function of Site and Halfedge to Python 3, the __lt__ function was forgotten.  It has been added.
2018-08-08 04:48:26 +10:00
Nyall Dawson
8700037725 [tasks] Show estimated time remaining and completion time in status bar
task manager widget

Calculated using a simple linear interpolation based on the elapsed
time and current progress
2018-08-08 04:22:54 +10:00
Denis Rouzaud
e51fed4776 use nullptr instead of 0 pointer 2018-08-08 03:52:36 +10:00
Nyall Dawson
8876270c9f [win] Use native desktop notifications for prettier notifications 2018-08-08 03:51:16 +10:00
Alessandro Pasotti
bbbc5b2562 Turn off some chatty warnings 2018-08-07 14:22:24 +02:00
Nyall Dawson
5e1184a61d More task test debugging, fixes 2018-08-07 20:29:34 +10:00
Nyall Dawson
7b971e25df Fix error in task manager test 2018-08-07 20:29:34 +10:00
Nyall Dawson
7ef0e9e716 Better debugging for task manager tests 2018-08-07 20:29:34 +10:00
Nyall Dawson
c905352bf3 Fix cmake warning 2018-08-07 19:09:12 +10:00
Nyall Dawson
95438cc0f5 Fix parent task progress report calculation when subtask progress changes 2018-08-07 16:37:19 +10:00
Ismail Sunni
cdc9b56f50 Fix build in MacOS, add not Apple for Linux native thing. 2018-08-07 16:02:46 +10:00
Nyall Dawson
53a3425ec3 [layouts] Try to avoid incorrect page margin handling while printing 2018-08-07 13:13:59 +10:00
Nyall Dawson
709973a233 Move recent document handling (windows "jump list" support)
to native library

Allows other platforms to implement platform specific recent
document handling
2018-08-07 10:37:01 +10:00
Nyall Dawson
70ba387254 Fix warning 2018-08-07 09:40:20 +10:00
Nyall Dawson
64586df297 Add API to send native desktop notifications to QgsNative
And use native desktop notifications on Linux (via dbus). Avoids
unnecessary system tray icon creation, which is a pre-requisite
for the Qt desktop notification implemention. This should avoid
annoying notifications on certain Linux desktop environments,
and should also allow us to use prettier Windows notifications
(when implemented!)
2018-08-07 09:40:20 +10:00
Nyall Dawson
282f95c9f7 [processing][grass] Fix bad move/copy paths in grass i.gensig/maxlik algs
Refs #19539
2018-08-07 09:33:00 +10:00
Matthias Kuhn
3fc8e8d61b
Merge pull request #7530 from m-kuhn/implicit-fallthrough
Enable -Wimplicit-fallthrough
2018-08-06 16:43:43 +02:00
Juergen E. Fischer
52ed396c8e dwg import: refine labels 2018-08-06 12:03:55 +02:00
Nyall Dawson
a81555a027 Move windows app icon progress report API to QgsNative 2018-08-06 19:24:28 +10:00
Matthias Kuhn
c60efaf039 Remove double semicolon 2018-08-06 11:09:49 +02:00
Matthias Kuhn
ea70bb4265 Add semicolon to clang::fallthrough define 2018-08-06 11:08:12 +02:00
Matthias Kuhn
ebe382870f Add missing semicolon 2018-08-06 10:34:32 +02:00
Matthias Kuhn
00fbd412d8 Fix clang fallthrough for libdxfrw 2018-08-06 10:22:12 +02:00
Matthias Kuhn
2f829e0253 Add missing break 2018-08-06 10:22:12 +02:00
Matthias Kuhn
0d3dd70365 Add missing breaks 2018-08-06 10:22:12 +02:00
Matthias Kuhn
31533268a7 Fix clang fallthrough 2018-08-06 10:22:12 +02:00
Matthias Kuhn
4809001d59 Enable -Wimplicit-fallthrough 2018-08-06 10:22:12 +02:00
Mathieu Pellerin
51b63e6b46
[vector file writer] use field type to save attribute values
(relying on attribute value type isn't reliable under certain
scenarios, including memory layers created through a processing
python algorithm)
2018-08-06 11:07:56 +07:00
Nyall Dawson
317b310525 [needs-docs] Clicking the memory layer indicator triggers a 'make permenant' action 2018-08-06 13:51:49 +10:00
Nyall Dawson
01876d1571 Make memory layer indicator respond correctly to making a layer permanent 2018-08-06 13:51:49 +10:00