51158 Commits

Author SHA1 Message Date
Even Rouault
d5e57d31e6
Merge pull request #8186 from rouault/fix_20104
[GDAL provider] Make sure that setEditable(true) invalides cached GDAL handles to get proper refresh (fixes #20104)
2018-10-15 11:10:00 +02:00
Even Rouault
b777ab23b1
Merge pull request #8184 from rouault/fix_20098
[OGR provider] Make again a feature iterator to be resetable on a OSM layer (fixes #20098)
2018-10-15 11:09:43 +02:00
Nyall Dawson
530397c168 [layouts] Fix legend does not respect anchor point when resizing
based on map content

Fixes #19987
2018-10-15 19:02:48 +10:00
Nyall Dawson
46b6ffadda Fix a bunch of QString warnings 2018-10-15 19:02:48 +10:00
Alessandro Pasotti
096b4ce004
Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness
Fixes slow update in field calculator
2018-10-15 10:32:09 +02:00
Nyall Dawson
87e0f6961a [processing][gdal][needs-docs] Rename crop to cutline option for clarity
The previous name is unclear, as the option can expand as well
as crop the raster extent. We also don't refer anywhere else in this
dialog to the cutline, so that has no meaning to users
2018-10-15 18:29:28 +10:00
Nyall Dawson
d77c61ef81 More test 2018-10-15 16:51:16 +10:00
Nathan Woodrow
5a6c825db0 Adjust the default size of expression/selection dialog 2018-10-15 16:41:03 +10:00
Nathan Woodrow
bc51a60ee4
Expression widget ux fixes (#8194)
* Add default custom function file

* Set default size of custom expression list
2018-10-15 16:13:32 +10:00
Nyall Dawson
0fb0023519 Fix corrupted group box layouts 2018-10-15 15:47:28 +10:00
Nyall Dawson
88da833b72 Try resurrecting test under Travis 2018-10-15 15:25:17 +10:00
Nathan Woodrow
c0d35ce5de
Fix #14897 - Remove double undo/redo buttons (#8189) 2018-10-15 13:06:47 +10:00
Nathan Woodrow
3a684c8a2b Fix custom function help 2018-10-15 11:50:29 +10:00
Nyall Dawson
e33caa4902 [mssql] Skip some tests on Travis which fail because of msodbcsql segfaults 2018-10-15 11:47:30 +10:00
Nyall Dawson
c6dda7b4f3 SQL Server on Travis 2018-10-15 11:47:30 +10:00
Nyall Dawson
a1a35e91cc Dox++ 2018-10-15 11:47:01 +10:00
Nyall Dawson
f07462b69a Spelling 2018-10-15 11:47:01 +10:00
Nyall Dawson
cea155fca5 Fix warning 2018-10-15 11:47:01 +10:00
Nyall Dawson
8f6ee1c40d Dox 2018-10-15 11:47:01 +10:00
Nathan Woodrow
8dd0f00877 Fix - Fix loading expression template for first item and space vs tabs
Fix tab vs spaces in Python editor widget. Use spaces
2018-10-15 10:23:24 +10:00
Nathan Woodrow
bd8d61ab1e Follow up 5beb4e2b8d - Enable rename browser tree node on edit key only 2018-10-15 09:38:35 +10:00
Even Rouault
651ccb43bf
[GDAL provider] Revise how referencing counting is done on mGdalBaseDataset
initBaseDataset() used to take a reference in the case where
mGdalDataset == mGdalBaseDataset (non warped VRT) and we dropped it when
closing the dataset, which was OK

However buidPyramids() failed to acquire this reference. There was no
negative consequence as GDALDerefenceDataset() just decremented a
reference count, and GDALClose() ignores it for a non-shared dataset,
however this was an incorrected use

It is simpler for the mind to call GDALDerefenceDataset() only when
mGdalBaseDataset != mGdalDataset.
2018-10-14 19:10:22 +02:00
Even Rouault
e7d15b6495
[GDAL provider] Make sure that setEditable(true) invalides cached GDAL handles to get proper refresh (fixes #20104) 2018-10-14 17:50:38 +02:00
Juergen E. Fischer
faeb160065 t2tdoc run (followup 8923aa9bb & ae397bf24) 2018-10-14 13:51:57 +02:00
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
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