summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | [Backport] [PA] Drop assembly when using MSVCPeter Varga2022-11-161-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PA-internal implementation of a secure memset uses inline assembly that MSVC cannot handle. This CL drops the same, adding a TODO that this needs to be addressed. We can defer this for the time being because the function is only used by BRP and *Scan, neither of which are part of the current standalone PA distribution. Bug: 1351310 Change-Id: I064a39b8528ebc872d8ad89e37c471fa5e13a470 Review-URL: https://chromium-review.googlesource.com/c/chromium/src/+/3853243 Cr-Commit-Position: refs/heads/main@{#1038681} Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443562 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | [Backport] [PA] Remove `sys_byteorder`Peter Varga2022-11-167-302/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL is primarily motivated by adding MSVC support to PA. In just one particular call site, PA stores the bytes of an address back-to-front. You would expect this to be constexpr everywhere, but it isn't, as the copy of `sys_byteorder.h` expresses at HEAD. To address the situation, this CL * drops the PA-internal copy of `sys_byteorder` and * presents a handrolled version of the same functionality. One alternative would be to drop our viral `constexpr` from `PartitionFreelistEntry` (and anything that expects _that_ in turn to be `constexpr`), allowing us to adopt `sys_byteorder.h`'s convention of "constexpr under most toolchains but not under MSVC." Another might be to wait for C++23, where the standard `<endian>` header will obviate the entire //base header. Neither of these are as appealing as the present option. Bug: 1351310 Change-Id: Ib481edc187cf1d8236177adfcc23e0596f4dad26 Review-URL: https://chromium-review.googlesource.com/c/chromium/src/+/3841212 Cr-Commit-Position: refs/heads/main@{#1037618} Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443561 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | [Backport] [PA] Remove MSVC guardPeter Varga2022-11-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | The canonical `//base/compiler_specific.h` includes an assertion to explicitly disavow MSVC support. We remove it for now. Bug: 1351310 Change-Id: Ia23011763fd6dd03bf7a6f28b384080330dd752c Review-URL: https://chromium-review.googlesource.com/c/chromium/src/+/3833689 Cr-Commit-Position: refs/heads/main@{#1037599} Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443560 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | [Backport] [PA] Count leading / trailing zeros for MSVCPeter Varga2022-11-161-10/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __builtin_c(l|t)z and friends are GCC extensions co-opted by clang, not generally available in MSVC. To make matters worse, the well-known MSVC intrinsics that parallel these builtins are not constexpr, making them unusable as drop-ins for the affected functions. (This is a problem similar to crrev.com/c/3841212.) This CL hacks together inferior hand-rolled versions of these bit-counting functions. Bug: 1351310 Change-Id: I003f7b4aa8f2c044398f48e3a16b1bdf11ee3b5c Review-URL: https://chromium-review.googlesource.com/c/chromium/src/+/3849603 Cr-Commit-Position: refs/heads/main@{#1038622} Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443559 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | [Backport] Fix build in Python 3.11 (invalid mode: 'rU')Joanmarie Diggs2022-11-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3.11, 'U' ("universal newline") is no longer accepted in the file mode, having been deprecated in Python 3.3. The "universal newline" is used by default when a file is open in text mode. This commit removes the 'U' from the two (non-third-party) places it is used. Bug: 1357549 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3859535 Pick-to: 102-based Fixes: QTBUG-108436 Change-Id: Ia7dcbd65bc585ef96a5aeef191a5c1b7df078d81 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/443290 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | FIXUP: Remove linking with libatomicAllan Sandfeld Jensen2022-11-151-11/+11
| | | | | | | | | | | | Change-Id: Ie1ee63a741763d15e549605f9fcca4c6025a6a71 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442604 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Trim down some dependencies of push messagingAllan Sandfeld Jensen2022-11-154-10/+10
| | | | | | | | | | | | Change-Id: I75a1c0f84ffe29513ce9af793c006d75b9327b59 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442606 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Add qt static dependencies: qtfreetype, qtharfbuzzAllan Sandfeld Jensen2022-11-151-15/+0
| | | | | | | | | | | | Change-Id: Ia460e6712d323de59980eda9e0a101a99a7c6f95 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442605 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Update TextSelection for non-user initiated eventsPeter Varga2022-11-151-1/+1
| | | | | | | | | | | | Change-Id: I5f6e63ce5ebc04ffac7081670e65fd89ad16b19f Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442873 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | FIXUP: Adapt autofill component for WebEnginePeter Varga2022-11-156-29/+109
| | | | | | | | | | | | Change-Id: I429eb8202a46dc03f4d785866dcda3794c4e18a0 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442875 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | FIXUP: C++20 initializationsAllan Sandfeld Jensen2022-11-1555-220/+229
| | | | | | | | | | | | Change-Id: I39279fad02aeb01f9e5d3f34b4dfc7bba28713b7 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442398 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Legalize the bloody codeAllan Sandfeld Jensen2022-11-152-3/+3
| | | | | | | | | | | | Change-Id: I85640c8924200583ed932a6d98fef6ea80c50827 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442603 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Make GrVkImage externalPeter Varga2022-11-156-0/+67
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-107669 Change-Id: I8ba6c8bab4f29c13b368a8e53f762d6aac1f009c Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/435455 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442494 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | [Backport] Fix missing cmath header build failure in renderer extensionPeter Varga2022-11-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building 106.0.5249.51 on a Debian machine, I hit the following build error: FAILED: obj/extensions/renderer/renderer/argument_spec.o clang++ [...] -o obj/extensions/renderer/renderer/argument_spec.o ../../extensions/renderer/bindings/argument_spec.cc:410:16: error: no member named 'isnan' in namespace 'std' if (std::isnan(double_val) || std::isinf(double_val)) { ~~~~~^ ../../extensions/renderer/bindings/argument_spec.cc:410:42: error: no member named 'isinf' in namespace 'std' if (std::isnan(double_val) || std::isinf(double_val)) { ~~~~~^ 2 errors generated. isnan and isinf are both found in the cmath header, so simply including it fixes that build error. Change-Id: I5c266c663d80e5d40a11f0d0e8b63ee5aaacf7ea Review-URL: https://chromium-review.googlesource.com/c/chromium/src/+/3913616 Cr-Commit-Position: refs/heads/main@{#1052196} Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442872 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | [Backport] libstdc++: do not make ReverseBeaconTimeoutSorter function call ↵Peter Varga2022-11-141-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | operator constexpr In C++17 STL, std::sort is not a constexpr in any case. So we do not get any benefit from making ReverseBeaconTimeoutSorter a constexpr. This will fail, as in GCC the function call operator is implicitly virtual, and virtuals cannot be constexpr before C++20. Bug: 819294, 957519 Change-Id: I5894605fb3ee9478b1c5aef626025ea3fd6aeeca Review-URL: https://chromium-review.googlesource.com/c/chromium/src/+/3864599 Cr-Commit-Position: refs/heads/main@{#1042121} Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/442970 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Reland two changes for establishing gpu channelMichal Klocek2022-11-092-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 244709: Stop orphan child processes from staying alive on Windows https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/244709 Stop orphan child processes from staying alive on Windows Starting with Qt 5.11, on Windows, when the main WebEngine process crashed, the child render process would stay alive and use a whole CPU core trying to do something. What happened was that an existing layer tree frame sink was invalidated, and a request to create a new one was issued via RequestNewLayerTreeFrameSink, which failed due to the main process being dead, which scheduled a new request, and so on, which caused the child process main thread message loop to never exit. In Qt 5.10, this did not happen, because when the first request to create the sink failed, a new "software sink" was successfully created that did not depend on the host GPU process thread (see RenderThreadImpl::RequestNewLayerTreeFrameSink in render_thread_impl.cc). Thus the message loop ran out of tasks to execute, and could gracefully quit. The "software sink" code branch was removed in Qt 5.11+. Thus the hacky fix is to try and create the sink only a certain amount of times, and stop scheduling new requests after that. ------------------------------------------------------------------ 426757: Fix endless loop on race condition on qemu startup https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/426757 Fix endless loop on race condition on qemu startup Fix a weird race condition which ends in endless loop with a single-process, when gpu_channel_host is not ready in WidgetBase::RequestNewLayerTreeFrameSink and calls callbeck with nullptr, which ends in LayerTreeView::DidFailToInitializeLayerTreeFrameSink which again calls RequestNewLayerTreeFrameSink without giving a chance to initialize channel and round repeats itself. Give 10ms delay to cover the issue. ------------------------------------------------------------------ Fixes: QTBUG-105063 Task-number: QTBUG-69030 Task-number: QTBUG-105342 Pick-to: 98-based Change-Id: Icf3e4c75e009ae7b171a9e9ce2a394f8de421737 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Reintroduce ninja_use_custom_environment_filesAllan Sandfeld Jensen2022-11-094-32/+58
| | | | | | | | | | | | | | | | For Qt we want to read the environment variable from the environment not from Google's downloaded packages. Change-Id: I52def6474daec97cc63cda415d279cbe29881d08 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Make user agent helpers buildable without unwanted dependenciesSzabolcs David2022-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | "//components/policy" is enormously large with its resource files and we don't want to build it for only one preference name. User agent utils are required to fill navigator.userAgentData members in JavaScript. Task-number: QTBUG-107260 Task-number: QTBUG-107451 Change-Id: I752df68a8095ddb3f598a71f0419c1a2c9c408bb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Adapt DevToolsFileHelper for WebEngineMartin Negyokru2022-11-092-0/+51
| | | | | | | | | | | | | | Task-number: QTBUG-85171 Change-Id: Ie22d374f89c82633c9e9aa317050a3906eb67bff Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Disable less privileged app containerMichal Klocek2022-11-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating application with manifest call to base::win::GetVersion suddenly returns proper value and not 'default' WIN8. This unfortunately enables some features that we do not support like LPAC. Disable LPAC for WebEngine, note to support it WebEngineProcess and dependencies would have to setup proper ACLs on filesystem, This would have to be done most likely by installer by calling 'icacls' to grant permissions. Therefore this is currently out of scope. Pick-to: 98-based 94-based Task-number: QTBUG-106671 Change-Id: If219bdf69302bb6283dc457aa9359e00355e4a37 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix debug builds on arm32Michal Klocek2022-11-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | Debug build with neon and arm32 ends in compilation error "'asm' operand has impossible constraints" for raw_neon.cc most likely due to limited number of registers, therefore simply remove frame pointer in case of debug. Pick-to: 98-based Change-Id: I8be9ebf5c00f8e43aebfa6cf088665f85a25b7e1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fixup partial application of macOS OpenGL pixel format selection patchMichael Brüning2022-11-091-1/+1
| | | | | | | | | | | | | | | | | | For some unknown reason, this patch that we regularly apply was missing the profile number parameter at the call of GetPixelFormat. The default parameter caused this to be hidden as everything built fine. Change-Id: I288d0faa1d6e8ba8225a1fc369a489bf8f36279d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Avoid calling git in build scriptsPeter Varga2022-11-091-19/+26
| | | | | | | | | | | | | | | | | | Do not call dawn_version_generator.py. It generates Version_autogen.h but it isn't used anywhere. Fixes: QTBUG-105755 Change-Id: If7eaf8d3a8196d12e3e49627353bce7c1a928c89 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Move gio to public_configAllan Sandfeld Jensen2022-11-091-1/+3
| | | | | | | | | | | | | | | | | | Because gio/gio.h is included from a header. Change-Id: I5c636d08e72cbae08509496fe1149bb989d6b3bb Fixes: QTBUG-105818 Reviewed-by: Christophe Giboudeaux <christophe@krop.fr> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix building with system ffmpeg 4.4 or 5.1Allan Sandfeld Jensen2022-11-098-41/+44
| | | | | | | | | | | | | | | | | | | | | | From Chrome 102, they added odd API not found upstream, so instead use the standard API. Patch originally by gerd.roethig@gmail.com Change-Id: I1e65f02c1aa97575a90425a7ff4e28292219e20a Fixes: QTBUG-105815 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Disable accelerated_2d_canvas for Intel drivers on WindowsPeter Varga2022-11-091-0/+12
| | | | | | | | | | | | | | Pick-to: 94-based 98-based Task-number: QTBUG-104065 Change-Id: I1559d97040b600b2cb4189eb5fa7d0721673d68b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Native spellchecker: Fix it when enabledSzabolcs David2022-11-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | When native spellchecker enabled, the first spellcheck works on the first user interaction, then the SpellcheckService stucks in disabled state after its lazy initialization. It works when there are languages provided in WebEngineProfile. Make it independent from hunspell_dictionaries_ and rely only on the kSpellCheckEnable pref. Change-Id: Ia0788ae4716abf4d610f7bfc7f95970dd14d8785 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix build without spellcheckSamuli Piippo2022-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | Amend 0182bd05b3bcd0976f2e232caa55d5bb5fbba6a1 and move use of language::prefs::kSelectedLanguages behind the ifdef to fix: | ../../../../../git/src/3rdparty/chromium/chrome/browser/prefs/chrome_command_line_pref_store.cc:55:33: error: 'language' has not been declared | 55 | {switches::kAcceptLang, language::prefs::kSelectedLanguages}, Change-Id: I8f9936d7a03c64c3c805c18f870ad5cb011e0990 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix crash on chrome://quota-internals page incognito modeMartin Negyokru2022-11-091-0/+4
| | | | | | | | | | | | | | | | | | | | Database and usage trackers are initialized asynchronously after: https://chromium-review.googlesource.com/c/chromium/src/+/3373881 Ensure everything is initialized before accessing them. Change-Id: Iafaa1bdbfeb4d6d2067963a66558e9933b3e77bb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Rewrite array for token/unguessable tokenMichal Klocek2022-11-092-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Use union to wrap array as with neon intrinsics this gets miss-compiled and ends up triggering alignment trap on arm32. Note the same code without neon support works just fine. Fixes: QTBUG-104477 Fixes: QTBUG-103149 Change-Id: I9dd183c16874021e62135c5dcfa6865ab9783fcf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit bb8a10a90551248e5da3d569a6f3731a5a47a968) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Apply blink symbol level to blink mojom tooAllan Sandfeld Jensen2022-11-092-0/+19
| | | | | | | | | | Change-Id: Iaab6aa11903d3355ce460f6e03cd86b603d3129a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix build without xkbcommonAllan Sandfeld Jensen2022-11-091-9/+10
| | | | | | | | | | Change-Id: Ib061e5a9740ed411bc6c97635b190543943aea3d Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Temporary fix for missing macOS 12.3 SDKAllan Sandfeld Jensen2022-11-092-4/+11
| | | | | | | | | | Change-Id: I2417fe6876b8cc26fc70087e341bf03481c89641 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix build with older FreeTypeAllan Sandfeld Jensen2022-11-093-8/+8
| | | | | | | | | | Change-Id: I191aa55c896ce4303e129d2ca6e43b4c1b4bca2d Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix WGL after reinstating itAllan Sandfeld Jensen2022-11-093-7/+7
| | | | | | | | | | | | | | Later changes need corresponding updates from WGL backend. Change-Id: I0e740acd372b4cd21745041ff7b2caa2a1fd620c Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix tst_qwebenginepage::getUserMediaRequestDesktopAudioAllan Sandfeld Jensen2022-11-091-0/+4
| | | | | | | | | | | | | | Do not crash the renderer, just reject illegal request. Change-Id: I6b23797ce70f9e1f9a19f32ec16f56146485dee4 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: [Extensions] Remove string literal conversions by ASCIIToUTF16()Peter Varga2022-11-093-5/+4
| | | | | | | | | | | | | | See upstream: https://chromium-review.googlesource.com/c/chromium/src/+/3295406 Change-Id: I455ae8151a44e7ae81513df7caae8048d4d0cf9e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Bundle all localisation files for DevToolsSzabolcs David2022-11-092-0/+87
| | | | | | | | | | | | | | Do not download them from remote location in runtime. Change-Id: I54c96408e83d2ac134c49c1280a19f83c91c6e68 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Adapt autofill component for WebEnginePeter Varga2022-11-0914-2/+274
| | | | | | | | | | | | | | | | | | Only enable minimal code for datalist support and avoid dependencies which can't be built. Task-number: QTBUG-54433 Change-Id: I04086e3063a535c65049b563df64f5133acd41d2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Adapt ProtocolHandlerRegistry for WebEngineJüri Valdmann2022-11-096-1/+55
| | | | | | | | | | | | | | | | Disable persistence, OS integration and Chrome-specific features. Task-number: QTBUG-62783 Change-Id: I33d8c3a59de9876a466aacada7e5d5c307352d14 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix broken bundled zlib for cross compilationMichal Klocek2022-11-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bundled zlib when cross compiling with neon support assumes armv8 and requires built-in intrinsics for the ARMv8-A CRC32. However qt supports armv7 with neon support, which will end up in false armv8 outcome architecture for final library and will end up in unusable binaries for armv7 platform. Disable neon optimization for crc32, we should use system zlib anyway which is fixed in other patches. Task-number: QTBUG-103149 Pick-to: 94-based 90-based Change-Id: Ibfb5caa67cfea53b4c6a1bc1ed4948816c05ca38 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Make sure we do not compile minizip from 3rdpartyMichal Klocek2022-11-092-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | There are two minizips in chromium src tree, minizip from third_party/zlib and separate third_party/minizip. Remove minizip used for fuzzers. Sources could be removed with next adaptation. Task-number: QTBUG-103149 Pick-to: 94-based 90-based Change-Id: I30a9828dece43bf82e0be8d20ab8f2ccb2baab1d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Trim down some dependencies of push messagingSzabolcs David2022-11-0914-12/+209
| | | | | | | | | | | | | | | | | | | | Make push messaging working in WebEngine by guarding out code parts with large dependencies. Task-number: QTBUG-98904 Task-number: QTBUG-53457 Change-Id: Idd0a4d4c8ff8e1632e1802d027bd98f8838be921 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add back frame_id argument to PluginServiceFilter::IsPluginAvailable()Szabolcs David2022-11-097-11/+25
| | | | | | | | | | | | | | | | | | It was removed in 98-based because Chrome stores plugin availibility per profile. Add it back to help query plugin settings from view-level WebEngineSettings. Change-Id: I1de52792fbdca099d220cbc7a579553cac2c05d2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Find fontconfig using pkg-configAllan Sandfeld Jensen2022-11-092-2/+4
| | | | | | | | | | | | | | | | | | We already verify that it can be found like that during configure Pick-to: 94-based 90-based Task-number: QTBUG-61158 Change-Id: I569590e96a490c4ed6e6dc560fbd110d86d77956 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Minor. Add defined to checksMichal Klocek2022-11-091-2/+2
| | | | | | | | | | | | Pick-to: 94-based Change-Id: If1ccdb9d3db8a7c1bf4768d730689c78679d0012 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Minor. Use FilePath directly for qt sandbox pathMichal Klocek2022-11-091-4/+3
| | | | | | | | | | Change-Id: I27da11d1b47b13c2dec7093ea573b9afc1d8505d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix mac toolchain python linker script callMichal Klocek2022-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | Do not call script directly as it has shabang with just 'python' and we want use same python interpreter as configured for gn. It fixes the issue when mac machine has only 'python3' interpreter installed and no 'python' symlink. Change-Id: If656453ade7c49d61edc90763a0b07f49483d129 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Do not initialize default locale in local isolateMichal Klocek2022-11-091-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | The patch https://chromium-review.googlesource.com/c/v8/v8/+/3268465 made a default locale moved to local isolate. This will break resetting the default locale while application runs. Do not internalize the default locale in local isolate and let it be lazy initialized directly from icu. Change-Id: I2dbe757bdd47b0b6bc0fb7be757235475f96e0a2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix clang buildMichal Klocek2022-11-091-0/+1
| | | | | | | | | | | | | | Fix "unknown type name 'uint8_t'". Change-Id: Idd6a3877f16ae2bf1d3da5f53c2328a95111bd17 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>