aboutsummaryrefslogtreecommitdiffstats
path: root/sources
Commit message (Collapse)AuthorAgeFilesLines
* build support for pathlib.Path, baselineChristian Tismer2021-06-1213-6/+172
| | | | | | | | | | | | | [ChangeLog][PySide6] pathlib.Path gets additionally accepted for all function arguments which have a std::filesystem::path type. This is a first part that implements those modifications which have a std::filesystem::path entry. In a later patch, all the possible other Path insertions will be made. Task-number: PYSIDE-1499 Change-Id: I2dec04dbdb2aaff6ca56c39b28f60281262fe078 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Refactor qvariant conversion codeFriedemann Kleint2021-06-111-8/+18
| | | | | | | | | | | | Use a switch on the meta type id instead of string comparison and catch None-cases in qvariant conversion early on (QMetaType::Nullptr and QMetaType::VoidStar with 0). Pick-to: 6.1 Task-number: PYSIDE-1585 Change-Id: I05da179b8eef6f9a9b86a66e1c40762b655bd724 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Add a check-function attribute to custom type entriesFriedemann Kleint2021-06-116-4/+93
| | | | | | | | | | | | | | | | | shiboken knows some check functions and defaults to typeName + "_Check" in the end. For custom types in modified function arguments, it is useful to be able to specify a custom check function so that the overload decisor finds the right type. Add a CustomTypeEntry class with a checkFunction member for this. [ChangeLog][shiboken6] It is now possible to specify a check function for custom types in the typesystem. Pick-to: 6.1 Change-Id: I21ec541afd5073dede09d359f2e2e16a0c6a0a05 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QSignalSpyFriedemann Kleint2021-06-114-1/+70
| | | | | | | Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I7a413a5ca3e64e9270026d4ea5d73d28df20ca5c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* examples: tweak css for the galleryCristian Maureira-Fredes2021-06-111-0/+17
| | | | | | | | | - Using cards with buttons - Fit images as a cover for each example Task-number: PYSIDE-841 Change-Id: I1702fbad8fabc9d0f9e2a06d46afcf73b4075c8d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* QtSensors test: Handle failed readingsFriedemann Kleint2021-06-111-5/+12
| | | | | | | | | | | | Failures have been observed on Windows: qt.sensors.winrt: Unable to initialize orientation sensor factory. "CoInitialize has not been called." for i in range(0, reading.valueCount()): AttributeError: 'NoneType' object has no attribute Traceback (most recent call last): Change-Id: I67d2645b722666631c640bea865f2966b3deb130 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Use replaced types in functions signatures in generated codeFriedemann Kleint2021-06-103-18/+37
| | | | | | | | | | | Add AbstractMetaFunction::minimalModifiedSignature() to be used in the overload decisor comments and split the formatting helpers accordingly. No caching is required as it is called only once. Task-number: PYSIDE-1588 Pick-to: 6.1 Change-Id: I29b7d6ba33bfe3f4348234697ef1ef8112f86ac9 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PyClassProperty: Correct the decorator and publish the classChristian Tismer2021-06-1011-42/+66
| | | | | | | | | | | | | | PyClassProperty is now correctly published as a QtCore class and existing as an import. As a side effect, a bug was fixed where a syntax error occurred because of a missing signature count. Task-number: PYSIDE-1019 Fixes: PYSIDE-1593 Change-Id: Iae733280d9f9c23244e83a356011104bf527c329 Pick-to: 6.1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix test that creates unrelated problems with paletteChristian Tismer2021-06-101-11/+3
| | | | | | | | | This old test is really redundant and suddenly creates errors. We replace it with a much easier version. Change-Id: I19327c9e1fab170a4bee954f7fe90419aeaec686 Pick-to: 6.1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Use replaced types in functions signaturesFriedemann Kleint2021-06-103-6/+25
| | | | | | | | | | | | This is a preparation step for PYSIDE-1499, but in effect it is solving a lot of old problems where signatures hat to guess what was changed, and failed. Task-number: PYSIDE-1588 Change-Id: Ib20f78e8f79e8928b5ec16b733f22fd85c3a1155 Pick-to: 6.1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* libpyside: Add type check for PySideSignalInstanceTypeFriedemann Kleint2021-06-092-1/+21
| | | | | | | Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I00d30c95bd5835b6d904bc28f671e284017fffb5 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Fix qcalendar_test.py on Windows/debugFriedemann Kleint2021-06-091-0/+4
| | | | | | | | | | | | | | | | | | | | | There is apparently some clash between QCalendar(QCalendar::System)/ QCalendar(size_t) on Windows, causing: ====================================================================== ERROR: testCalendar (__main__.TestQCalendar) ---------------------------------------------------------------------- Traceback (most recent call last): File "sources/pyside6/tests/QtCore/qcalendar_test.py", line 47, in testCalendar calendar = QCalendar(QCalendar.System.Gregorian) TypeError: Invalid type for unsigned long long conversion Reorder the overloads manually to prevent this. Note this is only in debug mode. Pick-to: 6.1 Change-Id: I1de706d9bf8456a27ae68f995c6d744ce29ae23c Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Introduce a private attributeFriedemann Kleint2021-06-0912-12/+127
| | | | | | | | | | | Generate a separate, private module header containing classes marked as "private" in the typesystem. This can be used for classes that are not used in dependent modules and helps to prevent propagation of for example private headers required for them. Task-number: PYSIDE-802 Change-Id: If7f19c152d007c689bf719e13292107dceb802da Reviewed-by: Christian Tismer <tismer@stackless.com>
* Use conditional processing in the type systemFriedemann Kleint2021-06-0910-108/+21
| | | | | | | | | | | In CMake, remove the AUTO_OS variable from the check_os() macro. Fold the macOS/X11 type system files of Qt Core into the common type system file. Task-number: PYSIDE-802 Task-number: PYSIDE-1568 Change-Id: Ib751f40fbf7eca8fe4d08270db4fbc1e938323c5 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Introduce conditional processing instructions to typesystem XMLFriedemann Kleint2021-06-0914-92/+457
| | | | | | | | | | | Add ConditionalStreamReader as replacement for QXmlStreamReader, handling Processing Instructions to exclude/include sections depending on keywords. Task-number: PYSIDE-802 Task-number: PYSIDE-1568 Change-Id: I1e2151849e79189943f49313137879bbf6ba3665 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Adapt to latest changes in QtMultimediaFriedemann Kleint2021-06-093-5/+6
| | | | | | | | | | Rename QCameraInfo/QAudioDeviceInfo to QCamera/AudioDevice, adapting to qtmultimedia/1c4dd0c23c0a7bdefaeecbae491a12f49a6b9ce5. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I1a2972300aa0a8119e4c90919ed464124a7a6419 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Add missing enumerations and network classesFriedemann Kleint2021-06-093-2/+6
| | | | | | | | | Amends e72dc6d88f85fea451338523058e0407e8c8f0b5. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I4eea6fc9949ef2307d3b30e18cf2801e8b56d6bb Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Fix increment/decrement operatorsFriedemann Kleint2021-06-0916-33/+305
| | | | | | | | | | | | | | | | | | | | | | | | For classes that have increment/decrement operators (++/--), shiboken6 generated operators +=/-= ( __iadd__/__isub__) by calling them n times. This was mainly intended for iterators. However, when both operator++/-- and operator+=/-= were present (as introduced by qtdeclarative/f8f31dd0e1f9425ba272691c79e719ebc4bcfb94 for QJSPrimitiveValue), duplicate code and errors were generated. This requires filtering of the operator functions. Introduce a separate function type for increment/decrement operators and remove them if operators +=/-= were found. Also, when both prefix and postfix version of the increment/decrement operators are found, remove one. Extend existing class IntWrapper from libsample for testing. Add explanatory comment and use prefix increment. Pick-to: 6.1 Change-Id: I0f8a0c79a6f74974ba327d21f35fff74962ffd3a Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Disable construction of abstract classes when C++ wrapper is disabledFriedemann Kleint2021-06-082-2/+12
| | | | | | | | | | | | This removes the need to remove the constructors in the typesystem. Amends 1d044f467070a040713c9566a8a8de3a56c571e7. Task-number: PYSIDE-1568 Pick-to: 6.1 Change-Id: I2e2312b01c160b420c637a0eb7ddb049a7f596af Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* cppgenerator: remove a left-over "this" to get rid of a warningChristian Tismer2021-06-071-1/+1
| | | | | | | | | | This showed up when working on unrelated pathlib stuff. Change-Id: I230be79183c3dc41fa25abb276b1fdceb7df1630 Pick-to: 6.1 Task-number: PYSIDE-1499 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add more classes from QtQml/QtQuickFriedemann Kleint2021-06-074-19/+50
| | | | | | | | | | | [ChangeLog][PySide6] A number of missing classes from the qtdeclarative repository have been added. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: Ic6a74cca926338fef5dcf0a5d60a9aa540c6602e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Adapt to latest changes in QtMultimediaFriedemann Kleint2021-06-072-4/+4
| | | | | | | | | | Rename QAudioOutput to QAudioSink and QAudioInput to QAudioSource, following qtmultimedia/3350275e25c96b391e31d2c9c472b4f0aa58b8f7, qtmultimedia/aa1f073a32147d147e4e9a0fee9dde8ccc30531e. Pick-to: 6.1 Change-Id: I78bca6f8e9c43ef42753b3a81921440afe4ad387 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Add more classes from Qt3dFriedemann Kleint2021-06-078-0/+41
| | | | | | | | | | [ChangeLog][PySide6] A number of missing classes from the qt3d repository have been added. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I469b86196133fa82c5acca0caf91d29d991015de Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Add missing class QFormBuilder (Qt Designer)Friedemann Kleint2021-06-072-1/+2
| | | | | | | | | As a drive-by, fix warning about non-existent function. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: Iaa6bd9c2a08e96d996fda0f88d0217340f16526f Reviewed-by: Christian Tismer <tismer@stackless.com>
* Remove SimpleNamespace Python ImplementationChristian Tismer2021-06-073-23/+6
| | | | | | | | | | SimpleNamespace was hand-written for Python 2.7, but Python 3.X has it as a builtin. Pick-to: 6.1 Task-number: PYSIDE-1415 Change-Id: Ic3f94d064e46661868a08f46de154840170e7ca9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* nuitka: Fix slot access for compiled functionsChristian Tismer2021-06-061-0/+6
| | | | | | | | | | | | | | The function DynamicSlotDataV2::key needs to handle compiled functions as well, which are not covered by a PyMethod_Check. The author of this patch is Kay Hayen. Some AutoDecref usage was then applied for simplification. Change-Id: I8d0f0c15100a385fd655a96c95a25bacb1b61f1b Fixes: PYSIDE-1589 Pick-to: 6.1 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Refactor macro create_pyside_module()Friedemann Kleint2021-06-041-28/+31
| | | | | | | | | | | | | | | | | | | | | | - Introduce a list variable shiboken_command to which elements can be appended, avoiding empty options (--drop-type-entries) - Use the include directories from Qt6::Platform instead of the global QT_INCLUDE_DIR since it also has the mkspecs directory containing qplatformdefs.h. - Introduce list variables for the shiboken include directories and framework include directories as an extension point where other directories can be added. - Remove old workaround for qtdeclarative/8d560d1bf0a747bf62f73fad6b6774095442d9d2. - Move positional arguments (global header and typesystem) to end of argument list. Pick-to: 6.1 Task-number: PYSIDE-802 Task-number: PYSIDE-1568 Change-Id: Id4d020a163c79010616749701251891545858447 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* shiboken6: Do not generate destructor calls for protected destructors with ↵Friedemann Kleint2021-06-032-12/+25
| | | | | | | | | | | | | | | | | | "disable-wrapper" Factor out a helper function to return the class name for which Shiboken::callCppDestructor<> is to be called and handle the case. As a drive-by, fix nullptr in class register. Amends 1d044f467070a040713c9566a8a8de3a56c571e7. Task-number: PYSIDE-1568 Pick-to: 6.1 Change-Id: I22e5596c066422274c3c994cc398311fc99f1709 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix error about not holding the GIL when releasing QImage memoryFriedemann Kleint2021-06-031-0/+3
| | | | | | | | | | | | | | Fix: "Fatal Python error: Python memory allocator called without holding the GIL" when running sources/pyside6/tests/QtWidgets/qimage_test.py Acquire the GIL for releasing. Amends a97698f0a5d011fd206db94cf73dba6353f39b29. Pick-to: 6.1 5.15 Task-number: PYSIDE-1563 Change-Id: Idf8dbf857f6dde76f80a78f581dacb3cf5fea16b Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Add some missing classes from qtbaseFriedemann Kleint2021-06-0311-3/+62
| | | | | | | | | | [ChangeLog][PySide6] A number of missing classes from the qtbase repository have been added. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I7b5388df1a4773ccdf32d44e2d968ba814453e34 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Fix a few doc warningsFriedemann Kleint2021-06-023-3/+4
| | | | | | | | | | sources/shiboken6/doc/typesystem_manipulating_objects.rst:333: WARNING: Could not lex literal_block as "xml". Highlighting skipped. sources/shiboken6/doc/typesystem_specifying_types.rst:236: WARNING: undefined label: typesystem node sources/shiboken6/doc/typesystem_templates.rst:47: WARNING: undefined label: insert-template node Pick-to: 6.1 Change-Id: Ia031acd2fdef925ff2995fa217bd297fe4512679 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Make command line errors easier to detectFriedemann Kleint2021-06-021-2/+3
| | | | | | | | Output the arguments line by line to show CMake quoting errors. Pick-to: 6.1 Change-Id: I80958f10fa90b6adc5719653f93b4e28771ce261 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Do not generate overloads of comparison operators from base classesFriedemann Kleint2021-06-011-0/+5
| | | | | | | | | | | | Comparing a derived class against the base class should not be possible (for example, QBluetoothUuid and QUuid). Pick-to: 6.1 Change-Id: I546cdb6d00c9f0e7f045780b800418c1fc90acc7 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
* PySide6/Bluetooth: Fix enumerationsFriedemann Kleint2021-06-011-3/+2
| | | | | Change-Id: I17d1abecf7349e2cc495ac96c571f36819c6195c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Move class QSysInfo into the common type system fileFriedemann Kleint2021-05-284-14/+5
| | | | | | | | | | | The platform-specific enumerations were removed by qtbase/59342379bde1be36b5c42cc8019c598138a0b534, so, there is no need to have it in the platform type system files. Pick-to: 6.1 Task-number: PYSIDE-802 Change-Id: I66976e688c0642ae5cfef5d760c4d6a5d6d41467 Reviewed-by: Christian Tismer <tismer@stackless.com>
* CMake: Rename the ENABLE_ platform variablesFriedemann Kleint2021-05-282-9/+10
| | | | | | | | | | | | Remove ENABLE_X11 in favor of ENABLE_UNIX to match the Q_OS_ defines. Remove unused ENABLE_SIMULATOR. Task-number: PYSIDE-802 Task-number: PYSIDE-1568 Pick-to: 6.1 Change-Id: I231580d562c4ee06db1bd6bf04eb53283d882134 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Remove unneeded per-platform typesystem filesFriedemann Kleint2021-05-288-142/+1
| | | | | | | | | | | | | Remove the per-platform typesystem files from QtWidgets and QtPrintSupport. It should not be necessary to repeat the Qt::HANDLE definition from QtCore. Keep the ones from QtCore and QtGui as they might be reused for native interfaces. Pick-to: 6.1 Task-number: PYSIDE-1568 Change-Id: I409fd7209c6ff130d1eef639398a57f19b25dcd5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* PySide6: Extend the porting guideFriedemann Kleint2021-05-281-0/+2
| | | | | | | Pick-to: 6.1 Fixes: PYSIDE-1583 Change-Id: Id2fc50237c8c5256a280f822b4c2e1445a9b9aec Reviewed-by: Christian Tismer <tismer@stackless.com>
* Streamline per platform typesystem filesFriedemann Kleint2021-05-266-41/+12
| | | | | | | | | | | - Remove no-longer existent macOS-specific classes - Move QAbstractEventDispatcher back to the core typesystem - Move all warnings to the core typesystem Pick-to: 6.1 Change-Id: I9d733e1a1eb2682784f22ec3b4b7d976db737f02 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* pyi_generator: Optimize importsChristian Tismer2021-05-261-12/+32
| | | | | | | | | Imports now import needed things, only. Task-number: PYSIDE-1019 Change-Id: If2dc2d04934123c3a6db7e69388d4c4d37cbc475 Pick-to: 6.1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Signature: Fix error when building QtMultiMediaWidgetsFriedemann Kleint2021-05-261-1/+1
| | | | | | | | | In ExactEnumerator, there was an error when sorting a list consisting of methods, signals and properties. Pick-to: 6.1 Change-Id: I36434e0e13aae65816da11f17d180329b91cb109 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Adapt QtMultimedia to current stateFriedemann Kleint2021-05-262-17/+5
| | | | | | | | | | Fix to build with the wip/qt6 branch at qtmultimedia/ef2d075b357464d3d6ae1c963b1a419bd3121241. Task-number: PYSIDE-1570 Pick-to: 6.1 Change-Id: I18c266f89a6d775bc0edb55f17b99e6cd1e4dc7f Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Mark old syntax for conversion rules as deprecatedFriedemann Kleint2021-05-266-50/+26
| | | | | | | | | | | | | TypeEntry had a string member for conversion rules (besides the nested "target-to-native" and "native-to-target" attributes) that was populated from the "file" attribute depending on the "class" attribute ("target"/"native"). Remove code path and flags for "native" since they were not used. Rename the member to targetConversionRule() for clarity and add a warning and FIXME comments. Pick-to: 6.1 Change-Id: I2a991d438e48c1cc0519d077cb3c0599f9800eb7 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Add more links to the documentationFriedemann Kleint2021-05-2611-109/+163
| | | | | | | | | | | | - Link the child nodes of the typesystem elements. - Remove the section describing the deprecated conversion-rule syntax. - Add more links and formatting throughout the documentation. - Fix syntax error in considerations. Pick-to: 6.1 Change-Id: I602caa2e0728a94803ede0e8e77123e52b107fdd Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* __feature__: Fix default instances of modified .pyi filesChristian Tismer2021-05-261-0/+42
| | | | | | | | | | | | | | | When modified .pyi files are generated, a handful of default expressions are calling back into PySide functions. These cases were not handled, yet and created complaints when switched to snake_case. Although default expressions are suppressed by "..." in .pyi files, this created error messages from parser.py . Task-number: PYSIDE-1019 Change-Id: I30c1cdef34d56fb96ffeac1f40fbf573aa539352 Pick-to: 6.1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix crashes when using the QImage(uchar *) data constructors, take 2Friedemann Kleint2021-05-253-1/+11
| | | | | | | | | | | | | | | The constructors expect a range of memory that remains valid through the lifetime of the image and may also modify it. Crashes occurred since apparently the Py_Buffer was released before it. To fix this, inject code to increase the reference count and decrease it in the cleanup function. Pick-to: 6.1 5.15 Fixes: PYSIDE-1563 Change-Id: Ic4a47e0f458ed5b59b88813139102a9f1490a9df Reviewed-by: Christian Tismer <tismer@stackless.com>
* Revert "Fix crashes when using the QImage(uchar *) data constructors"Friedemann Kleint2021-05-251-2/+2
| | | | | | | | | | | | | | | It breaks a use case in pyqtgraph, which expects to be able to manipulate the image by modifying the data. This reverts commit cc011c8980cc4ce02e3d9cceb74ee028c204214e. The helper Shiboken::Buffer::copyData() is left in place since it can be useful for other cases. Pick-to: 6.1 5.15 Task-number: PYSIDE-1563 Change-Id: Ib0d58662a4257a315865436a32e99d9ee6369e03 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Improve documentation on ownershipFriedemann Kleint2021-05-252-13/+68
| | | | | | Pick-to: 6.1 Change-Id: Ie2c8b069d78315736140ce8857e3f60f96b018e0 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Fix up the documentationFriedemann Kleint2021-05-228-60/+117
| | | | | | | | | | | | | - Link elements to their parent elements and to each other - Link attribute "invalidate-after-use" of modify-argument - Mention 3 ways of injecting code - Fix and add more external URLs - Remove unsupported "since" attribute of inject-code - Remove unsupported "target-declaration" modification Pick-to: 6.1 Change-Id: I3132b345468935f7b022153e3cbea0d519cd559f Reviewed-by: Christian Tismer <tismer@stackless.com>
* __feature__: Support generation of modified .pyi filesChristian Tismer2021-05-218-29/+142
| | | | | | | | | | | | | | | | We add a possibility to select features before generating the pyi files. This will improve the feature adoption, because common IDEs can use these changed .pyi files. - avoid crashes because of early selection - add an option to generate_pyi - document pyside6-genpyi and shiboken6-genpyi - build a correct display of properties Task-number: PYSIDE-1019 Pick-to: 6.1 Change-Id: Ib75dfcbaccaa969ef47eeb142d9c034a2a6c11d6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>