51528 Commits

Author SHA1 Message Date
Nyall Dawson
0fad3e5731 Fix build with newer sip versions
Fixes #19476
2018-10-24 08:10:50 +10:00
Blottiere Paul
da22f7ccac Fixes #5520 - Invalid BBOX in WMS GetCapabilities 2018-10-23 23:18:57 +02:00
Denis Rouzaud
2fce5700e4
remove call to useless deprecated method on mac
followup 72bf08e
2018-10-23 16:47:46 -04:00
Blottiere Paul
9e82d44795
Merge pull request #8271 from pblottiere/as_cancel_id
Fix map tool when auxiliary layer creation is canceled
2018-10-23 21:40:59 +01:00
Denis Rouzaud
49e8e86029 add rendering tests for HiDPI (device pixel ratio) 2018-10-23 16:25:23 -04:00
Denis Rouzaud
3ff8477c52 add test for device pixel ratio in map settings 2018-10-23 12:20:43 -08:00
Denis Rouzaud
c868e62ef5 fix map units per pixel in HiDPI 2018-10-23 12:20:43 -08:00
Alessandro Pasotti
2d1b539003
Merge pull request #8286 from DelazJ/patch-4
Fix typo
2018-10-23 22:15:47 +02:00
Alessandro Pasotti
be92b21cd7 typo 2018-10-23 21:34:39 +02:00
Alessandro Pasotti
6b917e09e1 Fix QgsProjectLayerGroupDialog with qgz project
Maybe also fix #20134 - crash when trying to set exluded layer in QGIS Server WMS capabilities

I could not reproduce the crash but
QgsProjectLayerGroupDialog was broken
and it was probably the root of the
crash.
2018-10-23 20:19:19 +02:00
Alessandro Pasotti
a42bf80185
Merge pull request #8283 from elpaso/bugfix-20193-dbmanager-vlayer
[db-manager] Store exception text in the task and pass it over to the…
2018-10-23 19:35:11 +02:00
Alessandro Pasotti
a51d7f5be3 Code layout 2018-10-23 18:56:27 +02:00
Borys Jurgiel
61ebc18358 Better option order 2018-10-23 18:32:33 +02:00
Borys Jurgiel
f227bfb685 [needs-docs] Save vector layer as CSV: add STRING_QUOTING (IF_NEEDED|IF_AMBIGUOUS|ALWAYS) create option to the predefined drop-down widgets. Only available with GDAL >= 2.3 (from that GDAL version the default value changed from IF_NEEDED to IF_AMBIGUOUS, so integer values became double-quoted by default) 2018-10-23 18:19:27 +02:00
Harrissou Sant-anna
c6df07b2d0
Fix typo 2018-10-23 17:05:01 +02:00
lbartoletti
f346dceeaf Updating the vertexEditor after moving vertices or edges (#8032) 2018-10-23 06:15:21 -08:00
Alessandro Pasotti
7ecd303acc [in-place] Fix locator filter for in-place when active layer changes
Invalidate the locator results when active layer changes

Fix #20099 - Locator bar does not update the filter of algorithms according to active layer when using "ef"
2018-10-23 16:12:49 +02:00
Denis Rouzaud
daf5394042
fix Qt issue QVariant::value using enum (#8265)
* fix Qt issue QVariant::value using enum

see https://bugreports.qt.io/browse/QTBUG-53384
fix #19868
2018-10-23 05:02:43 -08:00
Alessandro Pasotti
15f4138a47 [db-manager] Store exception text in the task and pass it over to the caller
Fix #2019 - DBManager fails to display error messages with virtual layers
2018-10-23 14:59:10 +02:00
Alessandro Pasotti
17f30f5762
Merge pull request #8252 from borysiasty/gpkg_raster_append_fix
Don't append raster layer to an existing GPKG, if a vector layer with the same name already exists
2018-10-23 10:59:03 +02:00
Alessandro Pasotti
d277fb806e
Merge pull request #8266 from elpaso/bugfix-20180-doublespinbox-crash
Do not delete the clear action (and don't crash)
2018-10-23 10:57:58 +02:00
Alessandro Pasotti
7f10a3a4a4 Disable clear button in tracer widget to prevent a crash
Fix #20180

Not really a fix, but the other approach apparently
causes a regression on some platforms.
2018-10-23 09:17:12 +02:00
Alessandro Pasotti
012ad1cb65 Revert "Do not delete the clear action (and don't crash)"
This reverts commit 5c28693d4935c36d36585630a7a9487bc5820d9c.

Because regresses fb5caa7a0f944788119b3429efb8f017964c5443

See also Fixes #18537
2018-10-23 08:51:02 +02:00
Nyall Dawson
5e6eef3e54 [layouts] Fix incorrect first page size in multipage layouts when
first page is skipped from output

Fixes #18742
2018-10-23 16:41:30 +10:00
Nyall Dawson
cc543d6b9d Some clazy warnings 2018-10-23 16:41:30 +10:00
Nyall Dawson
8cf64c8a51 [layouts] Add option to filter "add layer to legend" dialog to
layers visible within the (linked) map only

Fixes #20186
2018-10-23 16:41:06 +10:00
Nyall Dawson
de0e74be59 Add method to whitelist layers to show in QgsMapLayerProxyModel 2018-10-23 16:41:06 +10:00
Mathieu Pellerin
f32fe8b210
[dbmanager] add string description to query task for better notification (#8259) 2018-10-23 13:34:03 +07:00
Alessandro Pasotti
f7cd2cf2a1
Merge pull request #8267 from elpaso/bugfix-20155-pg-style-crash
Fix crash loading style from postgres db when there is no "layer_styl…
2018-10-23 08:22:30 +02:00
Nyall Dawson
64c99b7348 Fix missing Factory annotation 2018-10-23 14:16:26 +10:00
Nyall Dawson
561d59b78c Capitalization 2018-10-23 13:25:19 +10:00
Etienne Trimaille
0731148b6b move function map to hstore into QgsHstoreUtils 2018-10-23 13:11:15 +10:00
Nyall Dawson
b2a2a2603c Add fallback to parameter's name to be safe 2018-10-23 12:42:08 +10:00
Nyall Dawson
e5f52f98c2 [processing] Use outputi database layer name instead of file name when
'use filename as layer name' is checked

Avoids raw uri layer names for database type destinations
2018-10-23 12:42:08 +10:00
Nyall Dawson
a093dd7293 [layouts] Add api to retrieve window from designer dialog interface 2018-10-23 10:54:55 +10:00
Nyall Dawson
4212cca56e Add a Python repr for QgsError 2018-10-23 10:37:55 +10:00
Denis Rouzaud
adec719893
allow switching in/out mode while drawing zooming rect (#8261) 2018-10-22 15:49:19 -08:00
Nyall Dawson
8d7c54e8d7 More layout object sip casting 2018-10-23 08:59:10 +10:00
Nyall Dawson
926e03ac3c Spell 2018-10-23 08:59:10 +10:00
Nyall Dawson
8a525b0b86 [layouts] Add notes to layout designer dialog interface documentation
regarding customisation of designer instances
2018-10-23 08:59:10 +10:00
Blottiere Paul
41f5abccaa Disable ok button when no there's no field 2018-10-23 08:16:21 +10:00
Blottiere Paul
6df252a2b1 Do not draw a rubber band and hilight feature if not necessary 2018-10-22 23:36:01 +02:00
Blottiere Paul
333971c981 Do not display rubber band if label cannot be rotated 2018-10-22 23:26:49 +02:00
Blottiere Paul
1ab6d323b0 Do not draw a rubber band when label/diagram are not moveable 2018-10-22 23:18:13 +02:00
Nyall Dawson
c94eefb6df [layouts] Fix data defined atlas margin isn't evaluated
Fixes #19896
2018-10-23 05:57:23 +10:00
Nyall Dawson
4030390acc Avoid another unnecessary styleChanged call
In all paths where QgsMapLayersStyleManager::currentStyleChanged
is emitted there is always a previous styleChanged signal emitted
by QgsMapLayer::importNamedStyle
2018-10-23 05:56:31 +10:00
Nyall Dawson
844eada763 Avoid some unnecessary styleChanged signals
These signals are expensive to emit, because they trigger a full
update of the style dock contents
2018-10-23 05:56:31 +10:00
Blottiere Paul
65884dbc28
Merge pull request #8251 from pblottiere/as_dd_red
Update data defined button on auxiliary field deletion correctly
2018-10-22 17:58:21 +01:00
Blottiere Paul
b9ff49f2c9
Merge pull request #8253 from pblottiere/as_err_msg_rm_field
Add an error message when auxiliary field deletion failed
2018-10-22 17:57:13 +01:00
Alessandro Pasotti
897322a4ea Fix crash loading style from postgres db when there is no "layer_styles" table in the database
Fix #20155 -crash loading style from postgres db when there is no "layer_styles" table in the database
2018-10-22 18:39:58 +02:00