| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Debian, Python 3.10 introduced some changes to the scheme
in the system, defaulting to 'posix_local' instead of the 'posix_user'
which was previously used, and is currently used in other Linux
distributions.
For example, these values got changed from (posix_user):
data = '/usr'
platlib = '/usr/lib/python3.10/site-packages'
purelib = '/usr/lib/python3.10/site-packages'
to (posix_local):
data = '/usr/local'
platlib = '/usr/lib/python3.10/dist-packages'
purelib = '/usr/lib/python3.10/dist-packages'
This change forces the usage of the 'posix_user' scheme.
Fixes: PYSIDE-2003
Pick-to: 6.8
Change-Id: Ice0ca9adc37c2652f5ef6ce9e0aec0f2f324206b
Reviewed-by: Shyamnath Premnadh <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I35beb0cd1869df890238f8a0f011c05455a704a3
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Venugopal Shivashankar <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix some oversights of previous changes:
- Bump limited API
- Fix CMake files
- Remove outdated version checks from Python code
- Adapt some documentation
Pick-to: 6.8
Task-number: PYSIDE-2943
Change-Id: Id8d9c4c6bb0629948de28beb3c4274991f84ff08
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-2943
Change-Id: Iaf02a21112e3d8b89fa6396481afd584a14bd952
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-487
Change-Id: Ia20a9dbfc00e61781fb4be0fa0a205facbb82a1a
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The examples without 'doc' are not clickable in the documentation.
Hence, the examples that demonstrate QML to Python signal-slot
interactions was broken in the documentation.
- This patch adds the documentation for the missing examples.
- Additionally, 2 examples were removed because the functionality
was already covered in other examples.
Pick-to: 6.8
Change-Id: I2d397b47426cc1941914ceb3f66b5f7f98968c09
Reviewed-by: Ece Cinucen <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
It needs to be a value type for the underlying QVariant conversion.
Fixes: PYSIDE-2936
Pick-to: 6.8 6.5
Change-Id: Id62adad6b886546a33d3f030ee98312d1b0586ab
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
Adapt to qtdoc/1c75be529062c08291da10cff40b5116de11adb1.
Pick-to: 6.8
Change-Id: I14ddc49684c8546e5bcfbcb6123b64a0faa04165
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
Slider was not adjusting the volume. This bug on multimedia/player example fixed.
Pick-to: 6.8
Change-Id: If73eed44959acaf66727412f2ddff42eb616abee
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a missing docconf files:
- QtWebView
- QtStateMachine
Fix documentation of QtPdfWidgets (point to QtPdf).
Adds documentation Qt::mightBeRichText and Qt::convertFromPlainText
(namespace "Qt"/QtGui).
Pick-to: 6.8
Task-number: PYSIDE-2918
Task-number: PYSIDE-1106
Change-Id: I4eccaa20cfe82c2ec44cdbef6ec091d4592c0699
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Complements ad5eb64daaaa1b927bcbf9e568738f417fef845f.
Add a doc-file attribute to complex type entries
(object/value/namespaces) like it was done for enums and free
functions by ad5eb64daaaa1b927bcbf9e568738f417fef845f.
This is mainly intended for namespaces that can be extended by other
modules.
Change the functions to parse WebXML to accept lists of files. Improve
the error message about not finding qdoc files.
Pick-to: 6.8
Task-number: PYSIDE-2918
Task-number: PYSIDE-1106
Change-Id: I2811e0715b7f44a4461876019580295f5af4ea06
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Nuitka 2.5.1 imposes strict checking for the Qt plugins included
through the --include-qt-plugins option by checking if the plugin
actually exists in PySide6 installation. Consequently, the plugins
"accessiblebridge", and "platforms/darwin" which are not required
by Nuitka are removed from the list of plugins to be included.
- Adapt tests.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: I89cef4acf102e01c229b1dd6063fc08903ea686d
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
- Use nullptr
- Remove C-style casts
- Streamline code, using AutoDecRef
Pick-to: 6.8
Change-Id: Ib583269f75bce7a2bd44758a3b75842197f5ea97
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Ignoring .webp files are not needed in the newer Nuitka version.
- Additionally, also adds a comment differentiating between the
`plugins` fields used in the deployment configuration file.
- Adapt tests.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Ibbaab03021fa50e4777caa346a2c128fd5e1a06c
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Change-Id: I82f38a1ec06b922e8554d7aac8969cf945e338ba
Task-number: PYSIDE-535
Pick-to: 6.8 6.7 6.5
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I28edb166ca6568841012276679ac290b09e64505
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Avoid displaying the full grid of examples, and instead provide
the option to select first the module to display the cards
with the examples.
Pick-to: 6.8
Change-Id: I248d3d848a4b262b7faee283b09686d48640f7e2
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Missing bindings tool adapted to 6.8
Pick to: 6.8
Change-Id: I688d3cb8a4c81e93e1feeed6a2d8d08754e8a37e
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to the API limitations, we have to ensure that the engine is deleted
before other parts of the application is deleted. Otherwise exposing
objects using setInitialProperties() or setContextProperty() for example
will cause warnings to be printed. It is a good practice to always
delete the engine manually so all the code should be consistent.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I01f16359e9d90cefd5957708fe12ce489bd7edc0
Reviewed-by: Jaime Resano <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
When ast library parses a "from . import x" statement, it will return a
module name of None. Therefore, using .startswith() on None will raise
an exception.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I6532f4ebc469695ee977840c3cb40f641fb3cdb6
Reviewed-by: Jaime Resano <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support properties by allowing keyword-only parameters
in the __init__ functions. The support for snake case
properties is now implemented.
As a drive-by: The dictionary access to type_map was
re-optimized by using a string-only dict again.
Snake case computation was optimized to use C++, only.
Change-Id: I9285c6d51e1129126f799ca7523028de32c9e6f3
Pick-to: 6.8
Task-number: PYSIDE-1019
Task-number: PYSIDE-2846
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tighten the check for virtual overrides by checking for virtual
methods instead of just a virtual destructor. Make the AttroCheck flag
the authoritative flag to check for the method cache,
used in the helper useOverrideCaching().
Task-number: PYSIDE-2701
Pick-to: 6.8
Change-Id: Id8714c32fa1af748f288b4868d242993500c84ae
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Move the entire flag instead of the previously used boolean flag
indicating a mixture of static and normal methods into the cache
structure.
Pick-to: 6.8
Task-number: PYSIDE-2701
Change-Id: Iac4f86678fccf5bd30ce6a943cb07abdf3f5660c
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support properties by allowing keyword-only parameters
in the __init__ functions.
Mapping was not extended but even reduced by a
new parser.py algorithm that solves unknown imports.
[ChangeLog][PySide6] Type hints now show property
support in the constructors.
Change-Id: If7f2c342fafa106f405201a0ba96503fe495a314
Pick-to: 6.8
Task-number: PYSIDE-1019
Task-number: PYSIDE-2846
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
This change would have been very simple (basically one constant)
if there were not mypy which needed more effort to stay correct.
Change-Id: I464b0522f9d174c5a302f85caf2fcbe202dcaed2
Pick-to: 6.8
Fixes: PYSIDE-2624
Task-number: PYSIDE-2846
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
missing
In some cases, the Qt headers do not have parameter names.
Use the ones from the WebXML documents in that case.
Pick-to: 6.8
Task-numer: PYSIDE-1106
Change-Id: I719a4fb09b9fbef9fc734036e3f53c02376a5d5f
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Amends abfc11c4c2fb5cd35db910284c53b4e2e282b3fe.
Task-number: PYSIDE-841
Pick-to: 6.8
Change-Id: I6f53d08f5838ed5e6e7a7b254405741e5d70859b
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Adapt to qtdoc/545681fbf071aa1c2ccc7a1211814440e592314a.
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I5697cdc2ec8798b09a8b13f715821f012aeb3d74
Reviewed-by: Shyamnath Premnadh <[email protected]>
Reviewed-by: Topi Reiniö <[email protected]>
Reviewed-by: Paul Wicking <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While working on property support in PYI files, an error occurred
when trying module Qt3DRender interactively.
It turned out that there is a wrong assumption in basewrapper.cpp
that leads to a crash when trying the interactive shell.
Change-Id: Ie8afbbb5fb8105010774c6824e7d01aaaf2d8e27
Pick-to: 6.8
Task-number: PYSIDE-2846
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
It brings some clarity to the documentation.
Pick-to: 6.8
Change-Id: I8787e5d6a3ceedcd91442e0e1f9561dbea657d7c
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Adapt to qtbase/8c8d6ff7b6e2e6b1b673051685f1499ae4d65e05
and add a deprecation warning.
Task-number: QTBUG-108199
Change-Id: Ic16b302f87fd4a9b507e1ee670447b6addd90f34
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initialize m_PyMethodCache by member initialization rather
than in the constructor since the header generator also
generates a fully inlined constructor from the original object
where the call was forgotten.
As a drive-by, drop the comment meant to separate snippets.
Pick-to: 6.8
Change-Id: Ia9af5d9227cc40d40b61bd6b3a716169442964a7
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Adding missing example from c++
Task-number: PYSIDE-841
Pick-to: 6.8
Change-Id: I36fe2cafd7bc50a76e2f261635c702ce0ee30329
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I55de688e62287c4fef8e88964fa878690f6134a0
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
The .git, __pycache__ and .vscode folders should not be included in the
deployed executable. Windows, it causes permission errors when the
cleanup is performed
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Icfcbe6aa0d3cb2b869a0bb9a68dbe8d1e1d9a5ec
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a continuation of the previous patches that were
replacing the usage of macros for: lists, tuple, bytes, and float
in the code, by the equivalent functions.
[ChangeLog][PySide6] For the limited api builds (wheels) PySide had in
place aliases from Python macros to their function equivalent. This is
now removed, in favor of using the functions directly.
Change-Id: I838bebac80067e3094b2a0dfadd1614f9644f7ca
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Removed PointConfiguration since it does not exist in QtGraphs.
Amends 649592a8cbc9c656a7b9be77f043538bf4e242d5.
Pick to: 6.8
Change-Id: Ic4f1a58700c5b3c19e5d9f51bb2d644382bfa40e
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-2926
Change-Id: Iadbbdfea8a5f515ef46f7a32169cd6d19b3ae77d
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the parameter to be (object type) 'QLoggingCategory *'
to ensure type checking. Shiboken will then generate the argument
conversion.
Amends 936bdcf97f8ca657531496592dfce7d9144fa977.
Task-number: PYSIDE-1899
Change-Id: I3afa43c8c410c57ee1be12f65e3cbd5675bd2d41
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I0e97b7eaf45f35fc2bd86c84417e4231198a6134
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
It causes less overhead than the previously used stream operator.
Pick-to: 6.8
Change-Id: I3ed1365c7da3dee1af3258391d0150ade8a667f0
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Fully qualify enumerations and make some conversions explicit.
Pick-to: 6.8
Task-number: PYSIDE-1735
Task-number: PYSIDE-2916
Change-Id: Ib6dffb2de7b1cb5a32da67801459d44d771a6d7c
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Avoid duplicated wrapper map lookups and repeated calls to
BindingManager::instance().
Pick-to: 6.8
Task-number: PYSIDE-2854
Change-Id: I10445102d9cb3c2c8b9159b715b6e8cca49971a8
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additional include "pyside_numpy.h" needs to be within
<extra-includes>, else it replaces the class include file.
Amends 649592a8cbc9c656a7b9be77f043538bf4e242d5.
Pick-to: 6.8 6.8.1
Fixes: PYSIDE-2927
Change-Id: I4883976144743f04e27589626c182e3478bea155
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
| |
functions
Pick-to: 6.8
Task-number: PYSIDE-2701
Change-Id: Ic31029586fd2265bbab99777a54d6fd247581c26
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit ee017da5e5848ac82fbf427b479641b16e68a225.
The offending test is now skipped.
Pick-to: 6.8
Task-number: PYSIDE-2854
Change-Id: Ia6886ba911c191943f199dc4c3a72b71c6708f48
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The clang parser on macOS was not seeing namespace std for
std::optional. Add the system include <optional> to fix this.
This however unveils a problem with "T &std::optional::value()", which
returns a reference to the contained value instead of the value as
done by the synthesized function. The reference is handled as a
pointer conversion for object types and the std::optional itself
instead of the value is returned since it is found in the instance map
at the address (unhandled in findColocatedChild()).
Skip the test for the time being.
Pick-to: 6.8
Task-number: PYSIDE-2854
Change-Id: Ifcb65643ff0a39c060fb329933a1e6949ed8777c
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Added appendNp and replaceNp
Added test for appendNp and replaceNp
Added the missing file "qcharts_numpy_test.py" to QtCharts .pyproject
Pick-to: 6.8 6.8.1 6.5
Change-Id: I55aeba0fd117a8a82c3f69e18a50358936610af9
Reviewed-by: Christian Tismer <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
- Expanding on part2 documentation to include detailed steps on
creating a backend REST API using FastAPI and SQLite.
Pick-to: 6.8
Task-number: PYSIDE-2850
Change-Id: Icfe2b9582e53b1fc59a67be661da1c5fe290fe6f
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
Typo fixed in the example
Pick-to: 6.8
Change-Id: Ibf0b9c5d996eba5eb60ba77d1492b84a480670bd
Reviewed-by: Shyamnath Premnadh <[email protected]>
|