Nyall Dawson
3108241be9
Remove unused support for reading spell check files from pipe input
...
This is breaking the github workflow, and isn't used anywhere
2025-09-25 15:00:27 +10:00
Juergen E. Fischer
953927c9b7
debian packaging: remove jammy, kinetic, lunar, mantic, oracular and add questing
2025-09-15 08:58:03 +10:00
Nyall Dawson
c8514eb2fb
Fix build
2025-09-01 15:38:46 +10:00
Nyall Dawson
653871b8f5
Make sipify responsible for QList<enum> conversion code insertion
2025-09-01 15:38:46 +10:00
viperminiq
186aa8a16c
fix sipify_all fail on whitespace in path
2025-07-28 10:47:16 +10:00
Juergen E. Fischer
33fc476d89
* replace external qwtpolar with qwt 6.3
...
* require qwt >=6.2 (and fallback to internal 6.3 if system's qwt doesn't suffice)
* debian doesn't have qwt for Qt6 and won't have it for trixie
2025-07-23 07:11:51 +10:00
github-actions[bot]
9bcebe0b46
auto-fix pre-commit issues
2025-07-14 12:13:08 +12:00
David Koňařík
83206343c3
Fix unreachable code in Sipify
2025-07-14 12:13:08 +12:00
David Koňařík
8d974676bd
Delete old Perl sipify and now-unused config
2025-07-14 12:13:08 +12:00
David Koňařík
c4d53d494c
Clean up sipify.py, split code into functions
2025-07-14 12:13:08 +12:00
Nyall Dawson
5599b62bdd
Fix cppcheck
2025-07-10 22:24:56 +12:00
Nyall Dawson
6417adf60e
Fix Python docstring for dijkstra method
...
Fixes #56172
2025-07-10 22:24:56 +12:00
Matthias Kuhn
b1ce2329a4
Merge pull request #60039 from qgis/macdmg
...
🍎 Mac Qt6 .dmg
2025-06-25 07:08:36 +02:00
Juergen E. Fischer
b0d46a6964
release.pl: follow changelog redirection
2025-06-20 14:03:30 +02:00
Matthias Kuhn
a47e33373e
Ignore spellcheck
2025-06-05 13:51:12 +02:00
Nyall Dawson
206cd12297
Fix build
2025-06-05 09:24:52 +10:00
Nyall Dawson
6a89e6c188
[sipify] Never try to expose Ui:: classes to sip
...
Fixes #61951
2025-06-05 09:24:52 +10:00
Nyall Dawson
9864ead875
Don't try to translate empty strings
...
(ie avoid tr( )
Refs #61956
2025-06-04 05:31:15 +10:00
Nyall Dawson
7906258d01
Don't build a giant lambda for function help initialization
...
Likely cause of QgsExpression::initFunctionHelp crashes on Windows
builds
Refs #61956
Refs #62009
Refs #59003
Refs #61910
Refs #61644
Refs #60434
Refs #61452
Refs #60922
Refs #60429
2025-05-30 11:12:31 +10:00
Valentin Buira
2f98e95757
Add get_latest_qgis_version.py script
2025-05-30 09:07:32 +10:00
Nyall Dawson
1896cf2247
[sipify] Better cleanup of method state
2025-05-04 07:42:31 +10:00
Nyall Dawson
12fe733a2b
[sipify] Discard docstrings for skipped operators
2025-05-04 07:42:31 +10:00
Nyall Dawson
4a6fef278e
Cleanup docs, don't mention QString in python docs
2025-04-19 18:17:34 +10:00
Nyall Dawson
161ef62ca0
Fix inconsistent heading warnings when building PyQGIS docs
...
Fixes missing subclass/base class sections in some class docs (
eg QgsVectorLayer)
2025-04-19 18:17:34 +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
Nyall Dawson
bdb5904283
Fix more malformed docstrings, enforce correct format in sipify
2025-04-09 14:04:24 +10:00
Nyall Dawson
e5327c3749
Fix build error for PyQGIS docs
...
Correctly convert typehints for c++ pointer arguments
2025-04-09 14:04:24 +10:00
bdm-oslandia
37eec98dbf
chore(code_layout): use env var and pipe to bypass the "Argument list too long" error (again)
2025-04-05 07:51:27 +10:00
Nyall Dawson
d4027f3c09
[sipify] Strip \ref tags
2025-04-03 11:44:59 +10:00
Nyall Dawson
a9fc31921e
No need to use string for bool type
2025-04-03 01:05:31 +10:00
Nyall Dawson
d597113368
[sipify] Store __annotations__ for class member typehints
...
This allows python's introspection functions to retrieve them,
(e.g. inspect.getannotations), and ultimately makes them
accessible to Sphinx when the PyQGIS documentation is being built
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/184
2025-04-03 01:05:31 +10:00
Nyall Dawson
2eed9f3a01
[sipify] Automatically re-format docstrings to fit ideal line lengths
...
This improves the experience in IDEs or when querying documentation
via the Python introspection methods
2025-04-02 11:11:10 +10:00
Nyall Dawson
19755421f6
Make doxygen check enfore full sentences, sentence case for class briefs
...
Some of this needs to be checked in sipify, as doxygen internally
appends a trailing '.' to briefs when they aren't present.
2025-04-01 09:44:00 +10:00
Nyall Dawson
0556cbfd11
Ensure sipify strips initial empty lines from docstrings
2025-03-30 20:48:07 +10:00
Nyall Dawson
d52974eb69
[sipify] Enforce single sentence first paragraph for class docstrings
...
While doxygen automatically just splits off the first sentence for
the class brief description, Python docstrings require these to be separate paragraphs
2025-03-30 20:48:07 +10:00
Julien
99637cc430
fix(PyQt5toPyQt6): check if object has an attribute id
...
Error fixed running the migration script on a certain plugin:
```python
Traceback (most recent call last):
File "/usr/local/bin/pyqt5_to_pyqt6.py", line 892, in <module>
raise SystemExit(main())
^^^^^^
File "/usr/local/bin/pyqt5_to_pyqt6.py", line 887, in main
ret |= fix_file(filename, not args.qgis3_incompatible_changes, dry_run)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/pyqt5_to_pyqt6.py", line 461, in fix_file
visit_call(node, parent)
File "/usr/local/bin/pyqt5_to_pyqt6.py", line 338, in visit_call
and _node.args[0].func.id == "QDate"
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Attribute' object has no attribute 'id'
```
2025-03-29 08:40:40 +10:00
Nyall Dawson
0254fc5fb7
Enforce no namespace rule in sipify
2025-03-29 07:55:27 +10:00
Nyall Dawson
8d30dc3448
Tag virtual, overridden and abstract methods in sip bindings
2025-03-27 14:00:26 +10:00
bdm-oslandia
77c01489c6
chore: fix prepare_commit to catch all modified/added files
2025-03-24 08:30:40 +10:00
Juergen E. Fischer
d9b5d8c9c5
update_ts.sh: alternatively use pylupdate6 + python translation string fixes
2025-03-23 23:23:02 +01:00
Juergen E. Fischer
c6edab485a
release.pl: don't error out when a translation is dropped (because it falls below the 35% threshold)
...
(cherry picked from commit d363994a6480607d2d3ead3e41527cded38688de)
2025-03-21 13:40:42 +01:00
Florent Fougères
9ec5f29e38
pyqt5_to_pyqt6: import_warnings is a dict
2025-03-14 11:33:42 +10:00
Florent Fougères
ad3205c9e1
feat(pyqt5_to_pyqt6.py): Add --dry-run option to script to run and just see changes
2025-03-14 11:33:42 +10:00
Eduard Kazakov
56279528ca
Update list of translators to russian
2025-03-05 08:54:21 +10:00
Nyall Dawson
632d196e62
Don't show useless "available in python as" notes in PyQGIS docs
...
Since the method name used in the docs is ALREADY the python version!
2025-02-28 18:32:09 +10:00
Juergen E. Fischer
01c9c27d45
release.pl: fail if transifex doesn't deliver an existing translation
2025-02-21 09:49:12 +10:00
Nyall Dawson
1403b2181b
Rename qstringfixup to code_fixup
2025-02-07 13:10:27 +10:00
Nyall Dawson
e6746f35da
Also upgrade make_shared
2025-02-07 13:10:27 +10:00
Nyall Dawson
0ac9936b62
Upgrade std::unique_ptr xx( new XX ) to auto/std::make_unique
2025-02-07 13:10:27 +10:00
Nyall Dawson
2db0254c9e
Catch another variant of make_unique
2025-02-07 13:10:27 +10:00