Alexander Bruy
c0b435994e
use enum class instead of plain enum and add test to ensure comparison
...
with int works
2025-04-10 14:11:19 +10:00
Alexander Bruy
a584e533d9
use enum for return value instead of plain int in the QgsNineCellFilter
2025-04-10 14:11:19 +10:00
qgis-bot
a0d434f89d
auto sipify 🍺
2025-04-03 01:24:23 +00:00
Alexander Bruy
3bff624ee9
harmonize method names with the terms used by GDAL documentation
2025-04-03 11:21:25 +10:00
Alexander Bruy
0fbaca4ce1
add support for raster creation options to QgsNineCellFilter
2025-04-03 11:21:25 +10:00
Nyall Dawson
9435a84ff7
sipify
2025-04-03 01:05:31 +10:00
Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
qgis-bot
62f234f8e5
auto sipify 🍺
2025-03-31 23:46:52 +00:00
Nyall Dawson
4a10066b69
Fix grammar errors in class docstrings
2025-04-01 09:44:00 +10:00
Nyall Dawson
afd2e4f42d
Fix doxygen class briefs which aren't full sentences
2025-04-01 09:44:00 +10:00
qgis-bot
427e5f38ac
auto sipify 🍺
2025-03-30 10:50:58 +00:00
Nyall Dawson
6d122f0038
Sipify
2025-03-30 20:48:07 +10:00
Nyall Dawson
ac71664a83
Fix multiparagraphs in initial class docstrings
2025-03-30 20:48:07 +10:00
Nyall Dawson
29050007d7
Fix class documentation which starts with "this is..."/"a class..." etc
2025-03-30 20:48:07 +10:00
Nyall Dawson
602ef6c691
Don't start class briefs with "This class contains settings..."
...
It's unncessarily verbose, use just "Contains settings..." instead.
2025-03-30 20:48:07 +10:00
Nyall Dawson
b81e0d83f6
Fix non-compliant class brief documentation
2025-03-30 20:48:07 +10:00
Nyall Dawson
7b56629478
Sipify
2025-03-27 14:00:26 +10:00
qgis-bot
1129d7014d
auto sipify 🍺
2025-03-26 08:50:36 +00:00
Alexander Bruy
1bf122fdee
add support for user-defined NODATA value to raster calculator
2025-03-20 14:26:07 +00:00
Alexander Bruy
687e4e673a
add support for raster creation options to raster calculator ( fix #39082 )
2025-03-20 14:22:15 +00:00
qgis-bot
d1e91d5482
auto sipify 🍺
2025-03-13 23:39:11 +00:00
Alexander Bruy
1a3f0fa2d2
add support for user-defined nodata value to QgsGridFileWriter
2025-03-14 09:36:18 +10:00
Alexander Bruy
a54654da92
add create options support to QgsGridFileWirter (follow-up 2aa6c5d)
2025-03-14 09:36:18 +10:00
qgis-bot
cf1a7b9037
auto sipify 🍺
2025-01-28 02:51:03 +00:00
Mathieu Pellerin
df1bc9c5fa
[python] Fix named argument binding issue with the QgsRasterCalculator constructor
2025-01-28 12:48:08 +10:00
Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01:00
qgis-bot
2c266b98f5
auto sipify 🍺
2024-12-05 12:23:03 +00:00
Denis Rouzaud
76f702e48a
sipify
2024-12-05 13:19:50 +01:00
qgis-bot
eb1ce83af1
auto sipify 🍺
2024-12-03 07:47:10 +00:00
qgis-bot
192e107577
auto sipify 🍺
2024-11-28 14:24:33 +00:00
Jacky Volpes
bd49d6cf41
fix(featurepool): cache management - fixes #58113
...
Geometry checker cache does not work properly with memory layers.
refreshCache now handles a list of updated features to be thread-safe.
Also, fixes a locker mode, and correctly remove features from spatial
index.
2024-11-28 15:21:21 +01:00
Nyall Dawson
fe78267c66
'throw' is not used/required on sip >=6
...
And generates hundreds of deprecation warnings during build
2024-11-04 15:13:37 +10:00
Nyall Dawson
967388df86
Fix cppcheck 'function can be const' warnings
2024-10-15 15:00:05 +10:00
qgis-bot
774399c3ea
auto sipify 🍺
2024-09-12 07:21:24 +00:00
Alessandro Pasotti
987c38eda6
[auth][api] QgsAuthConfigurationStorage classes and tests ( #57992 )
...
Implementation of QEP
Authentication System: allow Database storage for authentication DB
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/248
2024-09-12 09:18:15 +02:00
Nyall Dawson
059a37f87d
Fix struct attributes descriptions missing from PyQGIS docs ( #58672 )
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/177
2024-09-12 07:12:52 +02:00
Nyall Dawson
391b61544e
Handle SIP_OUT with void functions
2024-09-10 11:46:47 +10:00
Nyall Dawson
b39f760cbc
Correctly handle multiline SIP_OUT param documentation
2024-09-10 11:11:25 +10:00
Nyall Dawson
f21722a0f1
[sipify] Minor cleanup to auto additions
...
Condense injections into a single block instead of multiple
separate blocks
2024-09-09 16:56:29 +10:00
Nyall Dawson
ef0289f3ec
Fix formatting of Python ..deprecated annotations in docstrings
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
765cbb32db
Standardise some deprecated annotations
2024-09-02 11:42:12 +10:00
Nyall Dawson
2af54ad057
Fix malformed python docstrings when enum value has \since annotation
2024-09-01 02:29:17 +10:00
Nyall Dawson
bc52832b47
Lazily hack around markdown title underline not being long enough
...
Causes a bunch of warnings when building the PyQGIS docs
2024-08-28 11:58:21 +10:00
Nyall Dawson
c797b83f6b
Don't leak Qgis into gui, analysis modules
2024-08-19 11:16:01 +02:00
Nyall Dawson
3f481b568e
Record header subfolders as __group__ attribute in PyQGIS classes
...
This will allow us to logically create subgroups for PyQGIS modules
in the API reference guide
2024-08-17 20:13:12 +10:00
Nyall Dawson
989e62a80f
Handle docstrings for c++ structs
...
sip doesn't support the docstring directive for structs (only classes),
so patch these back in via sipify magic
2024-08-16 07:28:29 +10:00
Nyall Dawson
c23e35bb08
calculateStatistics is not unambiguously static
2024-08-14 22:08:41 +10:00
Nyall Dawson
1f27fc627a
[pyqgis] Wrap unambiguously static methods in staticmethod
...
sip doesn't use the standard Python staticmethod type for defining
static methods, which means that standard means of testing
for a static method (like `isinstance(..., staticmethod)`) fail
with any PyQGIS static methods.
This causes issues with lint tools, which incorrectly flag
calls to QGIS static methods as missing self arguments. It also
breaks detection of static methods in the sphinx PyQGIS docs,
so all static methods are shown as non-static.
Work around this in sipify, by wrapping unambiguously static
methods in staticmethod wrappers.
2024-08-14 22:08:41 +10:00
Nyall Dawson
dc68f03f88
Be tolerant against optional sip modules
2024-08-14 13:05:46 +10:00
Nyall Dawson
ed19d996b2
Collect attribute docstrings for PyQGIS documentation
2024-08-14 13:05:46 +10:00