Nyall Dawson
58c13215c4
Spelling
2023-10-09 14:14:03 +10:00
Nyall Dawson
7d33d327ad
Use a dedicated thread pool for task manager
...
This avoids conflicts with Qt3D framework. As noted in
https://github.com/qgis/QGIS/issues/50067#issuecomment-1318081784
"The constructor and destructor of QChangeArbiter require the use of
**every** thread in the Qt thread pool."
This causes hangs when exporting layouts containing 3d maps. We
have threads from task manager in use from elsewhere, so the
application deadlocks waiting for every thread to be freed so
that QChangeArbiter can do its thing.
So, use a new dedicated thread pool for task manager's exclusive
use. This avoids the hang when exporting 3d maps as it avoids
the deadlock between task manager and Qt3D's requirements.
(A side benefit is that we don't get delayed map rendering when
the number of queued/running tasks hits the max thread count
from the global thread pool.)
Fixes #50067
2023-10-09 14:14:03 +10:00
Nyall Dawson
9d8a722568
Revert "Allowing storing GPGK raster layer styles to DB"
2023-10-06 12:15:46 +10:00
Sandro Mani
4bc4f48f50
Merge pull request #54558 from manisandro/rasterstyles
...
Allowing storing GPGK raster layer styles to DB
2023-10-05 16:16:44 +02:00
Nyall Dawson
2bd25071f7
Ensure that we always call prepareGeometryChange BEFORE changing
...
properties which effect the boundingRect of a layout item
Refs #52079
Refs https://bugreports.qt.io/browse/QTBUG-18021
2023-10-05 13:24:47 +10:00
Nyall Dawson
17a34a1bab
Avoid calling overridden virtual method in base class destructor
...
Fixes some undefined behavior when deleting layout items
2023-10-04 05:29:03 +10:00
Nyall Dawson
15f04bb10f
QgsVectorLayer field configuration flag methods should also be exposed
2023-10-03 19:51:38 +10:00
Nyall Dawson
7147f013ff
Fix QgsField::ConfigurationFlag::None causes syntax error when
...
starting PyQGIS
We can't use `None` as a keyword exposed to python, it's reserved.
Also move the enum to Qgis before making it part of public stable
API.
2023-10-03 19:51:38 +10:00
Nyall Dawson
52df64779c
Add a workaround for setting QFont objects to font families with
...
odd characters in their names
This can result in the font falling back to a default system
font. It's notably an issue for the "ESRI Oil, Gas, & Water"
symbol font.
2023-10-03 10:14:41 +10:00
Alessandro Pasotti
49340299d2
Merge pull request #54734 from elpaso/bugfix-gh54662-spatialite-multisurface
...
SPATIALITE: fix insert incompatible geometry types
2023-09-30 14:05:16 +02:00
Alessandro Pasotti
7bd457b2bd
doxy
2023-09-30 10:02:02 +02:00
Alessandro Pasotti
3cac4c0b0b
Make convertToProviderType static to bypass thread check
2023-09-30 09:34:34 +02:00
Alexander Bruy
373d5f8654
Merge pull request #54035 from alexbruy/processing-port-raster-calculator
...
Port Raster Calculator algorithm to C++
2023-09-30 10:12:55 +03:00
rldhont
dece451aa1
Merge pull request #54706 from Gustry/hide-password
...
Hide password instead of removing it
2023-09-29 14:22:38 +02:00
Harrissou Sant-anna
f53b318692
Update docs and description for layout map item grid elements
2023-09-29 19:55:37 +10:00
Etienne Trimaille
29b08c79b7
Hide password instead of removing it
2023-09-29 09:29:49 +02:00
Julien Cabieces
4676af859f
Merge pull request #54726 from troopa81/make_avoidintersection_return_enum
...
Make avoidIntersections return an enum
2023-09-28 09:09:48 +02:00
Julien Cabieces
29f19dafc6
fix sip
2023-09-27 18:39:19 +02:00
Denis Rouzaud
68f025b2e5
expose QgsField configuration flags in python bindings ( #54753 )
2023-09-27 14:00:25 +02:00
Alexander Bruy
8d52b54f33
address review
2023-09-25 14:14:41 +03:00
Alexander Bruy
0f93479e1c
support for raster calculator expressions in expression parameter
2023-09-25 14:14:41 +03:00
Julien Cabieces
7ef5717c7a
add deprecated instructions
2023-09-25 11:12:15 +02:00
Julien Cabieces
5315ae6cc5
make avoidIntersections return an enum
2023-09-25 08:42:03 +02:00
Alexander Bruy
f22efde645
add binary and boolean types to QgsFieldProxyModel to allow filtering
...
corresponding field types. Also expose these field types to Processing
field parameter (fix #53940 )
2023-09-22 09:40:28 +10:00
Blottiere Paul
c448e633ae
Update doc
2023-09-20 21:16:47 +02:00
Blottiere Paul
a95e6b23ca
sip
2023-09-19 17:17:47 +02:00
Sandro Mani
b308bceb83
Revert moving storageType to QgsDataProvider, reword style location labels in QgsMapLayerLoad/SaveStyleDialog
2023-09-18 14:16:02 +02:00
Sandro Mani
e2169be02f
Introduce Qgis::ProviderStyleStorageCapabilities
2023-09-18 14:16:02 +02:00
Sandro Mani
ee357346bb
Move isSaveAndLoadStyleToDatabaseSupported and isDeleteStyleFromDatabaseSupported to QgsDataProvider
2023-09-18 14:16:02 +02:00
Sandro Mani
0a1dd0a643
Move saveStyleToDatabase, listStylesInDatabase, getStyleFromDatabase, deleteStyleFromDatabase, loadNamedStyle to QgsMapLayer
2023-09-18 14:16:02 +02:00
Sandro Mani
1fb7e142c3
Rename QgsVectorLayerSaveStyleDialog to QgsMapLayerSaveStyleDialog and allow using it for non-vector layers
2023-09-18 14:16:01 +02:00
Alexander Bruy
81dbdd8bae
Merge pull request #53874 from alexbruy/processing-port-align-raster-tool
...
Port Align rasters tool to Processing
2023-09-14 16:29:49 +03:00
Alexander Bruy
623e459867
fix patching
2023-09-14 10:46:54 +03:00
Alexander Bruy
79ea6d9936
address review
2023-09-13 13:01:59 +03:00
Mathieu Pellerin
be91ea1909
[api][profiler] Add a function to export the current runtime profiler model content as text
2023-09-13 12:41:00 +07:00
Nyall Dawson
b70fe25051
Add method to manually insert an entry into the runtime profiler
...
Useful when we will be manually calculating runtime duration and
want to push this value to the runtime profiler
2023-09-12 19:30:24 +10:00
Nyall Dawson
0a752b7d13
Add opt in setting for map renders to enable render time profiling,
...
and enable for main canvas renders only
And explicitly disable for main canvas preview jobs too
2023-09-12 19:30:24 +10:00
Nyall Dawson
dce7bbdeb1
[api] Add opt-in setting to make QgsVectorFileWriter transfer
...
field constraints to the output file
This is opt in to avoid potentially breaking existing scripts/plugins.
2023-09-12 13:23:06 +10:00
Marco Hugentobler
8f8cfa949c
Added since QGIS 3.34 in comment
2023-09-12 11:35:23 +10:00
Marco Hugentobler
3fbfba3715
Possibility to apply default values for the processing gui from the settings
2023-09-12 11:35:23 +10:00
Yoann Quenach de Quivillic
a1e9692755
Handle grid frame in rect frame computation
2023-09-08 05:21:07 +10:00
Nyall Dawson
5fe84b0a55
[cesium] Add support for deprecated gltfUpAxis asset setting
...
Adds support for Z up gltf content
2023-09-07 09:09:24 +02:00
Yoann Quenach de Quivillic
05b79d7825
Fix groups with rotated item (still glitchy when resizing with mixed rotation though)
2023-09-06 13:07:11 +10:00
Jean Felder
d7bdfe000c
geometry: Remove duplicated 2d boundingbox logic
2023-09-02 12:38:44 +10:00
Jean Felder
cdc2abea90
qgsgeometry: Add support for 3D boundingbox
2023-09-02 12:38:44 +10:00
bdm-oslandia
40089e6230
qgsabstractgeometry: Add support for box3d intersection
2023-09-02 12:38:44 +10:00
bdm-oslandia
5774acf8d0
qgsabstractgeometry: Add boundingBox3D logic
...
With this change `QgsAbstractGeometry::calculateBoundingBox()` is now
computed from `QgsAbstractGeometry::calculateBoundingBox3D()`.
2023-09-02 12:38:44 +10:00
Harrissou Sant-anna
9f009a947e
Fix "Metadata Search" tab toolTip in Data source Manager
2023-09-01 10:07:50 +10:00
Mathieu Pellerin
34e247cbbd
Address review
2023-09-01 07:51:39 +10:00
Mathieu Pellerin
53b0763346
Add documentation, adjust tests
2023-09-01 07:51:39 +10:00