22697 Commits

Author SHA1 Message Date
Nyall Dawson
e1d08faf63 Don't condense profile results from duplicate layers with the same
name into one entry in the renderer profile chart
2023-10-24 11:16:43 +10:00
Nyall Dawson
a1f9039f12 Fix invalid escape sequences in docstrings for enums with since
annotation
2023-10-24 06:44:46 +10:00
Julien Cabieces
e55de9082c make userData a property so it calls getUserData to avoid crash 2023-10-23 17:03:42 +02:00
Nyall Dawson
1d1b7c99a7 Remove custom FALLTHROUGH define
We don't need this anymore since we require c++17 anyway, and
it raises build warnings due to macro redefinition with newer GRASS
2023-10-23 16:58:17 +10:00
Sandro Mani
9b095c5605 Revert "Revert "Allowing storing GPGK raster layer styles to DB""
This reverts commit 9d8a72256893bd31a51d85927e9abd9cdb5eed29.
2023-10-23 13:47:40 +10:00
Sandro Santilli
f42699979c Drop the temporary QgsRectangle::createNull static, not more needed 2023-10-23 10:07:42 +10:00
bdm-oslandia
2d64df22a4 fix(python/CMakeLists.txt): be sure we only use std 14 for python (not std 17) 2023-10-22 10:53:43 +10:00
Sandro Santilli
1df4c52321 Add a QgsRectangle::createNull() temporary static method 2023-10-21 16:07:32 +13:00
Alexander Bruy
fc3e3953a9 unload active plugin before updating or reinstalling it (fix #54968) 2023-10-21 10:58:45 +13:00
Sandro Santilli
94ef53286b Rename QgsBox3d::setMinimal() to setNull()
The method was introduced in this version so it should be ok to
rename with no formal deprecation notice
2023-10-20 07:03:55 +13:00
Sandro Santilli
0ec5f0debb Add QgsRectangle::setNull(), deprecating setMinimal() 2023-10-20 07:03:55 +13:00
Nyall Dawson
7e73b9bad0 Ensure we correctly set qt item caching only when appropriate 2023-10-19 17:30:10 +13:00
Nyall Dawson
cb187267ce Deprecate QgsLayoutEffect
QGraphicsEffects should NOT be used on QGraphicsItems. Despite
being part of stable Qt API, it is broken and results in crashes.

See https://bugreports.qt.io/browse/QTBUG-58501 for details.
2023-10-19 17:30:10 +13:00
Nicklas Larsson
021f919f24
cmake: update to find PDAL 2.6+
With PDAL 2.6 the 'pdal_util' library is removed as a separate library
and hence part of the 'pdalcpp' library.
2023-10-17 19:41:44 +02:00
Mathieu Pellerin
0e6b4fb118 [layouts] Fix line height setting not respected for HTML-enabled label items 2023-10-17 15:55:13 +13:00
Sandro Santilli
c99a33d224 Add QgsArcGisRestUtils::convertRectangle
See
https://github.com/qgis/QGIS/pull/54944#pullrequestreview-1680737873
2023-10-17 00:18:30 +02:00
Sandro Santilli
99d0f8a015 Make QgsBookmark string output more explicit about it being EMPTY 2023-10-16 10:52:59 +02:00
Alexander Bruy
edaa3dda96 update vector menu links to processing algorithms (fix #54937) 2023-10-16 05:04:34 +10:00
Juergen E. Fischer
3dac2dc95c put test_data_dir.py into build directory (don't use install directory
prior to install)
2023-10-15 15:56:31 +02:00
Nyall Dawson
82918f9063 Generate a markdown summary of test failures along with existing
HTML report
2023-10-12 08:31:53 +10:00
Denis Rouzaud
c76b86e26b
move enum QgsMapLayerProxyModel::Filter to Qgis (#54891) 2023-10-11 13:57:01 +02:00
Nyall Dawson
3b85d07f08 Fix flake 2023-10-11 11:36:40 +10:00
Nyall Dawson
df1dc0dba2 Fix elevation profile item transparency forces rasterisation of
whole layout, expand unit test coverage
2023-10-11 11:36:40 +10:00
Nyall Dawson
3588d41786 Fix legend item with opacity forces whole layout to rasterize
and expand test coverage of blend modes and opacity with
legend items
2023-10-11 11:36:40 +10:00
Nyall Dawson
d3d1dfde36 Write test report header when run from Python 2023-10-11 11:36:40 +10:00
Nyall Dawson
bc960c5ffa Make TEST_DATA_DIR accessible from python tests 2023-10-11 11:36:40 +10:00
Alexander Bruy
a0fc443b5b add test files 2023-10-09 12:14:20 +02:00
Alexander Bruy
e3023455ca use run() to execute nested algorithms
move step calculation to prepareAlgorithm to avoid crash
disable tests for native implementation
2023-10-09 12:14:20 +02:00
Alexander Bruy
a4e473392c concave hull tests based on geos version 2023-10-09 12:14:20 +02:00
Alexander Bruy
17426302ff address review 2023-10-09 12:14:20 +02:00
Alexander Bruy
d18190ce4f make cppcheck happy 2023-10-09 12:14:20 +02:00
Alexander Bruy
514e8b5b24 use geos to calculate concave hull on systems with geos >=3.11.0 2023-10-09 12:14:20 +02:00
Alexander Bruy
5ad4119b19 another attempt to fix test 2023-10-09 12:14:20 +02:00
Alexander Bruy
5097992445 try to fix tests 2023-10-09 12:14:20 +02:00
Alexander Bruy
61b69179af [processing] port concave hull algorithm to C++ 2023-10-09 12:14:20 +02:00
Alexander Bruy
451d1ba5ce [processing] port delaunay triangulation algorithm to C++ 2023-10-09 12:14:20 +02:00
Alexander Bruy
d8243141cc [processing] port voronoi polygons algorithm to C++ 2023-10-09 12:14:20 +02:00
Alessandro Pasotti
9c1201266f
Merge pull request #54687 from elpaso/bugfix-gh54501-cad-floater-regression
CAD fix regression with units
2023-10-09 08:55:38 +02:00
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
Sandro Santilli
bcf83c17b6 Do not pass -projwin to gdal_translate when given rectangle is Null
Update testcase accordingly
2023-10-08 22:40:25 +02:00
Alessandro Pasotti
9695f1f808 Revert "BROWSER add optional button box to dock widget"
This reverts commit 5a2cf2968ded40e53246553ae122d96d37f77a26.
2023-10-06 16:08:23 +10:00
Alessandro Pasotti
3ecf3d5f61 BROWSER add optional button box to dock widget
The button box holds Close and Help buttons
and it is hidden by default. Signals are
forwarded.

Fix #54171
2023-10-06 16:08:23 +10:00
Nyall Dawson
b552c155a8 Use base class render check methods in more tests, avoids
tests which pollute test failure report with unnecessary noise
2023-10-06 16:00:31 +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
33bb769b91 Cleanup Execute SQL geometry type handling
And fix exception when "no geometry" type is selected

Fixes #54833
2023-10-05 14:54:41 +10:00
Nyall Dawson
7b93febd79 Geometry type should not be optional in Execute SQL algorithm
Instead it should just default to Autodetect

Given how the algorithm uses this parameter this change does not
result in any difference to scripts/etc running this tool, as
before/after this change the algorithm will use Autodetect mode
when the parameter isn't specified explicitly.

This just avoids the confusing situation where both "Not specified"
and "Autodetect" were exposed as options for the geometry type
parameter in the UI, with both having the same result.
2023-10-05 14:54:41 +10:00
Nyall Dawson
0a11e3da2c Fix strings 2023-10-05 14:54:41 +10: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