summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update changes file with security CVEs for 5.9.3v5.9.3Alexandru Croitor2017-11-121-1/+3
| | | | | Change-Id: I5ab44cf691c4a0fa4e7e96a8fe957dc849dc6f19 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add changes file for Qt 5.9.3Antti Kokko2017-11-121-0/+50
| | | | | Change-Id: I032afc7d0784f5d755da1f93e8a621171f53bed9 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Update ChromiumAlexandru Croitor2017-11-121-0/+0
| | | | | | | | | | Changes: a83d8cdb8d [Backport] Fix Stack Buffer Overflow in QuicClientPromisedInfo::OnPromiseHeaders Change-Id: I1a3f36a84d5f4838912bb5b6716f94282b064299 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAlexandru Croitor2017-11-091-0/+0
| | | | | | | | | | | | | | | | | Changes: c394f9bd67 [Backport] Ensure REG_SZ and REG_MULTI_SZ are null 180b9b53aa [Backport] IDN display: Block U+0307 after i or U+0131 4398e36a05 [Backport] Fix for CVE-2017-15396 [2/2] 8d7c3609b1 [Backport] Fix for CVE-2017-15396 [1/2] d95317e241 [Backport] Remove getOptimalLanguageTag logic 2d6e9c3fc4 [Backport] Fix for CVE-2017-15387 f84377a4e0 [Backport] Fix for CVE-2017-15386 ebccd98fb3 [Backport] Cherry pick: Don't allow iteration through da91cdeb1f [Backport] Fix for CVE-2017-5133 Change-Id: Ie85db1786594bac1feba2c7ca3e26559edfff7f2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Merge 5.9 into 5.9.3Oswald Buddenhagen2017-11-085-4/+40
|\ | | | | | | Change-Id: I2839bdbacad0836c16e9c04fcd33509e024c614c
| * Do not stop findText on navigation if no finding in progressPeter Varga2017-11-074-2/+9
| | | | | | | | | | | | | | | | | | Avoid unnecessary unselect calls to prevent to lose active focus on an input field during background load. Task-number: QTBUG-64082 Change-Id: I13e8e2a96254360a78329d6ea2b6858da86a2b5a Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
| * Fix position of keyboard-invoked context menu in QQuickWebEngineViewJoerg Bornemann2017-11-071-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In QQuickWebEngineView the context menu is a QtQuickControls.Menu item. This menu is shown by calling popup() which always displays the menu below the mouse cursor. Work around the problem by moving the mouse cursor temporarily to the right position. Use a QObject property "pos" to store the requested menu position between addMenu() and showMenu() calls, because the Menu item doesn't have a "pos" QML property. Change-Id: Id772a0bb1a7548cad932e9f499ade68be32d86d3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Update ChromiumAlexandru Croitor2017-11-081-0/+0
|/ | | | | | | | | | | | | | | | | Changes: 36d7224dff [Backport] Fix for CVE-2017-5124 3cc9c87e76 [Backport] Fix for CVE-2017-5129 ccaf2d569b [Backport] SkSafeMath for tracking size_t overflow 7b155d9f8d [Backport] Ensure IDN domains are in punycode format in extension host permissions fe7cc31259 [Backport] Fix for CVE-2017-5132 96c8d7944e [Backport] Fix for CVE-2017-5128 5de529d03d [Backport] Fix for CVE-2017-5127 edf0736427 [Backport] Fix for CVE-2017-5126 Change-Id: Ib0c76c846791f48820600ee5aaf55ca5389257bf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Destruct BrowserContextAdapter together with WebEngineContext in widgetPeter Varga2017-10-272-10/+41
| | | | | | | | | | BrowserContext needs IO thread to be destructed properly. Without WebEngineContext dependency it would be destructed together with the corresponding QWebEngineProfile which can outlive the WebEngineContext. Task-number: QTBUG-62147 Change-Id: Ia34215f379c6c803499848bf009e25a64b5cdb98 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix overeager freeing of resources in DelegatedFrameNodeJüri Valdmann2017-10-262-2/+22
| | | | | | | | | | | After every run of DelegatedFrameNode::commit we take all the resources we didn't need and queue them for freeing. Problems appear however with the recent change that introduced clipping of invisible render passes and draw quads as we may now decide to release resources too early and eventually crash. Task-number: QTBUG-64032 Change-Id: I95138bc4c1caf8c191bfc801264309c5b03ef0f3 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Build accessibility tests only when Qt is configured with accessibilityMichael Brüning2017-10-261-1/+4
| | | | | | | | Original patch by Daniel Mack <daniel@zonque.org> Task-number: QTBUG-64015 Change-Id: I7dd0a1aa9bff08c6d19e818acf0e1b8b4b701f5b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix qwebengine_convert_dict to pick up correct ICU resources locationAlexandru Croitor2017-10-261-0/+6
| | | | | | | | | | | | | | | | The conversion tool uses the QLibraryInfo::location() call to find Qt's data directory. When a qt.conf file gets picked up by the application (which is the case for official Qt packages), QLibraryInfo::location() depends on a QCoreApplication instance being available, to query the PrefixPath. If the instance is not available, it simply returns the current directory path, which results in ICU resources not being found. The fix consists in creating a QCoreApplication instance. Task-number: QTBUG-63593 Change-Id: I8f1bba14d4586c42570d309b84418eef611bab0e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add off-the-record mode to simplebrowser exampleJüri Valdmann2017-10-257-15/+86
| | | | | | Change-Id: I9b87f870c4f6ad63142bc0497722b0c95095cd6b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Build recipebrowser only if QtQuickControls2 is availableJoerg Bornemann2017-10-201-2/+6
| | | | | | | | This fixes the examples build if the QtQuickControls2 is unavailable. Task-number: QTBUG-63904 Change-Id: I2d5ff0920cc960af6df556543fd77abdc21d4a8a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix favicons with queries or fragmentsAllan Sandfeld Jensen2017-10-201-1/+5
| | | | | | | | Set the parts of the URL after the path separately to avoid QUrl escaping the separators. Change-Id: I6d2be3e8737bdf6aad01107d68297711d75326d0 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Revert "Use MSVC's /WHOLEARCHIVE linker flag"Joerg Bornemann2017-10-172-1/+11
| | | | | | | | | | | | This reverts commit 6eae98639730ab1ad1611f1ea61bcaad2fe0f69a. The /WHOLEARCHIVE flag stopped working in VS 2017 15.4.0. Use our beloved list of object files again. Task-number: QTBUG-63701 Change-Id: I9eaf7c92012d6d3c73658f9e06d422c52fa1dc76 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Bump versionOswald Buddenhagen2017-10-061-1/+1
| | | | Change-Id: I4b027ecb0c32205e180613962a0a3fa51f9c7cd9
* Merge remote-tracking branch 'origin/5.9.2' into 5.9Liang Qi2017-10-065-16/+126
|\ | | | | | | Change-Id: I22afdc6216c6cbe2e7c52b24ead0c9b694bee0b1
| * Revert "Load libEGL and libGLES2 symbols implicitly"v5.9.2Jani Heikkinen2017-10-031-8/+32
| | | | | | | | | | | | | | | | | | This reverts commit d4c621f6a6b87f2a86069fa393b9f7c4f9e7b9ad, which seems to break QtWebEngine in B2Qt devices Task-number: QTBUG-63341 Change-Id: I2224b8c68c85baa602ed3d2aab88cd2cf622eeb8 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Merge 5.9 into 5.9.2Oswald Buddenhagen2017-09-254-105/+47
| |\ | | | | | | | | | Change-Id: I57f1969bd51857113179dd03816a883087405ebb
| * | Fix viewport resizing bug in rendererJüri Valdmann2017-09-223-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the recent fix for rendering intersecting quads, DelegatedFrameNode no longer builds scene graph nodes for DrawQuads that are outside the visible area. This means that the structure of the scene graph now depends on the size of the visible area, however the logic for deciding whether to update or rebuild the scene graph was not updated to reflect this fact. As a result we may try to update e.g. a QSGImageNode as if it were a QSGRectangleNode leading to a crash. Task-number: QTBUG-62112 Change-Id: I6e2e9dee4238d208fc2be98669281c2d4d4962d7 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Update ChromiumAllan Sandfeld Jensen2017-09-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 78c96f83ab Do not assert on PPAPI resources we do not support. 02fb09feae [Backport] Clip FreeType glyph bitmap to mask. Change-Id: I9455f8ac7283a5326618d9caf36533af567892e0 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry-picked from 07accb44dc8bf3f56ee31c6be7b2eb3c15730d5a)
| * | Add changes file for Qt 5.9.2Allan Sandfeld Jensen2017-09-211-0/+72
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-62746 Change-Id: I92bfcc4788af6b4c41cba18f4726333ea6297481 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Fix localization of descriptions in directory listing pagesJoerg Bornemann2017-10-051-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | We never replaced the variable values in the HTML template for directory listings. Task-number: QTBUG-63377 Change-Id: I5cd3d44ef253f6ed2e18f7e0cd4324c000c31dde Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Update ChromiumJüri Valdmann2017-09-251-0/+0
| |/ |/| | | | | | | | | | | | | | | Changes: cfe8c60903 [Backport] Reject getUserMedia calls in builds with WebRTC disabled. 05b7fdee0a Add .gitignore for *.pyc Change-Id: I00b195cdb627ebb90d006a1e92efb91ecef854df Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Speculative stabilization of tst_QWebEngineView::emptyInputMethodEventPeter Varga2017-09-211-4/+4
| | | | | | | | | | Change-Id: I5dd8c3251587c706f1fd3b90f77e4ac03c2fba97 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Refactor tst_qquickwebengineview auto testPeter Varga2017-09-202-100/+41
| | | | | | | | | | | | | | Pass JavaScript result via callback instead of using console.log. Change-Id: Ie464f038d4fa778b1f64e95eca58e86e29184c1e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update ChromiumAllan Sandfeld Jensen2017-09-201-0/+0
| | | | | | | | | | | | | | | | | | Changes: 78c96f83ab Do not assert on PPAPI resources we do not support. 02fb09feae [Backport] Clip FreeType glyph bitmap to mask. Change-Id: I9455f8ac7283a5326618d9caf36533af567892e0 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Add mkspecs include path to the gn buildPeter Varga2017-09-201-1/+2
|/ | | | | | | | | INCLUDEPATH qmake variable doesn't contain mkspecs include path. Add it explicitly to the include_dirs gn variable in the gn generator. Change-Id: I454aa015794f258f588590b4662a16c04041c8fd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix invalid copyright header for windeployqt-examples.pyKai Koehne2017-09-201-38/+25
| | | | | | Task-number: QTBUG-60006 Change-Id: I17a4c91bca3b1c774810405bc0ecffd7165b9d73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix license headers for testsKai Koehne2017-09-208-206/+68
| | | | | | | | | Tests should all be GPL-EXCEPT. Task-number: QTBUG-60006 Change-Id: I2466374e863bd1c3cd791ade45caf1087be78cef Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Change some copyright headers from LGPL to standard oneKai Koehne2017-09-204-95/+104
| | | | | | | | | The files are small enough that they are arguably not 'copyrightable' in the first place. Task-number: QTBUG-60006 Change-Id: Ieee3a88500864b82da843e3872d85969fae637e6 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Add missing copyright headersKai Koehne2017-09-205-0/+147
| | | | | | Task-number: QTBUG-60006 Change-Id: I75149082f36cd4d56da508283b766df680ed88b8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Rename webengineview.qdoc to webengineview_lgpl.qdocKai Koehne2017-09-201-0/+0
| | | | | | | | | Follow the example of the webenginewidgets documentation and rename webengineview.qdoc to make it obvious it contains lgpl only content. Task-number: QTBUG-60006 Change-Id: I2ab60ba9f8c5185edabe1404b09dc894bb3de6f3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add LICENSE.ChromiumKai Koehne2017-09-2036-35/+62
| | | | | | | | | The mentioned LICENSE file is not available; add it under the name LICENSE.Chromium. Task-number: QTBUG-60006 Change-Id: Ib2b3cb64467046c7ba1f53b0bbe14c3ec5a5291d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix license headers for libraries and pluginsKai Koehne2017-09-2015-126/+171
| | | | | | Task-number: QTBUG-60006 Change-Id: Ibc0507f300f52154e6f131056d826a4dcef009c2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix license header for examplesKai Koehne2017-09-20126-261/+897
| | | | | | Task-number: QTBUG-60006 Change-Id: Ie1604aed3d5a9ba566e898eae232227ba340bfaa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix rendering of intersecting quadsJüri Valdmann2017-09-192-7/+153
| | | | | | | | | | | Split intersecting quads using a BSP tree in the same manner as Chromium's rendering algorithm. Note that these split quads still will not be correctly rendered in software mode as Qt Quick's software renderer is not at all aware of non-rectangular QSGClipNodes. Task-number: QTBUG-62112 Change-Id: Ibfb72b9220817baebf828bc6183af7bd9c25d050 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix uninitialized member variable in PrintViewManagerBaseQtJüri Valdmann2017-09-191-0/+1
| | | | | | | | Valgrind does not approve of the member cookie_ being read by the destructor but never initialized. Change-Id: I419fca616034fb04c4f3ee29edb068881583dac0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Extract DrawQuad handling from DelegatedFrameNode::commitJüri Valdmann2017-09-182-135/+142
| | | | | | | | Refactoring only, no algorithmic changes. Task-number: QTBUG-62112 Change-Id: I871105ea48cd513e03b957d7daa9fe095c952a52 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Replace use of cfree with freeJüri Valdmann2017-09-181-1/+1
| | | | | | | | | | | | | | Quote from Linux man-pages: This function should never be used. Use free(3) instead. Starting with version 2.26, it has been removed from glibc. Arch Linux has switched to glibc 2.26 now, so cfree(ptr) is no longer available. Since cfree(ptr) is equivalent to free(ptr) (even on SunOS?), this patch replaces it with free(ptr). Change-Id: I50859ecfe45c965a9477541b3b7644fcbcc330e2 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Commit the done-so-far IME composition on touch eventPeter Varga2017-09-173-0/+183
| | | | | | | | | | | Fix is based on afc9e2d9674f7ab5800df4803cc68c71d1ae691a Moreover, new quick auto test has been added to check that the commit happens in case mouse and touch input events. Task-number: QTBUG-62942 Change-Id: Ie9d55e0bb5b3bbc34c099502e735b94f37c5d5f8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix not working "OpenFile" in simplebrowserMichal Klocek2017-09-151-3/+3
| | | | | | Change-Id: I3e9baf47d0491f0031a9a9864eecd12b09773eff Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Document that the Windows version in the user-agent might be wrongKai Koehne2017-09-142-0/+8
| | | | | | | | | | | | | | | Chromium uses GetVersionEx() to determine the Windows version that is reported in the default user agent. GetVersionEx() however always reports "Windows NT 6.2" for newer Windows versions, unless the executable's manifest file marks the newer version as supported. Since this is a common question we document this in the httpUserAgent accessors. Task-number: QTBUG-56472 Change-Id: I4698cd659f5552b92ef925c198f39326fcb936f3 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Allow WebGL to work with a software OpenGL implementation on WindowsAlexandru Croitor2017-09-134-16/+40
| | | | | | | | | | | | | | | | | A user can explicitly request software OpenGL rendering via opengl32sw.dll instead of Skia rendering, by passing the --enable-webgl-software-rendering command line argument. This will make sure not to disable GPU processing if and only if software OpenGL rendering is used on Windows (via QT_OPENGL=software environment variable, or the Qt::AA_UseSoftwareOpenGL attribute), so that WebGL is not disabled. Software OpenGL rendering will still use Skia on platforms other than Windows. Change-Id: I8b3601b144e09e3a732abfb74dbbf6f924889b5a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Recreate state in renderer objects after RenderViewCreatedAllan Sandfeld Jensen2017-09-123-9/+12
| | | | | | | | | | This ensures the scripts and webchannel are added before RunScriptsAtDocumentStart is called. It also means we shouldn't add them later from the changed signal. Task-number: QTBUG-62898 Change-Id: Ib4cd3a69134d0eafc7f2ac4b7927a1c79b63bfa6 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Set referrer on download requestsJüri Valdmann2017-09-127-14/+87
| | | | | | | | | Note that the Referer header still won't be sent if the download is triggered via an anchor element with the 'download' attribute: crbug.com/455987 . Task-number: QTBUG-61354 Change-Id: I5af971af916b2190756e3e58f19736072a213922 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add test for saving a page over HTTPJüri Valdmann2017-09-121-0/+85
| | | | | Change-Id: I6d9261292e44484cded421402fc06ee2eb08bdea Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add test for two simultaneous downloadsJüri Valdmann2017-09-121-0/+92
| | | | | Change-Id: I8342aa806c3d1a8f4f1a5e822ef1be0e1755220c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add test for downloading a link via user actionJüri Valdmann2017-09-129-1/+814
| | | | | Change-Id: Ide3294840ceb3d18da0c4da92d892ff467a9b739 Reviewed-by: Michal Klocek <michal.klocek@qt.io>