Denis Rouzaud
5b60c23a49
discard non-sipified directories in prepare_commit and verify_indent
2024-11-30 15:07:24 +01:00
Denis Rouzaud
79812e01ac
add clang format
2024-11-30 15:07:24 +01:00
Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01:00
Denis Rouzaud
77ba6af96b
remove python files from verify indent
2024-11-29 15:38:02 +01:00
Denis Rouzaud
8083a6dae7
remove python files from prepare_commit
2024-11-29 15:38:02 +01:00
Denis Rouzaud
3ddf3917f6
follow-up
2024-11-18 15:38:52 +01:00
Denis Rouzaud
8a453a7bb5
fix nested enums
2024-11-18 15:22:24 +01:00
Denis Rouzaud
a135e21727
[sipify] allow namespace/class spec in static const declarations
2024-11-18 10:00:48 +01:00
Nyall Dawson
487ade952d
Use gdal_minmax_element.hpp for optimised min/max element retrieval
2024-11-05 11:07:54 +11: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
Matthias Kuhn
8c5210c9de
flake
2024-10-26 07:41:33 +02:00
Matthias Kuhn
06000b2acc
Add includemocs.py
...
See https://github.com/KDABLabs/KDToolBox/tree/master/qt/includemocs
https://planet.kde.org/friedrich-kossebau-2023-06-28-include-also-moc-files-of-headers/
2024-10-26 07:34:43 +02:00
Nyall Dawson
8e6ffb16bc
Add QgsSetRequestInitiatorClass macro to cppcheck
2024-10-22 12:00:23 +10:00
Mathieu Pellerin
004ed6102b
[fonts] Fix download of fonts from google repository by encoding [ and ]
2024-10-21 13:43:26 +10:00
Nyall Dawson
a6ccf6e6a7
Define macros for cppcheck
2024-10-15 15:00:05 +10:00
Denis Rouzaud
ca3b40cb8c
Merge pull request #58568 from gacarrillor/stacked_diagrams
...
[feature] Introduce stacked diagrams
2024-09-27 07:54:49 +02:00
Julien Cabieces
a6f34a37bc
fix(pyqt5To6): Avoid endless recursion because of baseClass ( #58785 )
...
baseClass is an attribute added by sipify script
Fixes #58659
2024-09-18 12:35:39 +02:00
Germán Carrillo
614ce76156
[gui] Introduce StackedDiagramProperties and use it as dialog and as vector properties page. For the moment, it works with single diagrams, hiding controls for stacked diagrams
2024-09-17 23:56:22 -05:00
Germán Carrillo
75483703cf
Introduce QgsStackedDiagram to create compound diagrams like population pyramids. Use Stacked as internal name for stacked diagrams and StackedBar for stacked bar diagrams. Add subDiagram parameter to QgsDiagramRenderer::diagramSize() and QgsDiagramRenderer::diagramSettings() (single and interpolated) to get subdiagrams info.
2024-09-17 23:55:33 -05: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
Raymond Nijssen
6ac0baf7b1
Add translator Razan Elnour
2024-09-11 18:38:44 +00: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
cfd251e7f7
Capture signal arguments
2024-09-08 16:06:22 +10:00
Nyall Dawson
cbb741fb35
Use correct subheader underline
2024-09-04 13:54:39 +10:00
Nyall Dawson
af6919a36c
Lint
2024-09-04 13:54:39 +10:00
Nyall Dawson
2e60236344
Fix list in return value
2024-09-04 13:54:39 +10:00
Nyall Dawson
94f6e9c71b
Correctly handle \param[in,out] in sipify
2024-09-04 13:54:39 +10:00
Nyall Dawson
e1a1b064b2
Fix multiline return with SIP_OUT
2024-09-04 13:54:39 +10:00
Nyall Dawson
1a8a072aac
Fix up \param formatting
2024-09-04 13:54:39 +10:00
Nyall Dawson
f2e4c3dfb7
Don't mangle http see links in PyQGIS docs
2024-09-04 06:32:03 +10:00
Nyall Dawson
534ca73c59
Fix missing see also trailing notes in PyQGIS documentation
2024-09-04 06:32:03 +10:00
Nyall Dawson
50408edac6
Fix PyQGIS docstrings for monkey patched enum values
...
We should be using the new name for the enum value instead
of the old one in the enum class docstring.
Move the old compatible name to an extra note
"Available as ``xx.yy`` in older QGIS releases."
Fixes #49171
2024-09-02 11:43:23 +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
081c258e12
Require version number for \deprecated annotations
2024-09-02 11:42:12 +10:00
Nyall Dawson
d070534729
Add "3.40" as version for all \deprecated annotations without version
...
Since we didn't capture the actual version information at the
time of deprecating these, it's basically impossible to retrieve
that information now. Use the most conservative version possible
and tag all these with version 3.40 instead.
2024-09-02 11:42:12 +10:00
Nyall Dawson
3fda72f7d7
Standardise some deprecated annotations
2024-09-02 11:42:12 +10:00
Nyall Dawson
4febad6f0c
Standardise some deprecated annotations
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
343709f48a
Always use correct \since annotation for enum values
2024-09-01 02:29:17 +10:00
Nyall Dawson
d318cdb992
Standardise some since annotations
2024-09-01 02:29:17 +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
ef00e77537
[sipify] Die if copydoc is used in exposed method documentation
...
Sipify cannot handle this
Refs #54429
2024-08-30 10:07:04 +10:00
Nyall Dawson
a540dceae2
Move doxygen processing logic from unify_includes to doxygen_space
2024-08-30 05:47:31 +10:00
Nyall Dawson
cd60bb8f2d
Port doxygen_space to python
2024-08-30 05:47:31 +10:00
Nyall Dawson
e38d577980
Catch raw bold/italic tags in docs
2024-08-30 05:47:07 +10:00
Nyall Dawson
482311b668
Don't use raw html lists in documentation
2024-08-30 05:47:07 +10:00
Nyall Dawson
a44d7419a5
No dl
2024-08-30 05:47:07 +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