1607 Commits

Author SHA1 Message Date
Nyall Dawson
52ef640901 Indentation 2024-08-13 20:28:55 +10:00
Nyall Dawson
526b89d205 Fix regex 2024-08-13 20:28:55 +10:00
Nyall Dawson
f523c3429e Fix horrible regex 2024-08-13 20:28:55 +10:00
Nyall Dawson
5f6611a47c fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
2c92b52018 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
76f95779de Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
d990de3369 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
c636f63230 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
1ca00235d6 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
c30e6abdad Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
0d2f14e10b Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
f0f9afb53e Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
5c9640ab79 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
7c65b1b85f Fix catastrophic regex 2024-08-13 20:28:55 +10:00
Nyall Dawson
7ddea7c9ca Fix 2024-08-13 20:28:55 +10:00
Nyall Dawson
6c19f6285d Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
cfde91f023 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
8b306026f1 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
9680751031 Use original quotes 2024-08-13 20:28:55 +10:00
Nyall Dawson
1ec1b6aa52 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
de3f0ff2b7 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
3b48d058b0 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
ca40c616ed Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
13a166a74f Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
9419f3dbfb More fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
d12e6a82de Additional fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
a635b600b5 Fixes 2024-08-13 20:28:55 +10:00
Nyall Dawson
d5b4c71ecc Fix spacing 2024-08-13 20:28:55 +10:00
Nyall Dawson
35b22f624a First pass at a python port of sipify 2024-08-13 20:28:55 +10:00
Denis Rouzaud
6e9933145a
Adds a file to hold a map from class/method to headerfile (#58054)
* create map file for class / header files for PyQGIS API docs

* create map files

* install file

* add line numbers

* also add methods

* wait to sort

* more methods

* fix CMakeLists install

* fix sorting

* fix spell check

* remove map files for Qt6

* Revert "remove map files for Qt6"

This reverts commit 972f483410f556d1735a2070943b8ad9e2522c5e.

* do not test class_map files + auto sipify_all on branches

* fix warning
2024-07-16 11:40:25 +02:00
Aleix Pol
144db4bc70 appdata: be mindful of the xml elements depth when translating
We were doing a deep search for "name" which happened for the component
name _and_ and the developer name, which is in a deeper tag.
Instead of doing a deep search, just look for the elements we care about
among the component element's children.

Fixes this error from appstreamcli:
org.qgis.qgis.metainfo.xml
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=de)
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=hu)
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=lt)
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=nb)
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=zh-Hans)
2024-06-26 12:36:23 +10:00
Denis Rouzaud
2c7180afe0 [sipify] fix documention of nested enums 2024-06-18 05:25:03 +10:00
Nyall Dawson
1a56be8cf8 Faster null conversions 2024-06-13 05:59:14 +10:00
Nyall Dawson
280cd84652 Add more HoldGIL annotations to cheap methods 2024-05-24 16:34:33 +10:00
Nyall Dawson
d9232bdbf1 pyqt5_to_pyqt6: Handle QPainter.HighQualityAntialiasing
This is obsolete even in Qt5, should be QPainter.RenderHint.Antialiasing
2024-05-22 09:35:11 +02:00
Nyall Dawson
aa52e4b392 [pyqt5_to_pyqt6] More exhaustive searching for deprecated QFontMetrics methods 2024-05-22 14:30:23 +10:00
Nyall Dawson
d2a173fdcf Fix pyqt5_to_pqt6 script when src_to_tokens returns duplicate tokens
Sometimes src_to_tokens returns multiple tokens at the same offset.
This is likely a bug in some versions of tokenize_rt, but this
workaround avoids an exception occurring in the QGIS script.
2024-05-16 12:41:21 +02:00
Nyall Dawson
ecfcf6ced1 Use a more flexible API for handling SensorThings expansions
This allows us to control the sort order and limit for each expansion,
and gives us more flexibility in future to eg handle per expansion
filter strings
2024-05-16 15:14:49 +10:00
Werner Macho
6b4ddc873a Adding Translator on request 2024-05-15 15:50:23 +02:00
Nyall Dawson
ef89c1f213 [feature] Add "Run Selected Steps" option to model designer
This action will run only the selected steps in a model, allowing
the user to run a subset of the model.

The initial state will be taken from any previous executions of the
model through the designer, so results from previous steps in the
model are available for the selected steps.

This makes it possible for a user to fix parts of a large model,
without having to constantly run the entire model to test. Especially
useful when earlier steps in the model are time consuming!
2024-05-04 06:30:43 +10:00
Matthias Kuhn
867f39dc34 Fix using astyle on wsl 2024-05-01 06:19:53 +02:00
Nyall Dawson
5e85f29512 Add Google Fonts processing script 2024-04-18 11:31:55 +10:00
Mathieu Pellerin
6709debbac Fix sipify.pl script not handling Q_INVOKABLE inline 2024-04-17 18:07:43 +07:00
bdm-oslandia
565b0b9002 chore(code_layout): use env var and pipe to bypass the "Argument list too long" error 2024-03-22 05:22:51 +10:00
Nyall Dawson
967cc5b6de [pyqt5toqt6] Add warning for activated[str] signal connections 2024-03-04 12:26:20 +10:00
Nyall Dawson
c4342425eb [pyqt5toqt6] Warn on compiled resource usage 2024-02-28 11:23:47 +10:00
Juergen E. Fischer
e75286a7e9 release.pl: fix ltr splash check 2024-02-23 13:00:29 +01:00
Juergen E. Fischer
76d2d7a36a fix rename of ltr splash
(cherry picked from commit cc9d733e5f12c78fc752b32bd487fe0098f630c7)
2024-02-22 21:37:54 +01:00
Aleix Pol
c63d33e12c appdata: Provide new ordering for the description tag
We should mark as translated the paragraph, not the root element
2024-02-20 08:56:38 +10:00
Nyall Dawson
256f2826f3 [pyqt5toqt6] Replace invalid QVariant() constructor with NULL
This approach works for both Qt5 and Qt6 builds
2024-02-14 13:17:34 +10:00