| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Considering we are not compatible with Python 2 anymore,
we can drop the 'object' explicit inheritance in the class
declaration.
Pick-to: 6.8
Change-Id: Iac3a95aa9721c3ff1a755f457c0936ca157a8470
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
As unearthed by the whitespace change.
Pick-to: 6.8
Change-Id: I58c1a38c3c4a9c91719131d7950950ddf475872b
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add pages referenced from the overviews-main page and various module
pages. Do a scan and add all (non-class reference) documents found
except qtcore/qtdoc (too many) and deprecated modules.
As a drive-by, developer the documentation.
Pick-to: 6.8
Change-Id: Ibe16ff70b627274fbbbffeb93030ddea230295a8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- caused by wrong condition check in 83603fed574fc7b0eed452b347170862b12a98f6
Pick-to: 6.8
Fixes: PYSIDE-2964
Change-Id: I1b5c441cd7448898e44f8d829b91202e68168666
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Fix the link to the qtdoc-overviews-main.rst page introduced by
5cd44e96cee2e8fc105372b5234b0682a7bcc012.
Pick-to: 6.8
Change-Id: I8d48687e9703b2df52d41ca5607a9e81491910bc
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
module descriptions
Complements 9bd0967d9b3f38ea7959fb00aa28a5ee1a1d0932.
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: I414d4bf672a61f4e54720ea7ef6f6706a4e09329
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change dc7acd1f2dc750c3c8602203ae1558b0e60a3c17 added a reference
to signal senders not created in Python to fix a crash when doing
something like:
QAbstractItemView.selectionModel().currentChanged.connect(...)
In addition, the code kept a weakref on the sender and tracked its
deletion.
To simplify this, keep a tracking QPointer on the sender QObject and
its PyTypeObject * instead of a PyObject * . This also allows for
calling QObject::connect() and other helpers directly instead of using
PyObject_CallObject() on the PyObject * to forward the calls.
Fixes: PYSIDE-2793
Fixes: PYSIDE-1057
Task-number: PYSIDE-79
Change-Id: I1ce6f4c35c819f3e815161788cdef964ffc6fd96
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce a struct shared by shared_ptr in all instances of
PySideSignalInstancePrivate that is tracked by the weak reference.
Amends db40e3e07932576bc54cd922eecd423c0f675613
Task-number: PYSIDE-2201
Task-number: PYSIDE-79
Pick-to: 6.8
Change-Id: Ic7bb836422f3843a02474f2bb92641b8a9ebc824
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: Ia185a68fe276c9b83bd47fdb2b964d22bee5e382
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I8d370d76264884924136879238a5bffef489c19e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
descriptions
Read the description into a QByteArray and remove C++ -specific
sections. This applies to modules for which PySide does not have
a description file.
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: I170fc155a94f45778331b820614dd2e34f10867f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: If09bf185c5fa23c2866bab23c7bd9570828000c1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the link to the QML types list (Qt web documentation) was
automatically inserted into the last paragraph of the module
description. This only had an effect when no PySide module description
was present. Otherwise, it had to be manually added to the module
description which was overlooked for some modules.
To fix this, extend the module documentation obtained from the doc
parsers by the URL to page and format it as a separate section
preceding the class list.
Remove the QML types from the PySide module descriptions.
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I0b107a81b239405c0258ecff924aef87472f13b0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
PySide
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: Ia13545f935dc895da069df45c5ac3fa8cdf77a9f
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: Ib276e2cb6c6d3db14e7c65e7e464dae4a5be3d8b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I1a5964463f703ade0657816cb974206355a5ae5b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Many modules were imported but unused in our tests.
Additionally, some type hint issues were solved.
Pick-to: 6.8
Change-Id: Ic2368690e9a6ce0fffea812206185aa4f3dc3c58
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- QtCore: Add IPC and permissions
- QtGui: Remove section on Vulkan as there are no bindings
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: Iad520387062b81b8b3be0c2c875fce674788283d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Using a colorscheme for light mode.
Pick-to: 6.8
Change-Id: I323517140e4cd637883dca7b7597b477085591d5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are some special WebXML pages indicated by a <group> element
that contain lists of classes with brief suitable for a "class list by
function" section.
Generate them to a separate directory for clarity and add them to the
module pages.
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: I4e2d0ef8c626502230078415a24547cd80c95bd9
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Amends d2318d7aab3616df6e589b6337d2c2b8cd6e1909.
Pick-to: 6.8
Change-Id: Ibb61ad87b76a7432d2f9917dc36b88d62fe27b59
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: Ib24b7c1e2a9c496f037013792e66f260631533a9
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
DocModification
DocModification only used 2 values from TypeSystem::Language
(native/target), which match the native/target values of enum
Documentation::Format. Move the enumerations from class Documentation
to a global header and use them in DocModification for consistency.
Pick-to: 6.8
Change-Id: I154f2208b4d834fed569555ef4c0579502bb32f7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Prepend the module unless it is already present. This has no impact on
sphinx linking.
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: I59edf97b7c39bfec02e8b7c949c316aebca39017
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
PepCFunction_GET_NAMESTR previously expected a PyCFunctionObject*,
which was broken by 09e0acbad03601158a252a4c5d7f15585d6b52ce.
Fix the function to take a PyObject *, which seems more in-line
with the other PyCFunction functions.
Change-Id: I464451e42054c19126c11d4ba04b127c0a772bc3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Added tests for extra modules and directories to ignore. These are
cli options.
- Fixed an issue where updating a Python set was not functioning
correctly.
Task-number: PYSIDE-2945
Pick-to: 6.8
Change-Id: Ia6b0e9ef98e2e0999bc4782168b3889598cca682
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
accessibility
The test installs a global event filter on QApplication which then
receives events from DBUS classes doing accessibility. Then apparently
something moves the DBUS receivers to different threads which causes
hangs later on when PySide tries to release the wrapper. Fix by
checking the presence of a wrapper first before releasing (empirical).
Pick-to: 6.8
Change-Id: I91480461afb19c8fc1fa7a329f63243c0dacb22c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
For a smart pointer to a derived class, the smart pointer to the base
class needs to be generated first for the conversion to the base class
to work.
Topologically sort instantiated smart pointers by base classes.
Fixes: PYSIDE-2946
Task-number: PYSIDE-454
Pick-to: 6.8
Change-Id: If7be39e72312f8fe61ef7fbc0b351e070894d22e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
without operator==()
The graph used an array of Node to represent edges, which is
suitable only for small classes that have operator==().
Change the internal representation to use indexes for edges instead of
the node classes and add an API for adding edges by index. Rewrite the
visit() algorithm to create an index list instead of a node list. Move
the Node from NodeEntry to a separate node list, which allows for
copying it directly from the node list passed in.
Task-number: PYSIDE-2946
Task-number: PYSIDE-454
Pick-to: 6.8
Change-Id: I7becd5caef226f50b77f5def2a62a2620d39ef8e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
PyCFunction_GET_FLAGS
Removing old compatibility macros from the initial limited api
implementation.
Change-Id: I3044609ade36b5b378de05934eab8a098450f42f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Adding the first paragraph (as much as possible)
when the example card is hovered, and use the example headline
as the title of the card.
- Amends 133e8005def4314320062a9a36d950b8692e6f35 by removing
the custom html tag and also merging '.sd-card:hover' into
'.sd-card-hover:hover' to avoid duplication.
Change-Id: I4edf96a5e61138c88a421e70f16ef9bfe4b4e04d
Pick-to: 6.8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Amends 05b3c28099c1eaff74bba8b06004cc8205b24f45
- Also, ignores 'scenegraph' and 'networkaccess'
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Ibc1a0ea1525f7d56ed884bc652612d8985479258
Reviewed-by: Jaime Resano <Jaime.RESANO-AISA@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add the tutorial title to the example data struct and sort them to the
front.
- The examples under a module which are tutorials are organized
under separate subtitles under the module name.
- Change the grid layout for the examples and add a hover effect to
the grid.
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I4196667404b9ff27851c2dad198b22c673de9bf9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By turning over to positional-only parameters, some signatures
should be preferred to remove over others.
QMessage.warning had two signatures that became equal when
ignoring the names.
Use the version which has more default values in that case.
Some forgotten return types were added.
Change-Id: I200f10eb5742a595fafc3106a8e5fbc9a932c75b
Pick-to: 6.8
Task-number: PYSIDE-2846
Fixes: PYSIDE-2939
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Move finding of the smart pointer pointee class from the generator
into ApiExtractor.
Pick-to: 6.8
Task-number: PYSIDE-2946
Task-number: PYSIDE-1397
Change-Id: I622ce628f46bbcf07fa9690bc4438d8726fc5594
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Avoid topologically sorting lists < 2 elements
- Use algorithm
- Assign enumeration type (Qt guide lines)
Pick-to: 6.8
Task-number: PYSIDE-2946
Task-number: PYSIDE-1397
Change-Id: I3b45ff7fc6782b920d3192a11fab5b3dac133a6f
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The function QWidget.window() introduced by db81f0cb861bec320104e2ec4b312d973e0700fa was treated as optional, but
it isn't. Correction by the author.
Change-Id: Ie52cf2d3326d7b79f0b64c2b5e04ff182ae7977c
Pick-to: 6.8
Task-number: PYSIDE-2846
Task-number: PYSIDE-2440
Fixes: PYSIDE-2941
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
One cannot use list in the arguments of a function using lru_cache
Fixes: PYSIDE-2945
Pick-to: 6.8
Change-Id: I2305dab868a634bfb8a3f240d403c07281f7edb8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Amends 262e2a6c2742eb9bb0887ae5cb7c2fb0a975f373.
Change-Id: I9bb17b0ed53982fccacbef5b78687491899c3f06
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I35beb0cd1869df890238f8a0f011c05455a704a3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-2943
Change-Id: Iaf02a21112e3d8b89fa6396481afd584a14bd952
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-487
Change-Id: Ia20a9dbfc00e61781fb4be0fa0a205facbb82a1a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
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 <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- Use nullptr
- Remove C-style casts
- Streamline code, using AutoDecRef
Pick-to: 6.8
Change-Id: Ib583269f75bce7a2bd44758a3b75842197f5ea97
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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 <cristian.maureira-fredes@qt.io>
|