Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* shiboken6/Documentation: Nest inner classes' pages into outer classesFriedemann Kleint2024-10-251-1/+1
| | | | | | | | | | | | | | | | | | | Referencing inner classes like QByteArray::FromBase64Result did not properly work due to the inner classes being generated to separate documentation pages. Change this such that inner classes are nested into the documentation of the outer class. The problem though is that this causes excessively long pages for Qt modules with namespaces like Qt3D/QtDataVisualization (all deprecated). For them, a type system attribute is added to keep the old behavior. Pick-to: 6.8 Task-number: PYSIDE-1106 Change-Id: I51330afa739027c28930af3902b83b1e762b92ef Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Add attributes for global inline namespacesFriedemann Kleint2024-04-081-1/+2
| | | | | | | Pick-to: 6.7 Fixes: PYSIDE-2590 Change-Id: I36ce25bc759cd888f80b797d4f40864c3d2e2a84 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Build system: Clean Qt libraries linked by the modulesFriedemann Kleint2024-04-041-4/+2
| | | | | | | | | | | | | | Only the bound Qt library needs to be linked, it will bring its dependencies. Add explanatory comment for the exceptions (QtTest, QtSql). Pick-to: 6.7 Task-number: PYSIDE-2649 Change-Id: Ib84d37248578a76400d307bb5d050005110677c3 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>
* PySide6: Fix some generation warnings about enumsFriedemann Kleint2023-05-121-0/+4
| | | | | | | | | | Some modules pull in QtNetwork/QtQml via their Depends headers although it is only a private/link dependency. Suppress warnings about the enums. Pick-to: 6.5 Change-Id: I35d75ca538bb770294e434b83233600462805e99 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Numpy support: Handle short/long/long long integer typesFriedemann Kleint2023-05-051-0/+16
| | | | | | | | | | | | | | | The default type of numpy is int64 on Linux and long in Windows these days. As numpy is still based on the old long/long long scheme for the types, add some mapping. [ChangeLog][shiboken6] numpy support has been extended to handle short/long long integer types. Fixes: PYSIDE-2313 Pick-to: 6.5 Change-Id: I75d9277ae0867401c2c188efb3a50f4c53c4fc24 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Fix QScatterDataProxy::resetArray() crashFriedemann Kleint2023-03-031-5/+6
| | | | | | | | | | | | | | Pass an allocated array to the function, similar to 00228b7605f63c58ab979362ecaa2bef96c7dc67 for QSurfaceDataProxy. A specific code snippet is used since it needs to operate on a pointer (QList* instead of the custom type for the 2-dimensional types of surface/bar). Task-number: PYSIDE-1438 Task-number: PYSIDE-2206 Pick-to: 6.4 6.2 Change-Id: I20b0f67ace4090e21c13995f94e22e37fb5fa940 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix QBarDataProxy::resetArray() crashFriedemann Kleint2023-03-011-5/+11
| | | | | | | | | | | Pass an allocated array to the functions, similar to 00228b7605f63c58ab979362ecaa2bef96c7dc67 for QSurfaceDataProxy. Task-number: PYSIDE-1438 Task-number: PYSIDE-2206 Pick-to: 6.4 6.2 Change-Id: Ic3dd05b014b04425846889feb5e4df6cbe9d7675 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Add license headers to cmake filesFriedemann Kleint2023-02-161-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Task-number: QTBUG-105718 Task-number: QTBUG-88621 Change-Id: I98bd2e80f182d8bf7aef6b633f37a428e2dac69b Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Fix unity build of QtDataVisualizationFriedemann Kleint2022-12-191-5/+4
| | | | | | | | Include headers into the source instead of the wrapper header. Task-number: PYSIDE-2155 Change-Id: I503fddb82e063b71b1c5f03f365eadc3185c8f13 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add setters for the the lists in QValue3DAxisFormatterFriedemann Kleint2022-09-071-0/+25
| | | | | | | | | | | QValue3DAxisFormatter::gridPositions(), QValue3DAxisFormatter::labelPositions(), and QValue3DAxisFormatter::labelStrings() return non-const-references to lists for modifications. In PySide, add setters for them. Task-number: PYSIDE-2025 Change-Id: I90f788962380eb2ff95736b33533c1c09b59fdce Reviewed-by: Christian Tismer <tismer@stackless.com>
* QtDataVisualization: Add ownership transfers for QValue3DAxisFormatterFriedemann Kleint2022-08-081-1/+13
| | | | | | | | | | | | Add ownership modifications to the setter and factory functions. Amends 966fa464d1f91292c91bede88bfaf1741acdce6e. Pick-to: 6.3 6.2 5.15 Fixes: PYSIDE-2019 Change-Id: I257af1533509d823a70aa0a8f8704d3f211b23a7 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Use SPDX license identifiersLucie Gérard2022-05-272-76/+4
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Move numpyview from libpyside into libshibokenFriedemann Kleint2022-05-132-7/+7
| | | | | | | | | | libpyside then no longer depends on numpy. There is only one place left where numpy is initialized, allowing for dynamic loading. Task-number: PYSIDE-1924 Change-Id: I50d02814f8cc6eb85d8cdb5330cfff3b586656ad Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add a numpy overload for QSurfaceDataProxy.resetArray()Friedemann Kleint2022-05-053-1/+143
| | | | | | Fixes: PYSIDE-1880 Change-Id: I67ab9b3d0f6132f14ef4e21d4b2f85c43242de5f Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix QSurfaceDataProxy::resetArray() crashCristián Maureira-Fredes2021-09-211-2/+5
| | | | | | | | | | Pass an allocated array to the function. Complements dd4d4fe1ee74cc6dae370a8a9dcced53dc9a3898. Task-number: PYSIDE-1438 Change-Id: I4120a0dbeb3a4a4a740125ba9c27f78e61875457 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Add further global functionsFriedemann Kleint2021-06-181-0/+3
| | | | | | | Task-number: PYSIDE-1482 Pick-to: 6.1 Change-Id: I337f8c817bc4d612a02a5482a63a94303e11c300 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix crash in QCustom3DVolume::setTextureData()Friedemann Kleint2021-05-131-1/+7
| | | | | | | | | | | | | Similar to 3a18da91353a71e801658329c55b170c18bcd824, pass an allocated list to the function. [ChangeLog][PySide6] A crash in QCustom3DVolume::setTextureData() has been fixed. Pick-to: 6.1 5.15 Fixes: PYSIDE-1362 Change-Id: I7dddaf7be33b84b89d66378ec61f6a065f6d71be Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Qt Datavisualization: Fix crashes in QBar/SurfaceDataProxy add/set/insertRow()Friedemann Kleint2021-03-171-45/+58
| | | | | | | | | | These function take an allocated array. Replace them by functions that take the list by const-ref and pass the allocated copy. Pick-to: 5.15 Fixes: PYSIDE-1438 Change-Id: Id58cdbc4b939713b71724f5d4a67f0448c74f33f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Rename the templates and adapt the types from QVector to QList in ↵Friedemann Kleint2021-03-011-17/+17
| | | | | | | | | DataVisualization Task-number: PYSIDE-1482 Task-number: PYSIDE-1438 Change-Id: I244adaf382a7be5fa9c78d454035133effbca209 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Remove namespace from QtDataVisualizationFriedemann Kleint2021-01-282-411/+408
| | | | | | | | | Adapt to qtdatavis3d/587d44e8077196ed4aa3df1484e69adcba2dc268. Task-number: QTBUG-90400 Task-number: PYSIDE-1482 Change-Id: I2a5ad5212cf349805937a32caa90e383c8b533d6 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Rename PySide2 to PySide6Friedemann Kleint2020-11-022-0/+487
Adapt CMake files, build scripts, tests and examples. Task-number: PYSIDE-904 Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88 Reviewed-by: Christian Tismer <tismer@stackless.com>