aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/anystringview_helpers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move the shiboken-generator source aroundFriedemann Kleint2025-11-241-78/+0
| | | | | | | | | THIS COMMIT WAS GENERATED BY A SCRIPT Task-number: PYSIDE-962 Task-number: PYSIDE-1587 Change-Id: I58b05c3d05606efb6303193f2d7f907a0ab5741b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* shiboken6: Port to Qt include styleFriedemann Kleint2025-03-271-3/+3
| | | | | | | | | Replace the Qt forwarding headers by the .h files. This brings down the dependency list by approx 6%. Pick-to: 6.9 Change-Id: Iaa57400fd20600b940119a6016041b885a68d207 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Refactor registerConverterName() streamable helperFriedemann Kleint2024-06-261-0/+22
| | | | | | | | | | | | | Move the functionality to register partially qualified names (previously in helper registerConverterInScopes() and elsewhere), to register names with indirections, and to use typeid() into the streamable class controlled by flags. Simplify the code accordingly. This requires adding indexOf() to the helpers for QAnyStringView. Task-number: PYSIDE-2792 Change-Id: I7af0d8333e3c417e03f6615b471dc7220c95d388 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Remove QDebug operator<<(QDebug debug, QAnyStringView asv)Friedemann Kleint2024-02-281-9/+0
| | | | | | | | It has been added in Qt 6.7. Task-number: PYSIDE-2497 Change-Id: I48b9d8ebac9b13acb0f589590fca0b406e1852a8 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* shiboken: fix build without unity, take2Friedemann Kleint2024-01-091-1/+1
| | | | | | | | | | | | Amends 691e44263090fed0f5c9cc7f01a6b87f4787a6ad. QString must apparently be included before QAnyStringView for its template functions to work. Otherwise causes a compile error with MSVC 19.38.33133 and g++ 13. Pick-to: 6.6 Change-Id: Id37cfa4668de7f17bee55942239c06d4ae460591 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* shiboken: fix build without unityCristián Maureira-Fredes2023-12-291-0/+1
| | | | | | | | | QString needs to be included in order to be able to build shiboken without the unity build. Pick-to: 6.6 Change-Id: I4f71bff48944617bc43effa6acebcde1aa50bc4f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* shiboken6: Port the MetaClass::find*() helpers to QAnyStringViewFriedemann Kleint2023-11-271-0/+41
| | | | | | Task-number: PYSIDE-2537 Change-Id: I7d9c160b4b8c46854b11722c05510da766dcc3f5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Type system parser: Port attribute names to use latin1 literalsFriedemann Kleint2023-11-241-0/+23
The parser historically used UTF-16 literals, but in the meantime, some adaption has been done to be able to accept QAnyStringView in more places. Use _L1, adapt to modern string theory findings. Add a header with helper functions for QAnyStringView to be streamable. Task-number: PYSIDE-2537 Change-Id: Icc6729ecbf5fee0aaaa1c74cd5f5dd24f753ed63 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>