24583 Commits

Author SHA1 Message Date
qgis-bot
06502da4e5 auto sipify 🍺 2025-02-13 14:50:17 +00:00
Nyall Dawson
1328a2bb4b Add Python hash for QgsUnsetAttributeValue 2025-02-13 19:46:34 +10:00
qgis-bot
482fa624e4 auto sipify 🍺 2025-02-13 04:57:07 +00:00
Nyall Dawson
a48ec1012f Add methods to directly buffer/offset GEOS geometry in QgsGeos
These methods directly work with GEOS geometries and avoid the
forced conversions to/from QgsAbstractGeometry objects, and are
intended for use in chained operations where the intermediate conversions
are not required.
2025-02-13 14:54:20 +10:00
Nyall Dawson
8f4893d8b2 Move some useful utility methods to QgsSymbolLayerUtils 2025-02-13 14:54:20 +10:00
Nyall Dawson
60360f9b97 Add method to directly convert QgsAbstractGeometry to QPolygonF lists
This overload avoids creating a QgsGeometry if we only have a
QgsAbstractGeometry pointer object to convert
2025-02-13 14:54:20 +10:00
notguiltyspark
0cd5ccd42a Simplified authentication configuration step during adding plugin repository process via inserting authentication selector widget directly into repository-adding dialog 2025-02-13 11:11:12 +10:00
Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de
8054fd816f added test tp check truncation of WIDTh and HEIGHT float values
relates to #60533
2025-02-12 11:32:35 +01:00
pre-commit-ci[bot]
401f6d3844 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-12 11:32:35 +01:00
Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de
d4399cdc84 truncates double inputs to -ts WIDTH HEIGHT 2025-02-12 11:32:35 +01:00
Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de
d570f81db5 ensures that "gda:rasterize" uses integer numbers as input to -ts parameter
fixes #60524
2025-02-12 11:32:35 +01:00
Alexander Bruy
e5d1543a65
fix typo 2025-02-12 06:33:13 +00:00
Nyall Dawson
0180380076
[processing] Fix exception when algorithm has no output layers
Fixes regression caused by https://github.com/qgis/QGIS/pull/59850
2025-02-12 14:56:48 +10:00
qgis-bot
af393490eb auto sipify 🍺 2025-02-11 20:36:08 +00:00
Nyall Dawson
38be0a3d98 De-duplicate code, remove dead code 2025-02-12 06:33:14 +10:00
Nyall Dawson
e7e41e84f8 Add equality operators for QgsDataSourceUri, missing setters 2025-02-12 06:33:14 +10:00
Nyall Dawson
148ae1fb28 Add equality operator for QgsHttpHeaders 2025-02-12 06:33:14 +10:00
ughur-a
0b9bc85378
docs(qgsprocessingcontext): fix typo (#60541)
* docs(qgsprocessingcontext): fix typo

* Update .sip.in files

---------

Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2025-02-11 15:11:38 +01:00
qgis-bot
fedd040708 auto sipify 🍺 2025-02-10 23:27:24 +00:00
Nyall Dawson
2744627b4c Improve documentation 2025-02-11 09:24:35 +10:00
Nyall Dawson
c8198d865e Remove redundant providerType methods from raster, mesh layers
This exact same method is implemented in QgsMapLayer already
2025-02-11 09:24:35 +10:00
qgis-bot
ede8964249 auto sipify 🍺 2025-02-10 14:05:57 +00:00
Julien Cabieces
d58e5f24f4
Merge pull request #60139 from Djedouas/fix-exclude-end-temporal-range
Fix include/exclude in QgsRange
2025-02-10 15:02:56 +01:00
qgis-bot
37b7c62b34 auto sipify 🍺 2025-02-09 22:14:32 +00:00
Jacky Volpes
ae65d1be44 fix(qgsdaterange): consider infinite bounds in overlaps method
Infinite left or right date bound were not considered when computing
overlaps, leading to ranges being considered overlapping where they
don't.
2025-02-07 17:29:37 +01:00
qgis-bot
e38c80ef30 auto sipify 🍺 2025-02-07 06:20:39 +00:00
Nyall Dawson
83ad87fcda Documentation precision 2025-02-07 16:15:03 +10:00
Nyall Dawson
ea9ac1dde1 When changing master password, don't prompt for the existing
password if it is stored in the system password helper and
is valid
2025-02-07 16:15:03 +10:00
Nyall Dawson
f7702bc446 Add method to verify that password stored in password helper is valid 2025-02-07 16:15:03 +10:00
Nyall Dawson
038036d021 Use "auto" for std::unique_ptr<X> = std::make_unique<X>
Refs https://github.com/qgis/QGIS-Enhancement-Proposals/pull/319
2025-02-07 13:10:27 +10:00
qgis-bot
96b09f244d auto sipify 🍺 2025-02-07 02:28:08 +00:00
Julien Cabieces
c5dee65d0f fix(RuleBasedRendering): keep rule key while cloning when needed
rule key is used by other object as reference (masking for instance)

Fixes #46402
2025-02-07 12:25:19 +10:00
Hannes
b7bd622523 Fix QgsError.isEmpty() documentation
The method checks if there is an empty message list. It will actually return `TRUE` if there is *no* error message and `FALSE` if there *is* an error.
2025-02-07 12:24:59 +10:00
qgis-bot
a4ccbb07a8 auto sipify 🍺 2025-02-07 00:26:40 +00:00
Jean Felder
a46f3e9752 postprocessing: Use QgsLayerTreeRegistryBridge to add layers
When a profile tool is already opened, the output of a procssing is
not added to its layer tree. This is because it relies on a
`QgsLayerTreeRegistryBridge`. Indeed, `QgsLayerTreeRegistryBridge`
listens to the `QgsProject::legendLayersAdded()` signal in order to
update the elevation profile tree view. However this signal is not
triggered by the current logic in `Postprocessing.py`because
`QgsProject::addMaplayer` is called with `addToLegend` set to
False. Then, the layer is added to the tree by calling
`QgsLayerTreeGroup::insertChildNode`.

This issue is fixed by creating a
`QgsLayerTreeRegistryBridge::InsertionPoint` to set the insertion
point and then calling `QgsProject::addMaplayer` with `addToLegend`
set to True.
2025-02-07 10:22:53 +10:00
Jean Felder
bd4eb2f2cf qgslayertreeregistrybridge: Add a layerInsertionPoint getter 2025-02-07 10:22:53 +10:00
Alexander Bruy
6b4ffb39a8
Merge pull request #60480 from alexbruy/processing-script-editor-typos
add missed import and fix getThemeIcon() call (follow-up #60261)
2025-02-06 12:10:34 +00:00
Alexander Bruy
b6d1d7e8d6 add missed import and fix getThemeIcon() call (follow-up #60261) 2025-02-06 09:54:48 +00:00
qgis-bot
d4526d748f auto sipify 🍺 2025-02-06 09:24:44 +00:00
Loïc Bartoletti
79e4ccbe16 fix(QgsMapToolCapture): Allow snapping point with different crs 2025-02-06 19:21:50 +10:00
qgis-bot
32881f55aa auto sipify 🍺 2025-02-05 23:18:35 +00:00
Nyall Dawson
8a0bb7f0fa On systems with keychain support, automatically just create a random
master authentication password and store in keychain

This avoids the need for users to manually create a pw, and makes
things MUCH nicer for plugins which want to utilise the secure
authentication framework.

Right now the options for plugins are:
1. Create a auto generated password themselves and force it on
the user (basically what we are doing here automatically now)
2. Show a confusing/scary message to users asking them to set
a master password. From my experience users have NO idea what
this means and consider it a QGIS bug.
2025-02-06 09:15:43 +10:00
qgis-bot
e32f996094 auto sipify 🍺 2025-02-05 22:40:01 +00:00
Alexander Bruy
2fd017500b restore default scalebar style only if fill symbol is invisible 2025-02-06 08:37:09 +10:00
Alexander Bruy
1f7d1ad3d0 restore fill brush when switching back to single and double box scalebar
(fix #37413)
2025-02-06 08:37:09 +10:00
qgis-bot
33aad3ef38 auto sipify 🍺 2025-02-05 18:41:06 +00:00
Nyall Dawson
431bf62fae Cleanup memory management in paint effects
Don't use raw pointers, memory allocation
2025-02-06 04:38:13 +10:00
qgis-bot
aa8c16895d auto sipify 🍺 2025-02-05 15:16:47 +00:00
Alessandro Pasotti
e381be985b
Merge pull request #60441 from nyalldawson/auth_manager_ux_tweaks
Auth manager ux tweaks
2025-02-05 16:13:50 +01:00
Alexander Bruy
e7d22c7e7c always return "main" label for main annotation layer 2025-02-05 20:54:06 +10:00