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
Even Rouault
cc70b9f9c1
Merge pull request #38769 from rouault/fix_38298
...
[GUI] Raster histogram: restore behavior before #35465 changes
2020-09-17 15:10:41 +02:00
Matthias Kuhn
8609a729c6
Merge branch 'master' into mssqldefaultvalues
2020-09-17 14:28:54 +02:00
Denis Rouzaud
527a08ca5e
fix merge conflict ( #38835 )
2020-09-17 14:18:19 +02:00
Alessandro Pasotti
8ed98f64fd
Merge pull request #38815 from elpaso/bugfix-gh38716-marker-line-dd-angle
...
Set the line angle instead of the symbol angle
2020-09-17 12:25:33 +02:00
nirvn
d03e172838
[themes] Fix night mapping checkbox glitches when embedded into table (et cie) widgets
2020-09-17 16:46:26 +07:00
nirvn
52c31437bb
[themes] Fix blend of gray checkbox glitches when embedded into table (et cie) widgets
2020-09-17 16:46:26 +07:00
Nyall Dawson
c44178f517
Fix seealso link
2020-09-17 19:10:52 +10:00
Nyall Dawson
49e9b613b8
[layouts] Keep a separate flag for whether only a subset of layers
...
are to be clipped from the project, instead of just tracking this
by the presence of any checked layers
Avoids inconsistencies between the layers which are visibly clipped
on the map vs the options which are set in the GUI.
2020-09-17 19:10:52 +10:00