49254 Commits

Author SHA1 Message Date
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
Nyall Dawson
4c50a3c968 Spelling 2018-08-03 18:33:34 +10:00
Nyall Dawson
da57c08738 Fix warning 2018-08-03 18:33:34 +10:00
Nyall Dawson
1fb87487e3 Fix potential crash after exporting vector layer 2018-08-03 18:33:34 +10:00
Nyall Dawson
56024af2c7 Fix bad merge pt 2 2018-08-03 18:33:34 +10:00
Nyall Dawson
f46c7132a8 Fix bad merge 2018-08-03 18:33:34 +10:00
Nyall Dawson
2b9e0d6386 Fix message bar paths 2018-08-03 18:33:34 +10:00
Nyall Dawson
b8323a9bec Hide extra options from Make Permanent dialog
We don't want to e.g. allow users to change the CRS or drop
fields in this dialog.
2018-08-03 18:33:34 +10:00
Nyall Dawson
f8afc5077f Spelling 2018-08-03 18:33:34 +10:00
Nyall Dawson
c5668f371d [FEATURE] Add a menu entry to memory layers to Make Permanent
Prompts for a location to save the layer to, then replaces it
in place (keeping the same id, style, etc)
2018-08-03 18:33:34 +10:00
Matthias Kuhn
14eb0e58f5
Fix compile 2018-08-03 10:28:13 +02:00
Matthias Kuhn
f893192107
Fix rename variable 2018-08-03 10:13:46 +02:00
Nyall Dawson
efd5cc5465 [FEATURE] Add Open Directory option to disabled welcome page projects
This allows users to open the closest existing path to the original
project location in their file manager, to hopefully help them
re-locate missing/moved/renamed projects.
2018-08-03 18:06:54 +10:00
Nyall Dawson
22c4284354 Make welcome page Open Directory action highlight project file 2018-08-03 18:06:54 +10:00
Matthias Kuhn
16706bb5d7
Add nested loop support for oracle 2018-08-03 10:00:21 +02:00
Matthias Kuhn
48d49200b8
Add nested loop support for spatialite 2018-08-03 10:00:14 +02:00
Matthias Kuhn
90a1a0a547
Add nested loop support for ogr provider 2018-08-03 09:58:16 +02:00
Matthias Kuhn
8dd4b3b270
Rename freeConnectionsRequirement to requestMayBeNested 2018-08-03 09:52:42 +02:00
Denis Rouzaud
a893f52ffc fix mac build and fix native file selector 2018-08-03 08:50:32 +02:00
Denis Rouzaud
970fc4f39f add objective-c files to astyle 2018-08-03 08:50:32 +02:00
Nyall Dawson
85a7d5cb78 Add hidden setting to skip the project memory layer warning
To be used by 3rd party plugins, e.g. memory layer saver, who
may want to surpress this warning.
2018-08-03 16:50:12 +10:00
Nyall Dawson
0dc1a61e74 Warn users on closing projects with populated memory layers present
Adds a warning (with a cancel option!) when users start to close
a project containing any memory layers with features. These
layers are temporary only and their contents will be permanently
lost if the project is closed. The warning allows users to
cancel the close operation (that's the default action!) so that
they can then save these layers out to a permanent location.
2018-08-03 16:50:12 +10:00
Nyall Dawson
02bd1ccc14 Improved UX when closing projects with layers with unsaved changes
Previously, the unsaved layer warnings would come AFTER the
unsaved project warning. The unsaved layer warnings had no
cancel option, which meant that there was no way to cancel
a project close when unsaved layer edits exist, and you
were forced to either save these edits or discard them.

Now, the unsaved layer edits checks occur before the unsaved
project check, and you have the option now to 'Cancel' the
project close from the unsaved layer edits messagebox. This
allows users to cancel the project close operation if they
want to e.g. inspect manually unsaved layers to decide
what action is appropriate to take on these.

Also fixes the unsaved layer edits prompt sometimes didn't
appear, even though unsaved changes were present...
2018-08-03 16:50:12 +10:00
nirvn
e5604f976f Update the save 3D map message bar to link to files 2018-08-03 13:16:53 +07:00
nirvn
90c97033b6 Update the save vector/raster message bar to link to files 2018-08-03 13:16:53 +07:00
nirvn
9eb25bca29 Only use the native openFileExplorerAndSelectFile for files 2018-08-03 13:16:53 +07:00
nirvn
1fc6aabdcd Implement openFileExplorerAndSelectFile for Linux 2018-08-03 13:16:53 +07:00
Alexander Bruy
65ae32aadd [processing] homogenize filter strings for models and scripts 2018-08-03 08:34:05 +03:00
Alexander Bruy
3e760882b4 fix minor typo in the XML file filter string (add missed dot) 2018-08-03 06:47:22 +03:00
Juergen E. Fischer
06aff729b9 dwg import: handle filenames with utf8 characters
(cherry picked from commit dd5ed68818380dfb6590677d968ec0e17c3f39c0)
2018-08-02 18:15:07 +02:00