summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update Chromiumv5.9.45.9.4Allan Sandfeld Jensen2018-01-152-0/+10
| | | | | | | Pull in SPECTRE mitigation Change-Id: I3849adce737c5518d02a5b27431bac50224c2065 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update ChromiumMichael Brüning2018-01-111-0/+0
| | | | | | | | | | | | | | | | | Pulling in the second set of security patches from Chrome 63. Changes: eebf32c32027 [Backport] Fix UAF in SetVisible(). a6ca6057e7e9 [Backport] [BlobStorage] Fixing potential overflow 0f0ad4d73977 [Backport] Fix a range bug in Persian calendar 81ed5d7a47a2 [Backport] Cherry-pick the entire fix for Persian calendar 9b1e7a460573 [Backport] Add size_t variants of constant-time functions. 941bccbf33f5 [Backport] Clear bottom three bits of password scalar in SPAKE2. 1f43353c961a [Backport] Change the script mixing policy to highly restrictive Task-number: QTBUG-65042 Change-Id: I668700e17f89297bbf2593a248f301f56904c72c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update ChromiumAllan Sandfeld Jensen2018-01-091-0/+0
| | | | | | | | | | | | | | | | | | | Pulling in the first set of security patches from Chrome 63 Changes: 4318c22e5167 Add missing .gitattributes -file in 3rdparty submodule eb4e4c294b56 [Backport] Fix OOB Write in QuicStreamSequencerBuffer::OnStreamData 13d8b0ed6a3a [Backport] Remove unsafe align4 call 93362702cc7e [Backport] Don't clear DnsAttempts that have received a response eeffcf490fd6 [Backport] Serialize struct tm in a safe way. 864b219901f8 [Backport] Simplify / fix SkBitmap::ReadRawPixels() 13827fc77195 [Backport] Resource Timing: Do not report subsequent navigations within subframes 07527dc5cae2 [Backport] Make CPWL_Wnd classes be observable. 0ce0976538dc [Backport] Setting focus on a widget may destroy the widget Task-number: QTBUG-65042 Change-Id: I6bb1b93d37111ada696ae77c2b2c04ecc17d2ca3 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add changes file for Qt 5.9.4Antti Kokko2018-01-091-0/+58
| | | | | Change-Id: I0ff5721c1317ca97b574538c8c52127a87f73c29 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Remove QT_LIBDIR_EGL/GLES2 leftoversMichal Klocek2018-01-021-11/+0
| | | | | | | | | | Since e812237b69 we do not longer use QT_LIBDIR_EGL and QT_LIBDIR_GLES2 to dynamically load gl libraries. Remove leftovers from gn generator. Task-number: QTBUG-65442 Change-Id: I045242b49be411373d36eb9c333916d27b0f169d Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Doc: QWebEngineUrlRequestJob: mention when to delete the deviceDavid Faure2017-12-202-5/+22
| | | | | | | | | | It's used from another thread, so it shouldn't be deleted immediately, and it's not deleted by the QtWebEngine code, so tell people to do it themselves at the right time. Change-Id: I54786be320f5fe82f144e7b1c2e6137260d9ceab Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAlexandru Croitor2017-12-181-0/+0
| | | | | | | | 2ee59e45bd Fix hanging of process when application is closed too fast cdecf3ca05 Silence most spurious warnings with gcc Change-Id: I220ec63538e13cd5e71552a5f6d99de564a3f0ea Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Hardcode default argument for mimetype in ::setContentKai Koehne2017-12-183-9/+9
| | | | | | | | | | | | | | | | The docs were wrong in that the default is actually text/plain with US-ASCII encoding (see e.g. data_url_unittest.cc). Anyhow, saying it might change in the future does not help anyone, and is actually a potential security risk - see e.g. the discussion about 'magic' in QTextEdit::setText(). Because of this, it's unlikely that Chromium ever changes the default. Anyhow, we can as well hardcode the default, and document it then. Change-Id: I949111598a30fa69d152d3e98d76e9d96df92d54 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Turn off caching of images rendered for the printerMichael Brüning2017-12-143-19/+15
| | | | | | | | | | | | | | | When printing very large documents using the QPrinter-based API, it was possible to run out of memory because the images that pdfium has generated was cached for reuse when printing multiple copies of the document. Caching the images is now removed as printing multiple copies is not the default use case and is nowadays often also handled by the printer itself. Task-number: QTBUG-58400 Change-Id: I27bd17b33a839a845ca1b387b0c3bd0466b6592f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix invalid access in currentTimeForEventAlexandru Croitor2017-12-141-1/+2
| | | | | | | | | The method currentTimeForEvent() tried to access the timestamp() method for a QEvent::Leave event. Leave events are regular QEvents and not QInputEvents, and thus have no such method. Change-Id: Iecc20d239b0e2a5b39b995dabdd7ca8fb44491aa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix QSGSoftwareLayer renderingJüri Valdmann2017-12-131-1/+1
| | | | | | | | Software layers (added in qtdeclarative 5.8) also need updating. Task-number: QTBUG-62867 Change-Id: If7a941d7e360871822e1776cde3845abcb1f7efa Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix favicon update from JavaScriptPeter Varga2017-12-133-21/+103
| | | | | | Task-number: QTBUG-64967 Change-Id: Ida79d6cdb682d510e9a2e91e3e3ca263acf34a99 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Bump versionOswald Buddenhagen2017-12-121-1/+1
| | | | Change-Id: I88eb85ea51a5d0b0b98b21e7213ed963995b255a
* Check for null renderViewAllan Sandfeld Jensen2017-12-111-4/+10
| | | | | | | | | | | It can according to documentation potentially be null, even if it might not happen in our cases. Task-number: QTBUG-63854 Change-Id: I76029c83fe32c163c2707568fe81b7590a79b4fe Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Refactor QWebEngineView tooltip handlingPeter Varga2017-12-082-6/+28
| | | | | | | | | Hide tooltip on empty text and make tooltips more fluent by ignoring duplicate requests. Task-number: QTBUG-64933 Change-Id: Ib82cb06ceda938548429cd694b849a2faadd2633 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix Message Bubble position for High-DPIPeter Varga2017-12-051-4/+18
| | | | | | | Task-number: QTBUG-64812 Change-Id: I9df71253cf6c541622e431b1ff444fc49269d0c3 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Blacklist failing test_findTextInterruptedByLoad QML testAlexandru Croitor2017-12-041-0/+3
| | | | | | | | | | | Continiously failed 5 times on Windows when integrating unrelated patches. Task-number: QTBUG-61887 Change-Id: Ibc3e1563355364302f7ee430c97209798e86e3e7 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit f1003c50652c1f5ef9ae0e16036b175fe3e8f215) Reviewed-by: Liang Qi <liang.qi@qt.io>
* Fix viewport supportAllan Sandfeld Jensen2017-12-021-2/+3
| | | | | | | | | Set the viewport related preferences together. Task-number: QTWB-2 Task-number: QTBUG-57206 Change-Id: Ib06bf0159d0e0d77d963f8fa3752b668e4795f8b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Ensure BeginFrameSource is created before useJüri Valdmann2017-11-291-6/+5
| | | | | | | | | | | | | | | In RenderWidgetHostViewQt::RenderWidgetHostViewQt we first call m_host->SetView(this) and then initialize the m_beginFrameSource member. However, since Chromium 55, m_host->SetView(this) ends up calling RenderWidgetHostViewQt::SetNeedsBeginFrames which already needs the m_beginFrameSource member. Fix by initializing m_beginFrameSource before calling m_host->SetView(this). Task-number: QTBUG-64560 Change-Id: Idda188977d0eec0656297fb4e3f3b3d2302f5eba Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix crash on exit-fullscreen using context menuAllan Sandfeld Jensen2017-11-291-1/+2
| | | | | | | | The context menu does not like when we delete current widget while handling the context menu actions. Change-Id: I18dc9d19ae2a669c97c9d4bc833950fcdc0204b0 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fill pointerType member of pointer eventsSzabolcs David2017-11-242-1/+3
| | | | | | | | | | | | | | Fix pointerType of the currently supported (mouse and touch) events. Support of pen and eraser types is coming with QTBUG-62975. Backport of 5.10 fix: 64ad0e8b335509970062ba550a06018426b7c285 Task-number: QTBUG-63266 Task-number: QTBUG-64436 Change-Id: Ief32b9680ab5acfb15537aba74c2bcdd6f51c978 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Restore loading libEGL and libGLES2 symbols implicitlyMichal Klocek2017-11-151-30/+20
| | | | | | | | | | | | | | | This recommits d4c621f6a6b87f2a86069fa393b9f7c4f9e7b9ad and fixes the issue that on some platforms "eglGetProcAddress" call was not resolved. On some platforms libGLESv2 does not link to libEGL and eglGetProcAddress is resolved in qpa plugin, therefore use it as fallback. Task-number: QTBUG-63341 Task-number: QTBUG-57761 Change-Id: I14f0853a1b92f8f2a9ae7e40f16ce80ab55db331 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
* Merge remote-tracking branch 'origin/5.9.3' into 5.9Allan Sandfeld Jensen2017-11-142-0/+52
|\ | | | | | | Change-Id: Iceb6449776de31c9a2716ed83377ad432f2992b0
| * Update changes file with security CVEs for 5.9.3v5.9.35.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
| * | 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>
* | | Fix invalid Q_ASSERT in WebChannelIPCTransportJüri Valdmann2017-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-64419 Change-Id: I094cfc654498c74f4d6b656ec5647a90700a4f6a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | URLRequestQrcJobQt: remove ineffective URL formatting optionsJüri Valdmann2017-11-106-1/+43
| | | | | | | | | | | | | | | | | | | | | Remove strange options for call to QUrl::path and add test for "qrc" protocol. Change-Id: I6528d858b7661832852c333a7f932d4714f953f2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Notify Chromium about leaving viewPeter Varga2017-11-098-3/+177
| |/ |/| | | | | | | | | | | | | Forward QEvent::Leave for Widget and QEvent::HoverLeave for Quick. Task-number: QTBUG-64265 Change-Id: Ide32768902956476d24b1d4115e305392b62feb3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | 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>
* 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.25.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>