summaryrefslogtreecommitdiff
path: root/chromium/base
Commit message (Collapse)AuthorAgeFilesLines
* [Backport] mac: Update knowledge of CFAllocator internals for 10.1360-basedAllan Sandfeld Jensen2017-10-203-8/+43
| | | | | | | | | | | | | | | | | | For each new major OS version, we need to poke at the internals of CFAllocator to enable the out-of-memory killer for the default CFAllocator implementations. This update is for macOS 10.13 ("High Sierra"), whose CFAllocator internals are unchanged from 10.12 (and in fact from 10.7). It also updates the base::mac::IsOS*() family of functions for this new OS version. BUG=45650 TEST=base_unittests OutOfMemoryDeathTest.CFAllocator*,MacUtilTest.IsOSEllipsis Change-Id: I2cab74c57cb75e4aebc2cb13d6844f0c77dbd54f Reviewed-on: https://chromium-review.googlesource.com/565467 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix unbundling of libevent when cross-compilingMichal Klocek2017-09-011-2/+8
| | | | | | | | | Currently we only support unbundling for target However for host build this can fail if there is no libevent on host system. Change-Id: If14a03364b097dab8cb6dad022e5df650933c29b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Silence gcc -Waddress warnings in logging.hAllan Sandfeld Jensen2017-08-111-0/+9
| | | | | | | | We were getting too many of these, poisoning our compile output. Change-Id: Ic7e41e2bb538bf69a873e32217f87fd369317a20 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Do not export c memory handling functionsMichal Klocek2017-08-111-0/+2
| | | | | | | | | | | | We need to export dummy symbols to keep C-ABI Unfortuinately symbol version assembly does not work if these symbols get redefined here. These extra allocations are checking and logging "Out of memory" Task-number: QTBUG-61521 Change-Id: Iea8c7cbf873cee40921000720451653842b03c07 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Unbundle Linux system libraries for GNAllan Sandfeld Jensen2017-07-311-1/+26
| | | | | | | | | 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 a shutdown crash under CFAutoreleasePoolPopJocelyn Turcotte2017-07-311-1/+1
| | | | | | | | | | | | | | | | NSAutoreleasePool init and dray must be symetrical and we can't guarantee that for ContentMainRunner as well as Chromium can since we initialize the ContentMainRunner on-demand but destroy it with the QCoreApplication's destruction. We also don't need to use it since any allocation that ContentMainRunnerImpl::autorelease_pool_ would cover is already covered at the bottom of the stack by the QCocoaAutoReleasePool in QCocoaEventDispatcher::processEvents. Change-Id: I2874916420457e3d36d08fb9fca0d919f374f592 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add is_shared GN argumentAllan Sandfeld Jensen2017-07-311-1/+1
| | | | | | | | | Provide a way to tell GN the build is for a shared library even if it is not a component build. This is needed for Windows. Change-Id: If6f6a8eb3172eec1e425103c7435dc235753c73c Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove linking with libatomicMichal Klocek2017-07-311-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>
* Integrate spell checker sources, fix compilation issuesMichal Klocek2017-07-311-1/+2
| | | | | | Change-Id: Idb2b4b4fc746f0c1967f50b7715a94200fbbb009 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 Jensen2017-07-311-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>
* Fix encoding of eventlog messagesAllan Sandfeld Jensen2017-07-311-0/+0
| | | | | | | | Older versions of the eventlog message compiler can not handle UTF-8 encoded messages, so convert to UTF-16. Change-Id: I63cb4745d2f77fa269269807e0c99f7c2a57b1c8 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix building with Xcode 7.2.1Alexandru Croitor2017-07-311-0/+2
| | | | | | | | | | | | | The compiler shipped with Xcode 8 supports a new feature called Objective-C class properties. This feature uses syntax that is not understood by older compilers. Remove all usages of this feature form the Chromium code to allow building with an older Xcode version (it does no harm because the code is not used by us). Change-Id: I787d93e14e9e16d0cc50f74afb29d79e1e97d485 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix clang and embedded gcc buildsAllan Sandfeld Jensen2017-07-311-0/+3
| | | | | | | | | | | 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>
* Add CommandLine::CreateEmptyJoerg Bornemann2017-07-312-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> Set message loop before creating message pumpAllan Sandfeld Jensen2017-07-311-3/+3
| | | | | | | | | The constructor of MessagePumpForUIQt uses MessageLoopForUI::current() so current must be set before creating the message pump. Change-Id: I58822d0eabf625cae8340778fac54fc7818c46b6 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* <chromium> Add a hook to provide our own icu data file pathJocelyn Turcotte2017-07-312-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>
* <chromium> Add WebEngineContext to RunLoop's friends.Jocelyn Turcotte2017-07-311-0/+5
| | | | | | | 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>
* BASELINE: Update Chromium to 60.0.3112.70Allan Sandfeld Jensen2017-07-19364-6435/+14559
| | | | | Change-Id: I9911c2280a014d4632f254857876a395d4baed2d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 59.0.3071.134Allan Sandfeld Jensen2017-07-17326-7080/+14427
| | | | | Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 58.0.3029.98Allan Sandfeld Jensen2017-05-051-1/+8
| | | | | Change-Id: Ib913750d687f29e036959c62a0cabf2412a8faa7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 58.0.3029.54Allan Sandfeld Jensen2017-04-11263-3501/+11386
| | | | | Change-Id: I67f57065a7afdc8e4614adb5c0230281428df4d1 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* BASELINE: Update Chromium to 57.0.2987.144Allan Sandfeld Jensen2017-04-11298-5453/+16593
| | | | | Change-Id: I29db402ff696c71a04c4dbaec822c2e53efe0267 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* BASELINE: Update Chromium to 56.0.2924.122Allan Sandfeld Jensen2017-03-20273-5102/+9247
| | | | | Change-Id: I4e04de8f47e47e501c46ed934c76a431c6337ced Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 55.0.2883.105Allan Sandfeld Jensen2017-01-05525-16820/+18423
| | | | | | | And updates ninja to 1.7.2 Change-Id: I20d43c737f82764d857ada9a55586901b18b9243 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add all gn, gni, typemap, mojom filesMichal Klocek2016-11-162-0/+331
| | | | | | | | These file are required to gn be able to parse source tree. Change-Id: I9cb4a0b3897c1e99dd6e39832a8c55764fb6e1c6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 53.0.2785.80Allan Sandfeld Jensen2016-08-251-7/+0
| | | | | | | Also adds 3rdparty libraries under pdfium. Change-Id: I29afb23f1642fa55765d056697d5d145afa22bb2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 53.0.2785.41Allan Sandfeld Jensen2016-08-04315-4719/+8008
| | | | | | | Also adds a few extra files for extensions. Change-Id: Iccdd55d98660903331cf8b7b29188da781830af4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 52.0.2743.76 and Ninja to 1.7.1Allan Sandfeld Jensen2016-08-04265-3122/+10562
| | | | | Change-Id: I382f51b959689505a60f8b707255ecb344f7d8b4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 51.0.2704.106Allan Sandfeld Jensen2016-07-011-3/+1
| | | | | | | Also add a few extra files we might need for future features. Change-Id: I517c35e43221c610976d347c966d070ad44d4c2b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* BASELINE: Update Chromium to 51.0.2704.79Allan Sandfeld Jensen2016-06-021-29/+38
| | | | | | | Also adds a few files for url_parsing in extensions. Change-Id: Ie4820c3da75f0a56b3cc86dccc077d671227077b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* BASELINE: Update Chromium to 51.0.2704.41Allan Sandfeld Jensen2016-05-09542-18066/+18333
| | | | | | | Also adds in all smaller components by reversing logic for exclusion. Change-Id: Ibf90b506e7da088ea2f65dcf23f2b0992c504422 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.111Allan Sandfeld Jensen2016-04-016-40/+207
| | | | | Change-Id: I5f8c7bd936a259c7229924aba755ae6064ac9240 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.48Allan Sandfeld Jensen2016-02-111-3/+6
| | | | | Change-Id: I684541113ff518e3a7d51dfd0b31962b06d10af1 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.34Allan Sandfeld Jensen2016-02-012-1/+20
| | | | | Change-Id: I89af6c0074347d4415cc1ce35a6d54a3760e6ad2 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.23Allan Sandfeld Jensen2016-01-25947-11694/+41827
| | | | | | | Also adds missing printing sources. Change-Id: I3726b8f0c7d6751c9fc846096c571fadca7108cd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* BASELINE: Update Chromium to 47.0.2526.71Allan Sandfeld Jensen2015-11-232-1/+23
| | | | | | | | Also adds a few missing spellcheck sources. Change-Id: I300864710316ff3cd3ad456dd7a3d048b45f57d5 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 47.0.2526.14Allan Sandfeld Jensen2015-10-14392-9462/+13755
| | | | | | | Also adding in sources needed for spellchecking. Change-Id: Idd44170fa1616f26315188970a8d5ba7d472b18a Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update chromium to 45.0.2454.101upstream-45Allan Sandfeld Jensen2015-09-291-15/+0
| | | | | | | Also adds web_cache component Change-Id: I51238ceea8ee99854cc4989ae70a4fc2fc6bedcb Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* BASELINE: Update chromium to 45.0.2454.79Allan Sandfeld Jensen2015-08-263-9/+30
| | | | | | | Also remove third_party trace-viewer and hunspell again. Change-Id: Iee0b3b27abcef9b1e87a0e39b71f6b785d1d19be Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update chromium to 45.0.2454.40Allan Sandfeld Jensen2015-08-14328-6587/+10720
| | | | | Change-Id: Id2121d9f11a8fc633677236c65a3e41feef589e4 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* BASELINE: Update chromium to 44.0.2403.91Allan Sandfeld Jensen2015-07-294-22/+84
| | | | | | | | Also adds missing compile_test tool, and removed two unused third_party modules. Change-Id: Ie6135c2a57c8c9519aa093eb0a259a605b26a111 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update to chromium 44.0.2403.80Allan Sandfeld Jensen2015-07-073-11/+99
| | | | | Change-Id: Ib190ddcbbb5f312742c16d159bdfe9dbf7360c8a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* BASELINE: Update chromium to 44.0.2403.47Allan Sandfeld Jensen2015-06-18695-21464/+23322
| | | | | Change-Id: Ie056fedba95cf5e5c76b30c4b2c80fca4764aa2f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* BASELINE: Update chromium to 40.0.2214.28 and ninja to 1.5.3.Zeno Albisser2014-12-09556-8659/+12244
| | | | | Change-Id: I759465284fd64d59ad120219cbe257f7402c4181 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Update Chromium to beta version 37.0.2062.68Jocelyn Turcotte2014-08-12587-16258/+27035
| | | | | Change-Id: I188e3b5aff1bec75566014291b654eb19f5bc8ca Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Update Chromium snapshot to stable version 33.0.1750.170Andras Becsi2014-06-049-26/+24
| | | | | | | | | | | | | | | This is meant as a baseline commit hence it does not include the patches we need to apply for QtWebEngine. All patches should be rebased on top of this commit so we can get rid of the external patches directory. In future these baseline commits always have to include the exact Chromium version returned by version_resolver.py's currentVersion() in their first line, so that we can retrieve the patches on top to apply on the upstream repository. This also includes a ninja update. Change-Id: I60abeadb785a3b7d149c58b65ddb5a823fed3083 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Include atomicops_internals_x86_gcc.cc when compiling for ia32Andras Becsi2014-04-281-0/+5
| | | | | | | | This is needed for the embedded emulators and should be squashed with the corresponding patch on the next update. Change-Id: I9ece131df6ba23045dad741278651399a67639e7 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Adjust gyp defines for eLinux.Zeno Albisser2014-04-233-2/+9
| | | | | | | | | | | | | - Add Raspberry PI chipset to list of defined platforms. - Make sure to include sources for xdg support. - Do not use pkg-config-wrapper, as our sysroot pkg-config already returns absolute paths. - Use openssl for eLinux. - Use fontconfig and freetype2 for eLinux. - Use chacha_vec.c to avoid hard/soft float mismatch. Change-Id: I8dd21c480922f32ac7111ea5582d82c249414caa Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
* Hide the definition of MessagePumpX11::GetDefaultXDisplayAndras Becsi2014-03-251-0/+3
| | | | | | | This should replace patch 0011 since we do not build GTK code any more. Change-Id: I156f164128b04eee6d5956a576adef3b9d2d18ea Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Update to new stable branch 1750Andras Becsi2014-03-20328-6998/+15859
| | | | | | | | | This also includes an updated ninja and chromium dependencies needed on Windows. Change-Id: Icd597d80ed3fa4425933c9f1334c3c2e31291c42 Reviewed-by: Zoltan Arvai <zarvai@inf.u-szeged.hu> Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>