summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [Backport] Skip deleted object files in POSIX base::debug::StackTracev5.12.0-alpha167-basedJüri Valdmann2018-09-031-0/+6
| | | | | | | | | | | | | | The file names read from /proc/self/maps can contain a special " (deleted)" suffix to indicate that the file has been deleted (unlinked). This is expected and should not trigger a LOG(WARNING). Change-Id: Ia96b3bf1894c8fbd6bfa0c217bc8a01bbb59d750 Reviewed-on: https://chromium-review.googlesource.com/1186622 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#586334} Task-number: QTBUG-68547 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix hunspell::NodeReader::affix_id_for_leaf bounds checkJüri Valdmann2018-09-031-1/+1
| | | | | | | | | Last leaf node's affix ID is currently always zero due to bad bounds check. Task-number: QTBUG-70034 Change-Id: I4c7865cac4fb7a79811232000f613151875e7ee2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 7085115f51ce9d02cfff216a3f74b1fb6715f38d)
* [Backport] blink: disable XML catalogs at runtimeJimi Huotari2018-08-131-0/+7
| | | | | | | | | | | Chromium may optionally be built against libxml installed on the system. The system libxml commonly has XML catalog support enabled. Disable it by calling xmlCatalogSetDefaults(XML_CATA_ALLOW_NONE). Bug: https://bugs.gentoo.org/653078 Reviewed-on: https://chromium-review.googlesource.com/1103710 Change-Id: I76ffc9f1efda0fa2db5aac9393e62c47c2f22318 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* FIXUP: Fix build with plugins enabled and webrtc disabledAllan Sandfeld Jensen2018-08-011-1/+6
| | | | | | | Also fix linking error, and turn it into a compiler error in the future. Change-Id: Ic6841eb70b40bd894495036d9d8d5a0a78fcf2b0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix build with plugins enabled and webrtc disabledAllan Sandfeld Jensen2018-07-311-3/+4
| | | | | Change-Id: I2f4f9517943571ba89fdb6a48fd4381d179a96a6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Switch to use glx over ozoneMichal Klocek2018-07-278-12/+21
| | | | | | | | | Use ozone glx instead of x11 glx. Task-number: QTBUG-65682 Change-Id: I612ff7993812607a170a42c4fe72abd9913ef0c5 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Extend url library for WebEngine custom schemesJüri Valdmann2018-07-2412-3/+387
| | | | | | | | | | | | | Adds (another) parallel scheme registry in url/url_util_qt, which is then used in Chromium and Blink to specialize URL handling for WebEngine custom schemes. The registry is transmitted from the main process to subprocesses in a new command line flag (--webengine-schemes), since the scheme lists in url/url_util are locked before IPC is initialized. Task-number: QTBUG-62536 Change-Id: Id26811a18d4c740cc4d281d2da5720304a235a41 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Revert "Fix loading of blobs which have a qrc:// origin"Jüri Valdmann2018-07-241-6/+1
| | | | | | | | This reverts commit 32bfaba41ed8a2dd73d5c8ace0727ddac7fe0ae6. Task-number: QTBUG-62536 Change-Id: I82b09e1cb5bd641cf6a5a099561202100e4a05bb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Revert "Fix assert on QRC urls"Jüri Valdmann2018-07-243-10/+0
| | | | | | | | This reverts commit fd32a073829adda8bd5f695a5968dbb87ab0dceb. Task-number: QTBUG-62536 Change-Id: If81cb0f59d94f01096b0f9dc970da8da23996612 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Revert "Allow using quota management API for non-standard URLs"Jüri Valdmann2018-07-241-0/+1
| | | | | | | | This reverts commit c6693cf3bf1457aa1a0607e3a52990ee77831657. Task-number: QTBUG-62536 Change-Id: I807a937b2e490cdeb30bc1cfe996fef20ec764ed Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Revert "Allow qrc urls to load local resources."Jüri Valdmann2018-07-241-1/+1
| | | | | | | | This reverts commit f4131ed9e943b9566ccc67e1ffe409b8ab875b64. Task-number: QTBUG-62536 Change-Id: Idfaa0b6c12287e144a142bcbc433554ff28a822a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable high resolution printingSzabolcs David2018-07-182-4/+5
| | | | | | | | | | | | | PDFium silently terminates when the buffer size of the currently printed bitmap cannot be represented on 30 bits. HighResolution mode of QPrinter tries to render in 1200 DPI, which means it will over exceed this limit. Using the maximum buffer size possible enables this printing mode for WebEngine. Task-number: QTBUG-68965 Change-Id: I5dd4250fdc5026d914c8673d9d9cc5e5a6357a2f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add mojom for qtwebchannel interfaceMichal Klocek2018-07-162-0/+25
| | | | | Change-Id: I3ae08778d9bae7570f249c11c2b08aa1b6a89ade Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Do not initialize g_is_preview_enabled with falseMichal Klocek2018-07-161-1/+1
| | | | | | | | | Do not intalize to false. This breakes the printing logic which allows only disabling preview in PrintWebViewHelperDelegateQt::IsPrintPreviewEnabled() Change-Id: I50ae946799ed3a014788a64a62047c3079f41685 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* FIXUP: gn-build gn with exactly the python it was bootstrapped withJüri Valdmann2018-07-101-0/+2
| | | | | | Task-number: QTBUG-69145 Change-Id: I6d31ef4c7cbf0ce6f3218be74780eb66ab76b4eb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* FIXUP: Fix building on macOS with Xcode 8.3.3Alexandru Croitor2018-07-061-1/+2
| | | | | Change-Id: I722950088130c1ddeb277369017ead068fd26b6d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Backport] [PE] Another method to avoid DCHECK when printing repeating ↵Szabolcs David2018-07-051-1/+4
| | | | | | | | | | | | | | | | fixed-position objects The previous CL for the bug was reverted because it caused crashes. We may still go through the normal paint path which requires layer states during printing, so for safety don't skip layer state update, but just suppress the DCHECK when printing. Bug: 848730 Reviewed-on: https://chromium-review.googlesource.com/1097558 Cr-Commit-Position: refs/heads/master@{#567060} Change-Id: I5cc27df54e7fdd66609eacc52a3cda990e37e733 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move service_qt back to main repoMichal Klocek2018-06-293-236/+1
| | | | | | Change-Id: I3d62b67167f03abbdd70ed86c144ad686c43b71e Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* <chromium> Do not directly override libc symbols from the library.Zeno Albisser2018-06-221-15/+0
| | | | | | | | | Instead we export _override symbols and add the symbol renaming directly into the QtWebEngineProcess source. Change-Id: I15049609dd77be6de2a2398f25a37fff1b6f5519 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* FIXUP: Fix building on macOS with XcodeAllan Sandfeld Jensen2018-06-212-2/+5
| | | | | Change-Id: Ib183503d8f1113a631de02aad79174c8b7b475b3 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* FIXUP: Fix building on macOS with XcodeAllan Sandfeld Jensen2018-06-195-6/+10
| | | | | Change-Id: I38a73bfd4dfaa930253f6d82eff940b4e03820c2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Drop constexpr from constructors in pdfium StringViewMichal Klocek2018-06-191-2/+2
| | | | | | | Otherwise ends with linker errros (gcc 6.4) Change-Id: I168c0e68c5d586d90efcc18705d776c11f0e7f0e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/upstream-master' into 67-basedAllan Sandfeld Jensen2018-06-19224-992/+1906
|\ | | | | | | Change-Id: I864dabe43f1057024ef3560001c820d1734d96c0
| * BASELINE: Update Chromium to 67.0.3396.76Allan Sandfeld Jensen2018-06-18224-992/+1906
| | | | | | | | | | Change-Id: I9a14af4efb092ab203e9364f0779fca781909a38 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | FIXUP: Remove linking with libatomicAllan Sandfeld Jensen2018-06-181-1/+1
| | | | | | | | | | | | | | Now used one more place Change-Id: Ia7151a46aa7880d669922045dbc267c83b4278f5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Remove another wrong use of constexprAllan Sandfeld Jensen2018-06-181-4/+4
| | | | | | | | | | Change-Id: I0536e3241df133e10f919d04d3bea52a7823156a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | FIXUP: Fix building on macOS with XcodeAllan Sandfeld Jensen2018-06-181-1/+1
| | | | | | | | | | Change-Id: I1741e2eef2af9b2c727eef787bbdb82619a6617e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Workaround long path issue on WindowsPeter Varga2018-06-154-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | When doing a shadow build on Windows, python module name_style_converter cannot be imported ue to long relative path. As a workaround, relocate the name_style_converter.py to make it accessible with shorter relative paths. Task-number: QTBUG-68464 Change-Id: I80d6875d2e99133a677760b12f438f633d012ba1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Add ScopedAllowBaseSyncPrimitives for DesktopConfigurationMonitorPeter Varga2018-06-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a re-apply of https://webrtc-review.googlesource.com/c/src/+/40460 This workaround has been reverted from the mainline Chromium due to breaking WebRTC roll: https://webrtc-review.googlesource.com/c/src/+/46540 Revert the revert by this patch, otherwise we get an assert for desktop capture auto tests (tst_QWebEnginePage::getUserMediaRequest) on macOS: https://bugs.chromium.org/p/chromium/issues/detail?id=796889 Change-Id: I28351cf4c85d039821dc462e492caba068b5dc0a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Add service to handle spellcheckerAllan Sandfeld Jensen2018-06-149-15/+285
| | | | | | | | | | Change-Id: Icd1efe6f0bab3a9cc3c952008f454fe5b872107c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | [Backport] Don't collect full GPU info or D3D12/Vulkan info if in-process-gpu.Peter Varga2018-06-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise it will trigger a gl_factory.cc assertion. BUG=831168 TEST=chrome --in-process-gpu R=oetuaho@nvidia.com Reviewed-on: https://chromium-review.googlesource.com/1024859 Commit-Queue: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#553201} Change-Id: I65b1b3a54b352d66c75294bca7eb8bc9006e0e4e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Build fixes after Chromium 67 mergeAllan Sandfeld Jensen2018-06-107-5/+11
| | | | | | | | | | Change-Id: I488c70fc54dfed95d3b346735e63f5aa0c6f1a88 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Do not depend on pywin32Allan Sandfeld Jensen2018-06-101-0/+4
| | | | | | | | | | | | | | | | | | This code worked around a windows kernel bug triggered by ldd, but we don't use ldd. Change-Id: Ib5fe8e0a40766c129cd8d106a78aaf58888b8b25 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix race condition on gpu thread initializationMichal Klocek2018-06-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | If browser io thread cleans up iself before gpu thread get fully initalize, it will end up in crash due to premature resourse release. Make sure the in_process_gpu_thread is started, before running thread termination. Task-number: QTBUG-68293 Change-Id: I2940c86aaacb8a9ab634b5cdae1c8614dda23b44 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix build with GCC 8.1.0Jüri Valdmann2018-06-074-3/+5
| | | | | | | | | | | | Task-number: QTBUG-68203 Change-Id: I780d884d5e20ef04e902d7b449da4aa3f97d8d0b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Workaround for linker error on macOS after 67-basedPeter Varga2018-06-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linker error is: Undefined symbols for architecture x86_64: "fxcrt::StringViewTemplate<char>::operator=(fxcrt::StringViewTemplate<char> const&)", referenced from: (anonymous namespace)::SplitQualifiedName(fxcrt::StringViewTemplate<char> const&, fxcrt::StringViewTemplate<char>*, fxcrt::StringViewTemplate<char>*) in libfxcrt.a(cxml_element.o) (anonymous namespace)::ReplaceAbbr(CPDF_Object*) in libfpdfapi.a(cpdf_streamconte) CPDF_ToUnicodeMap::Load(CPDF_Stream*) in libfpdfapi.a(cpdf_tounicodema) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) The symbol seems to be dropped by clang, probably because it is unused in bytestring.cpp. As a workaround, instantiate the template where it is used. Change-Id: I45601f28b95f17e6135ebbe3a4582ba93f6f4985 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | FIXUP: Reintroduce ninja_use_custom_environment_filesPeter Varga2018-06-011-7/+1
| | | | | | | | | | | | | | | | | | Windows build fails due to the unused goma_disabled variable if ninja_use_custom_environment_files is disabled. Use disable_goma instead. Change-Id: Iacb316cd1f8519f23aa16f4ce7a3537e2c8d3a88 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Use devtools app for QtAllan Sandfeld Jensen2018-06-011-0/+4
| | | | | | | | | | | | | | The inspector landing page now has a screencast we do not support. Change-Id: Ic4a599d12f8a7279f4004fef000174855e7fe8b5 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Fix clang version detection on Apple clangAllan Sandfeld Jensen2018-06-013-6/+9
| | | | | | | | | | | | | | Apple are using an their own arbitrary versioning. Change-Id: I9358b09dc4eefccacc788762224937f8ac475188 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | FIXUP: Qt GN integrationPeter Varga2018-05-311-1/+1
| | | | | | | | | | | | | | Fix Windows build: exclude mini_installer_tests too. Change-Id: Ic1a611f2ef149b246709f0026dc8a7ad8b1cb8c6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Also remove debug-symbols from the platform subdir of blinkAllan Sandfeld Jensen2018-05-231-0/+6
| | | | | | | | | | Change-Id: If5cf459eabfc5771b5a571337fac51b67b787ca7 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Update the ICU shim headersJimi Huotari2018-05-231-7/+16
| | | | | | | | | | | | | | | | | | | | | | This adds the nine (9) missing headers from the bundled ICU, allowing for the shim headers to be generated for them during the build. Thanks to: Arfrever Frehtes Taifersar Arahesis Change-Id: I63c13b0983867df87b81e7f8d4e2fa4af8e2be4a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix compilation with system ICU 59Jimi Huotari2018-05-2324-44/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is basically commit 363741cffb565dd6cfc2f95054c25a434b101dba from 56-based, with the required modifications due to code changes. Borrowing the original commit message: ICU 59 changed the UChar type to be char16_t instead of uint16_t and that causes a mismatch of types all over Chromium. Unfortunately the upstream patches can not be used as Chromium only got part way in https://codereview.chromium.org/2740673002, and then gave up and simply patched their copy of ICU 59 to not change that. Task-number: QTBUG-65090 Change-Id: Icbe46fa33bf56fc3a5aedd5b6004fc029fa24930 Reviewed-by: Jimi Huotari <chiitoo@gentoo.org> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Reintroduce ninja_use_custom_environment_filesAllan Sandfeld Jensen2018-05-235-88/+125
| | | | | | | | | | | | | | | | 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>
* | Enable minimal optimizations when debug-symbols are disabledAllan Sandfeld Jensen2018-05-238-0/+32
| | | | | | | | | | | | | | | | | | | | Restores building Blink with -Os when debug-systems are stripped anyway. We did this previously in gyp, but didn't port it to GN before now. Change-Id: Ia22b1de1ba63423c22f1ecb5c173b7cab13a1af3 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Win: Fix crashes when initializing GPU threadKai Koehne2018-05-232-25/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLSurfaceQtWGL does need PBuffer support to actually create a surface. Make sure that the appropriate OpenGL extensions are initialized already early on. Before the patch, function pointers to the PBuffer extensions were only retrieved in DriverWGL::InitializeExtensionBindings(). However, GpuInit::InitializeInProcess does assume that an offscreen GL surface can be generated even before this is called. Task-number: QTBUG-66668 Change-Id: I2dc881a9a04733c0edf000a5d4f582009fd7eb92 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix improper boolean valuesViktor Engelmann2018-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | jpeg_codec.cc contained some implicit conversions to boolean, which is apparently problematic for some versions of libjpeg. Patch taken from https://bugs.chromium.org/p/chromium/issues/detail?id=686191 but not backported, since it has not been accepted into chromium yet. Task-Number: QTBUG-58482 Change-Id: I2c5d5894493d6a7d0698a4e5a7191288a2fdfeb4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix Renderer and GPU threads on windowsPeter Varga2018-05-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | These threads are using the UI message loop on Windows per default. This won't work since the UI message loop is handled by Qt and the Renderer and GPU threads won't work with it properly. Force these threads for using the default message loop as they use it on Linux platform. Change-Id: I8b04ba9070912378cf1d13173ddff48e98f9a49b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Add remove_v8base_debug_symbols to GNAllan Sandfeld Jensen2018-05-231-0/+9
| | | | | | | | | | | | | | | | | | Re-introduce the option that makes it possible for us to disable debug- symbols in v8base. Change-Id: I24617e157f94f2b469326db04a8b528e2938da27 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Don't generate Java bindingsAllan Sandfeld Jensen2018-05-233-4/+1
| | | | | | | | | | | | | | These needs Android SDK and are only used on Android. Change-Id: I12956be56946de58d3bc644e0f990ca197aa8037 Reviewed-by: Michael Brüning <michael.bruning@qt.io>