summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Extend schemes access test with LocalContentCanAccess* flagsHEADdevKirill Burtsev6 hours1-69/+124
| | | | | | | Pick-to: 6.2 5.15 Change-Id: I2124d6eef038157e0664a96dfa333b14064541c1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Update ChromiumMichael Brüning12 hours1-0/+0
| | | | | | | | | | | | Submodule src/3rdparty 6b7b3f1b..6ae16282: > [Backport] Security bug 1185801 > [Backport] CVE-2021-37980 : Inappropriate implementation in Sandbox > [Backport] CVE-2021-37973 : Use after free in Portals Fixes: QTBUG-96907 Pick-to: 6.2 Change-Id: I90082480a6c69772a0563ffa86e76a14fab95b35 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add onTouchSelectionMenuRequested QML handlerBalazs Egedi23 hours16-15/+639
| | | | | | Task-number: QTBUG-85043 Change-Id: Iecd2f5ae20fcf031937a1d44cc154f2e2a3ff52f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Use qtpositioning repo as a dependency instead of qtlocationIvan Solovev2 days1-2/+2
| | | | | | | | | | | The QtPositioning module is now moved to its own repo, so we need to update dependencies accordingly Task-number: QTBUG-97188 Pick-to: 6.2 Change-Id: I492ceb1743bfe6a546ab962672ad21355471b567 Reviewed-by: Daniel Smith <Daniel.Smith@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Do not open screencast in DevTools by defaultSzabolcs David2 days1-0/+6
| | | | | | | | | | If screencastEnabled preference is not found, ScreencastApp.ts defaults it to true. This happens at the first start of a browser application. Task-number: QTBUG-96942 Pick-to: 6.2 Change-Id: I15788737640cfe07c0016b31fc471906452aad1b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update documented security patch levelAllan Sandfeld Jensen7 days1-1/+1
| | | | | | | | | Should have been with the security patch merge Change-Id: I7d41fb7eb8cb61a7eebf4edec70199e013db6561 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit f861c5cbc305992f971e168646473f3ee60a3750) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix rendering deadlock for software compositingKirill Burtsev7 days1-3/+6
| | | | | | | | | | With software compositing render thread of Qt's scene graph and Viz's thread may hit the same mutex inside output surface during frame update. Pick-to: 6.2 Fixes: QTBUG-97598 Change-Id: Ic02e161f7b16b22c9099b93f2b1a91e78347975f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumAllan Sandfeld Jensen9 days1-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 202e34476..6b7b3f1bf: > [Backport] Linux sandbox: update syscalls numbers on 32-bit platforms > [Backport] sandbox: linux: allow clock_nanosleep & gettime64 > [Backport] Linux sandbox: update syscall numbers for all platforms. > [Backport] CVE-2021-37967 : Inappropriate implementation in Background Fetch API > [Backport] CVE-2021-37968 : Inappropriate implementation in Background Fetch API > [Backport] CVE-2021-37978 : Heap buffer overflow in Blink > [Backport] CVE-2021-37979 : Heap buffer overflow in WebRTC (2/2) > [Backport] CVE-2021-37979 : Heap buffer overflow in WebRTC (1/2) > [Backport] Ease HarfBuzz API change with feature detection > [Backport] CVE-2021-37975 : Use after free in V8 > [Backport] Security bug 1248665 > [Backport] CVE-2021-37976 : Information leak in core > [Backport] CVE-2021-37962 : Use after free in Performance Manager (2/2) > [Backport] CVE-2021-37962 : Use after free in Performance Manager (1/2) > [Backport] Security bug 1215711 > [Backport] CVE-2021-37972 : Out of bounds read in libjpeg-turbo > [Backport] CVE-2021-37971 : Incorrect security UI in Web Browser UI. > [Backport] Linux sandbox: return ENOSYS for clone3 > Bump V8_PATCH_LEVEL > [Backport] Security bug 1238178 (2/2) > [Backport] Security bug 1238178 (1/2) > [Backport] CVE-2021-30633: Use after free in Indexed DB API (2/2) > [Backport] CVE-2021-30633: Use after free in Indexed DB API (1/2) > [Backport] Security bug 1242257 > [Backport] CVE-2021-30632: Out of bounds write in V8 > [Backport] CVE-2021-30625: Use after free in Selection API > [Backport] CVE-2021-30626: Out of bounds memory access in ANGLE > [Backport] CVE-2021-30628: Stack buffer overflow in ANGLE > [Backport] CVE-2021-30629: Use after free in Permissions > [Backport] CVE-2021-30630: Inappropriate implementation in Blink > [Backport] CVE-2021-30627: Type Confusion in Blink layout > [Backport] Linux sandbox: fix fstatat() crash > [Backport] Reland "Reland "Linux sandbox syscall broker: use struct kernel_stat"" > Revert "Fix sandboxed font rendering with newer glibc" > breakpad: fix build with glibc-2.34 > abseil-cpp: fix build with glibc-2.34 > Fix QtWebEngine build with clang-cl Fixes: QTBUG-96907 Change-Id: I2d35c7a9deef9124189290219efbac2c9807d449 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit b55ebadc3013e7f197cde1d2054002b34898ae6c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix warnings in QML tests regarding parameter injectionBalazs Egedi9 days7-8/+12
| | | | | | | | | | Parameter "param" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. Pick-to: 6.2 Change-Id: Iea3583feb10fc56424ebb070e9b19e605c252773 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Get rid of TODOs in WebChannel GIN codeAllan Sandfeld Jensen13 days1-14/+9
| | | | | | | | | The nodiscard values can be Check()ed. Pick-to: 6.2 Change-Id: I9ee38ca3404c4013c6cda6d3d0833529c2b59105 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Add Chromium attributions targetMichal Klocek14 days3-0/+13
| | | | | | Pick-to: 6.2 Change-Id: I4e659dffa119a8c9f41a266cd71e9afb9c36362e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove the rest of qmake based configurationMichal Klocek14 days57-4621/+0
| | | | | | | | | | The only not cover part in cmake port are: * ios builds for qtpdf * qt static dependecies for qpdf Pick-to: 6.2 Change-Id: Iefe624c35d847b4a9c3cd970192487340b1657f9 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add easy way to check if webengine process worksMichal Klocek14 days1-1/+7
| | | | | | | | If called without args print versions. Pick-to: 6.2 Change-Id: Id34179a099e9d53111a6638f0cddadcb401e61e5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-10-121-4/+4
| | | | | Change-Id: Ic5591396192c942d2a77e42d8ebf0bf21a1a0f5c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Workaround for downloading file into the root directory on WindowsPeter Varga2021-10-121-0/+8
| | | | | | | | | | | | | A bug in QtBase breaks downloading files into a root directory on Windows (eg. C:\): QTBUG-85997 Check if the "non-existent" directory is an existing drive and do not cancel the download in this case. Fixes: QTBUG-96855 Pick-to: 6.2 Change-Id: Icf0e472df723fc4f6ad36f4560509aafa69e3582 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix pinch gesturePeter Varga2021-10-122-1/+8
| | | | | | | | | | | | | | | Pinch gesture on a touchpad is expected to zoom-in and zoom-out. It has been broken since the pinch gestures are routed because for routing the event target has to be found. The event target is only tried to be found on a pinch begin gesture. As a fix, handle Qt::BeginNativeGesture and Qt::EndNativeGesture events too. Fixes: QTBUG-96930 Pick-to: 6.2 5.15 Change-Id: Ic8fe5bee933b5e0fbc8f5ba6234363a0a625648d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Block CORS from local URLs when remote access is not enabledAllan Sandfeld Jensen2021-10-123-8/+44
| | | | | | | Pick-to: 6.2 5.15 Task-number: QTBUG-96849 Change-Id: I0e0a1530b8b31341c632a1fd00abd339b5152da0 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Skip unnecessary commands when cross-building toolsJoerg Bornemann2021-10-111-0/+1
| | | | | | | | | | Call qt_internal_return_unless_building_tools() directly after qt_internal_add_tool() to avoid having to special-case code for when this function only creates imported targets in cross-builds. Task-number: QTBUG-85084 Change-Id: If43de0acd45b53032cae25ce0062c390e3f7abf2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Blacklist certificate test until certicates have been renewedAllan Sandfeld Jensen2021-10-113-1/+6
| | | | | | | Pick-to: 6.2 Task-number: QTBUG-97414 Change-Id: I6f899a5f62b1a37345281a9c6467ed3b059cd2bd Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-10-081-4/+4
| | | | | Change-Id: I7a472696f8766f1b4b9ba64767e66d841cfdad60 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add matrix buildsMichal Klocek2021-10-072-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since coin does not support doing matrix projects, add primitive way to automate features builds. Add self build launcher in form of external projects to do few builds one after the other which test some of our features. These are just compilation tests and could also run in coin as scheduled build. Usage: /path/to/qt-cmake-private /path/to/webenginesources -DMATRIX_BUILD=ON Created currently builds: * webengine_extensions-OFF * webengine_printing_and_pdf-OFF * webengine_proprietary_codecs-ON * webengine_spellchecker-OFF * webengine_webrtc-OFF * qtwebengine_build-OFF Pick-to: 6.2 Change-Id: Ie1bbc2cf9b01cb2e5089832d8f1cd6171e31b6fe Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Do not wait on weak_pointer for termination errorsAllan Sandfeld Jensen2021-10-061-2/+2
| | | | | | | | | | We invalidate the weak pointer factory before waiting on the error callback, meaning it will never come. Pick-to: 6.2 5.15 Task-number: QTBUG-96928 Change-Id: Ia5091f7398e79f835ce34dfd48f3c36859382b53 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-10-051-4/+4
| | | | | Change-Id: I70b51075b0224268763ebdfb5505efe7fa61e4a1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix leak of properties after XkbRF_GetNamesPropKirill Burtsev2021-10-051-1/+11
| | | | | | | | | | | | Struct _XkbRF_VarDefs for XkbRF_GetNamesProp needs special cleanup logic, but it's currently missing from API: https://gitlab.freedesktop.org/xorg/lib/libxkbfile/-/issues/6 Workaround it with manual deinitialization. Pick-to: 6.2 Change-Id: I3ebe20f58199277521b31b2cd8034c92fd1f2b7f Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix leak on getDefaultScreeenIdKirill Burtsev2021-10-051-0/+1
| | | | | | | | | XRRMonitorInfo struct is supposed to be cleaned-up after getMonitors with a separate call to freeMonitors. Pick-to: 6.2 5.15 Change-Id: Iacc296d1f5e434a1d52798fe09d57833660b7952 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix theoretical use after moveAllan Sandfeld Jensen2021-10-021-8/+5
| | | | | | | We can't recover from a failure to post Change-Id: I6a5addf7346e36112e16878e3173048cf85fb7b5 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-10-011-4/+4
| | | | | Change-Id: I95d7aaf64e356827b3fc30100a9322414cd4a578 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Disconnect safelyAllan Sandfeld Jensen2021-09-304-3/+12
| | | | | | Pick-to: 6.2 Change-Id: Ic1c25724ea2d6c2241ab2665703380002efae8c3 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Change protected members to private in UIDelegatesManagerBalazs Egedi2021-09-301-1/+1
| | | | | | | | | There is no derived class from UIDelegatesManager any more. Pick-to: 6.2 Task-number: QTBUG-93666 Change-Id: I7316e7e37f1f5f5a40d0f2ea71344f093ab5ad1b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix use after delete with self assignmentAllan Sandfeld Jensen2021-09-301-1/+4
| | | | | | | | Not sure this is actually used. Discovered in static analyzer Pick-to: 6.2 Change-Id: I1c143002e5da1ec809887626e348ea08a74b3715 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Fix move of moved valueAllan Sandfeld Jensen2021-09-301-1/+1
| | | | | | | | Do not call the copy to selection with the unique data source pointer. Pick-to: 6.2 Change-Id: Ie2c60e3efd2eb4e634bf95f8bdbe1ba8f1f89301 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix seeking on null QIODevice in pathological corner caseAllan Sandfeld Jensen2021-09-301-1/+1
| | | | | | Pick-to: 6.2 Change-Id: I5b242bc27f27a844d9d2fe0725e2a1f48e50b25b Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Doc: Fix broken attributions to the Public DomainLuca Di Sera2021-09-304-4/+4
| | | | | | | | | | | | | | | | | | | | | The attributions generated trough `qtattributionscanner` support generating links to SPDX licenses. Four such attributions used a `LicenseId` of `DocumentRef-PublicDomain`, which is a non-existent license. Indeed, the SPDX project seems to shy away from making a single license representing all Public Domain attributions, preferring to make a database entry for each Public Domain attribution. To avoid the broken link, such attributions were modified to use a dejacode LicenseId, which has a catch-all Public Domain entry, as suggested by Kai Köhne. Task-number: QTBUG-96127 Pick-to: 6.2 Change-Id: I88e0048c08d6099521e44e74ad7f0e8b3d77b907 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-09-291-4/+4
| | | | | Change-Id: I83872e0df636ff7c026440517ac436853e7a6f75 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix gn moc path pointing to debug moc for super buildMichal Klocek2021-09-281-1/+6
| | | | | | | | | | | | | | | | | | | | In 53e99bd we used genex to get moc path, this works well, but not for mulitconifg build where genex will output path to debug moc in case of superbuild. To fix issues like that cmake 3.20 introduces $<OUTPUT_CONFIG:...> and $<COMMAND_CONFIG:...> generator-expressions, however it will not help much since they do not work with file(GENERATE), moreover minimal current version is 3.19 Use target property to query moc location or recreate path in case of superbuild. Fixes: QTBUG-96375 Pick-to: 6.2 Change-Id: Ief0fc32d57a36191694102ed010314b5d3395334 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-09-281-4/+4
| | | | | Change-Id: Id7c3a572c0991b23a268ffb2aea9bceb18e80502 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Do not require widgets for quick examplesMichal Klocek2021-09-273-17/+2
| | | | | | | | | | | We needed widgets to get qqc1 styling, since we now use only qqc2 drop that requirement. Fixes: QTBUG-96771 Task-number: QTBUG-95367 Pick-to: 6.2 Change-Id: I7338cd04885069169fef1c4bca17e0777b11de8c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix extract_cflag cmake function to not add extra semicolonPeter Varga2021-09-271-0/+1
| | | | | | | | | | LIST(APPEND cflags ...) separates appended elements with a semicolon. This may break parsing cflags and can result invalid args.gn. Remove semicolons from cflags before parsing it. Pick-to: 6.2 Change-Id: I3898bcad2051276d44953ae72d87cf4f91516012 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix WebChannel when JavaScript is disabledSzabolcs David2021-09-273-9/+40
| | | | | | | | | | | | | WebChannel was not working in ApplicationWorld with JavaScript disabled in MainWorld, because WebChannelIPCTransport::DidClearWindowObject() is called only when the window object was cleared in the main world. Moving the WebChannelTransport installation logic to DidCreateScriptContext() works in other worlds, so fixes the problem. Task-number: QTBUG-88875 Pick-to: 6.2 Change-Id: Ia75613b66a1e049f617f0664684b153b6875e9de Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix no webrtc buildsMichal Klocek2021-09-261-2/+6
| | | | | | | | | | | In case of ozone x11 backend we need x11, which is pulled by use_webrtc_x11, however in case of no webrtc build we lack x11 dependency. Add missing dependency. Change-Id: I19eada846115073251cdf85ce1fabd4d1d2baf2e Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 630062f1189b95689e28e40c5c76d95d3214d123)
* Doc: Fix QDoc warnings for licensing documentationTopi Reinio2021-09-241-0/+16
| | | | | | | | | | | | | | licenses.py takes the value of the URL attribute directly from Chromium's license attribution files, and uses it as a link target for QDoc's \l command. Some of the URLs are not valid, however. Add \externalpage entries for the invalid ones to either direct to the correct URL or to expand to an empty '#' link. Pick-to: 6.2 Change-Id: I06e9c54bceb5465c89de115cb8cd8aa0e75e9c51 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Use qWarning() in preference to QTest::qWarn()Edward Welbourne2021-09-241-2/+2
| | | | | | | | | QtTest's custome message handler routes it to the same place and QTest::qWarn() is on its way to deprecation. Change-Id: I467b2ba81c87b2430a66a9f88c9ef0375dbbff45 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Fix use_lld_linker on WindowsAllan Sandfeld Jensen2021-09-241-0/+9
| | | | | | | | | We need to set the cmake base path, when not controlling the toolchain like on Linux. Pick-to: 6.2 Change-Id: I0e2f1ea76d9c52bb9bf867daa8fa2feceff3707e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* CMake: Bump almost all cmake_minimum_required calls to 3.16Alexandru Croitor2021-09-242-2/+2
| | | | | | | | | | | | | Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Pick-to: 6.2 Task-number: QTBUG-95018 Change-Id: I6385d1fc83af8a937f0e7987fade1178bfc9c487 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update dependencies on 'dev' in qt/qtwebengineQt Submodule Update Bot2021-09-241-4/+4
| | | | | Change-Id: I164d33fc2cfb61bb488173ae0670d9f54992f165 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Apply separate_debug_info to QtWebEngineProcessAllan Sandfeld Jensen2021-09-231-5/+3
| | | | | | | | Was missing the calls to the qt cmake standard methods for that. Pick-to: 6.2 Change-Id: I47507c6fa89b7f3e66fe4eb7526f6fb6074f2293 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix "We mean it." warningsPeter Varga2021-09-233-0/+33
| | | | | | Pick-to: 6.2 Change-Id: I70a491617faff31901162cb382b388a7594816fa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove our handling of IME hidden text supportAllan Sandfeld Jensen2021-09-225-27/+12
| | | | | | | | | | QtBase should be disabling it now, if not supported. Pick-to: 6.2 Change-Id: I79bae11764d3cbaba1ae1e0987bf0a472eee3325 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Add run-time getter of patch levelAllan Sandfeld Jensen2021-09-222-0/+13
| | | | | | | | Unfortunately it requires manual updating, unless we agree on a separate place to store it. Change-Id: Ib150afec05005b05b254ef5aeb143f5187ea969d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Make example consistent with documentationAllan Sandfeld Jensen2021-09-211-2/+2
| | | | | | | Pick-to: 6.2 Fixes: QTBUG-96002 Change-Id: Ib7434b568ffa0ad7998eaf66a8d989fc3cd2aa1d Reviewed-by: Michal Klocek <michal.klocek@qt.io>