summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix viz crash when cleanup79-basedMichal Klocek2020-04-013-13/+20
| | | | | | | | | | | | | | | | When we cleanup viz, OnConnectionLost will delete frame_sink_manger. However we can still have messages to create sinks and to invalidate them later when destroying compositor. Do not create new frame sink, and do not invalidate them later. Make possible to bail out in viz process transport factory as compositor was already deleted. Task-number: QTBUG-83040 Task-number: QTBUG-79864 Change-Id: Ibf0606368dfd81bc376a06721ada8d13cd8ea417 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* FIXUP: Fix include of <algorithm>Allan Sandfeld Jensen2020-03-251-0/+1
| | | | | | | Needed by clang_cl 9 Change-Id: I43bc3b5f0bc749a8e42236aadb83a49397a17eef Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* FIXUP: Support linux-clang-libc++ buildsAllan Sandfeld Jensen2020-03-251-1/+1
| | | | | | | This flag makes clang fail to find libc++ includes. Change-Id: Ie039669b738ae33dc1bd2e8676f7bf2bde4c8ef2 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix build with spell-checking disabledv5.15.0-beta3v5.15.0-beta2Allan Sandfeld Jensen2020-03-161-1/+7
| | | | | | Task-number: QTBUG-82894 Change-Id: Ie5d8ddd9b0d68390d1d8d2415629c0e85e33351e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix ozone builds of ANGLEAllan Sandfeld Jensen2020-03-121-2/+3
| | | | | | | Don't disable everything because use_x11 is not set. Change-Id: I0377ee41439a5c4174601536c347e34cc3191e3e Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix skia crash on Windows after 77-mergeTamas Zakor2020-03-121-2/+2
| | | | | | | | | | This patch causes a crash on Windows: https://skia-review.googlesource.com/c/skia/+/166840 Change-Id: Icccf5c32f2ec8e93737d18b8e5a84d1aa9b11549 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 62aa7cb6e09ae3adec5a597a2d21e0b5f5a3bfbd)
* Fix build for expanded sourcesAllan Sandfeld Jensen2020-03-112-6/+15
| | | | | Change-Id: I8e0d1e2bd13cc1d530f65ea9f33653660bf345b1 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Merge "Merge remote-tracking branch 'origin/upstream-master' into 79-based" ↵The Qt Project2020-03-111821-101777/+159191
|\ | | | | | | into 79-based
| * Merge remote-tracking branch 'origin/upstream-master' into 79-basedAllan Sandfeld Jensen2020-03-051821-101777/+159191
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: chromium/chrome/common/pref_names.cc chromium/chrome/common/pref_names.h Change-Id: I9be20fb8dfd946e3db1fa298dce076db5fd1f397
| | * BASELINE: Update Chromium to 79.0.3945.147Allan Sandfeld Jensen2020-03-051821-101771/+159231
| | | | | | | | | | | | | | | | | | | | | And new simplified snapshot filter Change-Id: I7c692bedd5b3833f05565bd6f6939115350b233a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Don't trigger quad blending for opacityAllan Sandfeld Jensen2020-03-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Return the old code for doing opacity blending on our side for the old draw path. Change-Id: Ia3d765753d8dedf1a9595a7bc4cb711bbebf03ed Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | | FIXUP: Fix build with gcc 5Jüri Valdmann2020-03-066-31/+12
|/ / | | | | | | | | | | | | | | | | | | | | | | Restore tracing service. Seems std::tuple in gcc 5 does not support direct construction of the elements, so instead the elements have to be convertible and movable. Task-number: QTBUG-81767 Change-Id: I6f700e0776c082cec82e1b1c8731d77a26f783d1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* | [Backport] Allow restricted clock_nanosleep in Linux sandboxMatthew Denton2020-03-025-10/+54
| | | | | | | | | | | | | | | | | | | | | | | | To support glibc 2.30, allow clock_nanosleep in the baseline BPF policy, with the same clock_id restrictions as clock_gettime and other clock_* syscalls. Bug: 1025739 Task-number: QTBUG-81313 Change-Id: I2632dfb79182aa781388716c4a47c4ce1853ba30 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 0f7953646c107d5227b8daf2a2464618eee1fddf)
* | Allow changing user-agent without replace the entire network contextAllan Sandfeld Jensen2020-03-024-1/+13
| | | | | | | | | | | | | | This follows what is already possible with accept-language. Change-Id: I7edc1f27ddcf080df60af73652f455e889b5e4e8 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Destroy old network context before creating the replacementAllan Sandfeld Jensen2020-03-021-1/+5
| | | | | | | | | | | | | | Helps with updating primary network contexts. Change-Id: Ia8a4f366951128f5501b9f684f84faa02fe458b2 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Enable plugin.mojom for plugin placeholderTamas Zakor2020-02-272-0/+47
| | | | | | | | | | | | Task-number: QTBUG-82012 Change-Id: I5461c8c31406cfc3a1bf54cad9b10af639e9c4d3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Suppress racy DCHECKAllan Sandfeld Jensen2020-02-271-5/+5
| | | | | | | | | | | | | | | | Appears to trigger on tst_qwebengineprofile::initiator() randomly. Suppress it for now. Change-Id: Ia9236f50c231bb1270393e747bf374633b022b22 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* | Restore -fno-delete-null-pointer-checksAllan Sandfeld Jensen2020-02-273-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit https://chromium-review.googlesource.com/c/chromium/src/+/1294449 removed this in an apparent brainfart when it was first moved from gcc to clang, then removed from the patch alltogether. This exposed an issue with a nullptr check in logging that has been fixed. Task-number: QTBUG-77671 Change-Id: I59677ed997da4278c01676b01950c0ea03c67126 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> (cherry picked from commit 32e459f495dc0475cdc1703514a257b45ccd3d84) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | FIXUP: Fix include of <algorithm>Kirill Burtsev2020-02-144-0/+6
| | | | | | | | | | | | | | Needed when std::min or std::max is used on msvc without pch. Change-Id: If719473cae2abe7a2f74ee677b3d42b4dd5154ec Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | FIXUP: Fix building with MSVC 2017Kirill Burtsev2020-02-142-0/+2
| | | | | | | | | | | | | | Missing header when built without pch. Also silence warning on 32bit build. Change-Id: I3f73f9f6811ae78274120a3caa25238086ea6769 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Suppress DCHECK triggered by NGInlineNode::ComputeMinMaxSizePeter Varga2020-02-141-1/+1
| | | | | | | | | | | | Task-number: QTBUG-82060 Change-Id: I59cd70e179d8e44d214c37e7a1dcf026ca0e65a1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Expose StoragePartitionImpl::InitNetworkContextJüri Valdmann2020-02-121-0/+4
| | | | | | | | | | | | | | | | | | Allows recreating the NetworkContext used inside a storage partition so as to change network settings dynamically. Task-number: QTBUG-81558 Change-Id: I7b4b0a7d203eed976e13fdf3dbd4375acdae6265 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | The first network-context doesn't have to be primaryAllan Sandfeld Jensen2020-02-121-0/+16
| | | | | | | | | | | | Change-Id: I1d49b25c6e2192cee509cf6369052cd411ba3c82 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fixes for post 79-mergeAllan Sandfeld Jensen2020-02-1215-20/+40
| | | | | | | | | | Change-Id: I2b22cb0e6aaa0c503e2ead7c1c86e50c6be3ccf3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Bring enable_webrtc backAllan Sandfeld Jensen2020-02-1216-38/+118
| | | | | | | | | | Change-Id: I0aec15d9780a0620d975367a929acc1c301c9cd3 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | [Backport] Re-land: Only invoke text and element fragment anchors after layout.Tamas Zakor2020-02-1117-149/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f3d96d04734f1e2d1384d558b72f9e8fcfca265b. The original commit was reverted because it caused flakiness in some browser tests (in particular, HostZoomMapBrowserTest.PageScaleIsOneChanged) The flakiness was caused by a real bug in the CL, which is fixed in the latest patchset. The bug was that the base::Optional pending_view_state_ was not being rest after being applied. See https://chromium-review.googlesource.com/c/chromium/src/+/1981806/1..3 for what has changed from the original CL. Bug: 1018632 Fixes: QTBUG-79369 Change-Id: I86fcdb403678a5890a2e9d1abcab3ea1d5a639d9 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#727481} Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix building with MSVC 2017Allan Sandfeld Jensen2020-02-1110-23/+71
| | | | | | | | | | | | | | Work-around various issues to make Chromium build on VS 2017 Change-Id: I582454dce657014d5cbb4864ea281a4c327172a4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Don't force gpu process launch on macOS with vizdc and no GLJüri Valdmann2020-02-111-0/+2
| | | | | | | | | | | | | | | | | | Turns out Chromium on macOS expects vizdc to run inside the GPU process. In fact, Chromium attempts to launch a GPU process even with --disable-gpu, because GpuDataManager::GpuProcessStartAllowed returns true whenever vizdc is enabled. Change-Id: I2f31ad8accfb418446fc242ed00ebf1f6accd6fd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fixes for building with MSVCAllan Sandfeld Jensen2020-02-1021-26/+55
| | | | | | | | | | | | | | Work-around various issues to make Chromium build on MSVC Change-Id: I3489452c9d7e61243fb60b877d289293b1850ebe Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Suppress assertAllan Sandfeld Jensen2020-02-101-1/+1
| | | | | | | | | | | | | | | | Triggers for us in tst_QWebEngineDownloadItem and it appears to no longer exist upstream. Change-Id: If2b6348b9c02c4d6a6447fbd56b5b038d973967f Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* | FIXUP: Fix misuse of {} initializationAllan Sandfeld Jensen2020-02-108-15/+15
| | | | | | | | | | Change-Id: I6258eb787076c149d9cc0d811e69476e0de7366e Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | FIXUP: Stop using C++20 initializationAllan Sandfeld Jensen2020-02-101-3/+3
| | | | | | | | | | Change-Id: I0dccc2827db4af1eaca32e09a5d6db49b7170cb2 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* | FIXUP: Fix include of <algorithm>Allan Sandfeld Jensen2020-02-102-0/+3
| | | | | | | | | | | | | | Two more lost during rebase of patches Change-Id: I7fc214d5300cf96d4edf8eab0c9bb18bd9df6f09 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Work-around GCC bugAllan Sandfeld Jensen2020-02-071-1/+1
| | | | | | | | | | Change-Id: I7ec00c85e889884f97aff4c11ec87c000e10773c Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* | Merge "Merge remote-tracking branch 'origin/upstream-master' into 79-based" ↵The Qt Project2020-02-06477-44/+248983
|\ \ | | | | | | | | | into 79-based
| * \ Merge remote-tracking branch 'origin/upstream-master' into 79-basedAllan Sandfeld Jensen2020-02-05477-44/+248983
| |\ \ | | |/ | | | | | | Change-Id: I266df7c8128c3c523b4b301558d6045ab494f8fb
| | * BASELINE: Update Chromium with submodule DEPSAllan Sandfeld Jensen2020-01-27477-44/+248983
| | | | | | | | | | | | | | | | | | | | | Added files after fixing recursive DEPS parsing Change-Id: I05383f062094522c19311c0f61c1a1257224f0ef Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Work-around GCC bugAllan Sandfeld Jensen2020-02-051-1/+11
|/ / | | | | | | | | | | | | | | | | Somehow the default generated move in this case isn't noexcept. (Triggers on RHEL_7_6) Change-Id: Id71a6e63b8261112000945688ac1666a7b474a78 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix use of deprecated method for scanning wifi networksMichael Brüning2020-02-051-10/+4
| | | | | | | | | | | | | | | | | | | | | | scanForNetworksWithParameters has ben removed in the sdk that ships with XCode 11. Replace its use with scanForNetworksWithName. The results should be the same. Change-Id: Ifaeb6b380d02364133280b44644ae8ca1e51119a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | [Revert] Remove base::internal::PassingTraitsAllan Sandfeld Jensen2020-02-053-5/+19
| | | | | | | | | | | | | | | | | | | | This simplification doesn't work on MSVC 2017 due to some MSVC bug, so stick with the old version for now. Reverting https://chromium-review.googlesource.com/1118061 Change-Id: I3dff6075f9cc37dcc39c26b4f24de0501c8a362f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | FIXUP: Pass virtual url of data url request back to the UIAllan Sandfeld Jensen2020-02-051-6/+6
| | | | | | | | | | | | | | The common_params how now been moved at this point. Change-Id: I95e29892ab9ba7cc199397e8d85c37a29fafd5d6 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Don't crash just because the sandbox is disabledAllan Sandfeld Jensen2020-02-041-1/+1
| | | | | | | | | | Change-Id: Ib3e84626c774b792498311a5d2b3c83ed76218b4 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* | Fix protozero generated sourcesAllan Sandfeld Jensen2020-02-041-10/+17
| | | | | | | | | | | | | | | | | | Avoid using the details of the classes before they have been defined. Required for clang_cl and MSVC. Change-Id: Ia9123cf46e513ced7a88e94c4e93d66de2d9930a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | FIXUP: Add extensions to Qt build and fix it up for buildingAllan Sandfeld Jensen2020-02-041-2/+2
| | | | | | | | | | Change-Id: I1de7da11fca119ab3cef6d2841524b6b9dbdd2aa Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | FIXUP: Fix include of <algorithm>Allan Sandfeld Jensen2020-02-042-0/+4
| | | | | | | | | | | | | | Missing cases from non jumbo-builds on Linux Change-Id: I1e8609f2e752820d109115962eb0de533f8b65f7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | FIXUP: Fix build with gcc 5Allan Sandfeld Jensen2020-02-0434-198/+201
| | | | | | | | | | | | | | Fixes needed after merge with 79. Change-Id: I8bd346f331e5b5aa772da143bca83c1d8c207061 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix access after moveAllan Sandfeld Jensen2020-02-031-2/+2
| | | | | | | | | | | | | | | | We can't both access and move an object in the same expression. This is undefined behavior and causes crashes with gcc 5. Change-Id: I916927c27c7dec0f15620dfd22c795267a6bddc0 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix include of <algorithm>Allan Sandfeld Jensen2020-01-318-1/+17
| | | | | | | | | | | | | | Needed when std::min or std::max is used. Change-Id: I3483391bde40884670f04830bebaaf7c209cb1c4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Work-around MSVC bug with base::Optional<LayoutUnit>Allan Sandfeld Jensen2020-01-319-19/+24
| | | | | | | | | | | | | | For some reason it can't be passed by copy. Change-Id: I76707f447c98bc4be8e6dfe0cd2c29f04e0b56fe Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix undefined range-based for loops in torqueAllan Sandfeld Jensen2020-01-302-4/+6
| | | | | | | | | | | | | | | | | | | | Range-based for is undefined if the container is modified while being iterated over. Detected by MSVC. Change-Id: Id5e530160cd30bb3e0c7ec24837bd4db60d1795b Reviewed-by: Michael Brüning <michael.bruning@qt.io>