summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.15' into devAllan Sandfeld Jensen2020-06-2929-324/+487
|\ | | | | | | | | | | | | Conflicts: src/src.pro Change-Id: I03c260ba676296f93d8137e79b46f3978f5f41ef
| * Initialize the extension bindings in g_driver_eglRomain Pokrzywka2020-06-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | This step is done in GLSurfaceEGL but missing in GLSurfaceEGLQt. The extension bindings in g_driver_egl are checked, among other things, when initializing DXVAVideoDecodeAccelerator, so we need them to enable hardware-accelerated video decoding on Windows with ANGLE. Change-Id: I6a650a0aafe3d4f870101d33d2117427c22304e7 Reviewed-by: Romain Pokrzywka <romain.pokrzywka@gmail.com> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Fix recentlyAudible signalAllan Sandfeld Jensen2020-06-231-4/+1
| | | | | | | | | | | | | | | | It is now emitted with a different enum flag value. Fixes: QTBUG-85118 Change-Id: Ic3e4807d451a0a53bda17e0b8d43d906cb315fc9 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Detect the presence of host node.jsAllan Sandfeld Jensen2020-06-232-0/+21
| | | | | | | | | | | | | | | | Allows building with or without it. Fixes: QTBUG-83729 Change-Id: I88d784e3230208e1268491c6ae0a4ebf1543aac8 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Update ChromiumAllan Sandfeld Jensen2020-06-231-0/+0
| | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty f5132764..91d9d3cb: > FIXUP: Build devtools modules with system nodejs > Build devtools modules with system nodejs > FIXUP: Make XScrnSaver optional > [macOS] Add CoreProfile to the valid configurations for GPU switching Change-Id: I635a1c82a023de182a2586cf3342e21e170e8a50 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Update ChromiumMichael Brüning2020-06-221-0/+0
| | | | | | | | | | | | | | | | | | | | Pulls in the following changes: 4e8ca195e4a Fix crash on run with blink setting DarkModeImagePolicy=kFilterSmart 3670a2bf53d [Backport] CVE-2020-6506: Insufficient policy enforcement in WebView Task-number: QTBUG-84406 Change-Id: I230720e35da30ef0d339840a03baf80d8ad9a774 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Fix compiler warnings in file_picker_controller.cppTamas Zakor2020-06-191-1/+1
| | | | | | | | | | Change-Id: I6d160f90e7693d15cb495d38788c57b47a1fe548 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| * Update ChromiumKirill Burtsev2020-06-161-0/+0
| | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 1f33565e..f5132764: * 342c9a71221 [Backport] CVE-2020-6475 1/2 * 2e9d7420741 [Backport] CVE-2020-6475 2/2 * f51327640e8 FIXUP: Fix crash in file-selector tests Task-number: QTBUG-84406 Change-Id: I4f71784fd60c1a4b5b093f87831f37213f60e3ee Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Update ChromiumMichal Klocek2020-06-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in changes: * 015b291414b [Backport] CVE-2020-6468 * b3742c1f45f [Backport] Security bug 1075907 * 675ccd3d7e0 [Backport] Security bug 1025302 * cbe73527af6 [Backport] Security Bug 1070012 1/5 * dc28ec4d3db [Backport] Security Bug 1070012 2/5 * 62806d1b0ef [Backport] Security Bug 1070012 3/5 * 96dbb8f6ecc [Backport] Security Bug 1070012 4/5 * 1f33565e67d [Backport] Security Bug 1070012 5/5 Task-number: QTBUG-84406 Change-Id: If330375a7d987dac751bec963c462a7487130256 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Update ChromiumMichael Brüning2020-06-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the following changes: * 5a257d8e5e2 Enable NativeThemeAura on macOS too * f21a77feb40 [Backport] CVE-2020-6467 * b5f7f2dc043 [Backport] Security Bug 1061933 * 3f5177bbb30 [Backport] Security Bug 1058515 * 71cbe89147d [Backport] Security Bug 1057369 * 915899195a3 [Backport] Security Bug 1056161 * 403c46ebedd [Backport] Security Bug 1051439 * 59102e31351 [Backport] Security Bug 1048619 Task-number: QTBUG-84406 Change-Id: If2ae8612e979d323e4fb7074a999a99f2082e28c Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| * Doc: Document issue with running in Docker environmentLeena Miettinen2020-06-151-1/+8
| | | | | | | | | | | | | | | | Fixes: QTBUG-80944 Change-Id: Ia77a46fbde89cada32183d9f7dc66c1dae1c7bb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit f92a4b3028f112616dedac892e379a13e3c53bcd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Add some info when project is misconfiguredMichal Klocek2020-06-122-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We support calling make on not configured properly qtwebengine and qtpdf. This avoids issues when there is no make file for top level build and user does not understand why. To do that we 'share' error messages between configure and make calls. However to avoid duplicating tests and error messages 'configure test conditions' have to match 'error messages' in support.pri. In case we miss some error message just ask for reporting the bug, instead of still trying to build the thing. Change-Id: I23320afa5174b5f33871c8cd8739ceea8e3a169d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Do not build on qnxMichal Klocek2020-06-122-5/+13
| | | | | | | | | | | | | | It seems that coin on qt5 merge tries to build qtpdf on qnx Change-Id: Ife42dbf0484b1f0151e9c487467898c5c2567c4a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Update ChromiumKirill Burtsev2020-06-101-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 7b4ef184..ec9c3b76: * ec9c3b76caa [Backport] CVE-2020-6490 * ad22f47c8ed [Backport] CVE-2020-6489 * 2633ca37468 [Backport] CVE-2020-6487 * b1bad8887df [Backport] CVE-2020-6486 * f4560c1d204 [Backport] CVE-2020-6483 * ea55d54f152 [Backport] CVE-2020-6482 Task-number: QTBUG-84406 Change-Id: Id47d6be9249610bf0287c2c7aad6b5d1f5136c0f Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Update ChromiumKirill Burtsev2020-06-091-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 7b2f027e..7b4ef184: * 7b4ef1845d8 [Backport] CVE-2020-6481 * 53a8f71a325 [Backport] CVE-2020-6480 * 55fd59d3f67 [Backport] CVE-2020-6476 * dad7ea2ac15 [Backport] CVE-2020-6474 * 5f6ef2ef4b9 [Backport] CVE-2020-6473 * 9b0f09682c6 [Backport] CVE-2020-6472 * 678c0786648 [Backport] CVE-2020-6471 * ef79dfc84c9 [Backport] CVE-2020-6470 * 404035be60e Fix compilation on arm with old glibc 2.17 * fb5b255f72b Fix VS2017 builds * e7480805907 Fix VS2017 builds * e8d83a96d2e [Backport] Fix DCHECK in ~ExtensionFunction(). * b1b3c56422b [Backport] Support Unicode non-characters in Change-Id: I8e681f8d63531ac81ef4fee61d453b77ec311824 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix build with --no-build-qtpdf --no-build-qtwebengine-coreMichal Klocek2020-06-071-2/+2
| | | | | | | | | | | | | | | | | | Add missing checks after 7906b030d, we report configure issues only when build was not explicitly disabled. Fixes: QTBUG-84707 Change-Id: I8da216b7e3202edc1306e2288dd9960a4ec687c0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Split errorChecks for webengine and pdfMichal Klocek2020-06-035-98/+216
| | | | | | | | | | | | | | Separate error checks, so qtpdf can have own dependencies. Change-Id: I9e538b875fe67448497f10dcd45c83782d98da2d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Update devtools loadNetworkResource to match latest ChromiumAllan Sandfeld Jensen2020-06-031-5/+21
| | | | | | | | | | | | | | Adds handling of file and webui schemes. Change-Id: Idd9f7dd79cc7b327dab789e369baf00772820cc6 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
| * Clear previous values from UserScript::parseMetadataHeaderJüri Valdmann2020-05-291-0/+5
| | | | | | | | | | Change-Id: I80592eb6a2bc49cc6366725c77d385827619f6e5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Delete unused methods in UserResourceControllerHostJüri Valdmann2020-05-292-21/+0
| | | | | | | | | | | | | | Delete registeredScripts and containsUserScript. Change-Id: I0697098c55e5bcad2e0f37b325c0611e3802155a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Add missing dependency on quota_internals resourcesAllan Sandfeld Jensen2020-05-291-0/+1
| | | | | | | | | | | | | | | | Needed by quota_internals.cc Fixes: QTBUG-84557 Change-Id: I428f8a95617aa1019468d80405e821f9a9e7f28f Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| * Minor. Update error checks in windows.priMichal Klocek2020-05-291-2/+2
| | | | | | | | | | | | | | These are also used by QtPdf. Change-Id: Ia8527c9c6bd6fe682cd79d3e980838388d0dcdc9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Add static linking for qpdf for all platformsMichal Klocek2020-05-292-2/+1
| | | | | | | | | | Change-Id: Ie222d56c52f5ca474809b2bc864618e5b3e9a1f2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Move sanitizer to buildtoolsMichal Klocek2020-05-282-20/+16
| | | | | | | | | | Change-Id: I1531199bb15b9d05e5c017d14fce07d39625cafe Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Move arm-thumb feature to buildtoolsMichal Klocek2020-05-284-14/+14
| | | | | | | | | | | | | | | | | | Share arm-thumb setting between pdf and webengine. Move webengine-embedded to webengine since it is not used by pdf. Change-Id: Id23888423af7a37a3b3aa06e40dc0359fb90724b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Remove duplicated feature webengine-ozone-x11Michal Klocek2020-05-282-10/+3
| | | | | | | | | | | | | | This feature is already in buildtools. Change-Id: Iff5d5cc4b72b29b850e8e4cb11b90251916ed9c7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Move pdfium zlib and png configs to buildtoolsMichal Klocek2020-05-282-8/+9
| | | | | | | | | | | | | | | | Adjust config so we use pdfium in webengine not only with printing. Change-Id: I1c4b263e89a993bde84b92872a5ad1d6d48cedbb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Split gn args for pdf and webengineMichal Klocek2020-05-2813-144/+151
| | | | | | | | | | | | | | | | | | Currently we run gn with same sets of arguments for pdf and webengine. Split those so we can make fine grain configuration and drop some requirements. Change-Id: I40890b5475dddadd0798ea091ca5e7143fd952b3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Add missing checks to configureMichal Klocek2020-05-282-8/+16
| | | | | | | | | | | | | | | | | | | | During tossing wip-qtpdf across 5.14 and 5.15 some checks got skipped. Fix configuration. We share error messages between configure and make steps. Change-Id: I15e4a66adc62f06c403487c8a4eb8925ce260447 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add ; to Q_UNUSEDLars Schmertmann2020-06-278-14/+14
| | | | | | | | | | | | | | | | This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: Id948c173695923a1ea83a2098bafc10cfd4dc22b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Rename ShareGroupQtQuick to ShareGroupQtJüri Valdmann2020-06-222-10/+10
| | | | | | | | | | | | | | It's not really QtQuick specific. Change-Id: I34840004837495154876d38c7c1c994c11ace9ad Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Delete CompositorResourceJüri Valdmann2020-06-221-123/+0
| | | | | | | | | | | | | | Leftover from deleting old compositor Change-Id: I514462eacf3a29a5ed161f2e93d73bec9c2a804d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Delete QSG video node classesJüri Valdmann2020-06-225-732/+2
| | | | | | | | | | | | | | Leftovers from deleting old compositor. Change-Id: I9eb5a707f594f2355512ad2c585efc0a1ee3720a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Refactor RenderWidgetHostViewQtPeter Varga2020-06-1713-1088/+1281
| | | | | | | | | | | | | | | | Make RenderWidgetHostViewQtDelegateClient class instantiable and remove its implementation from RenderWidgetHostViewQt. Change-Id: Idcad3a805defe8b910f418b91f14808b6dbf083b Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Doc: Document issue with running in Docker environmentLeena Miettinen2020-06-121-1/+8
| | | | | | | | | | | | | | Fixes: QTBUG-80944 Pick-to: 5.15 Change-Id: Ia77a46fbde89cada32183d9f7dc66c1dae1c7bb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Delete old compositor and remove --disable-viz-display-compositorJüri Valdmann2020-06-0816-2600/+73
| | | | | | | | | | Change-Id: I1b056a61e2b56b19441f559e97f785c87df61a0c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge remote-tracking branch 'origin/5.15' into devAllan Sandfeld Jensen2020-05-2818-102/+159
|\| | | | | | | Change-Id: I40d9ae90a4ea82c6242f5d0a1665af3856ad2f0b
| * Update ChromiumAllan Sandfeld Jensen2020-05-261-0/+0
| | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 62364782..7b2f027e: > FIXUP: Qt GN integration > FIXUP: Fix url_utils for QtWebEngine > FIXUP: Fix build with GCC 10 > [Backport] Remove soon-to-be removed getAllFieldPositions Change-Id: Ic05c43566816750aee82e84f3938dbd68a874517 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Delete unused function editorActionForKeyEventJüri Valdmann2020-05-253-25/+0
| | | | | | | | | | | | | | Change-Id: I5fe08380e297cdf8138df0b49b3c82e741f54dd1 Pick-to: 5.15 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 3472641433d0adab3caea008f047aac9637828c4)
| * Fix resource look-up for pdf viewer in Chromium 80Allan Sandfeld Jensen2020-05-251-2/+17
| | | | | | | | | | | | | | | | | | We need to be able to recognize generated resources as well. Task-number: QTBUG-84340 Change-Id: Ib0a783a681c349c05972c0c67e2f0cf20d1c99c4 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| * Fix scrollbar when releasing mouse button outside of window on WindowsPeter Varga2020-05-252-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When releasing mouse button outside of window on Windows, an extra QEvent::Leave is sent before the QEvent::MouseButtonRelease. This extra Leave event resets the pointer to the last interacted scrollbar (last_scrollbar_under_mouse_) in Chromium. Leave events should not be sent until the last mouse button is released. Fixes: QTBUG-70437 Pick-to: 5.15 Change-Id: Ibf28b3ca0fd82feb5abf91ec851d92db0a8657f0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 6eadb2f2588b240b5fcda38e1f68a49a4690eb6b)
| * Fix crash on WebContentsDelegateQt::CloseContents()Peter Varga2020-05-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CloseContents() triggers a windowCloseRequested() signal. The handler of the signal might close the QWebEngineView and it would result the destruction of the WebContentsDelegateQt. Thus, any operation on WebContentsDelegateQt is not safe after a WebContentsAdapterClient::close() call. For example, calling QWebEngineView::close() on QWebEnginePage::windowCloseRequested() would result crash because it sets life cycle state to discarded which destructs web contents. Fixes: QTBUG-84355 Change-Id: I5da404bc9b1923cc19085ee899b550da49d1416b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix path validation in FilePickerController::accepted()Tamas Zakor2020-05-201-18/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | In some cases QUrl::toLocalFile() does wrong path conversion on Windows. Therefore we have to convert the file URL to absolute path in another way and use FilePath::IsAbsolute() for validating that. Also stabilize WebEngineViewSingleFileUpload tests. They didn't wait for html title change when the expected value was the same as the default title. Change-Id: Ica7798a299f9b28657afeeccccfba3fdecc515e2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Add support for clearing the feature requestAllan Sandfeld Jensen2020-05-208-27/+68
| | | | | | | | | | | | Task-number: QTBUG-83476 Change-Id: I63ad9801e3e97f7fdac959600c69c04d0105be1f Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
| * Document abiltiy to set QTWEBENGINE_CHROMIUM_FLAGS from within appFredrik Orderud2020-05-201-0/+3
| | | | | | | | | | | | | | | | | | | | Using qputenv worked fine for setting this env. variable on Windows, whereas SetEnvironmentVariable did _not_ work, wchich is kind of strange. I therefore want to document this. Task-number: QTBUG-84105 Change-Id: Icf40649910408ed1b5144e26efd95030b5ade97b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Add NetworkServiceInProcess feature documentationFredrik Orderud2020-05-201-0/+5
| | | | | | | | | | | | Task-number: QTBUG-84105 Change-Id: I7d265c8319850bd32b4525bf0e2453fc35bbfa6e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Remove QNX dead-codeAllan Sandfeld Jensen2020-05-153-48/+1
| | | | | | | | | | | | | | Hasn't compiled in many years Change-Id: I754fc5fee5c2fff51fb3b701fa81afbed7f60b8b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Fix conflict warning when running qmake on gn_runMichal Klocek2020-05-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since e75aed1a96e in base we have now new check for conflicting 'targets' when doing debug_and_release builds and generates a warning: Targets of builds 'Release' and 'Debug' conflict: gn_run. Some people are unhappy about it (me), therefore make workaround to suppress this warning. Most likely there is better way to fix it. Change-Id: Ia9dd3e2418c49097acf52ae3a0a6deae57365999 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Allow to set feature permission before first ever navigationKirill Burtsev2020-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since PermissionManagerQt functions independent of webcontents initialization, permission installment may be done earlier (right after page base constructor). Practically, this allows to grant/deny permission before first ever navigation to avoid permission feature request from well-behaving web application. Unfortunately, this only applies to Web Notifications: there is a way to check without request: Notification.permission javascript static object. Other supported features lack similar mechanism: they operate through success/failure callbacks, which unconditionally invoke permission requests, and Page/View API doesn't automatically answer with remembered permissions. Task-number: QTBUG-83476 Change-Id: I63a3cbca25498d5026975073e125f2ab4f9ab2ad Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Reuse switch from service_managerMichal Klocek2020-05-141-5/+3
| | | | | | | | | | Change-Id: I71b38064f8ef743440b4542add5d329df5843627 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>