1711 Commits

Author SHA1 Message Date
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
Juho Ervasti
b0a12f78aa Add new Field Domain merge policy 2025-02-12 17:06:13 +02:00
Juho Ervasti
d03746bd9f Add merge policy as a member in QgsField 2025-02-12 17:02:12 +02:00
qgis-bot
af393490eb auto sipify 🍺 2025-02-11 20:36:08 +00: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
bd4eb2f2cf qgslayertreeregistrybridge: Add a layerInsertionPoint getter 2025-02-07 10:22:53 +10: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
qgis-bot
6b3d6c843f auto sipify 🍺 2025-02-05 08:46:22 +00:00
Nyall Dawson
f705bad517 [sensorthings] Hide proxy fields for interval fields in filter builder
These don't exist on the backend, so just hide them from the builder
dialog to avoid user confusion.

(Note that it's impossible to show the actual non-proxy fields
here, as we can ONLY show fields with types compatible with native
QGIS field types in this dialog)

Fixes #59528
2025-02-05 18:43:13 +10:00
qgis-bot
e021958e99 auto sipify 🍺 2025-02-05 04:47:39 +00:00
Nyall Dawson
20972fceed More fixes for use of inline data for SVG content
Followup https://github.com/qgis/QGIS/pull/59589

Fixes #60427
2025-02-05 14:44:50 +10:00
qgis-bot
b676079373 auto sipify 🍺 2025-02-05 04:21:13 +00:00
Nyall Dawson
d26104f31f Fix potential crashes when layer tree insertion target group is deleted 2025-02-05 14:18:25 +10:00
qgis-bot
997a59109c auto sipify 🍺 2025-02-04 23:51:06 +00:00
Julien Cabieces
ed11cc6951 design(MaskSymbolLayer): add clearMasks only in mask symbol layer 2025-02-05 09:48:12 +10:00
Julien Cabieces
87ffd09aff fix(CategorizedRenderer): reset mask information on source symbol
Both symbol layer ids and masks need to be removed from symbol
layers which can be inherited from a converted renderer
2025-02-05 09:48:12 +10:00
Nyall Dawson
cbee8326ca
Can't use SIP_DEPRECATED with non-methods 2025-02-05 09:11:18 +10:00
Nyall Dawson
db7b9afb6b
Use translated string for password helper
And fix capitalisation of strings
2025-02-05 08:26:32 +10:00
qgis-bot
638e6a9011 auto sipify 🍺 2025-02-04 20:17:58 +00:00