| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building on Fedora rawhide, we sometimes end up running
generate_pyi.py script while shibokenmodule is still being built,
resulting in the following error message:
ImportError: (...)/Shiboken.cpython-313-x86_64-linux-gnu.so: file too
short
Pick-to: 6.7
Change-Id: I500679bf12e4ba5a820db6c7971f8cdb0012b965
Reviewed-by: Christian Tismer <[email protected]>
Reviewed-by: Łukasz Patron <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
The singleShot overload that accepts a context argument was used inside
the do() method of the QAsyncioExecutorWrapper class, but this usage was
unnecessary and adds confusion.
Task-number: PYSIDE-769
Change-Id: Idcdd99eda6ae3bfd11ec50b9a42ff15ade005cc9
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Pre 3.8 is no longer supported. Move the code into a static helper
for macOS only. This also fixes analyzer warnings about
ignoring return codes.
Pick-to: 6.7
Change-Id: Idd1a53729152f132958f94d288c13ac4399b6c78
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixes a static analysis warning about using macros and makes it
consistent with the generated code.
Change-Id: Ia5ea094e4e41a622d409f25c69492682d08f1c52
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Initialize variables
- Use auto *
- Use range-based for
- Move '#include "sbktypefactory.h"' from basewrapper.h to shiboken.h
(for use by the generated code)
- Fix some int types (Py_ssize_t/size_t) to avoid lossy conversions
Change-Id: I7cc8b33850afcd07cc8f9a115e56a77cbacd58b0
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.7
Change-Id: I5fbc1be390c7d24ef7f204721cd060e5d61c88e0
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.7
Change-Id: If870ad3e34721da6c7f3d618b1b36378ec4bc754
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
|
| |
- Not relevant with the latest Nuitka version that we use with
pyside6-deploy
Pick-to: 6.7 6.5 6.2
Change-Id: Id3e9cc5bcad678cb00a1b6049c740c5e321fbdde
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
- Additionally, remove some comments from default.spec that are not
relevant anymore.
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: Iea2fed95507b6e649285e409cf8678287bf15a56
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the scenario where 'pyside6-deploy --init' is used on the first run
and for the consequent invocations, only running just 'pyside6-deploy'
without any additional options, the deployment should have worked.
This currently had a bug where it overrides the main Python entrypoint
file with the default option of 'main.py'. This issue is caused due to
the order of 'if' loop in the changed function.
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: I605c4b9ff2035e85c0b5f73049a3ecc84d0fd80c
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
- enable the tool for macOS
- add dependency .xml to the Android wheels
Pick-to: 6.7
Task-number: PYSIDE-2766
Change-Id: I77495466b8a9cc3565c640beac202d533ee1d2a6
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Amends 32e353e9d91f45c23dcb07b0798237c79795cf0a
Pick-to: 6.7
Task-number: PYSIDE-1612
Task-number: PYSIDE-2622
Change-Id: If14d53e5547d2f91d6cdad6a3460a50b375cdd9f
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Return a shared ptr to function from
AbstractMetaBuilderPrivate::traverseFunction(), avoiding
leaks when a function is not used.
Pick-to: 6.7
Change-Id: I2fd215a25301fa6773f589bb3f085cf4c1febdd7
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* opcodes have changed numbers. That made "import *" etc. fail.
* PUSH_NULL is sometimes inserted before a call.
* enum_test needed an overhaul due to opcode changes.
Python 3.13 works fine.
Supporting --disable-gil is a different issue.
Task-number: PYSIDE-2751
Change-Id: I37b447148787e2923a58c091a5c8ac808d579bc0
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
- Full support for Python 3.12
- Experiemental support for Python 3.13
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: Ib4699351ec4105de756b4ac16cd7b3a49054a614
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keeping a reference to the original import function is
needed in case someone else modifies import, too.
Thanks to Tony Roberts for this finding.
Change-Id: I6c362698e86e57b1a27cdd9367a89705e944825f
Fixes: PYSIDE-2780
Pick-to: 6.7
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- enables the standalone mode of Nuitka for pyside6-deploy
- the mode can be set either through the command line or the config file
- adapt tests
- update documentation
Pick-to: 6.7
Fixes: PYSIDE-2622
Task-number: PYSIDE-1612
Change-Id: I5a10c857d3e79174d2643139eb2e4f7b5e10d955
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Amends c7c7dc9ba6da83f26d2ecda33a9af58d3f8f5f20,
11afd18d34c17a345315d226b6124dc1fd31d12c and
28d04cae204881392ddc0826a570d05ba82c5ee0.
Pick-to: 6.7
Task-number: PYSIDE-2404
Task-number: PYSIDE-2768
Change-Id: I7caed5c4bddfaa594dfb692d5e087e0c88208e3e
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Smart pointers for which additional conversions to smart pointers to
base classes of the pointee were registered after the type creation
caused a crash with the lazy loading since getConverter() returned 0.
Move these functions into the wrapper source and register them from
the type creation functions.
Task-number: PYSIDE-2404
Change-Id: I5f151748018c9cd84487ca92dee9cf4a42f7e4a7
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This problem is new shown in Python 3.13 although this
was not correct before.
We need to remove the error before issuing a warning.
Task-number: PYSIDE-2751
Change-Id: Ie4572e043388ca3f87092ea886e935b583f871b4
Pick-to: 6.7
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
Split writeInitFunc() into 2 functions for declaration/call.
Task-number: PYSIDE-2404
Change-Id: I173782409dd8dae3ae8f9eea474198a8f600ce06
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.7
Task-number: PYSIDE-535
Task-number: PYSIDE-2404
Change-Id: I6d05e73457de7d12213bf9b046359355fcb0a941
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Ensure PyEnumModule is set.
Pick-to: 6.7
Task-number: PYSIDE-2404
Change-Id: Ie7b127129eba583a02e3b2d33ae640cea84bfb59
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
namespace
Previously, named instances of smart pointers from the std namespace
would always end up in namespace std, too. Make it possible to prefix
the names by "::", indicating global namespace.
Change-Id: I45d7d7defa156730ed80c4b21bcc3c515b5ece74
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
The license is already at the top of the header, no need to
repeat it above the wrapper class declaration.
Change-Id: I20fcfd57ca0afa635c2c4d4b6d37fd2e5caf4b85
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
| |
Change-Id: Ic240149cd5edba8357222cfc0d9e911eeb50f304
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move PySide6-related logic to the doc generator.
Prepares for adapting to
qttools/c51980bb0d9658f2ade4de1900d07b08e88cb52d.
Task-number: QTBUG-119500
Task-number: PYSIDE-2620
Change-Id: I994bd3c159654e133d71ee7fac3725ffed47c52c
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.7
Change-Id: Ic3caa3c98248d45a91a188c1af0d9a0a07d402f9
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Manifests for classes like Q3DSurfaceWidget appearing in
QtGraphsWidgets.
Task-number: PYSIDE-2620
Pick-to: 6.7
Change-Id: I4c8bf6afb48a24a00ba3e8a5c5228a3d49302418
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
| |
Remove -S and use -DCMAKE_C_COMPILER=cl.exe consistently.
Pick-to: 6.7
Change-Id: I73a4e9aaf37bb082d8a4398113c8752caebf9358
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the smart pointer specialization name if one can be found.
Move findSmartPointerInstantiation() from CppGenerator to
ApiExtractorResult and add a CppGenerator::pythonSignature() wrapping
around AbstractMetaType:::pythonSignature() (which does not know
about instantiations).
[ChangeLog][shiboken6] Signatures of smart pointer parameters have
been fixed.
Task-number: PYSIDE-2768
Pick-to: 6.7
Change-Id: I99c54067366dd98c2e23f94192ee220f05f14e23
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set the correct parent entry on the smart pointer instantiation type entry.
This allows for removing a special case in the source generator and
namespaces will be correctly reflected. It is also the prerequisite
for a follow-up change making it possible to use global namespaces for
smart pointers in namespaces.
Also remove the setting of the enclosing class and the associated flag
InheritTemplateFlag::SetEnclosingClass from
AbstractMetaBuilderPrivate::inheritTemplate(). Instead, always set the
enclosing class in ApiExtractorPrivate::addInstantiatedSmartPointer()
instead, depending on the type of the parent entry.
Task-number: PYSIDE-2404
Task-number: PYSIDE-2768
Pick-to: 6.7
Change-Id: I921e255c2ceaeb9eaf84e5ac1c4953bcf7d09b57
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Additionally, also move setting Python_SOABI manually for Android to
where FindPython CMake module is called. This also aids in naming the
wheel correctly.
Pick-to: 6.7
Task-number: PYSIDE-2766
Change-Id: I73c089d31e2ee629f3ed676965fca27d53882110
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- For macOS, the Ndk is downloaded as .dmg image. This code downloads
the .dmg image and mounts it to extract the NDK.
- The SDK is downloaded as a .zip file. It is then extracted.
- For the build-tools, version sometimes previously the latest version
was downloaded which also included RC versions. The current code
changes makes sure that RC versions are not downloaded.
Pick-to: 6.7
Task-number: PYSIDE-2766
Change-Id: I1be39b1dff55bb1f2f4c3f4882908b429d37f4cd
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The name of the specialized class is the main type name for them.
Complements d62735b39214ed57e5f2b1c5f66a0e2263854b7b.
Task-number: PYSIDE-2768
Task-number: PYSIDE-2404
Change-Id: I606af8580c61ee36f9e5238787dcbcafb8691758
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Shyamnath Premnadh <[email protected]>
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-2404
Pick-to: 6.7
Change-Id: I547e564df85b61c7fad6c8c4e8f5604dc999f238
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
manylinux_2_28_x86_64
llvm-config --libdir reports /usr/lib64 on manylinux_2_28_x86_64
whereas the includes are under /usr/lib/clang/../include.
Fixes: PYSIDE-2769
Pick-to: 6.7
Change-Id: I217d6bf62bbd2e63258b91d64fb9c0fe5f1ff052
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-2769
Pick-to: 6.7
Change-Id: I73fee8b893d8167ee3acd99ef39ae25f8d388de1
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- first of many patches to support macOS host for Qfp Android
cross-compilation.
- Use config.guess present in cpython repository to guess canonical
name of the host system. This sets up build for hosts other than
linux.
- As a drive by, update the default api level to 26 to sync with Qt
minimum version 6.7.0.
Pick-to: 6.7
Task-number: PYSIDE-2766
Change-Id: Ifcf0921776e6a682d5724f439739ed098ccc6ef3
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove the use of patchelf to set the SONAME of the libpython shared
library.
This can be done during the build process of CPython for Android
by setting the INSTSONAME variable in the Makefile.
- In addition, remove the redundant parameters passed to make install.
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: Ia18a1480a676abb89ed1afa3250f3745fffedbdd
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Exercise inner type names with namespaces.
Pick-to: 6.7
Task-number: PYSIDE-2404
Change-Id: I9f0d4f165de6b09887922c251190e238ca9e4ca3
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Amends c828416efc0b88747cab85d941a149d91487466f.
Task-number: PYSIDE-2404
Pick-to: 6.7
Change-Id: Iab9082751e40c16ccf6cd47bdefdde220febb301
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Improve the inline documentation of QtAsyncio with more comprehensive
comments.
Pick-to: 6.7
Task-number: PYSIDE-769
Change-Id: Ia25bab88de3cb66178ced15fe3b2a4d35e9c09a0
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.7
Task-number: PYSIDE-2404
Change-Id: I7e5838c6da45cf6ec24d3ef623ae6d34f04d9177
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
| |
Amends f34dcb84adf20e9f3428660636aa8d377d14fc3b.
Pick-to: 6.7
Change-Id: I399ac7623b05e16d904199da621a969a20ccaf0a
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Add the __call__ operator.
Fixes: PYSIDE-2767
Pick-to: 6.7 6.5
Change-Id: Ic73df2918fb8effaceeddbcb2c92f7ac7eb861c5
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Temporary requirement since my latest changes are not yet merged into
the master branch of p4a. This will be remove once the changes are
in the master branch of p4a.
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: I0e992b053de727660f4090779ee395e7a85451e6
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-2620
Change-Id: Iff5ac3c8281893adfa0ba3cbd64936fd7c4d6257
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Fix an issue where exceptions were not shown when raised inside a slot
called from a zero-delay singleshot timer, causing problems further down
the line.
Pick-to: 6.7
Fixes: PYSIDE-2745
Change-Id: Iab7696663e5dfa00d99d28ee21ac687fde4cf731
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
| |
Change-Id: If7dafe4e23727f822e26307bedbb46bfaf9c0655
Reviewed-by: Adrian Herrmann <[email protected]>
|