summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix WebEngineView flashing when closing popupPeter Varga2019-09-101-1/+1
| | | | | | | | | | | | Closing a popup (eg. HTML select element) might cause WebEngineView to flash on macOS. This seems to be related to the window's NSPanel destruction and seems to appear only if the Qt::ToolTip window flag is set. Fixes: QTBUG-77072 Fixes: QTBUG-78084 Change-Id: I72af67ee97304278870b312482f8f9058ecd1233 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix doc of QQuickWebEngineSettings::fullScreenSupportEnabledJüri Valdmann2019-09-091-1/+1
| | | | | | Fixes: QTBUG-78091 Change-Id: I65c8c39625955782c157b6360f92aa3a7e1c8c1b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Update ChromiumMichael Brüning2019-09-051-0/+0
| | | | | | | | | | | This pulls in the following change: ca4dd6567c0 Fix iterating when erasing last element from task queue 0240cfc1a59 [macOS] Rename Chromium bootstrap name to prevent collisions Change-Id: I201516009705580ce232c8948ff0861f50860a67 Fixes: QTBUG-77938 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.13.1' into 5.13Qt Forward Merge Bot2019-09-051-1/+3
|\ | | | | | | Change-Id: I23368e20be22e833368818008e741e1f0d2cfb4a
| * Doc: Mention QML API for client certificatesKai Koehne2019-08-181-1/+3
| | | | | | | | | | | | | | | | | | WebEngineView.selectClientCertificate is new API in Qt 5.13. Add a link to the signal in the 'Client Certificate' section of the 'Qt WebEngine Features' page. Change-Id: Ie347973d8f9657870e975adde089e3d9d0abd6d4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix invalid url on profile changeMichal Klocek2019-09-041-3/+1
| | | | | | | | | | | | | | | | If adapter is initialized use always active url. Fixes: QTBUG-77977 Change-Id: Ie8d4ec7d7c703322cef50d26931cce2b130dcf34 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix broken jpeg includesMichal Klocek2019-09-031-3/+15
| | | | | | | | | | | | | | | | | | In Chromium 67 use of system jpeg is by default. Fix our configure. Fixes: QTBUG-77827 Change-Id: I6319f0fab9983d63c733a9723847ad793141e073 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add doc's cross-references for web notification example and api methodsKirill Burtsev2019-08-292-2/+12
| | | | | | | | | | Change-Id: If5a2d6a15a282a83e47e2bfb3d7e1a2a7c9a50fa Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Add missing doc for WebEngineNotification QML typeKirill Burtsev2019-08-291-4/+73
| | | | | | | | | | Change-Id: I3090b7cbbb9b913f147aaba8f39cefcd41e30d46 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Update ChromiumJüri Valdmann2019-08-261-0/+0
| | | | | | | | | | | | | | | | | | | | | | This pulls in the following changes: 74e69da92d0 Fix build with recent linux kernel. 32e459f495d Restore -fno-delete-null-pointer-checks Fixes: QTBUG-77671 Change-Id: I91987ac792179b77ffa312a9d6d40767b6fdbd57 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix QWebEnginePage visibility stateJüri Valdmann2019-08-202-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling view.show(); view.load(...); view.hide(); results in a WebContents in visible state because the first call to show() is delayed via a timer and never canceled so it takes effect after the hide(). Also, the page's visibility state is not updated when changing views, so that a visible QWebEngineView can be set to display a hidden QWebEnginePage. Fixes: QTBUG-77209 Change-Id: I0243c659f4039a35c36e04ea55c5972666170fd0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Skip qtwebengine for -no-gui build (also in the configure system)Liang Qi2019-08-111-0/+1
|/ | | | | | | | | | This amends 26ac59af2306 and cb265ff630fd. Task-number: QTQAINFRA-2576 Task-number: QTBUG-75465 Change-Id: I2953222d2094f4f7a8570844b29426314e8f6279 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-08-119-17/+30
|\ | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: I64b46801bbaac4e96e32fece30f24f1d6cfc97a4
| * Update ChromiumMichal Klocek2019-08-051-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * f7765bc8 [Backport] Security bug 959518 * 3b775d71 [Backport] CVE-2019-5842 * 05e857bc [Backport] Security bug 934161 * a57309fa [Backport] Security bug 950005 * b0859392 [Backport] Security bug 948172 Task-number: QTBUG-76207 Change-Id: I54fb67a97564b24f34c58b93b048b347f01dc306 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Update ChromiumMichal Klocek2019-08-041-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * 7a9ec163 [Backport] Security bug 962083 * 7242b69e [Backport] Security bug 948944 * a0218a0c [Backport] Security bug 952849 * 3d7891fd [Backport] Security bug 956625 * 7b993cc6 [Backport] Security bug 958457 Task-number: QTBUG-76207 Change-Id: I5753e64d396098a481da8d06a47560e4ba46bfb1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Update ChromiumMichal Klocek2019-08-041-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * c5c158eb [Backport] Security bug 958689 * a33c416a [Backport] Security bug 959193 1/2 * e339bd3a [Backport] Security bug 959193 2/2 * 44d5ec60 [Backport] Security bug 961597 * 33647d6f [Backport] Security bug 939644 * dd0c0a92 [Backport] Security bug 948228 Task-number: QTBUG-76207 Change-Id: I4ba94d0ee4fac31ea36688dcfa5d12905c9ec5f2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix tooltip text wrappingTamas Zakor2019-07-252-4/+6
| | | | | | | | | | | | | | | | Also set the hiding delay to a reasonable time. Fixes: QTBUG-76122 Change-Id: Id971edbd9fb87cc96df53f73f2e7c61bde5855ef Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix use-after-free of HostResolverJüri Valdmann2019-07-242-1/+3
| | | | | | | | | | | | | | | | | | Create one HostResolver per profile to avoid use-after-free in NetworkHintsMessageFilter (5.12) or NetworkContext (5.13). Fixes: QTBUG-75884 Change-Id: Ic1a2973b4fb0aed6bd0fa1bb9a1d7c3012c30fe0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Update ChromiumMichal Klocek2019-07-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * 0a0221c [Backport] CVE-2019-5839 * 3c46be6 [Backport] CVE-2019-5837 4/4 * c23cb87 [Backport] CVE-2019-5837 3/4 * f123d13 [Backport] CVE-2019-5837 2/4 * 10d98e6 [Backport] CVE-2019-5837 1/4 * 8ffc041 [Backport] CVE-2019-5832 * a97fa0a [Backport] CVE-2019-5831 * ec89d97 [Backport] CVE-2019-5829 * 2323dc9 Fix segfaults with arm 32bit on metrics * 6f3c15d Bump V8 patch level * e8eec84 Fix changing should_override_user_agent_in_new_tabs_ Task-number: QTBUG-76207 Change-Id: Ifc6b76ae4b253a7ea385398bfdc1bc0fcf699de7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Doc: Edit docs on script injectionLeena Miettinen2019-07-226-12/+21
| | | | | | | | | | | | Task-number: QTBUG-76489 Change-Id: If489ebed802d273b0015bc6cfc190d948c4896e3 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Update ChromiumJüri Valdmann2019-08-111-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pulls in the following changes: debc89cea4a [Backport] Security bug 983938 7484a0e17c5 [Backport] Security bug 976050 e09d1685cf8 [Backport] Security bug 983850 9c5334f1f28 [Backport] Security bug 973893 ca5bf18a297 [Backport] Security bug 962572 584f32bc179 [Backport] Security bug 958717 e12bb8bc570 [Backport] Security bug 960785 c154632fe57 [Backport] Security bug 981602 eef31f32a0f [Backport] CVE-2019-5862 1/3 d21bb66a280 [Backport] CVE-2019-5862 2/3 d464ddd6145 [Backport] CVE-2019-5862 3/3 eff881a3db6 [Backport] CVE-2019-5865 bf87ae53c67 [Backport] Security bug 974627 ea463a17641 [Backport] Security bug 961674 65c74dd3316 [Backport] Security bug 964002 Change-Id: I747053373e105d6fe9bfe05f449e18ed6902ca70 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Update ChromiumMichal Klocek2019-08-111-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * 35913278 Unify check for InputMethodAuraLinux * 989a5679 [Backport] Critical security issue 977057 * 687e6c44 [Backport] CVE-2019-5851 * bf972a73 [Backport] CVE-2019-5855 * aa6c4f95 [Backport] CVE-2019-5854 * 7ca59fb6 [Backport] CVE-2019-5857 * d5af7c80 [Backport] CVE-2019-5852 * 56013319 [Backport] CVE-2019-5861 * bfbde31f [Backport] CVE-2019-5856 * c8757fe0 [Backport] CVE-2019-5860 * 57865260 Backport fix for building ICU with VS2019 Fixes: QTBUG-77304 Task-number: QTBUG-77266 Change-Id: Ib03403030da4accd435a3e5ee7182e05dc8a2cf9 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* | Fix file URI checks for FilePickerController::accepted() on WindowsTamas Zakor2019-07-311-4/+19
| | | | | | | | | | | | | | Extend auto tests with windows specific cases. Change-Id: I731cd520c12a38636a5df4829a79d7bd1d85a314 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix compilation against 5.9Michal Klocek2019-07-315-4/+17
| | | | | | | | | | Change-Id: Icfe50ba5c60a6e2e588af6cdc07500013b6df9a1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Lower requirement for glibc to 2.17Michal Klocek2019-07-292-1/+1
| | | | | | | | | | | | Fixes: QTBUG-77171 Change-Id: I9eb5a34adbc62c8738ba5ffdf315ccf056da7b98 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumMichal Klocek2019-07-291-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * b15c6b71 [Backport] CVE-2019-5842 * 07267def [Backport] Security bug 934161 * 09302826 [Backport] Security bug 950005 * d66b2378 [Backport] Security bug 948172 * 1952a079 [Backport] Security bug 962083 * 4f97dbdf [Backport] Security bug 948944 Task-number: QTBUG-76206 Change-Id: I17295bb71b4c735293befd67bdd1092ade29e08d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumMichal Klocek2019-07-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * 8096caad [Backport] Security bug 952849 * b272b6b7 [Backport] Security bug 954762 * c92a0a92 [Backport] Security bug 956625 * 322434dc [Backport] Security bug 958457 * e1c1bf70 [Backport] Security bug 958689 * 4b6f9da2 [Backport] Security bug 959192 * a9aad285 [Backport] Security bug 959193 2/2 * 73e83d08 [Backport] Security bug 959193 1/2 Task-number: QTBUG-76206 Change-Id: I86b50d55d5dfc6f39b54757feb7b79507360a9a8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Clean-up handling of selected filesAllan Sandfeld Jensen2019-07-271-20/+16
| | | | | | | | | | | | | | | | | | | | Simplifies the code and makes sure both the two QML implementations of the file-selector are source compatible. Note, this does not address issues with test on Windows. Change-Id: Ieee84866c456d600a812683cae389d6a6980366f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Update ChromiumMichal Klocek2019-07-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * baa6d2fa [Backport] Security bug 959518 * fd789653 [Backport] Security bug 961597 * 09c99945 [Backport] Security bug 964795 * d42e2e2b [Backport] Security bug 964928 * cc4d38df [Backport] Security bug 939644 * 906ddce7 [Backport] Security bug 948228 * c51e0d38 Fix building with spellchecking disabled Task-number: QTBUG-76206 Change-Id: Ic858c5ed803c8fe71b9d436a420ff94f9a30b237 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix compilation with C++20Marc Mutz2019-07-241-1/+1
| | | | | | | | | | | | | | | | Implicit capture of this in [=] is deprecated. Fix by using explicit captures. Change-Id: Ia4344c4a15669f5076ad848626278a57cbe6767a Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.12' into 5.13"Allan Sandfeld Jensen2019-07-239-9/+58
|\ \
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Allan Sandfeld Jensen2019-07-239-9/+58
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/core/config/common.pri src/core/configure.json src/core/net/url_request_qrc_job_qt.cpp src/core/ozone/surface_factory_qt.cpp src/core/web_contents_adapter.cpp Change-Id: If679aa179123f793639da3d8ee4ab5d116707754
| | * Fix use-after-free in WebContentsAdapter::loadJüri Valdmann2019-07-181-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Pass WebContentsAdapter pointer to lambda via QWeakPointer in case the adapter has been deleted already. Fixes: QTBUG-76958 Change-Id: I1962ba3dd1794a27e7013a2ad1b729fe7a08c079 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Reset findText reply id on StopFinding to prevent callback laterKirill Burtsev2019-07-163-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Not updating lastReceivedFindReply caused next findText call after StopFinding to trigger redundant callback call on checking stale query. Fixes: QTBUG-77029 Change-Id: Iad4b71364ecb3ec3db3096b739e77620d12731f9 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| | * Do not proceed with uninitialized resourcesMichal Klocek2019-07-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QRC files can be optimized with CONFIG+=qtquickcompiler and removed, in that case 'size' of resource is zero. Do not process 'empty' resources. Throw warning. Fixes: QTBUG-76403 Change-Id: If21ff698e7985f82e6456500d4d24cb366cff012 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Make enabling full debug information easierAllan Sandfeld Jensen2019-07-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Avoids asking customers to edit source files or add CONFIG to qmake on the command line to enable full debug information. Change-Id: Id58388565df88442e74e02687eb3189136e998f3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | * If Qt is configured with ccache feature pass that along to GNAlexandru Croitor2019-07-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will set the cc_wrapper to ccache when running GN, which in turn will prefix all compiler calls with ccache. This allows a nice way of using ccache and icecream on macOS. Change-Id: I19ca1261aa8ebc4aaf7f8c34b3cb363baa29de01 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Doc: Update requirements for building on WindowsLeena Miettinen2019-07-121-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 2017 version 15.8 or later is now required. Task-number: QTBUG-76606 Change-Id: Ib115336acc341d799c7ff0f08e89abc56bc6c6d9 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Fix detection of ozone x11 supportMichal Klocek2019-07-124-6/+22
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-77011 Change-Id: I0136b360c74970b912124f6f308f598c80eceba3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Update ChromiumMichal Klocek2019-07-231-0/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following changes: * 7871e09 [Backport] CVE-2019-5839 * 5c8fe22 [Backport] CVE-2019-5837 4/4 * e12c72e [Backport] CVE-2019-5837 3/4 * 9b92d35 [Backport] CVE-2019-5837 2/4 * cafa7b6 [Backport] CVE-2019-5837 1/4 * ddf3cec [Backport] CVE-2019-5836 * 125af0b [Backport] CVE-2019-5832 * 681aa1a [Backport] CVE-2019-5831 * e770193 [Backport] CVE-2019-5829 * 6695b71 Support ubsan and asan on GCC * d3b2cf8 Don't generate LTCG data we don't use * 9b1ec15 Fix segfaults with arm 32bit on metrics * 4299078 Fix zygote path used Task-number: QTBUG-76206 Change-Id: I46e2d66be90513bdedc91d4041c599d6aacaaff7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Make qdoc scan WebEngine more effectiveAllan Sandfeld Jensen2019-07-181-5/+7
| | | | | | | | | | | | | | | | It was triggering heaps of errors on internal non-API files, so make it just scan the API and documentation. Change-Id: I716d0464f924b00dfd7ddb3a72e5f23bbbad80ad Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Pass an accurate touchpoint ToolType to ChromiumRomain Pokrzywka2019-07-161-1/+4
| | | | | | | | | | | | | | | | | | | | QTouchEvent::TouchPoint's flags() specifies the tool type (pen, finger) for the touchpoint, so we can forward that information to Chromium. This allows proper touch handling in web pages that depend on the touch type property detect finger/pen touches. Change-Id: Ib6069a057249ef2776a6b315bc71c75d14c9b673 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Allan Sandfeld Jensen2019-07-104-14/+19
|\| | | | | | | | | | | | | | | | | Conflicts: .qmake.conf tests/auto/quick/qmltests/BLACKLIST tests/auto/quick/qquickwebengineview/BLACKLIST Change-Id: I29b68dec8692d0369a2dda56350ee62d3ad73e08
| * Fully setup replaced QMouseDblClickEvent with source and flagsKirill Burtsev2019-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Not fully preserving properties causes event to not be considered synthesized by system and be forwarded into chromium. Receiving one single press event and no release event confuses input event_handler and triggers infinite loop and renderer process crash for pages with multiple nested iframes. Fixes: QTBUG-62106 Change-Id: Iabb8bff78fc3475923b4aa3209b720453a5b6ce5 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| * Unset global share context pointer on deletionJüri Valdmann2019-07-041-0/+2
| | | | | | | | | | | | Fixes: QTBUG-76828 Change-Id: I43eae3c04a23abe118f51c69742772ddb38646f0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Set custom user-agent manually on new windowsAllan Sandfeld Jensen2019-06-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Chromium forgets to set ShouldOverrideUserAgentInNewTabs(), so we need to manually set the override. Fixes: QTBUG-76249 Change-Id: Id240ee525dacec3cd8389aca058a61d3af62b00a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Do not forward key-events on QQuickItem levelAllan Sandfeld Jensen2019-06-141-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | We forward the real events earlier, anything coming in at QQuickItem level is synthetic. Fixes: QTBUG-76268 Change-Id: I067f8f94cc5e07bb0cd500b5ae9b9d6bbe66310b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Accept handled eventsAllan Sandfeld Jensen2019-06-141-0/+2
| | | | | | | | | | | | | | | | | | If we let tablet events pass through without handling it, it will come back to haunt us as a mouse event. Fixes: QTBUG-76347 Change-Id: I93297f543620350db0329fe993d18a04e33c7d18 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Use Chromium linker flagsMichal Klocek2019-06-041-5/+9
| | | | | | | | | | | | | | | | | | Add all Chromium linker flags by default and explicitly blacklist some of them. Change-Id: Icb461838f71c8511fe5730d4601eb20bc2aa135c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Null check result of consuming mailbox textureJüri Valdmann2019-07-091-1/+2
| | | | | | | | | | | | Fixes: QTBUG-76913 Change-Id: Ib036121f366d037d507f59bf31c3ab9c79bfea5e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>