summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for universal buildAllan Sandfeld Jensen2021-10-042-2/+8
| | | | | | | Three missing symbols and a load of warnings. Change-Id: Ib8b5ea0aec3f2f39ea8625627eb0cd249defbc54 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix data fragment navigationAllan Sandfeld Jensen2021-10-041-24/+24
| | | | | | | Allow same page navigations since they aren't real navigations anyway. Change-Id: I9809f6fb8534d00a2725231a8f108591e88b81ad Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix compilation error for qemuMichal Klocek2021-10-041-3/+4
| | | | | | | | Fix coversion errors: invalid ‘static_cast’ from type ‘uint32x4_t’ to type ‘float32x4_t’ Change-Id: I444e05b199b8a9ec05a919f6f0adc835507769c3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix enable_extension=false buildsAllan Sandfeld Jensen2021-10-045-5/+13
| | | | | | | Too aggresive inclusions Change-Id: Ifd9457ae59a8c7fe15cc3c3967e3332db2798679 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Make scroll animation less "drunk"Allan Sandfeld Jensen2021-10-046-11/+27
| | | | | | | | Tries to use the new bezier curves to approximate our old smooth scrolling behavior. Change-Id: I3b319025fb0339ec95c0a29525f2dde0631866ed Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Remove dependency on libgbmAllan Sandfeld Jensen2021-10-047-8/+11
| | | | | | | We don't currently use it so avoid adding it as a dependency Change-Id: Id363ddfc4d6d95af8325dc73fb7e240a8d80c95e Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix printing after 90-based mergeAllan Sandfeld Jensen2021-10-042-15/+24
| | | | | Change-Id: I11e714254cd56b001515441784187d887f724b6c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Restore WebFrameContentDumper::DumpAsMarkupAllan Sandfeld Jensen2021-10-042-0/+11
| | | | | | | Qt WebEngine is still using it. Change-Id: I8f9aed97c06c8e38032b8c89161e1800f2169cde Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adapt accessibility code for our needs after chromium 90Allan Sandfeld Jensen2021-10-043-6/+9
| | | | | Change-Id: I9bc2bd517ee3ee1ea1a8798f636f12b4f48639b0 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Add media:media_buildflags to public dependenciesAllan Sandfeld Jensen2021-10-041-0/+1
| | | | | | | | It used from content_switches.h Task-number: QTBUG-94572 Change-Id: I26cf7050f607a6941841a78354ead0ec3598a9a2 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix missing deps for extensions apiMichal Klocek2021-10-041-1/+3
| | | | | | | | Since a0cbfced7 we dropped dependecies in extensions/api this leads to build races. Change-Id: Ibbd036b071581448ab2c43452f322b8bbcdcffb1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable in-process vulkanJüri Valdmann2021-10-042-2/+15
| | | | | Change-Id: I0cc4822112032d1fed7529d39c7f51684104840d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Try to fix finding xkbcommon.h on OpenSUSEAllan Sandfeld Jensen2021-10-041-0/+11
| | | | | | | | The header is in /usr/include/libxkbcommon/xkbcommon/ so we need the includepath from pkgconfig. Change-Id: I1140cac4687f2c29888051afc6ce56280482a073 Reviewed-by: Michal Klocek <michal.klocek@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>
* Fix arm64 Skia build for macOSMichael Brüning2021-10-041-2/+8
| | | | | | | | The cast that we use to compile on aarch64 without fp16 caused a compilation error for macOS arm64. Re-establish the upstream version for this case. Change-Id: Ic4c4c20f9502bf5ae716956efaa87a15026f8a29 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable download and print buttons in PDF viewerMichael Brüning2021-10-041-0/+2
| | | | | | | | They have no function at the moment, but may be enabled as it becomes possible. Change-Id: Ic173ad41f4557b83f94b8998eca488d15c405cef Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adapt favicon and history component for WebEnginePeter Varga2021-10-0417-0/+160
| | | | | | | | | | | | | - Remove component/sync dependency of component/history - Add FaviconHandler::Type() to support toggle touch icons at runtime - Add FaviconHandler::Delegate::OnHandlerCompleted() to notify when icon downloading is done - Make FaviconHandler and FaviconService working when HistoryService is not set due to off-the-record profile Task-number: QTBUG-51184 Change-Id: Ic596f216b270ac4b76f0f37feb6d523d50592aae Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Workaround revoked certificate check on LinuxPeter Varga2021-10-041-1/+1
| | | | | | | | | | | Comparing std::string with base::BasicStringPiece<std::string> doesn't seem to work properly in std::binary_search(). Task-number: QTBUG-91467 Change-Id: I535faa358e3ce20ddb87a0830aa97fa1953d5994 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit 5b2293cf1f238916da5cb40c4746dd987c071abd) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix missing dependency for qtwebengine/browser/pdfMichal Klocek2021-10-041-0/+1
| | | | | | | | | | | From time to time with extensions build on we get: chromium/qtwebengine/browser/pdf/pdf_extension_util.cc:49:10: fatal error: 'chrome/grit/generated_resources.h' file not found Add missing dependency. Change-Id: Idf73253da7a1cda3b358d4e5fac7c593085695dc Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add first_party_url for net::SiteForCookiesTamas Zakor2021-10-0412-12/+82
| | | | | | | | | | | | | | | | This change brings back the behavior when the site for cookies was stored as an URL before Chromium 81. QtWebEngine implementation relies on that becuase it uses SiteForCookies to provide first party url in some cases. The site for cookies url was replaced by net::SiteForCookies in change https://chromium-review.googlesource.com/c/chromium/src/+/1925189 Task-number: QTBUG-90231 Change-Id: Ie1e4be21535a646699b031c3a2ebdb0a19617fc7 Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix crashes on getUserMediaRequestMichal Klocek2021-10-041-0/+5
| | | | | | | | | | | | If the build is compiled with no webrtc, the platform abstraction will return no VideoCaptureImplManager and this is not handled well within LocalVideoCapturerSource. After a short call stack analysis, it seems the most suitable place to bailout is in the user media processor, report no hardware as in unit tests. Change-Id: I75c92e4fe8869d6f3fb6831e8bf24c982d0b347c 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)
* Enable XkbKeyboardLayoutEngine::SetCurrentLayoutByName for QtPeter Varga2021-10-041-2/+2
| | | | | | | | | It is used for Keyboard.getLayoutMap() on Linux. Task-number: QTBUG-92971 Change-Id: I86ff88edd4de3f4b6c7f7e2deaf6c9c522cc0fcd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit f6730fe81a09266e29d7e5ea43f1d436d14dc610)
* Work-around linker error on armv7Allan Sandfeld Jensen2021-10-041-1/+1
| | | | | | | | | | We get undefined reference to kNoCropRect in CropRect(const SkIRect* optionalCrop), so instead use CropRect(const SkIRect& crop), since the pointer isn't nullable anyway. Change-Id: Id02deec1c57abd8d34fda70673c5973626000e96 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix build with no extensions on macMichal Klocek2021-10-041-3/+6
| | | | | | | | | With following change we no longer can compile with no extensions: https://chromium-review.googlesource.com/c/chromium/src/+/2272030 Remove gn assertion in favor of the condition. Change-Id: I008e38a06db8397cd6632e559062fcf8aea614aa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix for our testsAllan Sandfeld Jensen2021-10-043-13/+22
| | | | | Change-Id: Ia2bf55a221161e4b404f47b4c9f4e9a5111ddd56 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix WebRtcLoggingController for QtWebEngineAllan Sandfeld Jensen2021-10-041-3/+4
| | | | | | | | | We don't have a WebRtcEventLogManager. Fixes: QTBUG-91857 Change-Id: I70e1ab23c9bc0672856321d78ef66e2cb6b9d88e Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Enable plugin.mojom for plugin placeholderTamas Zakor2021-10-042-0/+47
| | | | | | Task-number: QTBUG-82012 Change-Id: I5461c8c31406cfc3a1bf54cad9b10af639e9c4d3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make nss certificates disableable for QtPdfAllan Sandfeld Jensen2021-10-041-2/+4
| | | | | Change-Id: If907fc6b34a567db339f092b118d55dab546b04b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Enable build of tracing UIPeter Varga2021-10-042-3/+3
| | | | | Change-Id: Ie01ef53a6a264019eb61980927aa2ad781c5459d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable webrtcLoggingPrivate extension API for hangout extensionPeter Varga2021-10-0417-7/+126
| | | | | Change-Id: I8be102e18bba8fca21b76eaec8f0eb5f0aedabde Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Correct DCHECK on ApplyTouchAdjustment for adjusted touch pointKirill Burtsev2021-10-041-1/+1
| | | | | | | | | | BestClickableNodeForHitTestResult is really using EnclosingIntRect which is wider due to being int-based rect instead of original one based on float coordinates. Task-number: QTBUG-89731 Change-Id: I1fc5e1900636ebf90edb50e94846a76e66ebc92b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make GpuSwitchingManager::RemoveObserver() thread safeTamas Zakor2021-10-042-1/+8
| | | | | | | | | | | | | | Sometimes the RenderViewHostImpl::~RenderViewHostImpl() on browser main thread and the DClayerOverlayProcessor::~DCLayerOverlayProcessor() on viz compositor thread call the GpuSwitchingManager::RemoveObserver() at the same time. This causes the vector erase iterator outside range exception on Windows. It is a Windows specific issue because the DClayerOverlayProcessor is only available on Windows. Fixes: QTBUG-89408 Change-Id: I6ca9374221ea70073c6f7e0f8207f00351a42081 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Implement resourcesPrivate APISzabolcs David2021-10-0410-1/+450
| | | | | | | | | | | | This adds several things to PDF viewer: - Fixes zooming issues by providing preset zoom factors - Tooltip translations of the Web UI - Some configuration parameters - Eliminates a lot of errors from console log Task-number: QTBUG-90035 Change-Id: Id096f0daf494fcf19717b539c1fc5c8acd0137be Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Keep the close button when "undocked", as we can dock differentlyAllan Sandfeld Jensen2021-10-041-1/+1
| | | | | Change-Id: I6e3c3092941e0211faba2ba0d1ad99d6e25c50d3 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Add minimal webrtcdesktopcapture api for hangout services extensionPeter Varga2021-10-0417-22/+487
| | | | | | | | | | | | | The hangout services extension is required for meet.google.com. The extension is only able to capture the primary screen without audio with this fix. Change-Id: Ic5563ebe4e0b8f1e8bfa83ca0830f180281a1f8c Fixes: QTBUG-85731 Task-number: QTBUG-51185 Task-number: QTBUG-61676 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Allow the embedder to suppress an error page for http errorsKirill Burtsev2021-10-046-5/+6
| | | | | | | | Add missing initialization for a mojo message and check it even on successful navigation but with a http error. Change-Id: I8946b186b87ed4e62e84533a48f9734cab3a2c74 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix linking with gold linkerAllan Sandfeld Jensen2021-10-041-4/+4
| | | | | | | Threaded linking sometimes segfaults. Change-Id: I50299f2613e8ef6b9163914d12a2d28713e72fd9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Use color chooser if FormControlsRefresh is enabledPeter Varga2021-10-041-0/+4
| | | | | | | | With this, FormControlsRefresh doesn't break tst_Dialogs::colorDialogRequested() auto test. Change-Id: I9617458aac6837a9767d89f0bf964aeb2e0bfd7c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Legalize usage of X86 intrinsicsAllan Sandfeld Jensen2021-10-044-18/+18
| | | | | | | Do not rely on gcc/clang extensions. Change-Id: I32c60ea6d7ddb242deecfe36391e92a3768ab549 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add WebEnginePageRenderFrame mojo interfaceMichal Klocek2021-10-042-0/+9
| | | | | Change-Id: I227e5119d943938c07b386a85a24494a55acb5b9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add user script data mojo interface and traitsMichal Klocek2021-10-045-0/+294
| | | | | Change-Id: I13e2d365fd7c13e7aa18c2a5882fb71267fdcd60 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Refix quota for non-host based urlsAllan Sandfeld Jensen2021-10-042-2/+4
| | | | | | | We might consider dropping this for Qt6 Change-Id: I08259168f5fcc5c0346253ff24d89f4dedb6fcd2 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix build with older kernelAllan Sandfeld Jensen2021-10-041-0/+7
| | | | | Change-Id: I87c024bfda8032e3d2321b3a411e6df19517e845 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add qt static dependencies: qtzlibMichal Klocek2021-10-041-0/+20
| | | | | | | | | QtZlib is a part of QtCore, and we need also shim headers since v8 will refer to zlib in 3rdaprty. Task-number: QTBUG-87154 Change-Id: I85c063b77eacd8dafae59cc1ef2b391e3f7c1ce0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add qt static dependencies: qtlibjpegMichal Klocek2021-10-042-0/+16
| | | | | | | | | Most subprojects need jpeg shim headers, however pdfium does not require those. Task-number: QTBUG-87154 Change-Id: I9c41aa357f96ae28cc22031ddd3acf93a7f1dee6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add qt static dependencies: qtlibpngMichal Klocek2021-10-042-0/+12
| | | | | | | | | | | | Pdfium extensions can be compiled with system libpng or internal pdfium bundled libpng, which is different than chromium's third_party libpng (where shim headers are used). To keep changes to minimum update only pdfium third party build. Task-number: QTBUG-87154 Change-Id: I87668d2a8e45089193bc369e3c202440e398d68d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add qt static dependencies: qtfreetype, qtharfbuzzMichal Klocek2021-10-047-17/+50
| | | | | | | | | | | | | | | | | | | For static build of pdfium we need to take deps form qtbase, pdfium uses freetype, which needs harfbuzz, Update build for freetype and harfbuzz in third party, so code can be compiled with that headers. It seems if qtfreetype is used we no longer need harfbuzz dependency, but harfbuzz build changes are introduced for completeness. Note we are only interested in include path, since qmake is doing final link, otherwise lib_dirs can be passed in same manner. Task-number: QTBUG-87154 Change-Id: I46ade3cfe134d5102a941270fbb90a1fa455e46a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Allow us to set cookie_manager like android_webviewAllan Sandfeld Jensen2021-10-042-2/+1
| | | | | Change-Id: I83fad9f0fbd0f4227d73061af449d595b136636f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Reinstate the virtual accessibility Destroy()Allan Sandfeld Jensen2021-10-044-2/+9
| | | | | | | We need it for our integration. Change-Id: I34d4ebca8c9f984fe3eaf77b0654b07163764592 Reviewed-by: Michal Klocek <michal.klocek@qt.io>