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
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
Nyall Dawson
033512a8d1
Remove unused widgets_tree.py script
2025-01-31 17:07:34 +10:00
Nyall Dawson
8977aac5e5
Remove unused sipdiff script
2025-01-31 17:07:34 +10:00
Nyall Dawson
68d29e9de3
Remove scripts/remove_non_svn_files.sh
2025-01-31 17:07:34 +10:00
Nyall Dawson
7a0e929ca7
Remove unused script for listing pull requests
2025-01-31 17:07:34 +10:00
Nyall Dawson
096d6d0b58
Remove unused/unmaintained jenkins_run script
2025-01-31 17:07:34 +10:00
Benoit D.-M. - oslandia
6ca514013c
Update scripts/cppcheck.sh
...
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2025-01-27 18:16:51 +01:00
bdm-oslandia
78463c0226
chore(cppcheck): add optional parameter to specify the directory to check, ../src by default
...
co-author: rouault
2025-01-27 18:16:51 +01:00
Denis Rouzaud
9059f200a0
Add QtQuickWidgets pyqt5_to_pyqt6.py ( #60128 )
...
* Add QtQuickWidgets pyqt5_to_pyqt6.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update pyqt5_to_pyqt6.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-16 11:49:10 +01:00
Julien Cabieces
8e7781d4d9
Merge pull request #60073 from nicogodet/add-warning-pyqt5to6
...
[pyqt5to6] Add warning if PyQt5 if found
2025-01-07 16:14:39 +01:00
Nicolas Godet
9515c1ac29
[pyqt5to6] Add warning if PyQt5 if found
2025-01-07 14:22:08 +01:00
David Koňařík
4d86676c35
Fix SIP build errors by using /NoTypeName/
...
The typedef is only present in the .sip file, but without this
annotation SIP assumes it also exists in QGIS headers. This didn't
completely break the build, since we concatenate multiple SIP headers
into larger files, so the typedefs from one part "fixed" another. Run
sip-build without --concatenate to see the issue clearly.
This fix is currently sadly not fully effective due to a SIP bug:
https://github.com/Python-SIP/sip/issues/66
2025-01-06 21:31:40 +01:00
Matthias Kuhn
340861dc00
Remove PY_2TO3
...
let's say welcome to 2025
2025-01-01 08:55:56 +09:00
Nyall Dawson
667ba086e3
Fix mode for script
2024-12-18 19:12:29 +10:00
Julien Cabieces
0fdb3508a5
api(Deprecated): Remove strong requirement on \deprecated
...
Because some method (only QgsGeometry::set actually) can be deprecated
only in python, not in C++. But \deprecated triggers the need for Q_DECL_DEPRECATED
2024-12-17 09:06:44 +01:00
Julien Cabieces
51dc2ec2ac
api(Deprecated): Generate always /Deprecated/ annotation with text
...
Use cmake to remove text when SIP version is less than 6.9.0
2024-12-17 09:06:44 +01:00
Julien Cabieces
92db5c2d82
feat(Deprecated): Add message to SIP deprecated annotation
...
Works only with SIP 6.9.0
2024-12-17 09:05:46 +01:00
Denis Rouzaud
7306e5b170
Merge branch 'master' into more-clang
2024-12-11 07:53:23 +01:00
Matthias Kuhn
1dd6a4ac72
Merge pull request #59769 from sebastic/appstream
...
Fix AppStream metadata.
2024-12-11 07:34:21 +01:00
Denis Rouzaud
eef2e2045f
add server and 3d to clang-format
2024-12-10 14:22:51 +01:00
Denis Rouzaud
5fdf6dd77a
fix SIP_SKIP and SIP_FORCE being left alone
2024-12-07 05:16:00 +10:00
Denis Rouzaud
8c4b08dc07
fix windows build take 2
2024-12-07 05:16:00 +10:00
Denis Rouzaud
72cbfe5124
add gui to clang-format
2024-12-07 05:16:00 +10:00
Bas Couwenberg
b9f1da5b8e
Fix AppStream metadata.
2024-12-06 09:16:26 +01:00
Nyall Dawson
341b7e5af7
Fix cppcheck
2024-12-06 06:24:08 +10:00
Denis Rouzaud
244a7c1bd1
[sipify] exit type header code
2024-12-05 13:19:50 +01:00
Denis Rouzaud
25ad1b8e38
[sipify] do not exit header code if commentting
2024-12-05 13:19:50 +01:00
Denis Rouzaud
2f2c54095c
Revert "[sipify] close type header code earlier"
...
This reverts commit 0fe88cf945fd2da710453e2a55a4cdc4e2f82802.
2024-12-05 13:19:50 +01:00
Denis Rouzaud
7f4ae01b8c
[sipify] better handling of type header includes (multiple)
2024-12-05 13:19:50 +01:00
Denis Rouzaud
05062c386f
[sipify] better handling of type header includes
2024-12-05 13:19:50 +01:00
Denis Rouzaud
3a08533103
[sipify] close type header code earlier
2024-12-05 13:19:50 +01:00
Denis Rouzaud
ee8cc2c2ad
comment methodcode
2024-12-05 13:19:50 +01:00
Denis Rouzaud
c12f94c316
[sipify] supports code in comment
2024-12-05 13:19:50 +01:00
Denis Rouzaud
e0c145386b
remove auto-generated files from spell check
2024-12-05 13:19:50 +01:00
Denis Rouzaud
c2d98700a3
add analysis to clang-format
2024-12-05 13:19:50 +01:00
Denis Rouzaud
4ddc236145
[sipify] Fix staticmethod ( #59517 )
...
* [sipify] Fix staticmethod
When building bindings for Kadas, we get an AttributeError on startup and not a NameError.
* [pre-commit.ci lite] apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-12-03 08:43:55 +01:00
Denis Rouzaud
6933b1352f
fix prepare_commit.sh ( #59713 )
...
* fix prepare_commit.sh
* fix regex
2024-12-03 08:24:03 +01:00
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