66014 Commits

Author SHA1 Message Date
Salvatore Larosa
bc71fae005 [pyqgis-console] fix byte conversion 2020-09-21 17:19:57 +02:00
Denis Rouzaud
a509491e5c add test for searching for display expression in active layer locator filter 2020-09-21 16:19:35 +02:00
Alessandro Pasotti
1c1febc0d6
Merge pull request #38870 from elpaso/bugfix-gh38092-executesql-feedback
Add feedback to executeSql
2020-09-21 15:45:21 +02:00
Alessandro Pasotti
6d866e3341 Address PR comments 2020-09-21 14:02:24 +02:00
Nyall Dawson
426ee2120b [layouts] Fix legend symbol rendering doesn't respect linked map
scale when symbol uses map unit based sizes

Fixes #38326
2020-09-21 18:55:33 +10:00
Nyall Dawson
96753cfd1b Don't try to write empty rendered rings/geometries to GeoPDF outputs
Fixes issues caused when a feature is sent to the rendering engine,
but ends up being completely clipped away.
2020-09-21 18:55:10 +10:00
Nyall Dawson
ef99f005de When setting the CRS for layers via the recent CRS menu in the
layer tree, make sure the CRS is set for ALL selected layers
2020-09-21 18:54:46 +10:00
Denis Rouzaud
8d385be9bd optimize scale for point layers in QgsMapCanvas::zoomToFeatureIds
similarly to what is done in zoomToSelected
2020-09-21 07:49:36 +02:00
Denis Rouzaud
b47346ba20 move the optimal extent calculation for a point layer to its own method 2020-09-21 07:49:36 +02:00
Denis Rouzaud
dd19040226 do not display twice the same result 2020-09-21 07:49:36 +02:00
Denis Rouzaud
2ae418da24 [locator] active locator filter also search in display title 2020-09-21 07:49:36 +02:00
Denis Rouzaud
0f2a8341f3 [locator] fix display title expression not displayed anymore in the results 2020-09-21 07:49:36 +02:00
vcloarec
0fb54bc4ac fix #38872 2020-09-21 14:16:32 +10:00
Nyall Dawson
ca6ffb77ca [3d] Remember last used light configuration tab
Fixes #38167
2020-09-21 12:18:58 +10:00
Nyall Dawson
e1ca83b2c2 Correctly apply capitalization setting whenever QgsTextRenderer is
used, not just in labeling

Fixes #38898
2020-09-21 12:05:54 +10:00
Nyall Dawson
620948f809 Add method to change capitalization of QgsTextDocument 2020-09-21 12:05:54 +10:00
Nyall Dawson
772181bc16 [processing] Don't assume iface is available
E.g. in qgis_process iface is None

Fixes #38862
2020-09-21 12:05:34 +10:00
Nyall Dawson
f6719a9878 Fix tests 2020-09-21 11:05:34 +10:00
Nyall Dawson
ed6e9ac84c Dox++ 2020-09-21 11:05:34 +10:00
Etienne Trimaille
6076950c68 Add help string for parameters in Processing 2020-09-21 11:05:34 +10:00
Harrissou Sant-anna
d5f27118dc Only show Select and digitizing-based menus in the Edit menu
when appropriate (if not empty project and/or a compatible layer)

fixes #38470
2020-09-21 08:08:31 +10:00
vcloarec
9305e22a6c add tests and fix another issue 2020-09-21 08:04:29 +10:00
vcloarec
b5cdddf305 cleaner last point remove 2020-09-21 08:04:29 +10:00
vcloarec
5e0a14fca6 fix QgsDualEdgeTriangulation 2020-09-21 08:04:29 +10:00
Harrissou Sant-anna
8b03293cf4 Align coordinates labels with the frame divisions'
mentioning X and Y directions
2020-09-21 08:03:59 +10:00
Harrissou Sant-anna
8e284dc9f3 Use plural form to indicate units in map item grid properties
and active form for the checkbox
Same as in label properties and other places
2020-09-21 08:03:59 +10:00
Matthias Kuhn
8a53235aee Fix typo 2020-09-21 08:03:16 +10:00
Matthias Kuhn
2eaf5e6d29 Recalculate layout when legend item size changes
Fixes https://github.com/qgis/QGIS/issues/38881
2020-09-21 08:03:16 +10:00
Matthias Kuhn
673d6727ee Improve legend performance
Only recalculate the position of the icons for affected legend nodes.
Avoids brute forcing over complex legends as soon as something is changed.

Fixes #38890
2020-09-21 08:02:13 +10:00
Matthias Kuhn
61a1801e3d
Merge pull request #38886 from DelazJ/applyChangesTooltip
Fix tooltip of "Apply Changes" button in Handle unavailable layers dialog
2020-09-20 18:15:32 +02:00
Matthias Kuhn
20e44e5870
Merge pull request #38887 from m-kuhn/pimp_5_14_build
Tune build with Qt 5.14
2020-09-20 13:13:28 +02:00
Matthias Kuhn
b298e8d5b4 Improve range loop 2020-09-20 11:30:55 +02:00
Matthias Kuhn
35a06f953f -Wrange-loop-construct 2020-09-20 11:25:09 +02:00
Matthias Kuhn
724746c27c Tune build with Qt 5.14 2020-09-20 09:51:55 +02:00
Harrissou Sant-anna
5547d1f953
Fix tooltip of "Apply Changes" button in Handle unavailable layers dialog
If not successful, the remaining unavailable layers are not removed from the project; "Apply changes" can be used as many times as you want.
2020-09-20 09:32:09 +02:00
benjaminwheel3r
96bdfac88d Update Comment Typos
update 'the' to 'then' on line 34
update 'customwidget' to 'custom widget' to match reference in comment on line 72
Update 'windows' to 'Windows' on line 65 to match previous reference on line 31
2020-09-20 06:57:20 +10:00
uclaros
bc6ed9590d Extend extent history to 100 entries 2020-09-20 06:50:28 +10:00
uclaros
ae67b9e61e Fix rubberband width 2020-09-20 06:47:38 +10:00
Salvatore Larosa
b696b465ab Fix indentation (which doing start up of python console very slow) 2020-09-20 06:47:11 +10:00
Alessandro Pasotti
3e5be258cb Spellcheck 2020-09-19 12:36:19 +02:00
Alessandro Pasotti
2dfc072fe7 Spellchecker, how picky you are 2020-09-19 11:30:55 +02:00
Alessandro Pasotti
d54c3101ae Add feedback to executeSql
Fixes #38092 by adding an optional QgsFeedback argument to
the executeSql method and by implementing the PQCancel
method in the PG provider internals.

While the cancellation works well for all supported provider while
fetching results in the loop, the cancellation of a running query is now
implemented for the postgres provider connection only because the GPKG
and GDAL both rely on GDALDatasetExecuteSQL which cannot be interrupted.

This PR also introduce a few optimizations in the PG DB-Manager
code that should probably fix also other "slowness" issues that
were reported after 3.x during PG query execution.

A small UX change in th SQL dialog makes it evident to the user that
a cancellation request has been sent to the backend: the button text
is changed to "Cancellation requested, please wait..." so that for
provider connections that are not able to interrupt the running query
and must wait for the fetching loop to exit from the exeuteSql call
the user knows that something is happening and that a cancellation
request has been successfully sent.
2020-09-19 11:15:41 +02:00
Peter Petrik
640f046c1c hide splash screen when loading the project 2020-09-19 08:56:52 +10:00
vcloarec
083cb88c60 fix crash if MDAL not available 2020-09-19 08:54:46 +10:00
Paul Blottiere
4113fdc58c
Merge pull request #38856 from pblottiere/pyogctest_v101
Update pyogctest to v1.0.1
2020-09-18 13:12:47 +02:00
Blottiere Paul
74610f9dc6 Update pyogctest to v1.0.1 2020-09-18 11:36:05 +02:00
Nyall Dawson
73626bdcd9 Initialize members 2020-09-18 11:50:27 +10:00
Nyall Dawson
fe70bb2440 Dox 2020-09-18 11:50:27 +10:00
Nyall Dawson
c293d2c60d [sipify] Correctly collapse TypeHint annotations 2020-09-18 11:50:27 +10:00
Nyall Dawson
8ea72bb9eb Fix build 2020-09-18 11:50:27 +10:00