summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add page() and view() back to download-itemAllan Sandfeld Jensen2021-06-2213-40/+188
| | | | | | | | | Restores a QML type but this time derived from the core type. Change-Id: I09ddb6672f7262ae31e4c57f09d019f71abccd41 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit b2ecb708e149fe8914d7d0cbfcf9c300e52a029e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove left-over deprecated API QWebEngineProfile::setRequestInterceptor()Friedemann Kleint2021-06-221-3/+0
| | | | | | | | | It causes a link error in the Python bindings. Change-Id: I4a21e8dad85bc0aa385fa94f7e4594d701426d66 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit f17231b7a1ac1c1cfd2798cc57315a5d41a7df31) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtwebenginev6.2.0-alpha1Qt Submodule Update Bot2021-06-221-5/+5
| | | | | Change-Id: If95b4d6637268892938b4b8e4b107e1f723bc9aa Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtwebengineQt Submodule Update Bot2021-06-211-5/+5
| | | | | Change-Id: I374b0cc347e28f05ddf80e7b056435e121359af3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix cmake build error when missing Python2Dimitrios Apostolou2021-06-201-2/+2
| | | | | | | | | | | | | | | Fix the following error: cd /path/to/qtwebengine/build && cmake -E cmake_echo_color --red QtWebEngine\ will\ not\ be\ built:\ Python\ version\ 2\ (2.7.5\ or\ later)\ is\ required. /bin/sh: 1: Syntax error: "(" unexpected ninja: build stopped: subcommand failed. Fix also an identical issue spotted a few lines underneath. Change-Id: I7ce667c182b48c0557bf52b67defc375e67134d6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 9fa5a13bea3d0c23be073ba0bad5cad7cc8162b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix clang-cl buildsAllan Sandfeld Jensen2021-06-182-3/+12
| | | | | | | Change-Id: I57d3c057e076445f902da509655728cb20a4a18b Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit c8643e47b0ba8dc0f345c2feaabfa60e54f809c3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Switch QWebEngineCallbacks in QWebEnginePage to std::functionAllan Sandfeld Jensen2021-06-187-46/+71
| | | | | | | Change-Id: I5b0c1c7ef0966c3cff79184aa0733b59208d6890 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 566a4df270911e1656efef5dbb16e4f95bf6ca8d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Clean up header includes and friend classes in corePeter Varga2021-06-177-55/+30
| | | | | | | Change-Id: I394821d57a9cf379869d3611996c8394fbc6c60e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 450a491b2d6c74512a3f30c0fb15eabd51e15cbc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtwebengineQt Submodule Update Bot2021-06-171-5/+5
| | | | | Change-Id: I9aeda02871c6deee455b5a0d0e40b440b255b934 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update ChromiumAllan Sandfeld Jensen2021-06-171-0/+0
| | | | | | | | | | Submodule src/3rdparty 9e5e3189..9b19802a: > Add media:media_buildflags to public dependencies Fixes: QTBUG-94572 Change-Id: I77c8f67683447ac14e07392a4b1e5e71c45e2a5c Pick-to: dev Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Stop using Widgets in WebEngineCore testsAllan Sandfeld Jensen2021-06-1647-55/+78
| | | | | | | | | | | With QWebEnginePage in Core we can now make the core tests core-only. Add the same times moves tests from widgets that only uses core classes. Change-Id: I67a25b534912d9a0891e16b0419f0db9bf434e92 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit b8c48ee53009365a39d9dde1f6773048ec5ee4a0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix QWebEngineQuick namespace for webenginequick moduleMichal Klocek2021-06-1542-72/+73
| | | | | | | | | | | | This is followup change for QtWebEngineQuick rename. [ChangeLog][QtWebEngineQuick] Use namespace QtWebEngineQuick QtWebEngine::initialize() is now QtWebEnigneQuick::initialize() Change-Id: I90acab04ff0240b399a863c88eff915efa360f6f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 5f723fe7469ac9ce3373dbcd3eb0978595271514) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CMake: Ensure libs project is reconfigured when the root project isAlexandru Croitor2021-06-152-0/+25
| | | | | | | | | | To ensure that correct CMake and qmake support files are used when building examples. Change-Id: Ic52ee7f7153877071ab3883fd436ad888f90680d Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit f04bc6833c01efc0fb37d6f6c31c6fa427087664) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add spellchecker support and qwebengine_covert_dict to cmakeMichal Klocek2021-06-1511-29/+178
| | | | | | | | | | Add spellchecker dictionary conversion tool. Change scope of gn object imported variables to function scope. Change-Id: Ice579a89e20b80034b675e7f767a774100478472 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 9451ceee24e832d32a86ae6a2f37eea781acaa2f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Clean up runAlways targetMichal Klocek2021-06-151-3/+5
| | | | | | | | | | | | After refactorings this can be now simplified and fixes windows warnings about target duplication when multi config is used. Remove extra target and leave as command output, which is never created. Change-Id: I4930e9309a639e8853ba9f6c03ee51bc71ade5c6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 4e9f6d8ae453284cdd167b69ceab0d81aafeb327) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Enable native arm64 builds on macOSMichael Brüning2021-06-152-8/+10
| | | | | | | | | | Chromium builds on arm are still experimental, but we want to enable them in the CI in order to see when things break. Change-Id: I9e37fd97eb5a3dc680dc16404c22b97f780b4b9f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 712702757f105aa2390b00c8412950967aa1e881) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add back the rest of the lost printing documentationAllan Sandfeld Jensen2021-06-111-2/+44
| | | | | | | Change-Id: I35a4857d873559403d0574a69c59b4fd1e9a952f Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit f7cde55256c0a0d7d1d87569bfc47aa35b8b7c64) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move printing finished callback to signalAllan Sandfeld Jensen2021-06-113-12/+49
| | | | | | | | | | | | We can only have one printer active at a time anyway. At the same time restore some lost documentation. Task-number: QTBUG-63235 Change-Id: I454ef3fb038712c832e73c661120fbbe77b3a90c Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 4338bcbacf467c0d0d7aec36fbd186ca6b9e02f6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Replace Q_NULLPTR and pointer 0 with nullptrAllan Sandfeld Jensen2021-06-1012-19/+19
| | | | | | | Change-Id: Ifd7acf49b22be1532ba98371982af4b14f08e6fc Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> (cherry picked from commit 4a5a1ab7849bba6aed87132296c79ca9dba6d113) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make Proprietary Codecs feature visible in config.summaryPeter Varga2021-06-101-0/+1
| | | | | | | Change-Id: I3cb466dd2a0f2e26b83db968113cd5b398b45727 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit e69d7cf9cab6ac83d7009d5574cfe43f292271ad) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove separate quick certificate error testKirill Burtsev2021-06-108-324/+1
| | | | | | | | | | | Since api types and implementation are shared, this test duplicates the same test in widgets part. Also tiny qml layer was always tested under separate 'qmltests' auto tests. So fix this redundancy. Change-Id: I1545d06b673e1e69179f58bf55e10002e5b55ac6 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 40a7fe06b96652b09209672528afa720b8548525) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix some compiler warningsPeter Varga2021-06-1034-92/+53
| | | | | | | | | | | | | | - Remove deprecated Qt::AA_EnableHighDpiScaling and Qt::AA_UseHighDpiPixmaps from examples. High-DPI scaling is always enabled. - Reorder initialization of members of QWebEngineDownloadRequestPrivate. Also remove m_ prefix from public members' name. - Remove unused parameters from methods of DummyDelegate. - Add missing overrides in auto tests. Change-Id: I18d6973b8bee574b37b73fbaaa8d57002ac8ba2d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 740b8c94f27930a33298c81c2284d1f0a9e2f11b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix "examples" and "tests" target name collisionsPeter Varga2021-06-101-5/+5
| | | | | | | | Fixes: QTBUG-94333 Change-Id: I1e9b4c3f042dc370441e062288f5f9689d31c091 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit b8804bf868c9f9b18a8b1caa9f512659113ddb98) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Switch QWebEnginePage::findText() to std::functionAllan Sandfeld Jensen2021-06-108-14/+18
| | | | | | | | | | Leaving further API modification for later Task-number: QTBUG-63235 Change-Id: I75367ee5d4ce071abaeed361d2dc27c64fb6dd8a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit f820e8f1993ca2a3e6808467cabca82e464f36e7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* FIXUP: Fix QWebEngineDownloadRequest signalsBalazs Egedi2021-06-102-3/+3
| | | | | | | | | | - Included the test for Quick Controls 2 in CMake. - Fixed warning about deprecated injection of parameters into signal handlers. Change-Id: I8f517e84cb6b0c67e3f12bc3d047f0b61096d5fe Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit c3108a1a7ab64a3fff2c2b7284ac22020571e2b7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumAllan Sandfeld Jensen2021-06-091-0/+0
| | | | | | | | | | | Submodule src/3rdparty d8835555..9e5e3189: > Generate mojo bindings before compiling extension API registration > Try to fix finding xkbcommon.h on OpenSUSE Change-Id: I697c856191a9eae42a4c5beae3ca077cf180d7ce Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit a961779c2c7d13ca5a5d830c4af94a60e4322e26) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump versionJani Heikkinen2021-06-090-0/+0
| | | | Change-Id: I958b36fab753a857396865ec1e302971e870ec69
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-06-081-5/+5
| | | | | Change-Id: Ifd0bee4124418986afb0c2b48f71e83656b3b85d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Blacklist openRemoteDebuggingSession on macOSAllan Sandfeld Jensen2021-06-081-0/+2
| | | | | | | Is flaky again. Change-Id: I9722b438356957648044b287e50052963d65e40c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* QWebEnginePage: add new 'loading' property and expose QWebEngineLoadingInfoKirill Burtsev2021-06-083-6/+42
| | | | | | | | | | [ChangeLog][QWebEngineWidgets][QWebEnginePage] QWebEngineLoadingInfo is now exposed on loadingChanged signal with new 'loading' property Fixes: QTBUG-53333 Task-number: QTBUG-61100 Change-Id: I7773030726faeb1d65cc85a4d688a80f6dbe2c80 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add WebEngine qdocconf for documentationAllan Sandfeld Jensen2021-06-084-11/+16
| | | | | | | | | Probably still needs internal naming updates. Task-number: QTBUG-94130 Change-Id: I3f2522b16a78475d42f9f689cf2d2e994130cf7b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Make qt-configure-module workJoerg Bornemann2021-06-071-11/+18
| | | | | | | | | Check for QT_CONFIGURE_RUNNING and - don't call find_package - define stubs for functions that are incompatible with qt-configure-module Change-Id: I2032302c25e1bcac6939a665cd6f136de8421acf Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Replace calls to obsolete cmake functions with modern alternativeFabian Kosmale2021-06-0716-16/+19
| | | | | Change-Id: I5674d887a73a6a693d1babc416470c9873491eb3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Port to new QML CMake APIFabian Kosmale2021-06-071-2/+6
| | | | | | Change-Id: I3806a435854cf49b3d802a2c40e992463815f242 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Craig Scott <craig.scott@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-06-071-5/+5
| | | | | Change-Id: I01a2f26c6570feee1f408c1e602d24085ee87e21 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Replace testsupport's QQuickWebEngineErrorPage with isErrorPageAllan Sandfeld Jensen2021-06-0619-244/+110
| | | | | | | | | | | | | | | | Merge and unify handling of loading started/finished for quick and widgets by removing separate quick's type for monitoring error page load and replace it with an isErrorPage method in WebEngineLoadRequest to indicate, that load ended with an error page being displayed. Effectively this only slightly changes when loading finished gets emitted: now the signal is just postponed until error page is finished loading after initial failure. [ChangeLog][QWebEngineQuick][WebEngineLoadingInfo] New property 'isErrorPage' which indicates that the load resulted in an error page Change-Id: I3e59dc488429d776f7c8e083b6d0489fb30a65fc Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add mock FilePicker UIDelegates for Quick Controls 2Balazs Egedi2021-06-063-13/+13
| | | | | | | | | FilePicker is added to Controls2Delegates. filePicker auto test now works with Quick Controls 2. Task-number: QTBUG-93666 Change-Id: I6b5aca6a479603f5258bf49df6caeb024fed17c4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Transform/Rotate qml popups in the case of multiwindow supportMichal Klocek2021-06-052-10/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is ugly attempt to cover the case for different screen orientations with qml popups on system with windowing system in form of: Item { anchors.fill: parent rotation: 90 WebEngineView { anchors.fill: parent } } This implemented by adding special transformation for rotation for quickwindow delegate. Do not support move or resize in that case since chromium is not aware of this transformation anyway. Fixes: QTBUG-63888 Fixes: QTBUG-75893 Task-number: QTBUG-73244 Task-number: QTBUG-89358 Pick-to: 5.15 Change-Id: I0a116e0b85dc17e6ad517829a2db1d3f192d32ce Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Port 626830a7 to cmakeMichal Klocek2021-06-051-0/+1
| | | | | | | | | | | | Generate mojo bindings before compiling extension API registration Speculative fix. Add custom qtwebengine mojo_bindings as a dependency for compiling chrome sources. https://codereview.qt-project.org/c/qt/qtwebengine/+/351361 Change-Id: I9d7de2d1f69072249549fa09afd0996f495b23a7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Always send phased wheel events beginning with BeganAllan Sandfeld Jensen2021-06-051-1/+1
| | | | | | | | | The input event router does not like MayBegin. Pick-to: 5.15 Fixes: QTBUG-93082 Change-Id: I4ac9677d7f69da3d36fc33c17541026f011feb42 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Rename WebEngineLoadRequest to WebEngineLoadingInfoKirill Burtsev2021-06-0417-118/+119
| | | | | | | | | | | | Rename it, since it's not a real request (in a sense that there is nothing to accept or reject), and it is also emitted on loading start and failure. [ChangeLog][QWebEngineQuick] WebEngineLoadRequest is renamed to WebEngineLoadingInfo Change-Id: I75b25da456eb4507451014070525a6a8e9d6753d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* WebEngineView: rename navigationHistory to historyKirill Burtsev2021-06-049-18/+18
| | | | | | | | | | Match widgets API name for the same QWebEngineHistory class [ChangeLog][QWebEngineQuick][WebEngineView] 'navigationHistory' property is now just 'history' Change-Id: I78507929baa84c8be08f79050568d04868171b3f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge WebEngineHistory's quick implementation into QWebEngineHistoryKirill Burtsev2021-06-0416-672/+548
| | | | | | | | | | [ChangeLog][QWebEngineCore][QWebEngineHistory] New methods to access navigation history as a model through new class QWebEngineHistoryModel. [ChangeLog][QWebEngineQuick] QQuickWebEngineHistory is merged into QWebEngineHistory. Task-number: QTBUG-74585 Change-Id: I9f9a73bbaf3954282dfc220cfc2c4cb08a37fb73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Replace FaviconManager with Chromium's Favicon ComponentPeter Varga2021-06-0457-1883/+1484
| | | | | | Task-number: QTBUG-51184 Change-Id: Ie050cb23f2c86841a66ec384bfbcdf0713cffa7c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add mock UIDelegates for Quick Controls 2Balazs Egedi2021-06-048-41/+36
| | | | | | | | | {Alert, Confirm, Prompt}Dialogs are added to Controls2Delegates. javaScriptDialogs auto test now works with Quick Controls 2. Task-number: QTBUG-93666 Change-Id: I193b6ec3617db8b44a9dfc5534d99bdf8b20a78e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Skip static buildsMichal Klocek2021-06-041-0/+5
| | | | | | Fixes: QTBUG-94189 Change-Id: Ieb3818410435af979309da7cda50f8ed3fca9023 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move QQuickWebEngineNavigationRequest to CoreAllan Sandfeld Jensen2021-06-0412-136/+178
| | | | | | | | | Adds navigationRequested() to QWebEnginePage and exposes more information about navigation requests than the old acceptNavigationRequest() method. Change-Id: Ibb8d750bacd1060c3086ffe2c85336abd216bab0 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Turn webrtc back on for non-embedded buildsAllan Sandfeld Jensen2021-06-031-2/+2
| | | | | Change-Id: Ib90aef051ac643406236e9fae63b43a1a9868bcd Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumAllan Sandfeld Jensen2021-06-031-0/+0
| | | | | | | | | | | | Submodule src/3rdparty a8c1986a..d8835555: > FIXUP: Stop using C++20 initialization > Fix build error for macOS arm64 on x86_64 > Fix arm64 Skia build for macOS > Make convert_dict as a root project > Adapt favicon and history component for WebEngine Change-Id: I6a11e1859b09e4841f1b076e08e2c38ce1388017 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Drop printsupport dependency from coreSzabolcs David2021-06-0313-262/+215
| | | | | | | | | Prevent linkage of core to widgets by moving printing API from QWebEnginePage to View and using QPagedPaintDevice (the QtGui ancestor of QPrinter) where it's needed. Change-Id: I6ea96edb495b0dcaaa584bbe72632fda025c18d3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>