90251 Commits

Author SHA1 Message Date
Juergen E. Fischer
01c9c27d45 release.pl: fail if transifex doesn't deliver an existing translation 2025-02-21 09:49:12 +10:00
Juergen E. Fischer
1deb1daf03 fix reporting of postgres version 2025-02-20 12:04:14 +01:00
Nyall Dawson
13082eb50d Handle spilhaus projection on proj 9.6 2025-02-20 19:09:11 +10:00
Juergen E. Fischer
055e0c9cd2 fix msvc build after untwine update 2025-02-20 09:31:39 +01:00
qgis-bot
9b2870b8c7 auto sipify 🍺 2025-02-20 08:21:16 +00:00
Julien Cabieces
a96ea4a104
Merge pull request #60674 from nyalldawson/gdal-release-name
Show GDAL release nickname in about screen
2025-02-20 09:18:23 +01:00
Julien Cabieces
31c4399650
Merge pull request #60663 from hxbb00/fix-csv-file-not-release-after-close-ds-dialog
fix: Data Source Manager doesn't release CSV file after closing dialog
2025-02-20 08:55:45 +01:00
qgis-bot
a51f4f6a35 auto sipify 🍺 2025-02-20 03:11:43 +00: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
hxbb00
6c979ccb3e apply Review 2025-02-20 10:05:12 +08:00
pre-commit-ci[bot]
490b3cda54 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-20 11:44:52 +10:00
Nyall Dawson
8336118927 Update src/app/qgscustomization.cpp 2025-02-20 11:44:52 +10:00
Alexander Bruy
e9ff3ed22b reset customization state when dialog is cancelled 2025-02-20 11:44:52 +10:00
Alexander Bruy
6f6cfc8df2 save and restore original widget stylesheet 2025-02-20 11:44:52 +10:00
Alexander Bruy
1a1c7f1e2a safer approach to track selected widgets 2025-02-20 11:44:52 +10:00
Alexander Bruy
17a27a0887 clear highlight from selected widgets when cancelling customization
dialog (fix #23199)
2025-02-20 11:44:52 +10:00
Nyall Dawson
3c210ff430
Show GDAL release nickname in about screen on GDAL >= 3.11 2025-02-20 09:54:15 +10:00
Nyall Dawson
4f2bbe407a
Fix compilation on GDAL 3.11 2025-02-20 09:54:05 +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
qgis-bot
3a32e3e767 auto sipify 🍺 2025-02-19 22:47:39 +00:00
Alexander Bruy
3d44213606 do not enable default Duplicate Feature and Digitize action for geometryless layers (refs #57916) 2025-02-20 08:44:48 +10:00
Loïc Bartoletti
f08eda1fcc chore(optimization): Tiny optimization with pre-computed cos/sin from angle for QgsEllipse
Some benchmarks here:
https://github.com/lbartoletti/lbartoletti.github.io/tree/master/archives/qgis/ellipse_benchmark
2025-02-19 14:08:11 +01:00
Jean Felder
3ee8614932 testqgspdalprovider: Add a simple text reader test 2025-02-19 14:07:10 +01:00
Jean Felder
ac21a8d3a7 clang-tidy: Ignore the external directory
The external directory contains code for external librairies. It
should not be inspected by clang-tidy.

The regex syntax does not allow to directly ignore a directory. Solve
this issue by adding a `clang-tidy` config file in the external
directory which disables all the checks.

See:
https://stackoverflow.com/questions/74349432/clang-tidy-exclude-specific-dir-from-analysis
See:
https://stackoverflow.com/questions/58338202/cmake-clang-tidy-disable-checking-in-directory
See: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/777/diffs
2025-02-19 11:24:56 +01:00
uclaros
f028ef116d update cmakelists for new files 2025-02-19 12:11:54 +02:00
uclaros
2406827601 update untwine update script 2025-02-19 12:11:54 +02:00
uclaros
c2505ace60 Update untwine to 1.5.0 2025-02-19 12:11:54 +02:00
Julien Cabieces
04b0ec5576
Merge pull request #60659 from ptitjano/fix-clang-tidy-ci
Fix clang-tidy ci
2025-02-19 09:43:38 +01:00
Alessandro Pasotti
6f1dde3e0f
Merge pull request #60646 from elpaso/bugfix-gh_53149-qgsdatetimeedit-paste
Fix QgsDateTimeEdit paste when fully selected
2025-02-19 09:10:52 +01:00
Alexander Bruy
fe8a537253
Merge pull request #60614 from nyalldawson/sync_rtree
Resync rtree library with upstream
2025-02-19 07:19:56 +00:00
hxbb00
10413ee046 fix: Data Source Manager doesn't release CSV file after closing dialog 2025-02-19 12:31:52 +08:00
qgis-bot
6e46c78421 auto sipify 🍺 2025-02-19 02:08:09 +00: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
Nyall Dawson
2ffb8c00db Fix data-defined overrides ignored in legend text format
Fixes #60628
2025-02-19 12:05:10 +10:00
Mathieu Pellerin
b743393df6
[georeferencer] Implement click-move-click & snapping behavior for the georeferencer's move GCP point tool (#60563) 2025-02-19 07:47:41 +07:00
Jean Felder
f9e2fd71c1
docker-qgis-clangtidy: Remove unecessary clang-tidy-diff script download
This script is already part of the of the `clang-tidy-15` package
2025-02-18 16:20:37 +01:00
Jean Felder
ce8cd3d551
docker-qgis-clangtidy: Downgrade clang-tidy version to match ubuntu 24.04
At the moment the clang-tidy CI fails on each file with the following
message:

```
error: PCH file uses an older PCH format that is no longer supported
[clang-diagnostic-error]
```

This is because clang-tidy version 18 is used while QGIS
compilation is achieved with clang 15. Indeed, QGIS is built with
clazy support which relies on clang 15.

This issue is fixed by using clang version 15 instead of version 18 in
`docker-qgis-clangtidy.sh`.
2025-02-18 16:20:35 +01:00
Stefanos Natsis
64d82d4c16
Handle when /collections endpoint returns paginated results (#60435)
* Handle when /collections endpoint returns paginated results

Servers usually return all collections in a single page.
If the results are paginated, get the 5 first pages, just in case the total number of pages is huge.
If 5 pages are still not enough, more will be fetched when scrolling the Collections list view.

* Reset collections page counter when connecting
2025-02-18 09:53:57 +01: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
Alessandro Pasotti
9d85a3b2a0 Fix selection length 2025-02-18 08:28:21 +01:00
Nyall Dawson
d4e8cfd64c Fix leaks in layer definition loading code 2025-02-18 07:40:11 +01:00
Alexander Bruy
f985b52559
Merge pull request #60653 from nyalldawson/fix_60622
Catch transform errors in QgsWFSProvider::getCapabilities
2025-02-18 06:36:44 +00:00
Nyall Dawson
642ac618a7
Catch transform errors in QgsWFSProvider::getCapabilities
Fixes #60622
2025-02-18 11:50:55 +10:00
Alexander Bruy
358408d098 do not show Edit, Duplicate and Refresh context menu items when multiple
connection items are selected in the Browser dock (fix #31928)
2025-02-18 08:32:50 +10: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
Alessandro Pasotti
12c337301d Fix QgsDateTimeEdit paste when fully selected
Fix #53149
...and possibly #60625

The issue is deep into QT internals: the abstract spinbox
has a line edit wich holds the different datetime components
divided into "Sections", when the user selects all (e.g. with
CTRL+A) and then pastes a datetime string from the clipboard,
it may get pasted in the wrong position (i.e. not at the beginning
of the selection) because the internal position of the cursor
wasn't updated).

I tried hard to write a test (even tried QTest::click* and events
but I couldn't find a way to reproduce the issue programmatically
using the QT public API).
2025-02-17 17:07:26 +01:00