summaryrefslogtreecommitdiff
path: root/src
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>
* 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-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-122-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-031-0/+1
| | | | | | | | | | 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>
* Fix user script management when subframes are presentAllan Sandfeld Jensen2023-04-301-7/+12
| | | | | | | | | | | 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>
* 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>
* 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-221-288/+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-212-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* 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-061-1/+1
| | | | | | | | | | 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-053-1/+13
| | | | | | | | | | | | | | | | | | | | | | - 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)
* Require gn for generating docsMichal Klocek2023-04-052-0/+2
| | | | | | | | | | | | | | | 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-041-0/+6
| | | | | | | | | | | | 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>
* Replace WebEngineAction example with a snippetMichael Brüning2023-04-042-1/+132
| | | | | | | | | | Also moves the example to the manual tests directory. Task-number: QTBUG-108751 Change-Id: Ie3fa492cfcaf61ee26ed65fa22954bb6a6532d6e Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 23d1131577e1780de0552211a84357bcb1f63de5) Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix gn<->ninja dependencies for qtpdfMichal Klocek2023-04-041-3/+3
| | | | | | | | | | | | | | | We try to build qtpdf after qtwebengine is done. However "ninja docs" now depends on gn run and should not trigger module compilation. Therefore sync on NinjaReady target so GnReady for QtPdf can run just after gn binary is compiled and does not trigger whole qtwebenigne module build. Task-number: QTBUG-88482 Change-Id: Iaf7f8ec631414c636915d53532bc85e84c5534a5 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 30f934b70f41ead670a66772a020ae77d966d5f5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Drop perl dependency for third party opusMichal Klocek2023-03-311-0/+7
| | | | | | | | | | | | Opus needs perl to do some optimizations, in case there is no perl print the warning and drop the perl requirement. Fixes: QTBUG-111958 Change-Id: I63a66e71fdaeae61d5c9dbcfe41f03bfb717bb75 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Rolf Eike Beer <eb@emlix.com> (cherry picked from commit a38a3aee68e796266ef6478d87d133ce1a5102c9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichal Klocek2023-03-311-0/+0
| | | | | | | | | | | | | | Pulls in following patches: * e41707d576a Add support for custom gn binary to license generator * 8b8de6420db FIXUP: Jumbo build * 17d1d44b890 [Backport] Security bug 1401571 * 9de0d8a90d9 Fixes for building with GCC-13 * 4d558a69453 Opus needs perl for optimatizations Change-Id: I939daf2c2dcbcd7890bc24de591650f1a4eedd7b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 60d386ba9410f2d64dd816ce28fdaf7f1f7dfa49)
* doc: Provide a screenshot of the PDF Viewer widget example; rename pageShawn Rutledge2023-03-301-0/+0
| | | | | | | | | | | | | | | | | Let's be clear in the title that this is a widget-based example, as opposed to the Qt Quick example in the docs. The screenshot is from macOS 13.2.1. The 6.6 example has more features, so this screenshot looks a bit incomplete compared to that. Task-number: QTBUG-81560 Change-Id: I28b50d608756f10967f1bf5f7ac72ec9a83d9417 Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit 9937cbb4a0f43a799400f4057e8c695f88d1aa9f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add gn target to code attributions generatorMichal Klocek2023-03-291-13/+12
| | | | | | | | | | Use gn_target for code attributions generation. Task-number: QTBUG-88482 Change-Id: I4e5d063dec2347c10eb715a467bdd376e39e60af Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 51fa03ce5936d5461e99cc6b3e9c6ea641c54f40) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Get rid of our sync point managerAllan Sandfeld Jensen2023-03-294-25/+0
| | | | | | | | | | We haven't needed our own since we got rid of the graphics node integration. Change-Id: I20b0fdb440c07e451d0e0152e8012ddf59e159cf Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit a3901dfc1f05e21cacded220188112a15df81f43) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update initializationAllan Sandfeld Jensen2023-03-281-1/+5
| | | | | | | | | Add missing calls to match RunBrowser() logic. Change-Id: Ia4a14acb279cc43cc8ab4930f1f5432b03a8cbed Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 7e19bc1897696270cf5469a8a640c545e4976da2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use docs target for chromium code attributionsMichal Klocek2023-03-251-1/+1
| | | | | | | | | | | The target docs_WebEngieCore, which in the end calls generate_docs_WebEngineCore, is not a dependency for any other target in generated ninja file. Change-Id: Ic2f1c93fed8fbb1a44e2f99365b15b7ec3e636f2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit b2f56c87d74324594ec86047c2a039aae9da7293) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add quotes from removed example to documentationAllan Sandfeld Jensen2023-03-241-0/+14
| | | | | | | | | Task-number: QTBUG-108751 Change-Id: I5560c2104e28cb5ca753f5db3579feabf4723980 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fb2b93818c7ecd5c025b999b2521801da9f4fbc9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove webui exampleAllan Sandfeld Jensen2023-03-241-3/+16
| | | | | | | | | | | | Doesn't demonstrate anything complicated, the code isn't even worth quoting as snippets. We could consider introducing a help browser to replace it with more functionality. Task-number: QTBUG-108751 Change-Id: I3b796388796a78d017836a10bee18032b2cd4905 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e4051de7db7b7f0905770280f9a06e133d453cf7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move custom touch handles example to manual testsMichal Klocek2023-03-241-0/+21
| | | | | | | | | | | | Move and add missing parts as snippet. Task-number: QTBUG-108751 Change-Id: I25849941700337626ca46e399fdb52264bc4659a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> (cherry picked from commit 55f9fc348278b2aa8985ec9c1e7e092f88f68f83) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move custom dialogs example to manual testsMichal Klocek2023-03-242-1/+29
| | | | | | | | | | | | | This example shows how to use dialogs, however documentation already provides snippets for that added in 3cbe59e29a. The only missing one was tooltip, therefore add missing snippet and move example to manual tests. Task-number: QTBUG-108751 Change-Id: I84eda805455fb0276046ed1089389d605a8af672 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 6bf30525ee49d270dae6a6440bc607513f21237c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move quick minimal example to manual testsMichal Klocek2023-03-245-3/+48
| | | | | | | | Task-number: QTBUG-108751 Change-Id: I0998c46f051908855e0406e5fc7c0a422dc3eef0 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit ed76eef004dbac15f4740d33d06d2b271bf770d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move widgets minimal example to manual testsMichal Klocek2023-03-242-5/+11
| | | | | | | | | Task-number: QTBUG-108751 Change-Id: I6e237b04d1f6a19f64516cd45aabe4d28099abd5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 34ebe8be93ab10766d034e5a3943a12c8de3a58e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QtPdf: Support more schemas when loading documents with qmlMichal Klocek2023-03-211-4/+2
| | | | | | | | | | | This is follow up after efbb12954cf6e58, use same handling as for reloading on password change. Fixes: QTBUG-87275 Change-Id: I1046f57f61346a2cbc03f50ca453209a855ea561 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 33fac9305d4a542b389d0d06ec07f05fd9699db2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix not working password test for QPdfQuickMichal Klocek2023-03-211-3/+4
| | | | | | | | | | | | | In qml url can have different schemas like 'qrc' 'file' 'assets'. Make correct conversion so file can be loaded. Note check isLocalFile() is not true for qrc scheme. Fixes: QTBUG-106072 Change-Id: I4dcc969e4c6d9b3f58ea5d81d20d8e81b55edfde Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit efbb12954cf6e581b6b29bed2fa2bb26e1cfab71)
* Add QtPdf android supportMichal Klocek2023-03-211-2/+4
| | | | | | | | Task-number: QTBUG-83459 Change-Id: I39915206859f031dd78798eeb7b2b49f4f148452 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 4717812788df2927818e671056642b58363d4b89) Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Doc: Use the new \attribution command in licensing documentationTopi Reinio2023-03-192-2/+4
| | | | | | | | | | | | Since Qt 6.5, marking a \page as an attribution page is done with a separate command, \attribution. Update the Chromium licensing template and the Qt WebEngine licensing page to use the new command. Fixes: QTBUG-112007 Change-Id: I1eac67bee72c078782d9334a604002011e1c3c86 Reviewed-by: Luca Di Sera <luca.disera@qt.io> (cherry picked from commit 81939a5cf76981ee67c7d2d7e73388d75475a0f7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>