49383 Commits

Author SHA1 Message Date
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
Nyall Dawson
6ecc69ff90 Add dataSourceChanged signal to QgsVectorLayer, add tests 2018-08-06 13:51:49 +10:00
Nyall Dawson
1c33261ef0 Tweak string formatting for consistency with other indicators 2018-08-06 13:51:49 +10:00
Nyall Dawson
93ce435c8a Nice memory layer indicator icon, thanks to @nirvn 2018-08-06 13:51:49 +10:00
Nyall Dawson
a953587915 [FEATURE] Layer tree indicators for memory layers
Shows a memory layer icon in the layer tree for all memory
layers, with a tooltip warning that the contents of the layer
will be lost when closing the project.

Should help avoid data loss by users who don't realise that
certain layers are temporary only.
2018-08-06 13:51:49 +10:00
Nyall Dawson
f3235f7c43 Short connection timeout for symbol selector preview feature fetching
Because we don't really care if we couldn't fulfill this request,
and the request itself is blocking UI.
2018-08-06 13:45:33 +10:00
Nyall Dawson
70277635a2 Refine QgsFeatureRequest timeout api, dox 2018-08-06 13:45:33 +10:00
Nathan Woodrow
d8b20e7441 Update message in wizard and code style batch file 2018-08-06 10:28:45 +10:00
Matthias Kuhn
a7f0f2b34e
Merge pull request #7519 from m-kuhn/nestedConnectionPoolDeadlock
Fix freeze with `get_feature`
2018-08-05 17:03:39 +02:00
Matthias Kuhn
f301a8967b
Fix test 2018-08-05 11:45:01 +02:00
Matthias Kuhn
0a0f84a96f
Make spare connections more explicit 2018-08-05 09:24:47 +02:00
Salvatore Larosa
87d75838b8
Merge pull request #7533 from slarosa/fix_19528
[dbmanager] Fixes #19528: cannot resize query area
2018-08-04 20:29:40 +02:00
Mathieu Pellerin
2a57e779e8
[processing] allow geometryless layer input for order by expression alg 2018-08-04 14:16:10 +07:00
Matthias Kuhn
6901b934ca
Fix imports 2018-08-04 08:48:58 +02:00
Matthias Kuhn
eac43fd125
Add concurrency/nesting test for all providers 2018-08-04 08:47:12 +02:00
Salvatore Larosa
19d49352af [dbmanager] Fixes #19528: cannot resize query area 2018-08-04 08:39:33 +02:00
Matthias Kuhn
9db2022257
Merge pull request #7520 from m-kuhn/get_feature_thread_safety
Thread safety for get_feature
2018-08-04 08:31:43 +02:00
nirvn
b55a8a3ee3 Update the export layout as image message bar to link to files 2018-08-04 10:50:52 +07:00
Nyall Dawson
4acef1efbf [processing] Fix crash in extract by attribute when field name does not exist
Fixes #19531
2018-08-04 05:57:46 +10:00
signedav
9e0860637d bugfix break in case (#7529) 2018-08-03 17:31:42 +02:00
Matthias Kuhn
56885e19aa
Make nested iterator request test solid for max conn count changes 2018-08-03 13:56:54 +02:00
Matthias Kuhn
9d5f6f3f2e
Add QgsApplication::maxConcurrentConnectionsPerPool() 2018-08-03 13:56:30 +02:00
Matthias Kuhn
92ace516a7
Fix OGR iterator crash on timeout 2018-08-03 13:45:02 +02:00