55444 Commits

Author SHA1 Message Date
Denis Rouzaud
217057236a
Merge pull request #9859 from qgis/3nids-patch-1
add mac/development README
2019-05-22 23:16:41 -05:00
Denis Rouzaud
3a48f181b6
Merge pull request #10072 from 3nids/remove_old_code
remove old hack for Qt 4.8
2019-05-22 22:31:52 -05:00
Nyall Dawson
7e78874807 Fix rule based label/symbol renderers reset max scale for rules to
1:100000

And improve dox

Fixes #21845
2019-05-23 12:55:33 +10:00
Denis Rouzaud
282ad5fafe
remove old hack for Qt 4.8
upstream issue has been fixed
see https://bugreports.qt.io/browse/QTBUG-40449
2019-05-22 21:50:00 -05:00
Etienne Trimaille
ea6754ccc6 add missing group translation for Files and Paths, reordering 2019-05-23 10:36:46 +10:00
Alexander Bruy
88647ff5a6 [processing] use correct parent layer parameter in v.net.distance
algorithm (fix #22013)
2019-05-23 09:45:22 +10:00
Alexander Bruy
dd8c5c1611 [processing] move "Split RGB bands" algorithm inside "Raster tools"
group to maintain consistency (fix #21849)
2019-05-23 09:45:05 +10:00
Alexander Bruy
bef58ac6a7 [processing] use correct file extension in r.in.lidar.info (fix #21910) 2019-05-23 09:44:39 +10:00
Nyall Dawson
89d879c0e7 Also invalid QgsCoordinateReferenceSystem cache on qgis exit, fixes crashes on exit 2019-05-23 07:44:49 +10:00
Nyall Dawson
810b522f43 [layouts] Avoid resetting column selection when restoring project
with an atttribute table set to the "atlas feature" source

Fixes #20538
2019-05-23 07:44:23 +10:00
Juergen E. Fischer
fbd3289823 fix build of grassrasterprovider 2019-05-22 22:00:25 +02:00
Alessandro Pasotti
fd4895b9fb processing postgis connector quote indexes names 2019-05-22 18:28:35 +02:00
Denis Rouzaud
b3555abd4e
Merge pull request #10021 from 3nids/itembrowser_shortcut
add shortcuts to browse feature list
2019-05-22 11:27:24 -05:00
Denis Rouzaud
d3ce0a0dc2
🐠 -> 💃 (cuttlefish->disco) 2019-05-22 11:18:31 -05:00
Alessandro Pasotti
a4187a7a6e Tests for case sensistive pg schema 2019-05-22 18:16:43 +02:00
Alessandro Pasotti
ad24b87601 Add missing error class and quote identifiers
Fixes #22035 - case sensitive schema
2019-05-22 18:15:19 +02:00
Denis Rouzaud
23b1580cb7 register shortcuts globally 2019-05-22 11:00:29 -05:00
Denis Rouzaud
1e695c452b
use [] and {} for shortcuts 2019-05-22 09:16:56 -05:00
Blottiere Paul
10f6c8d0b3
Merge pull request #9833 from pblottiere/create_image
[server] Sanitise image creation
2019-05-22 13:45:08 +02:00
Alessandro Pasotti
86f35e8beb
Merge pull request #10047 from elpaso/bugfix-22071-relation-reference-identify-on-map
Fix identify on map in relation reference widget
2019-05-22 11:01:44 +02:00
Nyall Dawson
bb0d449954 Abort symbol rendering early if render job is cancelled
Some symbol rendering operations take a long time, especially
if settings are accidentally ridiculous (e.g. changing a marker
line with interval 1 mm to map units on a small scale map can
result in millions+ of markers being rendered for a single
feature). If we don't abort these operations responsively,
then the render job can become effectively "stuck" and sit
burning away CPU for no good reason (or in some cases lock the
QGIS ui as a result).

Instead, for possibly length symbol rendering operations we
check at reasonable places for the QgsRenderContext::renderingStopped()
flag and if it's set, abort the rendering quickly and gracefully.
2019-05-22 18:43:27 +10:00
Blottiere Paul
4e0a90a30b Image proportion when filter geom is defined 2019-05-22 10:26:42 +02:00
Juergen E. Fischer
b18731bc34 fix windows build on x86 2019-05-22 09:49:29 +02:00
Alessandro Pasotti
ad019c499b Remove raw string (not necessary here) 2019-05-22 08:51:54 +02:00
Harrissou Sant-anna
7df9df03c9 Title case gdal profile combobox items 2019-05-22 14:17:10 +10:00
Nyall Dawson
d8a5dfef06 Add missing dox to QgsRenderContext 2019-05-22 07:12:06 +10:00
Nyall Dawson
e23ceaa806 Mark render features methods as throwing QgsCsException, to allow it to be nicely caught in Python 2019-05-22 07:12:06 +10:00
Denis Rouzaud
177ab835aa
cosmic > disco leftovers 2019-05-21 14:29:05 -05:00
Denis Rouzaud
4f3a9f46d2
update Travis to build on Trusty for code layout (#10048)
* update Travis to build on Trusty for code layout

* fix shellcheck replace ! -z by -n

* shellcheck: fix  -n doesn't work with unquoted arguments

* more shellcheck fixes

* use bash instead of posix
2019-05-21 14:13:28 -05:00
Denis Rouzaud
2cc04c27aa fix installing tzdata on Docker again 2019-05-21 13:49:32 -05:00
Denis Rouzaud
ac25ee2a04 fix installing tzdata on Docker 2019-05-21 13:26:57 -05:00
Nyall Dawson
60deffbfa8 Add method to QgsRasterBlockFeedback to collect error messages
And append raster errors to rendering errors whenever encountered
2019-05-22 03:46:00 +10:00
Nyall Dawson
230c62fad6 If an error occurs while reading raster block data, don't return
corrupt data as a result. Instead, indicate explicitly that an
error occurred so that callers will fallback on appropriate
error paths.

Fixes rendering random junk (and possible crashes) when
attempting to open an invalid gdal raster data source,
such as the one attached to
https://github.com/OSGeo/gdal/issues/1545

Also replace manual memory management with unique_ptrs
2019-05-22 03:46:00 +10:00
Nyall Dawson
e5ab06fffa Add missing function group help 2019-05-22 03:45:00 +10:00
Denis Rouzaud
026cb0e003
update alternative Docker image from Cosmic to Disco (#10046) 2019-05-21 12:44:54 -05:00
Nyall Dawson
5fd9bc6408 Fix incorrect entries are added to coordinate transform cache
if crs cannot be represented as auth/id combo
2019-05-22 03:44:23 +10:00
Nyall Dawson
cf91c09c3c Fix rendering polys/lines with reprojection errors under proj 6 2019-05-22 03:43:48 +10:00
Nyall Dawson
a5e72c2c33 Update test result for proj 6 2019-05-22 03:43:48 +10:00
Nyall Dawson
9222f23cc3 Reset proj error before attempting transforms, avoids older errors
contaminating result of transform
2019-05-22 03:43:48 +10:00
Alessandro Pasotti
2b14dacd51 Fix identify on map in relation reference widget
Fixes #22071 - Relation reference widget wrong feature when "on map identification"
2019-05-21 19:09:18 +02:00
Blottiere Paul
0c77b9e2f7 Add doc 2019-05-21 15:16:09 +02:00
Blottiere Paul
dabd3dc935 Update tests 2019-05-21 15:16:09 +02:00
Blottiere Paul
1c37099ba4 Fixes compilation 2019-05-21 15:16:09 +02:00
Blottiere Paul
69e02240d2 const 2019-05-21 15:16:09 +02:00
Blottiere Paul
0384f23327 Removes duplicated code 2019-05-21 15:16:09 +02:00
Blottiere Paul
f542651497 Rename methods 2019-05-21 15:16:09 +02:00
Blottiere Paul
2d0aa355eb Remove unused methods 2019-05-21 15:16:09 +02:00
Blottiere Paul
5221937f59 Check width/height values in context 2019-05-21 15:16:09 +02:00
Blottiere Paul
fe856d6935 Move map size computation in context 2019-05-21 15:16:09 +02:00
Nyall Dawson
5cd8cb64ec Ensure NULL item shows before field names in expression builder, instead of mixed inside them 2019-05-21 21:31:35 +10:00