summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [macOS] Add missing entitlements for https in notarized applications6.5Michael Brüning2023-05-171-0/+2
| | | | | | | | | | | There were reports about https pages being inaccessible in notarized applications when this entitlement was missing. Fixes: QTBUG-113524 Change-Id: Ib55fe5cd934d5c1ccc06d44486551f16105ad22e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit d13dd9f71412525a8c57f89158caf324792b6074) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add a clarification of GPL usageAllan Sandfeld Jensen2023-05-171-0/+4
| | | | | | | | | | | We were listing Speech Dispatcher and XDG Shared Mime Info as GPLv2 contributions. Fixes: QTBUG-113270 Change-Id: I9392cf12ad17a5f3efac0b245209a9ed946c2e51 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 6601ba752da3b1e76056619cc10f139300f7fed9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix "redundant move in initialization" warningPeter Varga2023-05-171-1/+1
| | | | | | | | | | Moving a constant reference makes no sense. Change-Id: I1be8d8dd787592be528e1e5d08593595c4888ac1 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit be1c3bb212a68f08bcab2af787cc9396e82d5b6e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Minor clean-up of gn argumentsPeter Varga2023-05-171-3/+1
| | | | | | | Change-Id: Idd33f032cc30cd40bffcb436eb007456d2dfb78e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 737ba4c619675b1847b2a79fdbf5956cc8bdbfcf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Enable large pdbs by defaultAllan Sandfeld Jensen2023-05-171-0/+2
| | | | | | | | | | The current limit is often hit by incremental builds when working on webengine, and it costs us nothing to enable it. Change-Id: I3aa96b789e0949637b174be31b5f36315718e201 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 6d8617742f179b09631653a9d2fc4da8be876a54) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Minor. Fix typo in qtharfbuzz feature labelMichal Klocek2023-05-161-1/+1
| | | | | | | Change-Id: I79010bae7f8627aeee894e468943cde90ce7b73f Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a3e94d3cb6d736a039e5c6e3f6e6d22487277ec9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix use of system png for qtpdfMichal Klocek2023-05-161-0/+8
| | | | | | | | | | | | | | | QtPdf has own png library which is controlled by pdfium_use_system_libpng and used by xfa. However skia dependency also pulls root third_party png and we need also use_system_libpng flag set accordingly. Add missing pdfium_use_system_zlib flag too. Fixes: QTBUG-112466 Change-Id: I08b7b32e5fd0ffe08cf77421ff2f0965755304ca Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 7ed48983b0cb5025bd3bde52e57f937894e7fa1d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Test for presence of local frame in runJavaScriptAllan Sandfeld Jensen2023-05-163-3/+21
| | | | | | | | | | It can be missing if we are in the process of shutting down. Fixes: QTBUG-113400 Change-Id: Ib494e479db08d51825c15f54354037c265ba96b0 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 2b24435c7f5c1a4d5de117ff92d2b3c064952143) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add update-chromium target and unify 'Update Chromium' commitsMichal Klocek2023-05-152-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | To save some typing when doing 3rdparty udpate introduce 'update-chromium' target, which creates commit with nicely formated commit message with shas, it can be used for example with following steps: * qtwebengine repo is at the origin HEAD with nothing stagged * there are some new commits in 3rdparty * code compiles and there are no issues * make update commit by typing in <build_dir> * ninja update-chromium or * cmake --build . --target update-chromium * push the commit You can also create the commit from <source_dir> with: cmake -P cmake/SubmoduleUpdate.cmake Change-Id: Ia6b051cd2df0646707c2cc88175245841728794f Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> (cherry picked from commit c228e708678f32ced2efb26b9dfb24a515e8e4f7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichal Klocek2023-05-123-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty b5e07b71..dbb0d0bd: * Fixup for '[Backport] CVE-2023-1818: Use after free in Vulkan. (2/2)' * Bump V8_PATCH_LEVEL * [Backport] CVE-2023-1815: Use after free in Networking APIs * [Backport] Security bug 1428820 (3/3) * [Backport] Security bug 1428820 (2/3) * [Backport] Security bug 1428820 (1/3) * [Backport] Security bug 1404790 * [Backport] Security bug 1360571 * [Backport] CVE-2023-2137: Heap buffer overflow in sqlite * [Backport] CVE-2023-2134: Out of bounds memory access in Service Worker API * [Backport] CVE-2023-2133: Out of bounds memory access in Service Worker API. * [Backport] CVE-2023-2136: Integer overflow in Skia (2/2) * [Backport] CVE-2023-2136: Integer overflow in Skia (1/2) * [Backport] Security bug 1427388 * [Backport] CVE-2023-2033: Type Confusion in V8 * [Backport] CVE-2023-1818: Use after free in Vulkan. (2/2) * [Backport] CVE-2023-1818: Use after free in Vulkan. (1/2) * [Backport] CVE-2023-1819: Out of bounds read in Accessibility * [Backport] CVE-2023-1813: Inappropriate implementation in Extensions * [Backport] CVE-2023-1812: Out of bounds memory access in DOM Bindings * [Backport] CVE-2023-1811: Use after free in Frames * [Backport] CVE-2023-1810: Heap buffer overflow in Visuals * Fix v8 context snapshot generator compilation * Fix build with ICU 70 * Fixup 'Fixes for jumbo build' * Avoid exporting API from static ANGLE builds * Collect extra gpu info on in-process-gpu too Change-Id: I17e57fa32674389c1783c8d33486dffa3920156f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit caead8aaa5e6cd529b7e8f0d7ca1c87bcc546ef5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-05-121-4/+4
| | | | | Change-Id: I28da811335cde361241d5f3157b4e197d2b50e92 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Disable EyeDropperAPIMartin Negyokru2023-05-091-0/+5
| | | | | | | | | | | This patch fixes the devtools eyedropper. The EyeDropperAPI is an experimental feature which we don't implement and devtools uses it by default. Change-Id: Iaa28ee5d0381750fc967dbc72d725b46b239a656 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 15fbd9b171b9ec8be6b1748f77a03233841c970d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Test WebWindowType parameter in CreateWindow()Anu Aliyas2023-05-081-0/+74
| | | | | | | | | | - Added testcase to test WebWindowType parameter in CreateWindow. Fixes: QTBUG-112645 Change-Id: I4f6bf452afcceeaa67ff07b879a2acd836bd8fac Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit db21f13e77982623b8342f981f31d8fa2ea12434) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump the minimum ICU version to 70Christophe Marin2023-05-031-1/+1
| | | | | | | | | ICU 68 is too old for the Chromium branch used by qtwebengine. Change-Id: I801d03ef7d4d12446a568c5dc9a50edeab8bf3c4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit abaa182fb9e63380f15bc96302223663638aa2f4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump version to 6.5.2Jani Heikkinen2023-05-031-1/+1
| | | | | Change-Id: I7c2f0db0226a414482d8f19f2f93d62109c548ec Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-05-031-4/+4
| | | | | Change-Id: I4a7af9228a5c76cf42e322718e926a11e325981b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Do not provide v8 snapshot toolchain if not neededMichal Klocek2023-05-031-2/+4
| | | | | | | | | | | | | | We should provide v8 snapshot toolchain only in case of cross compilation, otherwise gn can simply use current toolchain for creating v8 snapshot generator. This prevents triggering second pointless build of v8 and blink to generate snapshot of v8 context for desktop builds. Change-Id: I214b8b802c6827fbece3b2158f206b65fb768288 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8dfb4a3c514e2fcb6b65684c8e263ff180c6d06b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-032-0/+2
| | | | | | | | | | The function sets the required CMake variables and policies. Task-number: QTBUG-112685 Change-Id: I5eb3f91a180f2a844a2575ed19abc28a913ce5b9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 34eff61f9c617062a1935826eb6afac675a85c9e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Remove mention of x86 cross-compilation on WindowsKai Köhne2023-05-031-7/+1
| | | | | | | | | | | | | Qt 6 doesn't support x86 builds anymore. Also, the build fails due to Chromium issues. Also fixed a nearby typo. Fixes: QTBUG-113035 Change-Id: Ic2310a365220c4b53d973da00b7285d933e2a622 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 7765029d0b0fbc78af4c555fd2e4fbd3ed20f796) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-05-011-4/+4
| | | | | Change-Id: I96d81cd7a0b99a8daa6516b45c9c37a54fdc995b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix user script management when subframes are presentAllan Sandfeld Jensen2023-04-302-7/+45
| | | | | | | | | | | Only the main frames should administer scripts associated with it. Fixes: QTBUG-113109 Change-Id: Ibda66f55ef99da632134a9de1425797262faba9b Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Martin Negyokru <negyokru@inf.u-szeged.hu> (cherry picked from commit 17c64fd5d2778df4a52849e8942104d4d9555a1e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-04-281-4/+4
| | | | | Change-Id: Iec28c0932ee9e53f0f26044903992d36d2347d5e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-04-261-4/+4
| | | | | Change-Id: I740f8dfe387798edeab0d75328f5fde726a7803b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Don't show QtWebEngineProcess in the dockAnu Aliyas2023-04-262-0/+45
| | | | | | | | | | | | - Added Info_mac.plist.in file - Set the LSUIElement key in Info_mac.plist.in to prevent seeing a jumping icon in the dock while the OS waits for the QtWebEngineProcess to create a window. - Set MACOSX_BUNDLE_INFO_PLIST to Info_mac.plist.in Fixes: QTBUG-112700 Change-Id: Ibd1dcc399ce440236b1d9b474191e3fc2f5c8ffc Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit a2d0bb9ef69bb5d677d177d91dd9ad414b915436)
* Remove assert on outer web contents in accessibilityMichael Brüning2023-04-251-3/+0
| | | | | | | | | | It was introduced under the assumption that the accessibility would only not be available for guest views, but it is also the case for child frames. Change-Id: I202b598cde98f84a40dcbb0ee24f2569c5d9ee65 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 2d1506e345df8be568d6ece2cfb7c461dcbeebc0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump the minimum harfbuzz versionChristophe Marin2023-04-251-1/+1
| | | | | | | | | | components/paint_preview/common/subset_font.cc includes hp-cplusplus.hh which appeared in harfbuzz 4.3.0. Change-Id: I147d1df34e88879826587341be58d00ede1487bb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 0a0269e4f611a39911df0091d45e62ae57c2a7c1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix build with GCC 13Sam James2023-04-251-0/+2
| | | | | | | | Fixes: QTBUG-111697 Change-Id: Ife05645ae96d1e18727d8d79efbbd64f813b8dcd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 778554ec28039dd5ddaf536be9776ea0f6301501) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Minor. Small clean up of qmake leftoversMichal Klocek2023-04-224-305/+0
| | | | | | | Change-Id: I0ef7f97b3d76c43e815daeb7d6782215c08e4f7d Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 67eb9e151f75ff1fc570c27ede7868f40ed299ff) Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Disable devtools screencast by defaultMartin Negyokru2023-04-221-0/+11
| | | | | | | | | | | | After 73acb3b3e devtools starts with screencast opened. Bring back old behavior. Fixes: QTBUG-112772 Change-Id: Ifa1b860dc125e006ab5c2e3cd60a82980c32abe0 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 59e1a33ffa4e9ba670c099e96d2677e06bf665c7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Support painting to Direct3D11 using ANGLEAllan Sandfeld Jensen2023-04-226-9/+71
| | | | | | | | | Task-number: QTBUG-112280 Fixes: QTBUG-109401 Change-Id: Iaebb79921030ce42bcfe8be1ba46d309c93dca6d Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 479d9d965acaff3fc08412d56ce205e8c8822dbf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use paintRect instead of pageRect when printing to account for marginsYigit Akcay2023-04-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when printing via QWebEngineView::print(), the margins are handled by QPainter and not Chromium, unlike QWebEngineView::printToPdf() or QWebEnginePage::printToPdf(). The changes in this patch don't affect the latter two. QPainter handles margins by making a distinction between pageRect and paintRect, where paintRect == pageRect - margins. Furthermore, to actually apply the top and left margin, QPainter moves paintRect by (marginLeft, marginTop). This means that we have to draw what is to be printed in the size of paintRect and QPainter will move it to apply top and left margins. Right now, this is not the case, as we draw what is to be printed in the size of pageRect. QPainter then moves it, thereby the result contains the top and left margins, but overflows the page on the right and bottom, effectively cropping the final result. In this patch we fix this by using the size of paintRect instead of pageRect to draw what is to be printed when printing via QWebEngineView::print(). Fixes: QTBUG-111909 Change-Id: Ibc7a9035e654e92d84a594c6dd1ec2efc6e108ff Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 421d3c4e0b57170343df57de0b222d0f57a7bcb7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Clear PDF search results on document page model changeMikolaj Boc2023-04-213-0/+15
| | | | | | | | | | | | | Not clearing the search results leads to crashes when the incoming page model is larger than the outgoing model, due to internal state being still in sync with the old document, but the page count of the new document being used. Fixes: QTBUG-111067 Change-Id: Ic81744ebe0cb7d1a152453721abd7d1b5c5fa2b9 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit d1347ebbe99b467799680bb6e3cee81932751df5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2023-04-213-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 22fec96c..d3c3d748: * Revert "[Backport] CVE-2023-0704: Insufficient policy enforcement in DevTools" * Do not stop navigation during saving the page if not necessary * Pass through non-keymutex share handles * [Backport] CVE-2023-1236: Inappropriate implementation in Internals * [Backport] CVE-2023-0704: Insufficient policy enforcement in DevTools * [Backport] Security bug 1417585 * [Backport] Security bug 1418734 (2/2) * [Backport] Security bug 1418734 (1/2) * [Backport] Security bug 1415249 * [Backport] Security bug 1402921 * [Backport] Security bug 1337747 * [Backport] Security bug 1412991 * [Backport] CVE-2023-1532: Out of bounds read in GPU Video * [Backport] CVE-2023-1534: Out of bounds read in ANGLE * [Backport] CVE-2023-1531: Use after free in ANGLE * [Backport] CVE-2023-1530: Use after free in PDF (2/2) * [Backport] CVE-2023-1530: Use after free in PDF (1/2) * [Backport] CVE-2023-1529: Out of bounds memory access in WebHID * [Backport] CVE-2023-1235: Type Confusion in DevTools * [Backport] CVE-2023-1232: Insufficient policy enforcement in Resource Timing * [Backport] CVE-2023-1233: Insufficient policy enforcement in Resource Timing * [Backport] CVE-2023-1222: Heap buffer overflow in Web Audio API * [Backport] CVE-2023-1220: Heap buffer overflow in UMA * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (3/3) * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (2/3) * [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (1/3) * [Backport] CVE-2023-1218: Use after free in WebRTC * [Backport] CVE-2023-1217: Stack buffer overflow in Crash reporting * [Backport] CVE-2023-1215: Type Confusion in CSS * [Backport] CVE-2023-1214: Type Confusion in V8 Fixes: QTBUG-112166 Change-Id: I747f60f72cbf6847bc0ee89bee655972968da921 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ffc26420b81901bf7f47fe783f8582588451c7e9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-04-211-4/+4
| | | | | Change-Id: I27e2cde8b258ff8f00b88cf0dd2055913bd7ba30 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Stop disabling optimization of V8Allan Sandfeld Jensen2023-04-191-1/+1
| | | | | | | | | | It is no longer necessary to build successfully, and improves loading times in debug mode. Task-number: QTBUG-110504 Change-Id: If2a49fc96aaa113a90d5573371069754da354f7a Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 9c4782e178f3798d006e79f3b340b722556b9f8a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-04-181-4/+4
| | | | | Change-Id: I569b1030113924ef9c8b01bab72b7cb85977bfdf Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Resolve duplicate symbol errorAmir Masoud Abdol2023-04-141-1/+1
| | | | | | | | | | | | When doing unity build, `CharacterHitTolerance` collides with similarly named variable in `qpdfdocument.cpp`. Task-number: QTBUG-109394 Change-Id: If7ac4ec095c88bff38f3b62b4caac82f0bfd8368 Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit a6a97f23bcebfc7c3319607b612be3b0d59ea46f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-04-131-4/+4
| | | | | Change-Id: I8196d82556288995ce52f8e2bf7839854cc9bccf Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Use the \examplecategory macro to tag examplesTopi Reinio2023-04-131-1/+1
| | | | | | | | | | | | | | | | | The '\meta category' command was used for tagging examples with a specific category, used in Qt Creators Welcome mode. As we want to also generate lists of examples belonging to a category elsewhere in the documentation, replace the command with a macro that expands to the original \meta command and also adds the example to a group using the \ingroup command. This way, the category names can be used as arguments to the \generatelist or \annotatedlist commands. Task-number: QTBUG-112731 Change-Id: If9519fd8994c64cf57dc4c9a9387d7be80493d80 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 89cdfed48ce61b06581c178d151d427ad7d67ac6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-04-121-4/+4
| | | | | Change-Id: I14edaf0c92bc473239535fdbc4946b4e792950f5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Rework painting integration and support Metal RHI over ANGLEAllan Sandfeld Jensen2023-04-1218-115/+732
| | | | | | | | | | | | | | Move graphics details into compositor, and add support for a native buffer mode uses ANGLE on the Chromium side. The initially support is for Metal. Fixes: QTBUG-112282 Task-number: QTBUG-112280 Change-Id: I066ba1d3e72508e047d259ae5797659d45335fb2 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit cceda0895b3aca208e37669b2acb38c01e9f1774) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Merge recipe browser, stylesheet browser and markdown editor examplesYigit Akcay2023-04-0679-3735/+873
| | | | | | | | | | This patch merges the qtwebengine examples recipe browser, stylesheet browser and markdown editor into one single example. Task-number: QTBUG-108751 Change-Id: I338707d7d3275b03bf2a2d7b65064ac91e562d7f Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fe9d72d931f40eafca97c1012c03e24561c973ff)
* Better handling of interrupted PDF printingSzabolcs David2023-04-054-1/+27
| | | | | | | | | | | | | | | | | | | | | | - Document the fact Stop WebAction can interrupt the in-progress PDF generation. - Update PrintViewManagerQt::PrintPreviewDone(): Normally IsPrintRenderFrameConnected() implies IsRenderFrameLive(), but we have to check both to avoid crash when render process exits. (Like Chrome does.) - Update PrintViewManagerQt::RequestPrintPreview(): Handle that case when print preview params were sent between processes at the beginning, but it was interrupted before RequestPrintPreview() could start PDF generation. - Add a simple auto test to catch crashes Task-number: QTBUG-108154 Change-Id: I8a4f9cc97ddcf9a165d66a5981d93a023858fbc1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c3ed0e176ccda503c968626010ca36f1f3961fce) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Adapt to painting cleanupAllan Sandfeld Jensen2023-04-057-46/+31
| | | | | | | | | | | Pass through alphaChannel requirement correctly, instead of having a nonfunctional hasAlphaChannel(). Change-Id: I99adb17aa38fd91ea8fd93b86a352bc476690837 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 356f65b87c508c44bf31bc3134eaebfd6f39c6ec) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumAllan Sandfeld Jensen2023-04-051-0/+0
| | | | | | | | | | Pulls in graphics integration cleanup and must be staged with patches that adapt to that. Change-Id: Icb6f485e201fd4edd7381965a5b007d866f8e5f6 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit fb64f8720e291d3c56778fafd8cc6d7fe3fb15ea) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix building on Windows and macOS with chromium EGLAllan Sandfeld Jensen2023-04-054-58/+35
| | | | | | Change-Id: I6c7b37d7c53ff9ed872f5f95660c6cf7520e6bda Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit caf5f383ac53401dc2749f43ce46a208fe8738c9)
* Simple browser example: Fix up the codeFriedemann Kleint2023-04-053-34/+6
| | | | | | | | | | | | | | - Remove duplicated unused helper questionForFeature() - Replace lambdas by slots where possible - Fix clang warning about using multiple arguments to QString::arg() - Remove dead code in WebView::contextMenuEvent() which checks on inspectElement == actions.cend(), but is within an "if" checking the same condition. Change-Id: Ie85a3811f4f5a8c3fa9550d4eb2ca5bf79e39084 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 88ef502099d535823156c31e77251dd2a723ad1c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Require gn for generating docsMichal Klocek2023-04-054-10/+58
| | | | | | | | | | | | | | | Make sure gn is build before doc target, otherwise parallel top level build might not succeed. As configure runs the gn binary is not compiled so use scripting mode to execute gn call during build time. Task-number: QTBUG-88482 Fixes: QTBUG-112644 Change-Id: I7e851de90e2a3ec52f5259d51f677b23d8245bcb Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit e368689df5566462ceea28c06803f9a0abf91cc5) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* doc: Add the QtPDF Licenses and Attributions sectionShawn Rutledge2023-04-055-0/+53
| | | | | | | | Fixes: QTBUG-88482 Change-Id: If58a8443afb38f372ca3dc7372472db888586dba Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fd13a951a75913bac18f7aeba89dfff56258beb0) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add Windows 11 related note for Geolocation settingsYigit Akcay2023-04-042-0/+12
| | | | | | | | | | | | There are 3 OS settings under Windows 11 that need to be enabled for the HTML5 Geolocation in QtWebEngine to work properly. This isn't very straightforward to a user, therefore this patch adds a note to the documentation. Change-Id: Id36a4726a182178c5a15fce039e464fd6bb7517e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c3b2393e7a532a18d4971a878740b2a9b5830028) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>