summaryrefslogtreecommitdiff
path: root/chromium/base
Commit message (Collapse)AuthorAgeFilesLines
* Workaround debug iterator issues with MSVCPeter Varga2021-10-041-0/+2
| | | | | | | | Eliminates Visual C++ run-time library asserts with MSVC debug build. Change-Id: Ie9d84b9b4aa3c405b5eb21b212b21e01989e0ec8 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Fix build error for macOS arm64 on x86_64Michael Brüning2021-10-041-5/+1
| | | | | | | | | | | | When building for arm64 on an x86_64 macOS, the header files for the arm platform will be included, but ARCH_CPU_AR_64 is not defined. This lead to checking non-constexpr vm_page_size in a static_assert even though a DCHECK should be used for arm64. Use the DCHECK unconditionally on macOS builds to fix this. Change-Id: Iffa7e2de76358d3bb26473226e1c2a1ef6e0c356 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make clang to inline load/store atomic calls for YieldSortKey structKirill Burtsev2021-10-041-1/+1
| | | | | | | | | Is needed for linux-clang spec build to not depend on atomic lib Task-number: QTBUG-93294 Change-Id: I9fcb275b9dd7973653c7897c1e19ddb9f6daeb58 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> (cherry picked from commit 1d3b13e963467a19ebdd515431464771f513f6ef)
* Cast the right side of a left shiftAllan Sandfeld Jensen2021-10-042-3/+3
| | | | | Change-Id: I1cbeefc92754ea11f5c4622cad055639d21fe4a8 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Restore -fno-delete-null-pointer-checksAllan Sandfeld Jensen2021-10-042-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>
* [Revert] Remove an MSVC-required macro.Allan Sandfeld Jensen2021-10-044-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 Varga2021-10-041-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 Jensen2021-10-041-1/+2
| | | | | | Task-number: QTBUG-71219 Change-Id: I0c5853a110e704016e3bd41c7f54f9a5e57094ae Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Silence most warningsAllan Sandfeld Jensen2021-10-042-3/+7
| | | | | | | | | 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>
* Stop using C++20 initializationAllan Sandfeld Jensen2021-10-041-4/+4
| | | | | | | | Named initialization is proposed for C++20 and we are supposed to be using only C++14. Change-Id: Iefd936eeadf5ba3ee53b446bbb4ab7c6891aadaa Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix misuse of {} initializationAllan Sandfeld Jensen2021-10-046-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>
* Legalize the bloody codeAllan Sandfeld Jensen2021-10-041-1/+1
| | | | | | | | Fix various instances of illegal C++ Task-number: QTBUG-59242 Change-Id: Icac71cda2d2ae9cb730759ece7196c59461c87b7 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix override of mallocAllan Sandfeld Jensen2021-10-041-0/+1
| | | | | Change-Id: I79f02eec0324301544da18ee98931f164c97ccd1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Integrate spell checker sources, fix compilation issuesMichal Klocek2021-10-041-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 Turcotte2021-10-043-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>
* Optionally link with system ICUAllan Sandfeld Jensen2021-10-041-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 Jensen2021-10-041-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>
* Stop erronous deadlock errors in sandboxed debug modeAllan Sandfeld Jensen2021-10-041-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 Bornemann2021-10-042-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 Turcotte2021-10-042-1/+7
| | | | | | | | | | 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 92.0.4515.166Allan Sandfeld Jensen2021-10-01592-10022/+17224
| | | | Change-Id: I42a050486714e9e54fc271f2a8939223a02ae364
* BASELINE: Update Chromium to 91.0.4472.160Allan Sandfeld Jensen2021-10-01496-8102/+13431
| | | | | Change-Id: I0def1f08a2412aeed79a9ab95dd50eb5c3f65f31 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 90.0.4430.221Allan Sandfeld Jensen2021-06-07597-10043/+16911
| | | | | Change-Id: Iff4d9d18d2fcf1a576f3b1f453010f744a232920 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 88.0.4324.208Allan Sandfeld Jensen2021-03-16518-8104/+16893
| | | | | Change-Id: I3ae87d23e4eff4b4a469685658740a213600c667 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* 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>
* BASELINE: Update Chromium to 84.0.4147.141Allan Sandfeld Jensen2020-10-13599-3674/+28238
| | | | | Change-Id: Ib85eb4cfa1cbe2b2b81e5022c8cad5c493969535 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add missing filesAllan Sandfeld Jensen2020-08-033-0/+216
| | | | | | | Needed to build now Change-Id: If6d0274f78ba2f0405bfe3298c09827c1f45febf Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 83.0.4103.122Allan Sandfeld Jensen2020-07-17627-10576/+15555
| | | | | Change-Id: Ie3a82f5bb0076eec2a7c6a6162326b4301ee291e Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 80.0.3987.136Allan Sandfeld Jensen2020-03-18373-19408/+9389
| | | | | Change-Id: I98e1649aafae85ba3a83e67af00bb27ef301db7b Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* BASELINE: Update Chromium to 79.0.3945.139Allan Sandfeld Jensen2020-01-23302-4148/+7142
| | | | | Change-Id: I336b7182fab9bca80b709682489c07db112eaca5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 78.0.3904.130Allan Sandfeld Jensen2020-01-22457-13302/+20230
| | | | | Change-Id: If185e0c0061b3437531c97c9c8c78f239352a68b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 77.0.3865.59Allan Sandfeld Jensen2019-08-30414-7804/+13525
| | | | | Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 76.0.3809.94Allan Sandfeld Jensen2019-08-30453-8297/+23631
| | | | | Change-Id: I321c3f5f929c105aec0f98c5091ef6108822e647 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 75.0.3770.116Allan Sandfeld Jensen2019-07-034-2/+370
| | | | | Change-Id: Ifcd5227841577e8ce81a1b7a54c56caba4d85e02 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 75.0.3770.56Allan Sandfeld Jensen2019-05-24418-8870/+15073
| | | | | Change-Id: I86d2007fd27a45d5797eee06f4c9369b8b50ac4f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 74.0.3729.159Allan Sandfeld Jensen2019-05-20478-12533/+17110
| | | | | Change-Id: I8d2497da544c275415aedd94dd25328d555de811 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 73.0.3683.64Allan Sandfeld Jensen2019-03-067-9/+51
| | | | | Change-Id: I76517dc277ba4e16bfd7e098fda3d079656b3b9f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 73.0.3683.37Allan Sandfeld Jensen2019-02-14397-6656/+12192
| | | | | Change-Id: I08c9af2948b645f671e5d933aca1f7a90ea372f2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 72.0.3626.110 and Ninja to 1.9.0Allan Sandfeld Jensen2019-02-14459-9210/+15490
| | | | | Change-Id: Ic57220b00ecc929a893c91f5cc552f5d3e99e922 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 71.0.3578.93Allan Sandfeld Jensen2018-12-10288-4015/+6078
| | | | | Change-Id: I6a32086c33670e1b033f8b10e6bf1fd4da1d105d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 70.0.3538.78Allan Sandfeld Jensen2018-10-30358-5103/+11478
| | | | | Change-Id: Ie634710bf039e26c1957f4ae45e101bd4c434ae7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 69.0.3497.113Allan Sandfeld Jensen2018-09-271-2/+11
| | | | | Change-Id: I4fb3f077682cc7eda51e9046981dcd40e0183cd6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 69.0.3497.70Allan Sandfeld Jensen2018-08-28321-7308/+21643
| | | | | Change-Id: I2b7b56e4e7a8b26656930def0d4575dc32b900a0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 68.0.3440.125Allan Sandfeld Jensen2018-08-28344-7297/+11290
| | | | | Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 67.0.3396.76Allan Sandfeld Jensen2018-06-181-1/+13
| | | | | Change-Id: I9a14af4efb092ab203e9364f0779fca781909a38 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 67.0.3396.47Allan Sandfeld Jensen2018-05-15283-4656/+11136
| | | | | Change-Id: Idcb1341782e417561a2473eeecc82642dafda5b7 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 66.0.3359.156Allan Sandfeld Jensen2018-05-15285-6877/+8232
| | | | | Change-Id: I0c9831ad39911a086b6377b16f995ad75a51e441 Reviewed-by: Michal Klocek <michal.klocek@qt.io>