1574 Commits

Author SHA1 Message Date
Nyall Dawson
753b96ea97 More flake fixes 2024-01-19 19:44:48 +10:00
Nyall Dawson
62e4918290 Ignore some flake warnings 2024-01-19 19:44:48 +10:00
Nyall Dawson
08e2f1e77e Correctly handle name clashes between enum keys and namespaced classes 2024-01-19 19:44:48 +10:00
Nyall Dawson
e87f789821 Handle ambiguous monkey patched enum unscoping 2024-01-19 19:44:48 +10:00
Nyall Dawson
bf77b1359c Handle replacement of monkey patched PyQGIS enums 2024-01-19 19:44:48 +10:00
Nyall Dawson
d21727203b Check that enum values actually exist before replacing 2024-01-19 19:44:48 +10:00
Nyall Dawson
5012d7de4b Never try to process auto_additions folder 2024-01-19 19:44:48 +10:00
Nyall Dawson
b9b8fa9a6e Put some logic in place to handle some ambiguous enum values 2024-01-19 19:44:48 +10:00
Nyall Dawson
e6f1fda10c Don't try to upgrade ambiguous enums 2024-01-19 19:44:48 +10:00
Nyall Dawson
0ddff200c3 Scope PyQGIS enums too 2024-01-19 19:44:48 +10:00
Nyall Dawson
88eb9779e9 Flip logic in pyqt5_to_pyqt6 so that by default we only apply qgis3
compatible changes
2024-01-19 19:44:48 +10:00
Nyall Dawson
0f28531aa6 Better approach to upgrading enum flags 2024-01-19 19:44:48 +10:00
Nyall Dawson
f7d0603240 Flake 2024-01-19 19:44:48 +10:00
Nyall Dawson
9fab1623a3 Update deprecated removed enum value 2024-01-19 19:44:48 +10:00
Nyall Dawson
4fc5138a28 Upgrade some enum members which are invisible to python introspection 2024-01-19 19:44:48 +10:00
Nyall Dawson
23df946386 Handle QSci enums in pyqt5 to qt6 2024-01-19 19:44:48 +10:00
Nyall Dawson
ca292a4ae1 Fix warnings when running spell check
The contents of .agignore are regular expressions, not wildcards
2024-01-16 07:24:46 +10:00
Nyall Dawson
f55812b517 Remove deprecated smartmatch from sipify
This spams the terminal with deprecation warnings whenever sipify
is run on newer perl versions
2024-01-16 07:24:31 +10:00
Nyall Dawson
294de8599e Skip formatting check on PDF4QT lib 2024-01-15 11:00:02 +10:00
Julien Cabieces
0e644d1889 [PyQt6] remove QTextCodec arg instead of removing the method 2024-01-11 04:52:01 +10:00
Julien Cabieces
54fd608304 [PyQt6] s/SIP_PYQT5_ONLY/SIP_PYQT5_RUN 2024-01-11 04:52:01 +10:00
Julien Cabieces
062ce03b6d [PyQt6] remove QTextCodec and rename pyqt5_from_qvariant_by_type
QTextCodec is no longer existing in PyQt6 (only in QtCoreCompat in C++)
2024-01-11 04:52:01 +10:00
Julien Cabieces
8e19402bc5 s/3to4/pyqt5_to_pyqt6 2024-01-10 21:15:27 +10:00
Julien Cabieces
99f3cfb527 Fix spell check 2024-01-10 21:15:27 +10:00
Julien Cabieces
c9437a509f fix flake8 2024-01-10 21:15:27 +10:00
Julien Cabieces
9d12ae8e6d [PyQt6] Add scope for enums and get rid of PyQt5.XXX import
this has been done automatically with the following comand line

./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/
2024-01-10 21:15:27 +10:00
Julien Cabieces
7ba07fa501 [PyQt6] unscoppe enums 2024-01-10 21:15:27 +10:00
Julien Cabieces
e4c03a7e57 [PyQt6] Better deal with newline in import 2024-01-10 21:15:27 +10:00
Julien Cabieces
84f334bead [PyQt6] Add new file to migrate from 3 to 4 2024-01-10 21:15:27 +10:00
Alessandro Pasotti
431495689a
Merge pull request #55284 from elpaso/feed-enhancements
NewsFeed enhancements
2023-12-14 16:31:58 +01:00
Julien Cabieces
8677bc2f18
Merge pull request #55613 from troopa81/pyqt6_translation
[PyQt6] make translations work with both Qt 6 and 5
2023-12-14 14:38:15 +01:00
Alessandro Pasotti
fbd03b181e Don't spell check feed test data 2023-12-14 13:01:00 +01:00
Alessandro Pasotti
8d802d0caa Don't spell check feed test data 2023-12-14 13:01:00 +01:00
Alessandro Pasotti
e0c96ec8d2 Don't spell check feed test data 2023-12-14 13:01:00 +01:00
Julien Cabieces
7bbb3e2511 fix qt version replacement var 2023-12-14 08:50:40 +01:00
Julien Cabieces
4c13db781c [PyQt6] Make sipify_all.sh generate sip files for both Qt5 and Qt6 2023-12-14 04:14:40 +10:00
Julien Cabieces
db30d294cb [PyQt6] make translations work with both Qt 6 and 5 2023-12-13 18:43:52 +01:00
Loïc Bartoletti
5b4449602b rm clangtidy_checks.txt and it's usage since it's not needed, thanks to .clang-tidy file 2023-12-13 12:14:42 +01:00
Julien Cabieces
fd72e65209 fix sipify for qt5 2023-12-13 05:36:44 +10:00
Julien Cabieces
e57a13639e fix useless new line 2023-12-13 05:36:44 +10:00
Julien Cabieces
e8093a8ce5 Only mock non class enums 2023-12-13 05:36:44 +10:00
Julien Cabieces
388de8cedd Fix sip tests 2023-12-13 05:36:44 +10:00
Julien Cabieces
92cc39f86e Trigger prepare_commit on PyQt6 files also 2023-12-13 05:36:44 +10:00
Julien Cabieces
9f833af55c Modify sipify script to generate PyQt6 bindings 2023-12-13 05:36:44 +10:00
Nyall Dawson
3bd7b74ee8 Fix path to grass descriptions in processing2ui script 2023-12-08 19:35:06 +10:00
Nyall Dawson
ce6e5ff861 Fix spell check
Remove betweeness from dict -- it breaks spell checking of grass
files and isn't a common enough word to warrant more intrusive
workarounds
2023-12-08 19:35:06 +10:00
Nyall Dawson
3ec7f53fce More cleanups 2023-11-27 10:09:16 +10:00
Nyall Dawson
a1f9039f12 Fix invalid escape sequences in docstrings for enums with since
annotation
2023-10-24 06:44:46 +10:00
Sandro Santilli
07345e52c4 Run doxygen layout checker in prepare-commit script, when possible
Helps preventing useless CI wait like in here:
https://github.com/qgis/QGIS/actions/runs/6518501862/job/17703989815?pr=54934

Allow passing list of files to check to test_doxygen_layout.sh script
2023-10-23 13:15:57 +10:00
Sandro Santilli
c8d00d0389 Avoid early with error if no shell scripts are changed 2023-10-11 23:21:58 +02:00