51185 Commits

Author SHA1 Message Date
Juergen E. Fischer
82dccf71a5 osgeo4w: detect python version in package.cmd 2018-10-14 13:42:07 +02:00
James Shaeffer
8923aa9bb1 Removed duplicate lines from Linux install guide 2018-10-14 13:37:17 +02:00
Even Rouault
906f80219f
[OGR provider] Make again a feature iterator to be resetable on a OSM layer (fixes #20098) 2018-10-14 12:43:54 +02:00
Alessandro Pasotti
c8ea3a701c blockAttributeTableUpdates: single signal with bool 2018-10-14 11:39:31 +02:00
Alessandro Pasotti
20e85927b7 Remove unused forward declaration 2018-10-14 01:12:26 +02:00
Alessandro Pasotti
07b31287ba Fix rollback on large tables when attr table is opened 2018-10-14 00:44:25 +02:00
Martin Dobias
88cb8313c8 Python bindings for QGIS 3D library 2018-10-13 22:05:39 +02:00
Alessandro Pasotti
9d82df5d16 Forward to app blocking/unblocking of attr table updates
Fixes #20094 - Extracting z-coordinates takes ages and makes the system unresponsive
2018-10-13 15:40:57 +02:00
Alessandro Pasotti
ae397bf24a
Merge pull request #8176 from elpaso/mxe-reborn-docker
mxe: couldn't be easier now
2018-10-13 14:53:25 +02:00
Alessandro Pasotti
a2ec75c999 Remove unused var 2018-10-13 13:18:56 +02:00
Alessandro Pasotti
6e2a2beec7 Small enhancements to mxe scripts 2018-10-13 11:24:42 +02:00
Alessandro Pasotti
f56e3dd898 mxe documentation 2018-10-13 11:24:14 +02:00
Alessandro Pasotti
afc873d677 Block signals in the cache only
much better approach ...
2018-10-13 10:20:32 +02:00
Harrissou Sant-anna
0816a29962 Fix typo in generated file 2018-10-13 12:30:52 +10:00
Harrissou Sant-anna
8b1d7ffc20 Fix typo 2018-10-13 12:30:52 +10:00
Nyall Dawson
0f056b500a Fix line pattern fill symbol corruption with negative angles 2018-10-13 06:31:56 +10:00
Nyall Dawson
e277b91087 Fix distorted line pattern fill when line offset is large compared
with pattern distance
2018-10-13 06:31:56 +10:00
Nyall Dawson
5b4ed16cf9 Fix line pattern fill offsets are always treated as positive,
even when offset is negative
2018-10-13 06:31:56 +10:00
Alessandro Pasotti
d79e3adf72 Fixes slow update in field calculator
by blocking the vector signals ...
... and emitting dataChanged at
the end.

I'm a bit worried of side effects,
but I can't see any other solution.

The root of the issue here is that
for each changed field/row an attribute
valueChanged signal is emitted, and the
QgsVectorLayerCache::featureAtId
loads the feature again.
2018-10-12 22:18:25 +02:00
Alessandro Pasotti
219a4be721 mxe: couldn't be easier now
Build in docker
2018-10-12 21:33:13 +02:00
Alessandro Pasotti
d6a863b0a2
Merge pull request #8173 from elpaso/mxe-reborn
Fix MXE build
2018-10-12 16:55:24 +02:00
Denis Rouzaud
6bade33935
[fix #13487] style categories should not be editable 2018-10-12 10:27:29 -04:00
Alessandro Pasotti
189dfc702b Fix MXE build 2018-10-12 15:05:10 +02:00
Nyall Dawson
448b4505bb [layouts] Expose designer enable atlas preview and show item options to
stable API
2018-10-12 10:28:56 +10:00
Nyall Dawson
ab5c4fc8ef Remove messagebox confirmation on geopackage compact
Now that we use a proxy task, users will have o/s level notifications
if the compact takes a lengthy time
2018-10-12 09:30:59 +10:00
Nyall Dawson
f8bbc12c48 Use a proxy progress task for vacuuming gpkg 2018-10-12 09:30:59 +10:00
Denis Rouzaud
68f4cf2d0f
respect maximum of recent project settings when loading (#8153)
* respect maximum of recent project settings when loading

* fix uint int comparison
2018-10-11 12:32:50 -08:00
Nyall Dawson
dc08db79ed [ux] Make QgsFileWidget file picker default to opening at the
currently displayed folder, if one is shown

And only fallback to the default root path if no file name has
been entered.

This change improves the UX of the widget, because it allows
users to manually enter a path (or paste a filename, etc)
into the widget and THEN click the browse button to tweak
that current location. Otherwise we always jump back to
some historic location on clicking that button, which is
annoying.
2018-10-12 04:31:35 +10:00
Alessandro Pasotti
46938c073e
Merge pull request #8168 from elpaso/fix-clang-warnings
Fix error return-std-move
2018-10-11 13:55:40 +02:00
Nyall Dawson
b2df588a38 Fix see also link 2018-10-11 17:52:47 +10:00
Nyall Dawson
5beb4e2b8d Followup 9cad526, allow item rename through browser model 2018-10-11 17:52:47 +10:00
Nyall Dawson
66f5f548c8 [browser] Add missing delete actions for more file types 2018-10-11 17:10:02 +10:00
Nyall Dawson
e4b52a4d21 [browser] Fix crash when deleting files quickly
It's possible for items to be deleted in the background
while we are waiting on user input (e.g. from the confirmation
prompt) by a parent directory refresh, so we need to capture
everything relevant and not rely on the item itself existing
anymore during the delete layer calls.
2018-10-11 17:10:02 +10:00
Nyall Dawson
64b5c2ee40 [browser] Make delete file action also show for raster layers,
not just vectors
2018-10-11 17:10:02 +10:00
Nyall Dawson
2c16b14f64 [browser] Don't show full path to file for "delete" action in menu
This is often very long and makes the menu huge
2018-10-11 17:10:02 +10:00
Alessandro Pasotti
e5ba558617 Fix error return-std-move
std::move should not be used here because
it prevents RVO (copy elision) and it's
considered an anti-pattern.

To fix the original warning the returned
type must match the declared return
type or copy elision will not be possible
(and the warning will be triggered).
2018-10-11 08:33:18 +02:00
Nathan Woodrow
375afe5bea [needs-docs] Follow up UX fixes for moving custom function help 2018-10-11 15:59:24 +10:00
Nathan Woodrow
42ea216478
FIX - Move custom expression function help to group box (#8163) 2018-10-11 15:23:06 +10:00
Nathan Woodrow
9cad526f24
Add F2 to rename browser favourite item (#8164) 2018-10-11 14:08:49 +10:00
Nyall Dawson
e4738d4eed Fix context menu path display on windows 2018-10-11 09:23:40 +10:00
Nyall Dawson
ff90c13b3a Capitalization 2018-10-11 09:04:55 +10:00
Denis Rouzaud
94a7d9db66
fix local variable will be copied despite being returned by name (#8157)
this is an error with clang 7
note: call 'std::move' explicitly to avoid copying
2018-10-10 05:33:54 -08:00
Alessandro Pasotti
b80c95c71a
Merge pull request #8150 from elpaso/bugfix-20053-json-exporter-values
Fixes #20053 decimal separator in csv files
2018-10-10 09:56:52 +02:00
nirvn
69dab87d4a [auth] don't share config db connection across threads
(fixes #20054)
2018-10-10 14:47:53 +07:00
Juergen E. Fischer
e71e135e15 fix build on xenial 2018-10-10 03:47:53 +02:00
Denis Rouzaud
7c0a2a1cd7 a few more forward declarations 2018-10-09 11:48:33 -08:00
Denis Rouzaud
f27a5043bb remove useless includes 2018-10-09 11:48:33 -08:00
Denis Rouzaud
7fb3a92994 forward declaration of QgsMapMouseEvent 2018-10-09 11:48:33 -08:00
Denis Rouzaud
ef1efebda4 forward declaration of QgsPoint 2018-10-09 11:48:33 -08:00
Denis Rouzaud
159eb09505 replace old-style cast by reinterpret_cast 2018-10-09 11:48:33 -08:00