| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I0c09b222e68ee0563dc4b0bf07f798f800a63371
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Fixes: PYSIDE-2862
Change-Id: I7cef186d1fb1e1b23cb62daa659db6fab2f460d9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I1a5964463f703ade0657816cb974206355a5ae5b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
macros
Removing old macros for compatibility with the limited api,
and refactoring some of their usages
Change-Id: I33954199d2ef9884c64b963863b97aed851c440f
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was still commented out due to not being present in the 6.7
snapshot used for adaption in
a2486060f78a42739d88a460b47f23b0c75b4a79. Remove private class
QWebEngineMediaSourceModel.
It needs to be a value type since it is used in signal
QWebEnginePage.desktopMediaRequested(const QWebEngineDesktopMediaRequest &),
but has no default constructor. This is normally not supported but works
due to it not being used in any other API.
Task-number: PYSIDE-2497
Fixes: PYSIDE-2913
Pick-to: 6.8
Change-Id: Ifaf6bd11988e802b245b33724b1b0b071f7e098a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
QWebEngineFrame is used like a value type (stored in QList, etc), but
does not have a default-constructor. Hack around by by adding a
function returning a default-constructed instance using a struct with
the same data members.
Task-number: PYSIDE-2620
Pick-to: 6.8
Change-Id: Id792a47fa9cc3f3c55eb1e52c06d01e03a104a74
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
It somehow got lost in the Qt 5 to 6 transition.
Pick-to: 6.8
Change-Id: I53eb13b516d51a907cf9dd247a735103ec91375d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-2620
Change-Id: I815941a65c9b96c21f98eab4ef671124d8f410bc
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Fixes: PYSIDE-2883
Change-Id: I56733c7b2bb3e573084ba0b281ad48e7fc6da5f7
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adapt them to C++, where:
void QWebEnginePage::runJavaScript(QString scriptSource,
std::function<void (QVariant)> resultCallback)
and
void QWebEnginePage::runJavaScript(QString scriptSource,
quint32 worldId = 0,
std::function<void (QVariant)> =resultCallback = {})
exist.
Introduce a functor as static source to be able to share code with other
classes to be added.
Task-number: PYSIDE-2883
Change-Id: I61f913a38e761df18ce5a5f3ea43478b7dceace2
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
The class has been moved in Qt 6.
Task-number: PYSIDE-2883
Task-number: PYSIDE-946
Change-Id: I81ededa9d4eb1fb1a03249266f48cc65c84a6b02
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
As a drive-by, change the callbacks to PyCallable* and remove the
parameter checks from the snippets.
Task-number: PYSIDE-2883
Task-number: PYSIDE-946
Change-Id: I3986d2eced9606c71a3071755dce935b30cd67a5
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make it possible to specify an alternate doc-package for locating the
WebXML files generated by qdoc. For example the documentation of the
QtMultimediaWidgets module is generated into the QtMultimedia module.
This became a problem after the module split
qttools/c51980bb0d9658f2ade4de1900d07b08e88cb52d.
Task-number: QTBUG-77650
Task-number: PYSIDE-2620
Task-number: PYSIDE-1106
Change-Id: I09ab50f7e3b56c0a7d0f2e94e593a8d5e83b2001
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: PYSIDE-2620
Task-number: QTBUG-125719
Change-Id: I6efeb1770c9bd7cddc3dbd91ca6294b9fddc9cc9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Identified by the script added by
1251a23cfd13bb0652f38ef3b36087034f552d57.
[ChangeLog][PySide6] A number of missing classes have been added.
Task-number: PYSIDE-487
Pick-to: 6.7
Change-Id: Ia62aab2578d46f00540856557474bc394669613f
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Introduce "Python override" as a special type of user-added function
which will cause a function calling a Python override into the native
wrapper. This can then be called from a virtual that has a signature
which cannot be handled in Python.
Fixes: PYSIDE-2602
Pick-to: 6.7
Change-Id: I5fc44ebe3f585078e87d3230d5e6f4faa67a4ee1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.7
Fixes: PYSIDE-2590
Change-Id: I36ce25bc759cd888f80b797d4f40864c3d2e2a84
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only the bound Qt library needs to be linked, it will bring its
dependencies.
Add explanatory comment for the exceptions (QtTest, QtSql).
Pick-to: 6.7
Task-number: PYSIDE-2649
Change-Id: Ib84d37248578a76400d307bb5d050005110677c3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A crash occurs when calling
QWebEngineRegisterProtocolHandlerRequest.origin() from a signal
handler of
QWebEngineRegisterProtocolHandlerRequest(QWebEngineRegisterProtocolHandlerRequest).
QWebEngineRegisterProtocolHandlerRequest needs to be a value type for
this to work.
Fixes: PYSIDE-2663
Pick-to: 6.7 6.7.0 6.6 6.5
Change-Id: Iab8c7cb5822455a35c5759137db20b064cb468cc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a class PyObjectHolder for passing around Python objects in C++.
It is mainly intended for callables. There are some cases in which
callables are invoked several times or not at all.
The usual construct of passing a lambda which decrefs the callable
after the invocation only works in the case when there is exactly one
single shot invocation. Otherwise, the callable leaks if there is no
invocation or a crash occurs on multiple invocation due to repeated
decref.
To fix this, introduce a class PyObjectHolder which holds a PyObject
with a reference and implements move/copy semantics as well as
destruction with the GIL held. It serves as a base class for functors
which implement a call operator for the invocation.
For the singleshot case, release() can be called after the invocation
as not to unnecessarily delay the release.
Port over the known cases where multiple invocation is documented to
occur to use it.
Change-Id: I2f4c7d497d4be8e48946f77a5a40dc9712dc05dd
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-2497
Change-Id: Id506616710ba06851401cf62511e49967acde71e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Some modules pull in QtNetwork/QtQml via their Depends headers
although it is only a private/link dependency.
Suppress warnings about the enums.
Pick-to: 6.5
Change-Id: I35d75ca538bb770294e434b83233600462805e99
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
This reduces noise in the log files.
Pick-to: 6.5
Change-Id: I0c8c98859058d9bbef26f71da83918490099a318
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.5
Task-number: PYSIDE-2206
Change-Id: I6ebb82b93df4dc31083adc209190fab4dcc4299b
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
Pick-to: 6.5
Task-number: PYSIDE-2206
Change-Id: I3bbbc063525d6cb2b4a30281915578b36fbe6bbb
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.
Task-number: QTBUG-105718
Task-number: QTBUG-88621
Change-Id: I98bd2e80f182d8bf7aef6b633f37a428e2dac69b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The list of IntEnum was not including the extra modules.
We now installed and checked
PyQt6
PyQt6-3D
PyQt6-Charts
PyQt6-DataVisualization
PyQt6-NetworkAuth
PyQt6-WebEngine
and found two omissions by that.
Change-Id: I891d1771bdab6f53b6bd61de09109465fbb31735
Task-number: PYSIDE-1735
Pick-to: 6.3 6.4
Fixes: PYSIDE-2110
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.4 6.2
Change-Id: Id7f1c8923eb8612771863893ab159d3434ca5041
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
the module header
Pick-to: 6.4
Task-number: PYSIDE-2099
Change-Id: I4607a6a224f194edadf25a9aa2d27b3eca0dede2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
Replace the current license disclaimer in files by a
SPDX-License-Identifier. Files that have to be modified by hand are
modified. License files are organized under LICENSES directory.
Task-number: QTBUG-67283
Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- added setNotificationPresenter(...)
- added QtWebEngineWidgets Notifications example which uses
setNotificationPresenter
Task-number: PYSIDE-1912
Pick-to: 6.3
Change-Id: Ib8fdf7879d6e54bcae47dcc89be6bd5a861a8846
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- added tests for the setCookieFilter(...)
Task-number: PYSIDE-1912
Pick-to: 6.3
Change-Id: I484725072195846e7777fc577d167ff9ed374d59
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
There seems to be a problem with signals with object type parameters.
Change QWebEngineCertificateError and QWebEngineFullScreenRequest
(gadgets) to be value types.
Pick-to: 6.2
Fixes: PYSIDE-1768
Fixes: PYSIDE-1769
Change-Id: I9863f9e26a9a7bf7751369057fcad6eb10798817
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Add missing enum QLocalSocket::SocketOption and remove
obsolete enums and functions.
Task-number: PYSIDE-1570
Change-Id: I2d89e116d2360fd49dac0343acf1e85d2442e5e1
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
Make QtWebChannel a dependency of QtWebEngineCore to expose
the method.
Fixes: PYSIDE-1663
Change-Id: I5b70976f68c1b863582897a648ec7446af9f982b
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Adapt to qtwebengine/56b1f53d9b2927f5ba2a73f85cee59e385bf489d.
Change-Id: I977c4807ae568934b8c8d35647ea131c2f3b511b
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-1570
Change-Id: If6d97e75a983793085b33622cd99c3715db6df3d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Remove module QtWebEngine. Move most API from QtWebEngineWidgets to
QtWebEngineCore. Adapt imports in tests and examples. The new module
QtWebEngineQuick will be added in a follow-up step. This is not
functional yet as examples crash in the underlying 6.2 Alpha.
Task-number: PYSIDE-1570
Change-Id: I00907e5542404560967e6ae07d102193f1f1e154
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Bumping modules compatibility, using 6.0.0 as the base
since we the rename from PySide2 took place already,
and this code is not supposed to be backward compatible.
Pick-to: 6.0
Change-Id: I471b151ef50f5a5974561bf2e619017f7beb621a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88
Reviewed-by: Christian Tismer <tismer@stackless.com>
|