| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
| |
- A description was wrong along with the emphasized code. This is
now fixed.
Pick-to: 6.8
Task-number: PYSIDE-2850
Change-Id: I44f2b4c9a89496a96c974e78611b30f4dcec6cf6
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
| |
All classes are in a namespace Qt3DAnimation, which produces an overly
long page. Fixes an oversight in a8b0954cae4b4322ee8a206875f942977174b826.
Pick-to: 6.8
Change-Id: I61b7d703f260ac9cbe09170a32580ef5ba635720
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch refactors the code of the pyside6-project tool to simplify
the upcoming change of the project file format, pyproject.toml.
The CLI tool documentation is also improved.
Task-number: PYSIDE-2714
Change-Id: I010bbb58f3ed8be5ad5f38687f36b4641a4a021d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
This patch cleans up the pyside6-deploy tool code.
Adds some type hints and fixes some casing consistency issues.
Change-Id: I16988ebf8a15bd3d2bfd12366ebacb3ffe4001e2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: Ieba750117cb69ed9f1ac9f6a32a687aa3624558a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Complements 91d0ec1e864c5c657e351c32af1f8d78a26c543d.
Change-Id: I7d1e3471e5fe455ce8cda51a9e6bd9a7f050d632
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][shiboken6] It is now possible to exclude
smart pointer instantiations from underlying base modules
to prevent symbol clashes.
Pick-to: 6.8
Task-number: PYSIDE-454
Change-Id: I5a54f72af050f334dfea26b29059f094508205e3
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
A new implementation fixes visibility automatically.
We can remove code when Python is always >= 3.10 .
As a drive-by, the unused nameless signatures were removed
Pick-to: 6.8
Task-number: PYSIDE-3012
Change-Id: I5442615241041982a8c15938f077258eb5531d49
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
This guarantees that all find_package hints for `Qt6` are accounted for.
Fixes: PYSIDE-3026
Change-Id: Iab7d3a72b1743747e360e7f5ed2372e1b30fa047
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Updated according to the Qt example.
Pick-to: 6.8
Change-Id: Id2e64b2ab46ddd25f80ff8cc64bfb13ed02a92c5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Using a class for initialization and the re.finditer method
which was introduced in Python 3.7 .
Task-number: PYSIDE-3012
Change-Id: Id9d4b9a72789dbcab4c31ab83dc721d728878067
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
When an exception occurs in a task, the logging is not helpful since it prints out nothing specific about the error that occurred. Catching the traceback and printing it out with the task in which it happened brings a lot of details to resolve the exception faster.
Task-number: PYSIDE-3001
Pick-to: 6.8
Change-Id: If199da28a37406779ac5bec178fe756d1757b08c
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter
When retrieving the function groups, check if there overloads that
differ in one parameter and remove them based on rules specified in
the type system. For example, when QByteArray::number(qint64) and
QByteArray::number(int) exist, it does not make sense to generate an
overload for int with parameter checking.
[ChangeLog][shiboken6] It is now possible to specify rules
to remove redundant overloads that differ in one parameter.
Task-number: PYSIDE-2701
Change-Id: I8e1ccbccfe7b5ad76486dc197e8d9c36f1809fbe
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Add it as an integer-type. A follow-up change is needed to remove the
resulting redundant overloads with int.
Change-Id: Iba6eb399d218d5116c8030144c1e4984d11218a7
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
It is no more necessary.
Pick-to: 6.8
Task-number: PYSIDE-3012
Change-Id: Ibef345dd20e5c682e29ff174286fc5eb23ec1964
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
It turned out to be boring if the PYI files are printed locally.
Task-number: PYSIDE-3012
Change-Id: Ic47e1828367c1f00c263451a6090cb5e03313103
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The old implementation was calling the string-based overload, but did
not add the '1'/'2' markers added by SIGNAL/SLOT. Call the QObject
overload directly.
Fixes: PYSIDE-1277
Pick-to: 6.8
Change-Id: I912f46c33959b622301b0a75e771057c8874f7e3
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add a new log file mjb_shiboken.log for informational messages to
reduce clutter and make warnings stand out.
[ChangeLog][shiboken6] An additional log file,
mjb_shiboken.log has been introduced which contains
informational messages about the types encountered.
Change-Id: I042fdfee7bae174d5b214d171a32e3e3cca7a3d7
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
For rejected functions, print the warnings only for abstract
functions, which can cause a compilation error. For fields, add the
warning about mismatched type to the log file instead of printing it.
[ChangeLog][shiboken6] Warnings about rejected functions/fields have
been removed or redirected to the log files.
Pick-to: 6.8
Change-Id: Iaf1b9cc419867153c2f241a054a7f4d91fc6bbb3
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-1735
Change-Id: Ib41f63aed677c8fdf22a8af3b82d54d0c6acfc9c
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
It causes duplicate entries in QtGraphs.
Complements a9307dd0fe4d35d1d8a5b15c7d9361ac2cad8ac9.
Change-Id: I9fadcdad789795dfc61a522fab9deaa1786f8d71
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Reason: We cannot find an error which happens in CI on Windows 11, only
Task-number: PYSIDE-3012
Change-Id: I99a2d72e49027cc76767c70bdc94d8d3f6451782
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Import Callable, Iterable and Sequence from collections.abc,
since using them from typing is deprecated.
Pick-to: 6.8
Task-number: PYSIDE-3012
Change-Id: I131c00005df410fdaa40b338a2a728512269aaa0
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When trying to change typing.Sequence to collections.abc.Sequence
the remarkable incompatibilities with certain Python versions came up:
Python < 3.10.1 or Python 3.9.8
produces wrong annotations.
Solution: The inspect module needed patching.
Change-Id: Ifdf4990477ea7478c0027c899d21d1848a83c807
Pick-to: 6.8
Task-number: PYSIDE-3012
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
The restricting type annotation for call function in Slot class is updated to more flexible one.
Pick-to: 6.8
Task-number: PYSIDE-2846
Change-Id: Ic26ebb42bb6bfe4f4d0455125ac92b3552c62d06
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
Reason: We cannot find an error which happens in CI on Windows 11, only
Task-number: PYSIDE-3012
Change-Id: I8f2e4c56ee8c81e8d3b348c624be5df80d5df275
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
PyImport_GetModule()
Remove libshiboken's copy of PyImport_GetModule() since it has been
added to the stable API as of Python 3.8.
Pick-to: 6.8
Change-Id: I176e755814f85aef5febe69ca1dba5e39f68a43b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I0780ee2f7f5f42a9281f4add3818109628df8332
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Amends f07b4bbf23417cd6e92e99a2a480575c4cf6d0ab.
Pick-to: 6.8
Change-Id: Ib4d8c1431157fad199a396134c1f7bc648fba871
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Amends 2a3624f460a569708b0dafb048536dec7dade8e2.
Change-Id: I4a14da4dff9200f4a5f19a700e6fbdb68a6ae899
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Remove dead code that had no effect and the Comparison flags
that belonged to it.
Change function return type and argument type comparison to use the
exact type to detect differences in the calling convention.
Task-number: PYSIDE-2701
Change-Id: I70d8c2b998f4e361abe82828568d410a47544e33
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add a file cache caching a small number of files with a convenience
API for retrieving lines and regexp-delimited snippets. This avoids
re-opening snippet files several hundreds times during building.
As a drive-by, fix a broken doc snippet.
Pick-to: 6.8
Change-Id: Ic468dbff755285456034a176e4d3eae348dcbf15
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Provide a function for deleting the array. Use new char[]
consistently.
Change-Id: Ic02407f216814a7736e6073a0d27a6e9f83f9acd
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
In the remaining code, use nullptr and streamline.
Pick-to: 6.8
Change-Id: I3c58aaef3a6cdd332ba2e32e0bcb2c17e32f0244
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: PYSIDE-2701
Pick-to: 6.8
Change-Id: Ie678829aade1182f3de94de56cb82508b64c385e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I482396e8ef3f52dc5d8c21a86e16f7a35cdf4c80
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Add the overload-number attribute to parse function to execute first
QString check and then QStringList.
Test for parser added.
Fixes: PYSIDE-3017
Pick-to: 6.8
Change-Id: I7e5a02fec50405bc3d71c5662a7909d34f4d20df
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The --pretty switch shows a little context.
If that does not help, we will have to send the whole
PYI file back from CI.
Task-number: PYSIDE-2846
Task-number: PYSIDE-3012
Change-Id: I45a4111c6ea78bf6c487077c43eb37b946602ec8
Pick-to: 6.8
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
Brush up the code and remove unused templates.
Pick-to: 6.8
Change-Id: Ic9a0a6fb941e0d110124df7f02b2fc3c91664656
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Prototypically move some template code from QtGui into
snippets.
[ChangeLog][shiboken6] It is now possible to use
file snippets for XML template content.
Change-Id: Ifb23407819c843e9059225a5bd269d954f837ee3
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Amends cab304e70cce68bbdaa70d7f7b2bf6e95e85e6d2.
Restructure the test.
Pick-to: 6.8
Fixes: PYSIDE-3020
Task-number: PYSIDE-1057
Change-Id: I8954a534648ded5d476fec608d0699132a026461
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The old name was modeled after std::auto_ptr, which has
been deprecated for quite a while.
[ChangeLog][shiboken6] Helper class AutoArrayPointer has been renamed
to ArrayPointer. A convenience typedef is provided.
Change-Id: I067b22a102961348067a131fcc6e6b5fc42d3f76
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I9530a1b3f2b315a91fbc8d0885a46640c73c4f2a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Use templates introduced by e3631c3322d28447068de3a874055ff937b237c4.
Pick-to: 6.8
Task-number: PYSIDE-3002
Change-Id: I5b7948c83768fa0c03c6b360717d202270ebbc9e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
It has been widened to qintptr in Qt 6
(qtbase/3b38c)3c7ffa71c00c172cf0e05742835a304300).
Pick-to: 6.8 6.5
Task-number: QTBUG-72968
Change-Id: I17846607108b29527415c97bbaabe2acecf9bac0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Use the existing code snippet for glGetString.
callArrayFunction appears to be unused.
Pick-to: 6.8
Change-Id: I7eeff9866bc7b4eb6e0f9bb409ae0382723c96c4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-3011
Change-Id: I92fde30427d6fc8572f1d65e267809c1255b0d31
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
geometry primitives
Add argument conversions PySequence<->C-style array, modelled after
QGraphicsView::drawItems().
Move some templates around to the common template file and add generic
conversions for lists of value types.
[ChangeLog][PySide6] The virtual functions of QPaintEngine taking a
C-style array of geometry primitives have been fixed.
Fixes: PYSIDE-3002
Pick-to: 6.8
Change-Id: Ife8fed0e17c79091f25f57bf97bcca438452e177
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Describe where the conversions are used.
Pick-to: 6.8
Task-number: PYSIDE-3002
Change-Id: Ib11669aadec9ab6c711cd36183e68d6fcd324122
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Make the message more verbose and print some reasons.
Pick-to: 6.8
Task-number: PYSIDE-3002
Change-Id: I7b617395f562ad52d3621e8890f0742c36eb94b5
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|