| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Split the code paths between namespace and classes for clarity.
Add AbstractMetaBuilderPrivate::traverseClassFunction() to move the function
parsing code out of the loop.
Task-number: PYSIDE-3245
Change-Id: I3c616567df87d0408d5a6567343cdd8e3dfbefaa
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-3245
Change-Id: I9ea4bb01bc07a7a8d32aeb35829893fbccdf84f0
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Fix code handling adding functions to properly store the signature.
Task-number: PYSIDE-3245
Change-Id: Ia17c4b8cae7addd1a84f2c621cb46cbb532539db
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Prevent it from triggering for operators synthesized from free operators
using some heuristic (',' in parameter list indicating several parameters).
Amends 7c358ca13760c9e422c38d8c28e56b197663debf.
Task-number: PYSIDE-3245
Change-Id: If5e9c283bff6fe2a26350f6781cdef9684d8a1ca
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Complements e9479562e91cf71a700a999fc7a443ea53a0fb6e.
Task-number: PYSIDE-3245
Change-Id: I14487bbd39db2492e62b41fb4da334a0da914f47
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Replace by literals/additions, fixing:
- warning: QString::fromLatin1() being passed a literal [clazy-qstring-allocations]
Pick-to: 6.10 6.8
Change-Id: I60be74c4f4b86c943a02392734aadf406567e338
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- std::as_const in for loops
- avoid copy
Pick-to: 6.10 6.8
Change-Id: Iccf2b7a30b676a228af074c2f804e7b4a6ef11f7
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Turn it into a flag to be able to specify masks to be synthesized.
Add a function checking for ordering comparisons for later use.
Task-number: PYSIDE-3245
Change-Id: Ibab47528f92ff8859677a85cccdcad50a767ccac
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
This leads to duplicated code in Py_tp_richcompare since
CppGenerator::writeRichCompareFunction() does not handle it
and CPython swaps the arguments itself.
Task-number: PYSIDE-3245
Change-Id: I39e9bf6adb2f737ad5f66327cd5a6f9447e86c9d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
into AbstractMetaFunction
Task-number: PYSIDE-3245
Change-Id: If3590dd1fa54c45de0295973cad37bce74ea682f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Separate the overload decisor comment code path from the minimal
signature and use in all relevant places in the generated code.
Remove the Qt signature normalization.
Add more information about operators.
Task-number: PYSIDE-3245
Change-Id: Id023d36a3b9112fccb36c9f8a03e13fac6628b75
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Extend the internal flags of AbstractMetaFunction by C++ 20 operator
information and add helpers to format messages based on that.
Task-number: PYSIDE-3245
Change-Id: I65311e973f8995cd2535e4b936e9f576fa312b1b
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
This enables using them for messages and other things.
Task-number: PYSIDE-3245
Change-Id: If2acccbfdbc53d28f84cfe5341898347a9938c53
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Make it clear that the function is meant to be called for the global
namespaces or other namespaces, not for classes. Add assert and comment.
Task-number: PYSIDE-3245
Change-Id: I0e5e07c7822286ff148c5b76ff292d45d799165d
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Split the generator executable off to a new directory
shiboken6_generator.
Adapting the build scripts and cmake configuration.
Task-number: PYSIDE-962
Task-number: PYSIDE-1587
Change-Id: I301f96daace0331b0abc17bc59b44cd2396b9953
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
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>
|