65803 Commits

Author SHA1 Message Date
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
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
Nyall Dawson
fe5615ea44 Hold the GIL for more geometry related methods 2020-09-18 11:50:27 +10:00
Alessandro Pasotti
3d67b37b4a Add missing import for new test 2020-09-18 11:06:20 +10:00
Alessandro Pasotti
67b5540263 Fix PG trust metadata layer loading
Fixes #38809

Followup 760347c3b6a95129db677a1915d90190779eaad5
2020-09-18 11:06:20 +10:00
Even Rouault
3d0a14e1dc VectorFileWriter/OGR provider: workaround GDAL 3.1.x bug regarding XLSX and ODS creation
GDAL 3.1.0 to 3.1.3 will create XLSX and ODS files with ZIP64 extensions,
which make them incompatible of current LibreOffice versions.

This has been fixed in GDAL now, but this can be workaround on QGIS side too
if using those buggy versions.
2020-09-18 11:05:46 +10:00
Blottiere Paul
dd9e0ba5ae Keep cached status up to date. Fixes #37326 2020-09-18 11:01:14 +10:00
Peter Petrik
24cfedf03f fix #32511 always detect GRASS installation folder on MacOS 2020-09-18 10:56:44 +10:00
Julien Cabieces
f1f14e49e3 Fixes #37038: Fix drag and drop field order in designer 2020-09-18 10:55:17 +10:00
Even Rouault
fbe56750b4 Coordinate operation widget: avoid repeating scope and remarks
For coordinate operations that are not concatenated operations, we
currently display twice the scope and remarks. Let's strip a bit of
text to avoid confusing users even more :-)
2020-09-18 10:54:22 +10:00
Matthias Kuhn
9e654ca388
Merge pull request #38641 from domi4484/mssqldefaultvalues
Implemented method QgsMssqlProvider::defaultValue
2020-09-17 22:22:39 +02:00
Nyall Dawson
44fb4f5f85 Dox 2020-09-18 04:34:57 +10:00
Nyall Dawson
d4a2dddac5 Tag some inexpensive, frequently called methods with the HoldGIL annotation
This prevents the Python GIL from being released before calling the method
(which is the default behaviour). For very cheap to call c++ methods the
cost of releasing the GIL can outweigh the cost of the c++ call, which means
it's more efficient to retain the hold on the GIL.

Ideally we'd do this everywhere, and switch to an explicit ReleaseGIL
annotation on functions which are slow or risky (raise exceptions, or
do something which can cause a GIL deadlock). But those are very tricky
to identify, so instead just explicitly hold the gil on cheap methods
which are likely to be called many times and could have an impact on
script performance.
2020-09-18 04:34:57 +10:00