summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove QQuickWebEngineFormValidationMessageRequestAllan Sandfeld Jensen2021-07-074-164/+0
| | | | | | | | Has been deprecated and non functional for years. Pick-to: 6.2 Change-Id: I77966c00e2aaa5828bb276e9647b5ba38b99c81a Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Remove deprecated useforglobalcertificateverificationPeter Varga2021-07-0610-171/+0
| | | | | | | | | | | | It enabled an unrecommended OCSP path on Linux [ChangeLog] (Q)WebEngineSettings::useForGlobalCertificateVerification has been removed. Pick-to: 6.2 Task-number: QTBUG-91467 Change-Id: I9f5d1ad5e4fcb59abd31e6a133ded7bf8319c811 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Restore WebEngineNewViewRequest::openIn methodAllan Sandfeld Jensen2021-07-068-21/+174
| | | | | | | Pick-to: 6.2 Change-Id: Ib765970d4c57f742a53cd4d2c870b00628d527aa Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Support more than one flag in env var NINJAFLAGS for subprojectKirill Burtsev2021-07-021-1/+3
| | | | | Change-Id: I2c854a0e6981cfc8a887fcbcfa5a738cd3d2f5d9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix build with system ICU libraryKirill Burtsev2021-07-021-23/+10
| | | | | | Pick-to: 6.2 Change-Id: Ic4c3a0f2a187d25c92b76e06f9c5764cafc1e5a9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Cancel favicon requests explicitlyAllan Sandfeld Jensen2021-07-021-0/+1
| | | | | | | | Better to do it before we invalidate the profile. Pick-to: 6.2 Change-Id: I2448bc522a973d26cb51aebe2f413bf30ca3edef Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Remove QRC->file special caseAllan Sandfeld Jensen2021-07-013-22/+1
| | | | | | | | It was marked as to be removed for Qt6 Pick-to: 6.2 Change-Id: I059c450aa6e5cad6d48ecdd2667abff21217d7e0 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix enums access in qml for api typesKirill Burtsev2021-07-011-1/+19
| | | | | | | | | | Add missing namespace qml registration for WebEngineLoadingInfo, CertificateError Pick-to: 6.2 Change-Id: I154070df3ab685b36d000cdfc064a074d002afc0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Doc: Fix documentation issues for Qt WebEngineTopi Reinio2021-07-0128-149/+105
| | | | | | | | | | API and documentation changes since 5.15 caused multiple warnings from QDoc; this change addresses most of them. Some warnings indicate missing documentation, those issues still remain. Pick-to: 6.2 Change-Id: I96be38b7daac37a7e35c149b4b3ec3f18c4415c9 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Fix docs since 6.0 references for new apisKirill Burtsev2021-07-013-6/+6
| | | | | | Pick-to: 6.2 Change-Id: I2d9cf4fffda1ad614388844781ac4fece15dde0d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Remove Quick Controls 1 UIDelegates and introduce UIDelegates testBalazs Egedi2021-07-0131-841/+256
| | | | | | | | | | | - Renamed Controls2Delegates to ControlsDelegates - Removed option to use Quick Controls 1 delegates - Added test to check if controls are shown Task-number: QTBUG-93666 Change-Id: Iccca948615309285db7fc57d14fb1cdcdef28051 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Pass compiler wrapper to GNAllan Sandfeld Jensen2021-06-301-0/+3
| | | | | | Pick-to: 6.2 Change-Id: I1ce6e9d0e03bb780f85636865e15552ac28876fa Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix issues with missing headers for topLevel buildsMichal Klocek2021-06-291-15/+0
| | | | | | | | | | | | | | Sync script is run by topLevel build during first configure phase. Move sync.profile to module root dir, and run sync script twice during the topLevel builds. This will work since sync script will look up in parent directory for sync.profile for libs external build. Fixes: QTBUG-94343 Fixes: QTBUG-94709 Task-number: QTBUG-94702 Pick-to: 6.2 Change-Id: Icb80d9248ee4611317ab0fba9aa988f8e5ee8073 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable jumbo-builds for windowsAllan Sandfeld Jensen2021-06-291-7/+2
| | | | | | Pick-to: 6.2 Change-Id: I08c702aadce949d3dce6e081476978bb8dcbee32 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add checks for xrandr and xdamageAllan Sandfeld Jensen2021-06-281-0/+7
| | | | | | | Pick-to: 6.2 Fixes: QTBUG-94759 Change-Id: Ie9a8fffc93fdf5564959965baae1ef9391f3307c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromumMichal Klocek2021-06-281-0/+0
| | | | | | | | | * 8c0140aa607 Fix missing deps for extensions api * ab55fde35ec Fix jumbo builds for windows Pick-to: 6.2 Change-Id: I38367152a5f381dafd70f848bc452a177718b822 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Doc: Fix broken linkPaul Wicking2021-06-251-1/+1
| | | | | | | | | | | | According to the Internet Archive Wayback Machine, this link was redirected to https://developers.google.com/web/tools/chrome-devtools/debug/console/ already back in 2016. That URL now redirects again. Update the \externalpage accordingly and fix a 404 broken link. Pick-to: 6.2 Change-Id: I6185c4c777bd891aeca409a155de4c8cab84994c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make default profile off the recordMichal Klocek2021-06-253-6/+2
| | | | | | | | | | | | | | | Make default profile otr, this prevents accessing data cache which could be created by older other version of Chromium. Allow to register a protocol handler on ort profile. [ChangeLog][QtWebEngineCore] Default profile is off-the-record Off-the-record profile can have registered protocol handlers. Task-number: QTBUG-66068 Pick-to: 6.2 Change-Id: Ief202de5c6734d293cb64d83ad447b1eba19e9a4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix crashes on profile clearHttpCacheMichal Klocek2021-06-251-0/+6
| | | | | | | | | | | | | | | | | | | Destorying profile while clearCahceHttp is running ends badly. Fix issue reported by address sanitizer: ================================================================= ==561623==ERROR: AddressSanitizer: global-buffer-overflow on address .... #0 content::BrowserContext::GetBrowsingDataRemover(content::BrowserContext*) #1 QtWebEngineCore::ProfileIODataQt::removeBrowsingDataRemoverObserver() #2 QtWebEngineCore::BrowsingDataRemoverObserverQt::OnBrowsingDataRemoverDone(unsigned long) #3 ontent::BrowsingDataRemoverImpl::~BrowsingDataRemoverImpl() #5 std::default_delete<base::SupportsUserData::Data>::operator()(base::SupportsUserData::Data*) =================================================================== Pick-to: 6.2 5.15 Change-Id: Ic021a5e4a0a841f3528cd77952493f4a627b81a6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add sanitizer to cmake buildMichal Klocek2021-06-251-0/+18
| | | | | | Pick-to: 6.2 Change-Id: Ia88bb23bbefcaef12a3140a62464cda47c24cd73 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Switch printToPdf to std::functionAllan Sandfeld Jensen2021-06-243-10/+13
| | | | | | Pick-to: 6.2 Change-Id: I2660e60665542681bc9b0a479ce7fd9d93b896ae Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix C++ documentation references to QtWebEngineQuickAllan Sandfeld Jensen2021-06-232-3/+3
| | | | | | Pick-to: 6.2 Change-Id: Ic43fb3fb8c5e12fd14b19979749a2f1d5015644a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix module specified for moved classesAllan Sandfeld Jensen2021-06-234-17/+3
| | | | | | Pick-to: 6.2 Change-Id: Iad93680dd0811086c481d9bf8adb298f663bdfa4 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Use new qml registration system and new qml cmake apiMichal Klocek2021-06-2325-2025/+348
| | | | | | | | | | | | | | | | | To be able to use the new qml cmake api, which can also now generate plugin stubs and do the metatype registration, a project has to use specific project file structure, otherwise the meta type registration generator will fail to include properly headers. Shuffle a bit file locations for test_support and change how qml modules are built. We still need to keep plugin.cpp for ithe quick module plugin, because we use image providers and this requires the qml engine instance to register. Pick-to: 6.2 Change-Id: I083b58dac4edc586efca9fae821e5ea645cc2092 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Try re-enabling sandbox on WindowsAllan Sandfeld Jensen2021-06-231-3/+0
| | | | | | | Pick-to: 6.2 Fixes: QTBUG-88105 Change-Id: Ib694736996d6abb6b43f0cf7a5ba010bef76fe33 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix some translated messagesFriedemann Kleint2021-06-232-2/+6
| | | | | | | | Give messages a context and use placeholders for arguments. Pick-to: 6.2 Change-Id: Ib07f74f6c9f0024c2851b3e4f2093f980115244d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumJüri Valdmann2021-06-221-0/+0
| | | | | | | | | | | | | This pulls in the following changes: 2dcf8209da0 FIXUP: Use ui::Compositor (3rdparty) b66c489188e FIXUP: Use ui::Compositor (3rdparty) bcafeb81bc9 FIXUP: Stop using C++20 initialization 39e02adb989 Enable in-process vulkan Pick-to: 6.2 Change-Id: Ie1e0478f9ac0d5985e9391c0042d9d86a705c6d0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add DisplaySkiaOutputDevice for skia-on-gl renderingJüri Valdmann2021-06-225-3/+391
| | | | | | Pick-to: 6.2 Change-Id: Ia855e60e74f79a5750e68f2b97ccba1e747a3ef6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Refactor how frame sink id is passed to OutputSurfaceJüri Valdmann2021-06-224-17/+14
| | | | | | | | | Use dedicated method viz::OutputSurface::SetFrameSinkId instead of getter on Display. Needs corresponding 3rdparty change. Pick-to: 6.2 Change-Id: I3cfdde56ae1e6204714881c2bdcb688bdbae1dc1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add QPageRanges to PDF printingAllan Sandfeld Jensen2021-06-227-22/+60
| | | | | | | Pick-to: 6.2 Task-number: QTBUG-73497 Change-Id: I0a66c4f1767c54b0bcc9f9a3b61e29c43ec20177 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Remove left-over deprecated API QWebEngineProfile::setRequestInterceptor()Friedemann Kleint2021-06-211-3/+0
| | | | | | | | It causes a link error in the Python bindings. Pick-to: 6.2 Change-Id: I4a21e8dad85bc0aa385fa94f7e4594d701426d66 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add page() and view() back to download-itemAllan Sandfeld Jensen2021-06-2111-30/+176
| | | | | | | | Restores a QML type but this time derived from the core type. Pick-to: 6.2 Change-Id: I09ddb6672f7262ae31e4c57f09d019f71abccd41 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
* Port qqc2 delegates to Qt6 and cmake buildMichal Klocek2021-06-2011-54/+88
| | | | | | | | | | | | | | | It seems that dialogs in qqc2 are still not native windows, but embedded qquickitems. We used qqc1 dialogs so they look good on desktop and behave like dialogs. With Qt6 qcc1 are gone, therefore switch dialogs to qqc2. Unfortunately they no longer behaves as dialogs (controls are just placed in the middle of a parent window), but still it is better than nothing. Pick-to: 6.2 Task-number: QTBUG-93666 Change-Id: I282ac9c8228eb0bfeefce9b8ef4f657f02a597e7 Reviewed-by: Balazs Egedi <egedib@inf.u-szeged.hu> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Add 'testsupport' to cmake buildsMichal Klocek2021-06-194-2/+31
| | | | | | | | | This enables running more tests. Fix issues with tst_qquickwebengineviewgraphics. Pick-to: 6.2 Change-Id: Ib223b4e723a7192c18202e8d5dd65d83872f3336 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add API for favicon databasePeter Varga2021-06-1811-38/+434
| | | | | | | | | | | | [ChangeLog][QtWebEngineCore][QWebEngineProfile] Add new API to access icon database asynchronously. [ChangeLog][QtWebEngineQuick] image:/favicon/ URLs now can be used to access icon database. Pick-to: 6.2 Task-number: QTBUG-51184 Change-Id: I6096ad9a4210670ed59458c4fa099a02595e8a1e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2021-06-181-0/+0
| | | | | | | | | | | Submodule src/3rdparty 9e5e3189..9b19802a: > Add media:media_buildflags to public dependencies Fixes: QTBUG-94572 Change-Id: I77c8f67683447ac14e07392a4b1e5e71c45e2a5c Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 88ae3d6d3ca37270bd4b3e8bb25cd7830e948be7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix clang-cl buildsAllan Sandfeld Jensen2021-06-171-3/+10
| | | | | | Pick-to: 6.2 Change-Id: I57d3c057e076445f902da509655728cb20a4a18b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Switch QWebEngineCallbacks in QWebEnginePage to std::functionAllan Sandfeld Jensen2021-06-177-46/+71
| | | | | | Pick-to: 6.2 Change-Id: I5b0c1c7ef0966c3cff79184aa0733b59208d6890 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Clean up header includes and friend classes in corePeter Varga2021-06-177-55/+30
| | | | | | Pick-to: 6.2 Change-Id: I394821d57a9cf379869d3611996c8394fbc6c60e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix QWebEngineQuick namespace for webenginequick moduleMichal Klocek2021-06-1524-44/+45
| | | | | | | | | | | This is followup change for QtWebEngineQuick rename. [ChangeLog][QtWebEngineQuick] Use namespace QtWebEngineQuick QtWebEngine::initialize() is now QtWebEnigneQuick::initialize() Pick-to: 6.2 Change-Id: I90acab04ff0240b399a863c88eff915efa360f6f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add basic USB device loggingPeter Varga2021-06-157-0/+205
| | | | | | | | | | The log is available on the chrome://device-log WebUI. The logging depends on the WebUSB feature and it is disabled by default. Use --enable-features=WebUSB to enable it. Change-Id: Idcbdfa42db3b5a5851abbd3e8d877d69c2d9796a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Implement dialogs of File System Access APISzabolcs David2021-06-157-20/+331
| | | | | | | | | | | | | Dialogs triggered by window.showOpenFilePicker() or window.showDirectoryPicker() needed different implementation than regular file picker dialogs. Since the end-users can't distinguish between HTML file picker dialogs and these file system access dialogs, we can just use the existing file picker WebEngine API and UI delegates. Task-number: QTBUG-92519 Pick-to: 6.2 Change-Id: Ib1624f80603c4042803303274ba45d864ecb371c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable native arm64 builds on macOSMichael Brüning2021-06-141-0/+6
| | | | | | | | | Chromium builds on arm are still experimental, but we want to enable them in the CI in order to see when things break. Pick-to: 6.2 Change-Id: I9e37fd97eb5a3dc680dc16404c22b97f780b4b9f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add spellchecker support and qwebengine_covert_dict to cmakeMichal Klocek2021-06-145-26/+57
| | | | | | | | | Add spellchecker dictionary conversion tool. Change scope of gn object imported variables to function scope. Pick-to: 6.2 Change-Id: Ice579a89e20b80034b675e7f767a774100478472 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Clean up runAlways targetMichal Klocek2021-06-141-3/+5
| | | | | | | | | | | After refactorings this can be now simplified and fixes windows warnings about target duplication when multi config is used. Remove extra target and leave as command output, which is never created. Pick-to: 6.2 Change-Id: I4930e9309a639e8853ba9f6c03ee51bc71ade5c6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add back the rest of the lost printing documentationAllan Sandfeld Jensen2021-06-111-2/+44
| | | | | | Pick-to: 6.2 Change-Id: I35a4857d873559403d0574a69c59b4fd1e9a952f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Move printing finished callback to signalAllan Sandfeld Jensen2021-06-112-10/+47
| | | | | | | | | | | We can only have one printer active at a time anyway. At the same time restore some lost documentation. Pick-to: 6.2 Task-number: QTBUG-63235 Change-Id: I454ef3fb038712c832e73c661120fbbe77b3a90c Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Make Proprietary Codecs feature visible in config.summaryPeter Varga2021-06-101-0/+1
| | | | | | Pick-to: 6.2 Change-Id: I3cb466dd2a0f2e26b83db968113cd5b398b45727 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix some compiler warningsPeter Varga2021-06-105-23/+25
| | | | | | | | | | | | | - Remove deprecated Qt::AA_EnableHighDpiScaling and Qt::AA_UseHighDpiPixmaps from examples. High-DPI scaling is always enabled. - Reorder initialization of members of QWebEngineDownloadRequestPrivate. Also remove m_ prefix from public members' name. - Remove unused parameters from methods of DummyDelegate. - Add missing overrides in auto tests. Pick-to: 6.2 Change-Id: I18d6973b8bee574b37b73fbaaa8d57002ac8ba2d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Replace Q_NULLPTR and pointer 0 with nullptrAllan Sandfeld Jensen2021-06-1012-19/+19
| | | | | | Pick-to: 6.2 Change-Id: Ifd7acf49b22be1532ba98371982af4b14f08e6fc Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>