summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix no-opengl builds on windowsv5.11.25.11.2Allan Sandfeld Jensen2018-09-041-1/+1
| | | | | Change-Id: I134876aa68bd42356c0b897a5d7d5881f27724a4 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update changes-5.11.2Allan Sandfeld Jensen2018-09-041-0/+6
| | | | | | | Add a few missed changes from 3rdparty Change-Id: Ie503da76d20440729516224c48bf0c95aade66d7 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Add changes file for Qt 5.11.2Antti Kokko2018-08-311-0/+72
| | | | | | Change-Id: Ia3fe234353e489732ee5f914204ee3f46c894a52 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Merge 5.11 into 5.11.2Frederik Gladhorn2018-08-2731-22/+158
|\ | | | | | | Change-Id: Iea03d76799b1e94991e536c056a5b918d63041a4
| * Document Tango icons used in examplesKai Koehne2018-08-2131-22/+158
| | | | | | | | | | | | Task-number: QTBUG-62053 Change-Id: I2df300239f4f02bb74f1ec27a74874b3877aabd0 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Document world ID limitAllan Sandfeld Jensen2018-08-274-5/+8
| | | | | | | | | | | | | | | | | | The max was bumbed from 11 to 256, now document it. Task-number: QTBUG-69904 Change-Id: I6cbf64afe3409c4722d7a903d833124880b32bc0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Update ChromiumJüri Valdmann2018-08-271-0/+0
| | | | | | | | | | | | | | | | | | This pulls in the following changes: * 708511 Fix hunspell::NodeReader::affix_id_for_leaf bounds check Change-Id: I54a3775c171361f227a27bfd3846ab4f5a78e76c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Remove check for catalog support in libxml2Jimi Huotari2018-08-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Changes have been made upstream, backported in http://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/?h=65-based&id=eb5360b2 that make it possible to link against system libxml2 again, even if it has been compiled with catalog support. Thanks to Arfrever Frehtes Taifersar Arahesis for their help on this. Change-Id: I61a49ab806f6dbbd96a2df09946c1a14062e6df5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix build against Qt 5.9Jüri Valdmann2018-08-221-21/+21
| | | | | | | | | | | | | | | | | | | | | | Somehow it's the case that QtTest 5.9 doesn't know how to QCOMPARE a QString with a normal string literal: ld: error: undefined symbol: bool QTest::qCompare<QString, char [31]>(QString const&, char const (&) [31], char const*, char const*, char const*, int) Change-Id: I13ce50689d9f1c157378b862fb1ed4a572ac7f79 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumMichael Brüning2018-08-201-0/+0
|/ | | | | | | | | | | | | | | | | | | This pulls in the following changes: * 084a80 [Backport] Security Bug 831117 2/2 * f78390 [Backport] Security Bug 831117 1/2 * d739b9 [Backport] Security Bug 683418 * cf51b5 [Backport] Security Bug 840695 * 009019 [Backport] Security Bug 838886 * 424911 [Backport] CVE-2018-6158 * 6d5f60 Fix compilation issues in introduced previous commits * a6e2ca [Backport] Security fix for Chromium bug 860721 * 3e6d0c [Backport] Security fix for Chromium bug 839197 * f4115a [Backport] additional patch for security fix for Chromium bug 839197 Task-number: QTBUG-69663 Change-Id: I6ad8509efb210972b753d8763e02cc31e90e0f8a Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Update ChromiumMichael Brüning2018-08-161-0/+0
| | | | | | | | | | | | | | | | | | | | | This pulls in the following changes : * 827405 [Backport] Security fix for Chromium bug 854887 * e79b92 [Backport] Security fix for Chromium bug 861571 * d845af [Backport] CVE-2018-6161 * 3cdf31 [Backport] CVE-2018-6159 * 625870 [Backport] CVE-2018-6162 * 2b111a [Backport] CVE-2018-6164 * eb5360 [Backport] blink: disable XML catalogs at runtime * 273272 Bump maximum number of custom isolated world ids * 8f53e0 [Backport] CVE-2018-6167 * 07c34e [Backport] CVE-2018-6172 CVE-2018-6163 * 5d8596 [Backport] CVE-2018-6165 * e8b9ae [Backport] CVE-2018-6177 CVE-2018-6168 * 0cce34 [Backport] CVE-2018-4117 Task-number: QTBUG-69663 Change-Id: Ied119f9d0b28ccba4954c087ab7bcf129969d52a Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* [Windows] Reblacklist flaky mouseMovementProperties auto testMichael Brüning2018-08-161-0/+3
| | | | | | | | | | | | | Although the test should have been fixed by the change and did succeed during local tests and CI runs, it still fails on the CI. This prevents a merge to dev. Partially reverts commit: d62cb919722f0baad4d0826e566b9a63f7fc7488 Task-number: QTBUG-66527 Change-Id: I1571c918034d84bd969ca0d401d4cfb17a10fd68 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix --enable-webgl-software-rendering with drivers that don't support OpenGLKai Koehne2018-08-161-1/+3
| | | | | | | | | | | | | --enable-webgl-software-rendering is supposed to be used together with mesa llvmpipe / opengl32sw.dll. However, Chromium did still use the built-in GPU blacklist to disable features based on the hardware GPU driver. Avoid this by always passing --ignore-gpu-blacklist for this mode. Task-number: QTBUG-69236 Change-Id: I430d101f6eac64478585de54f705e76859c80597 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update ChromiumMichal Klocek2018-08-151-0/+0
| | | | | | | | | | | | This commit pulls in security patches: * CVE-2018-6150 * CVE-2018-6152 * CVE-2018-6175 * CVE-2018-6155 Task-number: QTBUG-69663 Change-Id: If70e7817f4f9aa1fa482559b734085e6cdff89ed Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* MediaCaptureDevicesDispatcher: Disable getDefaultScreenId on X11Jüri Valdmann2018-08-082-1/+50
| | | | | | | | Not needed and triggers race condition. Task-number: QTBUG-69007 Change-Id: Id57ba527387e5dbe44a8dd6c5a49e7278403ce64 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumAllan Sandfeld Jensen2018-08-031-0/+0
| | | | | | | | | | | | | | Changes: 2d61f0a269 Work around MSVC2017 optimizer bug when printing a page usind Pdfium 6d6103fe51 [Backport] flush to zero tiny radii edf63ed29d [Backport] use double to compute root to avoid overflow 7777b6ac95 [Backport] Generate GL errors more strictly in StrictIdHandler. 0c00f4a924 [Backport] Validate all incoming WebGLObjects. a6a96845cc [Backport] Prevent potential buffer overflow in UlpfecReceiver a3d55fb8e4 [Backport] Check number of nalus in packet before checking nalu types. Change-Id: Icd501a956ce396a38098272848bc25065ad92748 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix failing mouseMovementProperties auto test on Windows and macOSMichael Brüning2018-08-022-5/+1
| | | | | | | | | | The view did not get all the movement events if the mouse was moved onto the view after it had loaded the page. Fix this by placing the mouse onto the view before setting the html content. Task-number: QTBUG-66527 Change-Id: I6d6847d5215005fe9490250b5b4f0c01ce317c23 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Clarify how key / mouse QEvents are propagated to a popup RWHVQD objectAlexandru Croitor2018-07-311-0/+6
| | | | | | Change-Id: I74f6a607d96733fa379526be40c6a13c31203d4e Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Bump versionOswald Buddenhagen2018-07-301-1/+1
| | | | Change-Id: Ic2f6a39e5e87c3cd606e161abac0bc6294c708d6
* Fix bougs documentation for QWebEngineUrlRequestJob::replyMichal Klocek2018-07-301-2/+3
| | | | | | | | | | | IODevice::close and therefore aboutToClose is called by io thread, connecting it to deleteLater will register deferred delete on event loop of IODevice instance, which is on ui thread. This could be racy since deletion on ui thread can happen before job is done. Change-Id: I895e6a71649ba65944d069f254d119cc60aada6c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Close popups when parent window is movedAlexandru Croitor2018-07-275-10/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an HTML select box was clicked inside of a QWebEngineView and the parent QWebEngineView window was moved using the mouse (via window decoration toolbar for example) the popup window would stay around instead of being closed. This happened because of the usage of the Qt:Tool window flag for the popup window, which implies a tool that floats near its parent window. The fix is threefold: 1) Use Qt::Popup instead, similarly to how QMenu does it. Whenever the parent window is moved, the popup will now get a CloseEvent. 2) Handle the CloseEvent by telling Chromium to close and destroy the popup. 3) On Windows the OS might send mouse move events to the popup RWHVQD instance after its parent QWebEngineView, RWHVQD, QWebEnginePagePrivate (client adapter) is destroyed. We need to guard the mouse forwarding code not to access the client adapter if it has already been destroyed. The second point is done by telling Chromium that its popup lost focus which it interprets as a sign to hide it, and automatically destroy it. This will destroy the underlying RWHVQtDelegateWidget and RWHVQt instances. Task-number: QTBUG-59891 Change-Id: I47f94a93c495a6caa5de92a6022eaca154994eda Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Use net::TransportSecurityPersister to persist HSTS stateJüri Valdmann2018-07-252-1/+20
| | | | | | Task-number: QTBUG-69605 Change-Id: I863db484ff2bcf558585f75c73963097fb43148a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumKai Koehne2018-07-231-0/+0
| | | | | | | | | | | | | | | Include following patches: c020786f57 Fix compilation failure in time_win.cc eea22d3cac [Backport] media: Increase DecoderBuffer::kPaddingSize to 64 91d24cdd6f Reduce severity level of messages when kDisableGpu switch is used 298fb05460 Fix --single-process --disable-gpu combination not to hit asserts db81dc68a8 Remove incomplete logic to detect AMD K2 CPU's b11fd882e8 Do not write <protocol>.json to source directory Change-Id: I4e3c0c2f3908f358b43ae4af8baebc2012c9830b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix Xcode version check to work with major versions >= 10Alexandru Croitor2018-07-231-1/+21
| | | | | | | | | | | | | | | We used lessThan for the Xcode version check, which started to fail when comparing Xcode 10 with Xcode 7.3, because lessThan first tries to convert the arguments to ints and if that fails, it does string comparison instead. Rewrite the code to be similar to the SDK checks. We can't use the qmake versionAtLeast function because it was added in Qt 5.10, and we still need to be able to build against Qt 5.9. Task-number: QTBUG-69476 Change-Id: I831a683ee676838a4d531a4d6e715182e9e4193d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix minimum GCC version in documentationJüri Valdmann2018-07-232-1/+2
| | | | | | | | | The documentation says we require 4.7 or later but actually already since the 5.10.0 release our qmake config has been checking for version 5 or later. Task-number: QTBUG-69535 Change-Id: Ia2f74b35570a9ba6fd1423b9507fe636d850db76 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Add threading and security note for print()Michal Klocek2018-07-201-0/+5
| | | | | | | | | Adds note for QWebEnginePage::print(...) function. Change-Id: I52ec78ccfc5c4eeb98ee69f9aaab01b380f97a81 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* QWebEngineUrlRequestJob: QUrl("null") for unique initiator originsJüri Valdmann2018-07-203-4/+59
| | | | | | | | | | | | The empty URL is used both for representing a missing origin (browser-initiated navigation request) and a unique/opaque origin. This is problematic since the security implications are very different in these two cases: browser-initiated requests usually should have high security clearance, while requests from unique origins should be restricted. Task-number: QTBUG-69372 Change-Id: Iff73fd1c9a29f1c5c281a8945536333081ff2d6b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move tst_qwebenginefaviconmanager to off-the-record profileAllan Sandfeld Jensen2018-07-191-1/+6
| | | | | | | Avoids it crashing due to newer databases found Change-Id: I5a3c926e5d13fe79d3af80e94e95516035ee75b8 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix segfault in devtools openInNewTab handlingJüri Valdmann2018-07-162-1/+15
| | | | | | | | | | - Use OpenURL on the devtools WebContents. - Guard against self-destruction (otherwise quicknanobrowser crashes). - Change quicknanobrowser to open links in new tabs. Task-number: QTBUG-69359 Change-Id: I4db379731c6fa855124d38c5066b0aad622861d2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix libvpx checkAllan Sandfeld Jensen2018-07-132-2/+3
| | | | | | | | | | | | We no longer depend on a custom configuration of libvpx and shouldn't check for non-standard headers. Also fixes bitrot in the config.test. Task-number: QTBUG-50554 Change-Id: I7b625e735536f7a79e41d036b7b8dc4d79f2262b Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix enum mismatch in WebContentsAdapter::enterDragJüri Valdmann2018-07-131-18/+18
| | | | | | | | | | | DragTargetDragEnter expects the 'int key_modifiers' parameter to have values from the enum blink::WebInputEvent::Modifiers and not ui::EventFlags. Also, contrary to the name, mouse modifiers are also expected. Task-number: QTBUG-69231 Change-Id: I2369609775243fded563dde7675c4bc2dfc81021 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Forward mouse and keyboard modifiers from QDropEventJüri Valdmann2018-07-134-6/+8
| | | | | | | Task-number: QTBUG-69231 Change-Id: I35b503dae7e2d90b26b6e61a4c7c260e45df2b62 Reviewed-by: Filipe Azevedo <filipe.azevedo@kdab.com> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Linux: Check for libnss versionKai Koehne2018-07-131-1/+1
| | | | | | | | | | | | | | | src/3rdparty/chromium/crypto/nss_util.cc has a static assert for NSS_VMAJOR, NSS_VMINOR: static_assert( (NSS_VMAJOR == 3 && NSS_VMINOR == 14 && NSS_VPATCH >= 3) || (NSS_VMAJOR == 3 && NSS_VMINOR > 14) || (NSS_VMAJOR > 3), "nss version check failed"); Task-number: QTBUG-69428 Change-Id: Ia006882fb2c8b4a42ec62ceb6de74f9f947fa1b6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update marked.js in examplesKai Koehne2018-07-1219-33/+3049
| | | | | | | | | Update marked.js in examples to version 0.4.0. Also use the non-minified version; this is required by some downstream users like Debian. Task-number: QTBUG-69273 Change-Id: Ic4fffc2db0a457e54595cd846efee305b97b2238 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Enforce Visual Studio check in windows.priKai Koehne2018-07-061-2/+2
| | | | | | | | | | Because windows.pri is included from a replace function gnArgs, fatal does not work: src/core/config/windows.pri:60: 'fatal' is not a recognized test function. Change-Id: Ib831e1ffa7e8e345477692d453bbcc568864b98c Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* Doc: Mark \snippet entries with .pro filesVenugopal Shivashankar2018-07-033-0/+6
| | | | | | | | This should enable excluding such snippets from documentation in some cases. Change-Id: I46854412546e3774889e09831254828d18362f29 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Compile with -no-feature-tableteventAndy Shaw2018-06-294-0/+16
| | | | | Change-Id: I7e03d6e3347ee9b81a7414574098827b5773b7b4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Stabilize tst_QWebEngineView::microFocusCoordinates()Allan Sandfeld Jensen2018-06-271-1/+1
| | | | | | | Fix classic race in using QSignalSpy::wait Change-Id: If922609825c8652f326c2e252f64cc407e06ad9c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix mismatch of updated scenegraphs when clippingAllan Sandfeld Jensen2018-06-221-0/+10
| | | | | | | | | Regenerate the tree when different nodes are clipped. Task-number: QTBUG-68699 Change-Id: Ib59a0b92463c47f89b7a6c662abe532fb4130c3c Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Doc: Add missing dots (qtwebengine)Paul Wicking2018-06-2212-12/+12
| | | | | | Task-number: QTBUG-68933 Change-Id: I395157a9931a0e0789b3791cc9b4d55dbcf8a4c2 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Doc: Fix quoting code from Recipe Browser exampleLeena Miettinen2018-06-221-1/+1
| | | | | Change-Id: I4012d91241ea04a786792de1916997c09d9298b4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Merge remote-tracking branch 'origin/5.11.1' into 5.11Qt Forward Merge Bot2018-06-192-0/+97
|\ | | | | | | Change-Id: Ia68ebcab9d04914cf65bff3548396f081485ce6a
| * Update Chromium and changelogv5.11.15.11.1Michal Klocek2018-06-152-1/+3
| | | | | | | | | | | | | | | | | | | | | | Pulls in following commits: * bad02200 [Backport] CVE-2018-6149 * 8cc9828a Workaround long path issue on Window * b42eb615 [Backport] gpu: Address piman's nits from crrev.com/c/969639 Change-Id: I3077df475503db990988ff0ab42724d11341db25 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * Add changes file for Qt 5.11.1Antti Kokko2018-06-151-0/+95
| | | | | | | | | | | | Change-Id: Id0e405d5e3d08c979c482badc8337b08d1705e16 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Update ChromiumMichal Klocek2018-06-071-0/+0
| | | | | | | | | | | | | | | | | | Pulls in security patches: * CVE-2018-6148 * Security Bug 835371 Change-Id: I00ac63f834082217b7290c90deb261dae0c99746 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add fallback lookup for eglGetProcAddressSamuli Piippo2018-06-133-0/+16
|/ | | | | | | | Use the GLContext to find address for eglGetProcAddress symbol, if it's not found with dlopen. Change-Id: I3f5330c21ecc9b66e5e376d50d3fc6965b227f85 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix crash with non-integer Qt scalingAllan Sandfeld Jensen2018-06-061-1/+2
| | | | | | | | | We could end up dropping visible blocks during scrolling if only one pixel line was left and the viewport got rounding one line too small. Task-number: QTBUG-68699 Change-Id: I1ab646f23d8dd4911b32d02df68c80d6a8d78651 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumMichal Klocek2018-06-061-0/+0
| | | | | | | | | | | Pulls in following security patches: * Security Bug 836511 * Security Bug 835184 * Security Bug 823864 Change-Id: I479a12be518a288db4aed88447d5a8cc33f41822 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichal Klocek2018-06-061-0/+0
| | | | | | | | | | | Pulls in following security patches: * Security Bug 826946 * Security Bug 826193 * Security Bug 825524 * CVE-2018-6145 Change-Id: Iae4ada1157df1793cb1c5a06be55835d696df3d5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichal Klocek2018-06-061-0/+0
| | | | | | | | | | | Pulls in following security patches: * CVE-2018-6144 * CVE-2018-6143 * CVE-2018-6142 * CVE-2018-6137 Change-Id: I878529f2061e3da2397756ac5adf8ee0139e7602 Reviewed-by: Kai Koehne <kai.koehne@qt.io>