51628 Commits

Author SHA1 Message Date
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
Alessandro Pasotti
5c28693d49 Do not delete the clear action (and don't crash)
Fix #20180 - Tracing with Offset produces QGIS Crash

The crash was deep inside Qt and I couldn't really debug it,
the solution I'm proposing looks way too easy, but
apparently it just works.
2018-10-22 17:27:25 +02:00
Denis Rouzaud
225c9227af fix build without GUI 2018-10-22 10:18:18 -04:00
Blottiere Paul
dfb28fed44
Merge pull request #8228 from pblottiere/server_deadlock
[server] Fixes freeze of server during rendering
2018-10-22 13:21:11 +01:00
signedav
fc8062e1a7 calculate FID for GPKG 2018-10-22 12:33:24 +02:00
signedav
d3ccd6ee5f use "gpkg_fid" as default FID column 2018-10-22 12:00:01 +02:00
signedav
b4da995710 remove fid type check because its done before 2018-10-22 11:51:27 +02:00
signedav
d1172d4106 care for types of fid 2018-10-22 11:46:46 +02:00
signedav
d9fdf13dcf add dummy column in case the original layer does not contain an fid-field 2018-10-22 11:06:51 +02:00
Richard Duivenvoorde
4fa62e9b3b Fix #19703, make filter translatable and add NetCDF (#8245)
* Add NetCDF into MDAL dialog's file filter
2018-10-22 08:15:52 +02:00
signedav
cdcb5a2c4c running autopep8 on file to format correctly 2018-10-22 07:42:35 +02:00
Nyall Dawson
1bf63f1331 QStringLiteral 2018-10-22 09:30:32 +10:00
Blottiere Paul
444a2795f4 Add a translated window title 2018-10-22 00:29:59 +02:00
Blottiere Paul
86f13852fc Add an error message on auxiliary field deletion 2018-10-22 00:28:10 +02:00
Blottiere Paul
ef4bf1a806 Add link to corresponding issue in comment 2018-10-21 23:35:43 +02:00
Blottiere Paul
514db35cf8 Fixes freeze of server during rendering 2018-10-21 23:33:45 +02:00
Borys Jurgiel
006b130e8a Don't append raster layer to an existing GPKG, if a vector layer with the same name already exists. 2018-10-21 23:19:24 +02:00
Blottiere Paul
16e0db4033 Removes unused reset parameter 2018-10-21 23:02:23 +02:00
Blottiere Paul
f087f4a0a0 Data defined button is not red after deleting auxiliary field 2018-10-21 22:54:09 +02:00
Alessandro Pasotti
b379d75e1f
Merge pull request #8249 from tudorbarascu/fix_addpart
fix addpart tool warning
2018-10-21 21:27:20 +02:00