| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix warnings:
build/testenv610ia/build/pyside6/doc/base/tutorials/drumpad/index.md:73:
WARNING: Include file '/data1/kleint/examples/tutorials/drumpad/final_project/Python/audio/audio_engine.py' not found or reading it failed
build/testenv610ia/build/pyside6/doc/base/tutorials/drumpad/index.md:90:
WARNING: Include file '/data1/kleint/examples/tutorials/drumpad/final_project/Python/audio/audio_files_model.py' not found or reading it failed
build/testenv610ia/build/pyside6/doc/base/tutorials/drumpad/index.md:106:
WARNING: Include file '/data1/kleint/examples/tutorials/drumpad/final_project/Python/audio/waveform_item.py' not found or reading it failed
Amends efd8944b263a099e901ab588bc2d9357554f6ead.
Change-Id: I00f98fc3292679347466e93cf513993eb0d48481
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Fix warning:
sources/pyside6/doc/tutorials/finance_manager/part1/part1.md:354: WARNING: 'literalinclude': Has content, but none permitted [myst.directive_parse]
Pick-to: 6.9 6.8
Change-Id: Icf3b5e56548d6e04ff19e50c0d463e917cb5d0c4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix warnings:
sources/shiboken6/doc/shibokengenerator.rst:507: CRITICAL: Title level inconsistent:
sources/shiboken6/doc/shibokengenerator.rst:519: CRITICAL: Title level inconsistent:
Amends fa00d37d891d20f9080afeb2003cdd9675cb86a3.
Task-number: PYSIDE-3138
Change-Id: Ibbce67bb4dc0caa296808eea35f11dd21d31275a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Prepare for multi-phase initialization by splitting out
an exec() function to be called from the Py_mod_exec slot.
Task-number: PYSIDE-3155
Task-number: PYSIDE-2221
Change-Id: I63dbb5f0a9add8690e5d4d861a928d82d2bac26e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-3351
Change-Id: I4c28d808d09a8cdff6bea1a1f4a2a7a61c8a2694
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-3138
Change-Id: Ic78909b498c38bd2dfbffb00a90c503cfa812c34
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- Add documentation for shiboken_generator_create_binding CMake function
Fixes: PYSIDE-3138
Change-Id: Ib6b7c25d6fe81c29e3a478392eed7d85f709af47
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- By using Shiboken6Tools CMake package, the dependency on
`pyside_config.py` can be removed, and much code can be simplified.
- Modify the generated library so that it is built with Limited-API
support.
- wheel_tester.py adjusted during testing so that the correct
Python is identified i.e. in the case of venv, the Python from
venv should be used by FindPython instead of the system Python.
- Adjust 'Shiboken6ToolsConfig.cmake.in' to also use a dynamically
computed `Python_SITELIB` to support RHEL systems.
Task-number: PYSIDE-3138
Change-Id: I711cdbd04c7b35459f0c775d8eb76f1c85acc188
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
qtbase/5d857ed3bce64e4a7bdc5247c7dd9ca4495fb10b causes an issue here
since since quint32 converts from const void*. Work around by
specifying an (arbitrary) overload number.
Task-number: PYSIDE-3011
Task-number: PYSIDE-3172
Change-Id: I8af55732bf85032421ed22971848da7d7c327a08
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Remove flags, fixing:
sources/shiboken6/libshiboken/sbkfeature_base.cpp:136:22: warning: unused variable 'flags' [-Wunused-variable]
Pick-to: 6.9 6.8
Change-Id: I3c4959d129c3ba7b464394e7c9fa790fcb43d0fc
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
addendum
2 occurrences were overlooked in the first patch.
Amends e068fe929a7e90a3c5c7844b14fbe15891349c10.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: If28c8ffd32f0d7f202b92907fb30a4b0c329ce07
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
PyModule_AddObject() is deprecated in 3.13 in favor of PyModule_Add()
(added to stable ABI in 3.13). Add a Pep function for it.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: If69739267a37def164cf5a0f1843eac226933e57
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PyModule_AddObject() is deprecated in 3.13. For adding types to a
module, PyModule_AddType() can be used instead (added to stable ABI in
3.10). Add a Pep function for it.
This requires adapting some type names in QML.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I169a6b7071c780dd3c3ec2ddd0762dca6cacf067
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyEval_GetBuiltins(), which returns a borrowed reference, has been
deprecated in favor of PyEval_GetFrameBuiltins(), which returns a new
reference, for the stable ABI in 3.13.
Add a Pep-wrapper which emulates the new behavior and use that.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3351
Task-number: PYSIDE-3147
Change-Id: I6b726aa110b311c038dc7db749f006fc3c63acf5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.9 6.8
Task-number: PYSIDE-3171
Change-Id: I3499a6b5ef46b865a6719e55da2fd1270f962777
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyEval_GetGlobals(), which returns a borrowed reference, has been
deprecated in favor of PyEval_GetFrameGlobals(), which returns a new
reference, for the stable ABI in 3.13.
Add a Pep-wrapper which emulates the new behavior and use that.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3351
Task-number: PYSIDE-3147
Change-Id: Ic1eba66bf2be23b057a3b21db671e98558394923
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Some macros (Py_INCREF/Py_TYPE) were reimplemented as functions,
unearthing some type incompatibilities.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: If10bc5941d718d8845c7bbd5facf6021539aad34
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
<=3.10)
The type name should be a global, static string.
Amends 19abd816e73bebdd489408d0a3b7676822bff39c.
Task-number: PYSIDE-862
Pick-to: 6.9
Change-Id: Id1c3de06fff71f35aa6d86be7759e3403204f7e6
Reviewed-by: Brett Stottlemyer <brett.stottlemyer@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Following the "include only what you need" principle.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3171
Change-Id: I6579417f62f9cb0a494d244ed23eb31d924bb79f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PySide has a copy of the buffer code in bufferprocs_py37.cpp/h since
it was not part of the Limited API. It has been re-added to the
Limited API in 3.11 (except some internal structs), introducing
clashes when raising the Limited API version.
To fix this, move all buffer-related structs from pep384impl.h to
bufferprocs_py37.h and consistently name them with a "Pep" prefix.
Introduce some sections depending on Limited API version to fix
compilation.
Note this header does not follow the convention to provide all
functionality with a "Pep" prefix, since there are too many "Py_"
macro defines.
Task-number: PYSIDE-3171
Task-number: PYSIDE-3147
Change-Id: I628d50e5298563c9eacf3bcb87bd8f8cb9d4f3aa
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
Pick-to: 6.9 6.8
Task-number: PYSIDE-3171
Task-number: PYSIDE-3147
Change-Id: Ie87993a9723679171c68db423741c47c46a374b6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Complements 5608c60f47f6c39a6c1dee5fb165c6d70bd1ee3f.
Task-number: PYSIDE-3171
Pick-to: 6.9 6.8
Change-Id: I57f0d8bbd8d0f82367f03d0f55297e74361c44da
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Somehow, by rearranging functions, the values of the converter
compatibility indexes were doubled, too, like the type indexes where
the underlying array was expanded. Maintain the correct value for the
converter compatibility indexes.
Amends 7f69d4d562e1d19efd2c505dceea387a4a87dcfe.
Pick-to: 6.9 6.8 6.5
Task-number: PYSIDE-2404
Change-Id: Iebd5b816090e5dcff3b122f17dbb18756f59e83a
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Expand to two function calls as explained in the documentation.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I6862c541a273528d312c9521bff80e24ae36582c
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
debug Python
Call communicate()/wait() for the ctest process as well.
Fixes:
lib/python3.14/subprocess.py:1138: ResourceWarning: subprocess 232749 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
testing/runner.py:231: ResourceWarning: unclosed file <_io.BufferedReader name=3>
self._run(cmd, label, timeout)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Pick-to: 6.9 6.8
Change-Id: I7a6cdc29b65520fdd6670e2e8f0629ff0d2f629f
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Amends 0489ec7734c21f1329b432b629cc2e19aef47465.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Task-number: PYSIDE-2404
Change-Id: I1d922fbff3fac84fec83123be68ef3274d8ca5f6
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Replace by PyLong_AsLong()
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: Ie8e7edac7c92d7d4e126431921dfced387e588e6
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Added missing operator << overloads for QPolygonF and fixed QPolygon operator << return as QPolygon instead of None.
- Added the glue code for QPolygonF as well.
- Stubs now correctly show returns as QPolygon/QPolygonF and chained shift calls type check as expected.
Pick-to: 6.8 6.9
Fixes: PYSIDE-3047
Change-Id: I075e5f3fe6644936a31c158136e033e6970797ce
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Apparently, some C-headers providing string functions are no longer
transitively included.
Change-Id: Iec8160a3bacbc314719bbe5b32f78403900031da
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
QtCore.Property
- The stub previously declared notify as Optional[Callable[[], None]], but at runtime notify must be a Signal (emitted when the property changes), never a Callable.
- This caused errors in type checkers when passing a Signal to notify.
- The annotation is now updated to Optional[Signal]
Pick-to: 6.8 6.9
Fixes: PYSIDE-2308
Change-Id: Ie42e220c51dc0419524b9dc5696371f03c42cad9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Removed mypy comment and moved it below stub docstring
Pick-to: 6.9 6.8
Fixes: PYSIDE-3163
Change-Id: I8e1aafe45a9efe1797e097662c9740ca11422067
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Since having 'from __future__ import annotations' is redundant in .pyi files, this statement can be omitted.
Pick-to: 6.9 6.8
Fixes: PYSIDE-3162
Change-Id: I956ea7f1f7587ef2ddf942ca84b0941bd4bcc492
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Adapt to qtdeclarative/a867363541b59b8e36d56717ff2cb3a271df5997.
Update the .qml files and fix the contact model to work.
Pick-to: 6.9 6.8
Task-number: QTBUG-119987
Fixes: PYSIDE-3167
Change-Id: Ib27ef248f539c130baa0f04d6c9a6938f718882d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
hierarchies
Amends 6f996ff3439e69b3938e617135b266974802d5b1.
Fixes: PYSIDE-3158
Task-number: PYSIDE-3115
Task-number: PYSIDE-3069
Pick-to: 6.9 6.9.2
Change-Id: I66bbc9d79d850c108411f9dcbe7e3090ad15b0b3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Inspecting the `samplebinding` example, much of the code to
effectively call `shiboken6-generator` can be moved into CMake
function `shiboken_generator_create_binding` and shipped with
`Shiboken6Tools` cmake package enabling users to
easily use `shiboken6-generator` in their CMake projects.
This also helps to get rid of the `pyside_config.py` script which
is used to query certain required paths.
- This `Shiboken6Tools` CMake package is packaged with the
`shiboken6-generator` wheel and can be used easily in CMake projects
by using the `find_package(Shiboken6Tools)` command by adding the
Python site-packages directory to the CMake module path.
- The `shiboken6-generator` path installed into the Python site-packages
is different from the one used by the consecutive setup.py build/
super project build. Hence, we create a new export set
`Shiboken6ToolsWheelTargets` just for the wheel package. When
copied into `package_for_wheels` this export set is used.
- Add a special condition to the `Shiboken6ToolsConfig.cmake` file
to skip the dependency checking when building PySide which would
otherwise lead to a circular dependency.
Task-number: PYSIDE-3138
Change-Id: I199b8d9fe743adee4e3b12e8a7e1ad01f3c277de
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I64048d9263c529ccb41ee70eb6766f5e02507011
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I0c09b222e68ee0563dc4b0bf07f798f800a63371
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d563bfbd200ecd1ae538479b5031e88272c9ed37.
For 6.10, it creates an ambiguous signature for
QDBusArgument::operator<<(QList<QVariant>)->QDBusArgument&
QDBusArgument::operator<<(QStringList)->QDBusArgument&
and using iterable for containers other than QStringList and numpy
is incorrect.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3140
Change-Id: Id0732ac483b6b2928fe5a3943dfd61e03885d5fb
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
Adapt to qtgraphs/467bcff49d9733ef7c564b6ee0ceffb66a03292d.
Task-number: PYSIDE-3011
Change-Id: I875631e17411ca1804854eabad8ef4a0d8be7cea
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I36d115fd150419bc631e3ea4706e217500d00152
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] Bindings for QNativeInterface.QWaylandApplication
have been added.
Initial-patch-by: Mark Harfouche <mark.harfouche@gmail.com>
Fixes: PYSIDE-2787
Change-Id: I3484fbd37cb4cd0ae70fde770eb9195a78f4b061
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some invalid Python code caused the highlight series to be empty and a
subsequent crash.
Also, adapt to qtgraphs/98029f9d71c7ae8c5c8f052b03f350ad23e8759c by
swapping coordinates.
Pick-to: 6.9 6.8
Fixes: PYSIDE-3153
Task-number: QTBUG-116785
Change-Id: I6366cb4858fad29e46fac01efbb6c26675c743b8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.9 6.8
Fixes: PYSIDE-3140
Change-Id: Ic88ad2b7afbf485c31ff71ccefb51b83731a609d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Amends eddb03bdc152a95ef7c161c0270e7da9001b327c to add a condition
for windows.
- For Windows builds, the default is the limited API build for
Shiboken as seen in ShibokenSetup.cmake and ShibokenHelpers.cmake.
Change-Id: I5c3823166969e3e7fc6306a2a32c5d82d2e9139d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
In order to enable the deployment tool,
we need to have the Sounds in the same directory.
Ammends efd8944b263a099e901ab588bc2d9357554f6ead
Change-Id: Idd89ba3b1624f24ed2c36d45af3d09802eb9b22d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Fixes: PYSIDE-2956
Pick-to: 6.9 6.8
Change-Id: Id8f9d2fb1b5c623e2d449b9362088ba581dd3788
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
Amends 857c8ba006b44c51aa45967fea966b9f813b5a91.
Pick-to: 6.9
Change-Id: I90871779252e93d9b67a1ac6f9109b8349ef96b9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
As of 3.14, the interpreter will sometimes just borrow references and
newly created objects may have different initial reference counts. Fix
the test cases where a base ref count of a new object is compared
against.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I698be2309362fc65f6727971a5cec4fc4f40cf2e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
| |
Change-Id: I0df7e1365b130433fda670e3a7f7ea8fb93378b1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Use .value to compare against the Enum value in a hidden
namespace.
Task-number: PYSIDE-2404
Change-Id: I2a7bda2aeac6aa69b3d38d2e377ac9b1127e1fee
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|