16466 Commits

Author SHA1 Message Date
Thomas JANVIER
2c581737b6 TEST: Add PEP440 specific version comparison
This one was previously failling
2025-02-22 07:28:38 +10:00
pre-commit-ci[bot]
b37c4f8413 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-22 07:28:38 +10:00
Thomas JANVIER
82a87520ab BUG: Better support PEP440 style plugin versions 2025-02-22 07:28:38 +10:00
Thomas JANVIER
0add86b7fa TEST: Add version compare tests 2025-02-22 07:28:38 +10:00
uclaros
dc64593b19 update 2dm tests that had forced scientific notation 2025-02-22 06:52:54 +10:00
Nyall Dawson
39a1c7bea6 Fix resolving geometry types when invalid geometries present 2025-02-22 05:23:54 +10:00
Nyall Dawson
a363ed1862 Fix leak when directly iterating feature in PyQGIS
Fixes #32944
2025-02-22 05:23:15 +10:00
Nyall Dawson
a797cb5a8f Cleanup tests 2025-02-22 05:23:15 +10:00
Nyall Dawson
26c65500a3 Revert "Fix more tests"
This reverts commit a3b6a4c51d3953c7346a31f747d29436295720f3.
2025-02-21 12:07:01 +02:00
Nyall Dawson
a1daed2917 Revert "Don't loop forever in test waiting for sensible near plane"
This reverts commit 3579992a2755ffba0bd3c979de473b119a809bbc.
2025-02-21 12:07:01 +02:00
Nyall Dawson
8911a5b726 Move QgsLegendStyle::Style enum to Qgis, rename to LegendComponent 2025-02-20 13:08:54 +10:00
Nyall Dawson
b2f27a8529 [mssql] Fix empty extent handling 2025-02-20 13:08:42 +10:00
pre-commit-ci[bot]
17d535c90f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-20 09:48:28 +10:00
Maxim Rylov
f94732a7c2 HANA: Make regular expression for schemas more accurate 2025-02-20 09:48:28 +10:00
Jean Felder
3ee8614932 testqgspdalprovider: Add a simple text reader test 2025-02-19 14:07:10 +01:00
Nyall Dawson
068e986d6a Fix test 2025-02-19 12:05:10 +10:00
Nyall Dawson
87d8ac63f9 Add test for legend with data defined text format properties 2025-02-19 12:05:10 +10:00
Nyall Dawson
227db80139 Add tests for QgsLegendSettings, QgsLegendStyle 2025-02-19 12:05:10 +10:00
Alexander Bruy
427dd0e480
Merge pull request #60627 from nyalldawson/fix_stac_memory
[stac] Port more API to use unique_ptr
2025-02-18 07:35:01 +00:00
Jean Felder
be5b238f8c qgs3dmapsettings: Fix terrain generation on 3d view creation
When a new 3d is created
`Qgs3DMapSettings::configureTerrainFromProject` is called to configure
the terrain. This method calls `Qgs3DMapSettings::setTerrainSettings`
which sets the terrain settings and creates the terrain generator if
necessary. This generator is not updated if the settings have not
changed.

However, on a new 3d view, the terrain settings (`mTerrainSettings`)
have already been created with the default values and the
`QgsAbstractTerrainSettings` parameter of
`Qgs3DMapSettings::setTerrainSettings` also contains the default
settings. Therefore, this call does nothing and the terrain generator
is not created. This results in a 3d view which does not contain any
terrain.

This issue is fixed by also checking if the terrain generator has
already been created. If that's not the case, the terrain generator is
now created.

The flatTerrain test is updated to test this workflow.

Fixes: 8af23b10024be91a8e97a81832907393544a7fd5
2025-02-18 08:28:38 +10:00
Julien Cabieces
ffc248994b
Merge pull request #60629 from nyalldawson/fix_leaks
Lots of memory leak fixes
2025-02-17 15:42:35 +01:00
Nyall Dawson
0cfc44898c Another test 2025-02-17 17:57:54 +10:00
Nyall Dawson
7c30205bba Fix incorrect compilation of "field IN (...) or field NOT IN (...)"
Follow up https://github.com/qgis/QGIS/pull/59440
2025-02-17 17:57:54 +10:00
Nyall Dawson
baf2e5f742
Fix use after free warning when running test 2025-02-17 11:39:12 +10:00
Nyall Dawson
6c4f7dc723
[stac] Port more API to use unique_ptr
Fixes coverity scan memory leak warnings
2025-02-17 09:08:19 +10:00
Nyall Dawson
e278f36cdc Fix qt6 test run 2025-02-14 14:37:04 +10:00
Nyall Dawson
46b0436bbc Also fix render order for arrow line 2025-02-14 14:37:04 +10:00
Nyall Dawson
ed0bd43ee0 Also fix render order for filled line 2025-02-14 14:37:04 +10:00
Nyall Dawson
849063d4e5 Fix render order of symbol layers for filled marker subsymbol
If a filled marker had eg a centroid fill marker in the subsymbol,
this would always be rendered on top, regardless of the actual
defined order
2025-02-14 14:37:04 +10:00
David Koňařík
3579992a27 Don't loop forever in test waiting for sensible near plane 2025-02-14 13:36:07 +10:00
David Koňařík
a3b6a4c51d Fix more tests 2025-02-14 13:36:07 +10:00
Loïc Bartoletti
9b57acc209 test_qgscircle: remove printable part 2025-02-14 08:56:11 +10:00
Loïc Bartoletti
e637eb3df2 move SegmentCalculationMethod to qgis.h 2025-02-14 08:56:11 +10:00
Loïc Bartoletti
157383300c feat(QgsCircle): Add segment calculation methods 2025-02-14 08:56:11 +10:00
Alexander Bruy
2655f3125f update bearing and transform expression functions to accept either string
representing CRS authid or CRS object
2025-02-14 08:48:38 +10:00
Alexander Bruy
1aad0d7d9a rename functions 2025-02-14 08:48:38 +10:00
Alexander Bruy
7ac54358bb update tests 2025-02-14 08:48:38 +10:00
Alexander Bruy
6614a003e7 add expression functions to create CRS from string definition and to get
CRS authid (refs #58313)
2025-02-14 08:48:38 +10:00
uclaros
4b4cb2fbc5 Use unique_ptr when transferring ownership 2025-02-14 08:46:55 +10:00
Patrik Sylve
4b9e1d665e Handle polar CRS with NE axis order 2025-02-14 07:56:45 +10:00
Alexander Bruy
9e127a8358 update linedensity test 2025-02-14 07:36:43 +10:00
Alexander Bruy
bf2a6df16a round width and height to the nearest integer in native raster creation
Processing algorithms to match behaviour of gdal_rasterize (fix #43547)
2025-02-14 07:36:43 +10:00
Nyall Dawson
e7457be370 Override test to handle different source table definition
This provider check has non-standard default values set for the source table
2025-02-13 19:46:34 +10:00
Nyall Dawson
28152b4c24 Remove dead code 2025-02-13 19:46:34 +10:00
Nyall Dawson
18e7e287ef [pyprovider] Ignore unset attributes when changing attribute values 2025-02-13 19:46:34 +10:00
Nyall Dawson
984d75c3ff Add provider conformance tests for adding/editing features with unset attribute values 2025-02-13 19:46:34 +10:00
Nyall Dawson
cc327f8503 Unset attribute values are always compatible with all field types
Refs #38913
2025-02-13 19:46:34 +10:00
Julien Cabieces
7fd1c662eb fix(Snapping): Remove and delete locator when layer is destroyed
Fixes #59530
2025-02-13 06:30:02 +01:00
Nicolas Godet
f9365c2658 fix 2025-02-13 06:29:09 +01:00
Nicolas Godet
28a01d6460 fix compil 2025-02-13 06:29:09 +01:00