summaryrefslogtreecommitdiff
path: root/chromium/base
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory thresholds over 20GiBAllan Sandfeld Jensen2021-02-121-2/+2
| | | | | | | Hits overflow otherwise. Change-Id: If2cf9aa2bb0d4a498dcb4bfccc2d20bee374e488 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fixups for RHEL 7.6 after 87 mergeAllan Sandfeld Jensen2021-01-134-5/+12
| | | | | Change-Id: I85e01254d1ccb78375dde19458a647cbd5b7be91 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix building with gcc5 after 87-mergeAllan Sandfeld Jensen2021-01-1212-30/+32
| | | | | Change-Id: If75c98ac9fc8c30f48299bcf0bfa6afeb63e2e2e Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fixups post 87Allan Sandfeld Jensen2021-01-121-1/+1
| | | | | Change-Id: I405522281d791a69ed16dd78adea590a2ba06ad0 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix build with MSVC 2019 after 87 mergeAllan Sandfeld Jensen2021-01-0811-13/+42
| | | | | Change-Id: I202e361c1fa51d8a5758d4ffacdba08d86d065cb Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix build with MSVC 2017 after 87 mergePeter Varga2021-01-052-2/+8
| | | | | Change-Id: I8dd75fca14e96a4ac8bc5cd31ea06109215d8eb2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fixing build without 10.15 SDKAllan Sandfeld Jensen2020-12-192-0/+4
| | | | | Change-Id: I5d0326d386b383c3576f60e35f12ac2fed5d7fb2 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix building with gcc6 after 87-mergeAllan Sandfeld Jensen2020-12-142-2/+2
| | | | | Change-Id: Id1d9ec58fa9790bec90f07417b785f1464142fd4 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix building with gcc8 after 87-mergeAllan Sandfeld Jensen2020-12-141-8/+8
| | | | | Change-Id: I7b16f46aa55e77debf8ae1dc8210ff7ab5247f77 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fixes for jumbo buildAllan Sandfeld Jensen2020-12-113-4/+20
| | | | | | | Fixes necessary to make jumbo build work Change-Id: I1551ddeaa15fdc4e9db72e86ea49191193cb4964 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Reinstate jumbo-buildsAllan Sandfeld Jensen2020-12-112-2/+11
| | | | | | | | | Reverts four patches disabling and removing jumbo builds. It makes too big of a difference for us to drop. Change-Id: Ib7dd65996f9e985480f49fab2d1781a5d08bf6fd Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add AvailabilityVersions.h fallbackAllan Sandfeld Jensen2020-12-112-1/+91
| | | | | Change-Id: Ia4f644cf8159905de5a843c741379fb0af78db26 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix declaring multiple copies of a global symbolAllan Sandfeld Jensen2020-12-102-1/+6
| | | | | | | Never put static variables in headers. Change-Id: Ic818728c4c8c62fedc32e4878ab398e06ca96e69 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix building with gcc 5Allan Sandfeld Jensen2020-12-037-10/+26
| | | | | | | | Working around various issues with gcc, and inconsistent use of constexpr. Change-Id: Iec46c4362f57d6aa7a8a37784dfe46c0b6563044 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Cast the right side of a left shiftAllan Sandfeld Jensen2020-12-032-3/+3
| | | | | Change-Id: I1cbeefc92754ea11f5c4622cad055639d21fe4a8 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix build after 83-mergeAllan Sandfeld Jensen2020-12-032-2/+31
| | | | | | Change-Id: Ie864f66333b03c9ebc0551096aa91394e82fc421 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fixups post 83-merge for WindowsAllan Sandfeld Jensen2020-12-033-3/+9
| | | | | Change-Id: I5d5d1205874d7333377875ab4071740dc98c6ec7 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Fix crashes with MSVC post 83 mergeAllan Sandfeld Jensen2020-12-031-1/+1
| | | | | | | | In particular don't call virtual functions on objects not yet constructed. Change-Id: Icc627c88ffa758dd787a4dcf02fe237066ef9beb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* [Revert] Update base/ for 10.15 SDK requirementAllan Sandfeld Jensen2020-12-032-4/+16
| | | | | Change-Id: I0a4072681487b7ff49f6cdf76d6a6232b2f01937 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Restore -fno-delete-null-pointer-checksAllan Sandfeld Jensen2020-12-032-5/+16
| | | | | | | | | | | | | | 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>
* Fix building with MSVC 2017Allan Sandfeld Jensen2020-12-035-5/+50
| | | | | | | Work-around various issues to make Chromium build on VS 2017 Change-Id: I582454dce657014d5cbb4864ea281a4c327172a4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fixes for building with MSVCAllan Sandfeld Jensen2020-12-031-2/+2
| | | | | | | Work-around various issues to make Chromium build on MSVC Change-Id: I3489452c9d7e61243fb60b877d289293b1850ebe Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Work-around MSVC bug with base::Optional<LayoutUnit>Allan Sandfeld Jensen2020-12-031-0/+5
| | | | | | | For some reason it can't be passed by copy. Change-Id: I76707f447c98bc4be8e6dfe0cd2c29f04e0b56fe Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix build on windowsAllan Sandfeld Jensen2020-12-032-3/+7
| | | | | | | More fixups for building on Windows. Change-Id: I2723b4467836def3087f9667b54101e965a7abfd Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix WebAuth and building with gcc 6/7Allan Sandfeld Jensen2020-12-031-0/+6
| | | | | | | | | | | - Enable typemaps.gni for WebAuth. - Workaround a gcc 6 compiler error when flat_map is uncopyable. - Also fix the build with gcc 6 and gcc 7. Task-number: QTBUG-54720 Task-number: QTBUG-85117 Change-Id: If73ce3fccdb7fc3dc2cddd39bba998f51956e45a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix iterating when erasing last element from task queueTamas Zakor2020-12-031-1/+5
| | | | | | | | | | This patch fixes the iterator debugger assert on Windows. This bug is introduced by: https://chromium-review.googlesource.com/c/chromium/src/+/1369780 Change-Id: I9a77dac13d226e09d32b08e394ac1a441672668b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove linking with libatomicMichal Klocek2020-12-031-1/+1
| | | | | | | | Rhel machines on ci do not have it. Change-Id: I4cbb6d9d0826a23f8065a9eebba7ba27856e44d4 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Silence assert on MessageWindow::WindowClass destructionPeter Varga2020-12-031-1/+3
| | | | | | | | | | This assert is Windows specific. Usually it happens while exiting and a page was loaded with html5 video. See https://crbug.com/794105 Change-Id: Icee9d209ef01c7897aa79563bb4267d2177b5f77 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Post 77-merge and 79-merge fixupsAllan Sandfeld Jensen2020-12-032-4/+11
| | | | | | Change-Id: I5f59c43bf26109d8148fc8347008b4d05cd1508b Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Post 67-merge, 71-merge, 73-merge and 75-merge fixupsAllan Sandfeld Jensen2020-12-033-2/+10
| | | | | | | | | Fixes various issues introduced with the Chromium 67-75 code. Change-Id: I102539873f82bfd446cf034a2d97eb40d2dfb1f5 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* [Revert] Remove base::internal::PassingTraitsAllan Sandfeld Jensen2020-12-033-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>
* [Revert] Remove an MSVC-required macro.Allan Sandfeld Jensen2020-12-034-7/+20
| | | | | | | | We are still building on MSVC Reverts upstream commit b00a9e7e3d434f208e89fb2734a9c78634c2faef Change-Id: If76233faa3ec3ec57f4aaac200a21faef1014cc2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove assert on exitPeter Varga2020-12-031-1/+1
| | | | | | | Details: https://bugs.chromium.org/p/chromium/issues/detail?id=905535 Change-Id: Id4812f7bf6532c25f4114814da6bc1074335e320 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix crashes on exitAllan Sandfeld Jensen2020-12-031-1/+2
| | | | | | Task-number: QTBUG-71219 Change-Id: I0c5853a110e704016e3bd41c7f54f9a5e57094ae Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Silence most warningsAllan Sandfeld Jensen2020-12-031-2/+2
| | | | | | | | | Suppress and fix many clang, GCC and MSVC warnings "cause the night is crap and full of warnings" Change-Id: I09882f850bac97c04a3d772e5f6386ce896c57b9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix misuse of {} initializationAllan Sandfeld Jensen2020-12-035-12/+12
| | | | | | | | Narrowing is supposed to be forbidden in {} initialization, but Chromium doesn't appear to care upstream. Change-Id: Ia3d1dac6ef19ef86afcbeee4ed11d807c53faaaa Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix override of mallocAllan Sandfeld Jensen2020-12-031-0/+1
| | | | | Change-Id: I79f02eec0324301544da18ee98931f164c97ccd1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Integrate spell checker sources, fix compilation issuesMichal Klocek2020-12-031-1/+2
| | | | | | Change-Id: Idb2b4b4fc746f0c1967f50b7715a94200fbbb009 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add WebEngine classes as RunLoop/MessageLoop friends.Jocelyn Turcotte2020-12-033-0/+19
| | | | | | | Change-Id: I2bb2600637ac5a3473273789cd61c257d682b702 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Jocelyn Turcotte (Woboq GmbH) <jturcotte@woboq.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Fix build with system ICU 68Allan Sandfeld Jensen2020-12-032-3/+3
| | | | | | Fixes: QTBUG-88116 Change-Id: I935babf51c2670fad7cc7950a2fe07eb2829c4cb Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Optionally link with system ICUAllan Sandfeld Jensen2020-12-031-0/+4
| | | | | | Change-Id: I31c702a2612dd04e58a75e437d6967c2a2edd878 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Unbundle Linux system libraries for GNAllan Sandfeld Jensen2020-12-031-1/+32
| | | | | | | | | Adds unbundling on linux for the zlib, minizip, libpng, libwebp, libevent, libxml, libxslt and snappy libraries. Change-Id: I7bc8f418669a9908f0c1bc9393771e233f9f491a Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix clang and embedded gcc buildsAllan Sandfeld Jensen2020-12-033-0/+8
| | | | | | | | | | | Work around an issues causing a dependency on libatomic because clang doesn't have internal atomic handling. The latter also affects some embedded gcc builds. Task-number: QTBUG-54426 Change-Id: I7e82ffc2919ea0c5726b3ad11084871917534e4c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Stop erronous deadlock errors in sandboxed debug modeAllan Sandfeld Jensen2020-12-031-1/+2
| | | | | | | | | | | | | On some platforms we get error 35 (deadlock avoided) on sandboxed machines when extra checking is enabled in the pthread locks. These appears to be false positives as no deadlocks occur when checking is disabled. For now we disable the checking to fix debug builds on Linux. Task-number: QTBUG-60889 Change-Id: Ic5bcde246597e06fc920a496f2ad9a1ae1298808 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add CommandLine::CreateEmptyJoerg Bornemann2020-12-032-1/+11
| | | | | | | | | | | | | Add a static function to create the CommandLine object for the current process without initializing it. Rationale: on Windows we need to initialize the CommandLine differently than Chromium intends. Esp. we want to pass our own arguments instead of relying on GetCommandLineW(). Task-number: QTBUG-51971 Change-Id: I0d1f0aa4eabad470d730f4f0a76cd1535f8f23ce Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* <chromium> Add a hook to provide our own icu data file pathJocelyn Turcotte2020-12-032-1/+8
| | | | | | | | | | Qt will always use QLibraryInfo to determine where this file was installed, regardless of the platform. Change-Id: I79374655356d872b2bc766ec8a33fcba343e9c95 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Jocelyn Turcotte (Woboq GmbH) <jturcotte@woboq.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 87.0.4280.89Allan Sandfeld Jensen2020-12-031-6/+0
| | | | | Change-Id: Icee7f7f1a9711f11c4dd69f1a8b019bf6d084359 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 87.0.4280.67Allan Sandfeld Jensen2020-11-18442-4868/+13096
| | | | | Change-Id: Ib157360be8c2ffb2c73125751a89f60e049c1d54 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 86.0.4240.124Allan Sandfeld Jensen2020-11-02517-7172/+23759
| | | | | Change-Id: Ide0ff151e94cd665ae6521a446995d34a9d1d644 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 85.0.4183.14085-basedAllan Sandfeld Jensen2020-10-13504-8856/+17022
| | | | | Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>