| 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 <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Using Singleton for the class
- Adding type hints for the Path variables
- Use function for parsing modules instead of duplicating it
- Adapting related code in other files as well
- Remove historical prints when configuring.
Pick-to: 6.8
Change-Id: I9fef2e8d7c2033442f89a6f6ca027b5ae2ac6ab4
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid finding the dynamic options each time the OPTION dictionary
was imported in the different build_scripts files.
Now each setup.py invocation will have the same object.
Pick-to: 6.8
Change-Id: Ic556d572e77e54fe27603332b7d2f99697eab86c
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
As unearthed by the whitespace change.
Pick-to: 6.8
Change-Id: I58c1a38c3c4a9c91719131d7950950ddf475872b
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
| |
- caused by wrong condition check in 83603fed574fc7b0eed452b347170862b12a98f6
Pick-to: 6.8
Fixes: PYSIDE-2964
Change-Id: I1b5c441cd7448898e44f8d829b91202e68168666
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Fix the link to the qtdoc-overviews-main.rst page introduced by
5cd44e96cee2e8fc105372b5234b0682a7bcc012.
Pick-to: 6.8
Change-Id: I8d48687e9703b2df52d41ca5607a9e81491910bc
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
module descriptions
Complements 9bd0967d9b3f38ea7959fb00aa28a5ee1a1d0932.
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: I414d4bf672a61f4e54720ea7ef6f6706a4e09329
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: Ia185a68fe276c9b83bd47fdb2b964d22bee5e382
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I07da9405e29be26fa12f9efc9b6d180dab30a970
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I8d370d76264884924136879238a5bffef489c19e
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-2958
Change-Id: I2457b2a81fae2a1e8c22dc3ac22d9ebe02b5e97a
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: If09bf185c5fa23c2866bab23c7bd9570828000c1
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
PySide
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: Ia13545f935dc895da069df45c5ac3fa8cdf77a9f
Reviewed-by: Ece Cinucen <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: Ib276e2cb6c6d3db14e7c65e7e464dae4a5be3d8b
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I1a5964463f703ade0657816cb974206355a5ae5b
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Some examples did not have any documentation. This patch adds
the respective documentation.
Pick-to: 6.8
Change-Id: I9698752b654c2df29fd3572f6bc66a9df56f9903
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
Amends 3898c6e674907f2ee647626b2408c7b325ae9b82.
Pick-to: 6.8
Change-Id: Icb17736f843ffcf8367434c6523f93c132558014
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Amends 83d745497f4d2db0c95e1b3586049b9d68848f7d
- The following corner cases were missed
- When the example doesn't have a doc file. In this case, the
'desc' will be empty
- When the example has a .md doc file instead of .rst
- When the example includes a sphinx reference as the first line
Pick-to: 6.8
Change-Id: I0f00b74afb9ca6d5d69a77444ef6a54a87680a14
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Ece Cinucen <[email protected]>
|
|
|
|
|
|
|
|
| |
As a drive-by, fix command the line help (needs to be f-string).
Pick-to: 6.8
Change-Id: I96b38c41bca303af313402a93e3d4c7a350de4df
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
- 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 <[email protected]>
|
|
|
|
|
|
|
|
| |
Using a colorscheme for light mode.
Pick-to: 6.8
Change-Id: I323517140e4cd637883dca7b7597b477085591d5
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
| |
Amends d2318d7aab3616df6e589b6337d2c2b8cd6e1909.
Pick-to: 6.8
Change-Id: Ibb61ad87b76a7432d2f9917dc36b88d62fe27b59
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1106
Pick-to: 6.8
Change-Id: Ib24b7c1e2a9c496f037013792e66f260631533a9
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed the tool; not getting some split modules.
Since the PySide and PyQt versions should be identical for running the tool, compared version decreased to 6.7
Amends 97a49cfb4acf532e35bfc647e6579f74b8e17c15.
Pick-to: 6.8
Change-Id: I6562f1c4a06f5acec2633507430244e1ea6220aa
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
PyCFunction_GET_FLAGS
Removing old compatibility macros from the initial limited api
implementation.
Change-Id: I3044609ade36b5b378de05934eab8a098450f42f
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
- Amends 05b3c28099c1eaff74bba8b06004cc8205b24f45
- Also, ignores 'scenegraph' and 'networkaccess'
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Ibc1a0ea1525f7d56ed884bc652612d8985479258
Reviewed-by: Jaime Resano <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a couple of releases we had inconsistencies between the
wheel meta information from the build_scripts old scripts
and the create_wheels new script.
For old versions, we rely on tomli, but on new ones we use
the standard tomllib one.
Pick-to: 6.8
Change-Id: I114d8b0a240ad41cad8b57c27a0b3afadc928d94
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
| |
Amends 262e2a6c2742eb9bb0887ae5cb7c2fb0a975f373.
Change-Id: I9bb17b0ed53982fccacbef5b78687491899c3f06
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Currently it was not working due to the strange import
strategy overriding 'urllib'
Pick-to: 6.8
Change-Id: I7b773ba53c800dd408afdb9e77a71ea77887df4e
Reviewed-by: Friedemann Kleint <[email protected]>
|