summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Add info to QWebEngineDownloadItem::downloadProgress docsLeena Miettinen2017-05-041-2/+6
| | | | | | | | | The documentation was not very informative when compared with the docs for the similar QNetworkReply::downloadProgress signal. Task-number: QTBUG-56979 Change-Id: Icade60317a7b3fd8aaa37770c60ce8f4f947382b Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix undeclared use of QSGFlatColorMaterial when QT_NO_OPENGL is definedJüri Valdmann2017-04-261-4/+4
| | | | | | | | | | | QtWebEngine fails to build with -no-opengl due to src/core/delegated_frame_node.cpp trying to use QSGFlatColorMaterial without including the header. Change-Id: I98c12d3c482f7cacb2f61dd13ae32ee0a5740ae2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Override shortcuts in HTML input fieldsJoerg Bornemann2017-04-256-5/+198
| | | | | | | | | | | | | | | | | | | When users defined a single-letter short cut it was not possible to type this letter in HTML input fields. Fix this by accepting ShortcutOverride events whenever the web page is editing text. Use QInputControl::isCommonTextEditShortcut for Qt 5.9 and later. For the case where QtWebEngine is built against an older Qt a duplicated code path is used. Also, ensure users do not override web action short cuts. Task-number: QTBUG-59053 Change-Id: Ic26cf2a040a72b118273c6645c00b2913b995b0b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Document that Python 3 is not supportedJoerg Bornemann2017-04-251-1/+1
| | | | | | | | Task-number: QTBUG-60163 Change-Id: I4763dca3c651c08fb4094a3def6494b3dcd65ebd Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add class name to function signatureLeena Miettinen2017-04-251-1/+1
| | | | | Change-Id: I95547a19dfa4dc375f93b2c6c1bfdefc05d07a51 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Blacklist tst_QWebEngineView::imeCompositionPeter Varga2017-04-241-0/+3
| | | | | | Task-number: QTBUG-60381 Change-Id: Ib0e7ac3e5d7c3a9cea453fee96b2c5984567aa99 Reviewed-by: Liang Qi <liang.qi@qt.io>
* Rename macos blacklisting to osxTony Sarajärvi2017-04-241-1/+1
| | | | | Change-Id: If3581b261bfb1961320e145f94d27417ab8f8ee8 Reviewed-by: Liang Qi <liang.qi@qt.io>
* Remove unused qmake functions and helper scriptsJoerg Bornemann2017-04-213-76/+0
| | | | | Change-Id: I8d59ccc5967193db55ac00410f09506a3b040dfe Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Remove unused gyp_generator.prfJoerg Bornemann2017-04-211-160/+0
| | | | | Change-Id: I0970ee56d134be2e5186cbe14466e9739d5c6b1a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fixup libxml with ICU detectionv5.9.0-beta3Allan Sandfeld Jensen2017-04-211-3/+3
| | | | | | | | | The expression was not working, and didn't match what had been tested against. Task-number: QTBUG-60211 Change-Id: Id62e53fb2bf6483c58fd22c2745a4d1b5f141b1c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Mark QtWebEngineProcess as compatible with Windows 10Kai Koehne2017-04-212-0/+19
| | | | | | | | | | | | | | This fixes ::GetVersionEx to report the actual Windows version, instead of always reporting Windows 8. Note though that this fixes only the renderer process - the manifest of the user process is beyond our control. Chromium currently uses the dynamic checks for Windows 10 to e.g. enable advanced sandboxing for ppapi, and scroll performance (see https://bugs.chromium.org/p/chromium/issues/detail?id=517183) Change-Id: I72870f31eac2074748b2c11a2b6cab9a03e62527 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Standardize override declarationAllan Sandfeld Jensen2017-04-2144-481/+466
| | | | | | | | Update our overrides to Qt coding standard getting rid of Q_DECL_OVERRIDE and redundant virtual declarations. Change-Id: Id8b0750eb05c51fc8f50cac4000a811eebcbf918 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Disable setting background color in QInputMethodEventPeter Varga2017-04-212-5/+7
| | | | | | | | | | | | | IME managers may set background and foreground color of the composition string. Since there is no Chromium API for setting the foreground color, changing the background color to black may produce "black-on-black" text. Chromium locks the background color to transparent thus we do the same in this fix. Task-number: QTBUG-58362 Task-number: QTBUG-60031 Change-Id: I939c8aaaa847de191890d6924ba3c7652465f8a0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove superfluous run_gn target from gn_run.proJoerg Bornemann2017-04-211-4/+1
| | | | | | | Gn is called at qmake time. The run_gn target was empty and did nothing. Change-Id: I570094e013c63a78ca6cec6987f119bfda45e085 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Implement proper touch handling on macOSAlexandru Croitor2017-04-215-0/+63
| | | | | | | | | | | | | | | Use the OS provided QNativeGestureEvents for pinching and smart zooming. This replaces the usage of the Android based gesture recognizer on macOS. This also implements multitouch gestures to work with the Qt Quick implementation of QtWebEngine for macOS, because touch events are ignored by default on macOS in QQuickItem. Task-number: QTBUG-58779 Change-Id: I17399e4e89a57557540b2fd0940a445326b682f3 Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix crash on macOS when closing last tab of a windowAlexandru Croitor2017-04-211-5/+1
| | | | | | | | | | | | | | | Because of weird interaction between deleteLater(), Qt::WA_DeleteOnClose, and QQuickRenderControlPrivate::windowDestroyed() which executes all the deferred deletions at a bad time, there were some use-after-free crashes. The workaround is not to close the window when the last tab is closed, but rather create a new tab, like the behavior was on non-macOS platforms. Task-number: QTBUG-58982 Change-Id: I00295838c298af382cac78bb22c47d6de60e7755 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add two nullpointer checksViktor Engelmann2017-04-152-4/+9
| | | | | | | | | The two nullpointer checks prevent crashes that happened when one clicked on a link with target="_blank" in 56-based. Task-number: QTBUG-46713 Change-Id: I1f8a20a52726ab05a85dbca2ec49784985384d06 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable brotliv5.9.0-beta2Allan Sandfeld Jensen2017-04-121-0/+2
| | | | | | | | Enable brotli if enabled in content features (which it is by default). Task-number: QTBUG-60049 Change-Id: I67ee51be47de4df0960e378f74c323ef30a7b25a Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Handle QInputMethodQueryEvent forwarded by RWHVQDWPeter Varga2017-04-123-0/+97
| | | | | | Task-number: QTBUG-58362 Change-Id: I6c80c8063ccad97aa80aff8ee44aa10a899c5ff5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix text selection and input method queryPeter Varga2017-04-124-619/+590
| | | | | | | | | | | | | | | Instruct the render process to change the text selection if it was requested via an input method event. Raise the selectionChanged() signal when all the corresponding input method properties are set. Moreover, add back the remaining input method widget auto tests. The updated tests are moved to the QWebEngineView tests since the corresponding APIs (inputMethodQuery() and input event handling) are now available via the QWebEngineView's focus proxy (aka RWHV). Task-number: QTBUG-55766 Change-Id: Ia0022d5f38b31dd59b084ff42e4abc2780ae90ec Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove unused qmlRegisterRevision callKai Koehne2017-04-112-5/+0
| | | | | | | | This was used for registering an alternative QtWebEngine.experimental import, which has however been removed since then (a4dcc5b4894aac). Change-Id: I0edd869fcc0057b2c6a4932eb39cb8f739f571bc Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Document sandboxing supportAlexandru Croitor2017-04-111-0/+18
| | | | | | Change-Id: I5a4f72493fd892c478074705ccbdb363b4002789 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update plugins.qmltypes to 1.5Kai Koehne2017-04-113-26/+88
| | | | | | Change-Id: Iad422ed29cf1781b4537c747bbe498c32f1e5ef0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Extend blacklisting of tst_QWebEnginePage to macOS 10.11Tony Sarajärvi2017-04-111-0/+1
| | | | | | Task-number: QTBUG-59808 Change-Id: I25b73f1a89fb9e19d04c5a4ccbadbe44acea039d Reviewed-by: Liang Qi <liang.qi@qt.io>
* Allow setter methods of WebEngineScript to be called directlyKai Koehne2017-04-101-7/+7
| | | | | | | | The methods got removed from the script API in change bec2be57891f87f2b8bc04. However, this might break existing code. Change-Id: Ibc1b4632ade847953f848b3d1a29a14cab3f035b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Doc: Fix QtWebEngine version numberKai Koehne2017-04-102-3/+3
| | | | | | | | The latest version for Qt Webengine in 5.9 will be 1.5, not 1.6. Change-Id: Ibae42f24f4b7477901923ff0ef5436642599f365 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Docs: Update QtWebEngine to 1.5Kai Koehne2017-04-101-2/+2
| | | | | Change-Id: I0831cbb21c5f67b74a1df2311f055e6218ae3619 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Set gn use_gold based on qmake's use_gold_linkerAllan Sandfeld Jensen2017-04-102-0/+11
| | | | | | | | Avoids adding --use-ld=gold on the link command line when gold linker has been deselected in Qt. Change-Id: I2d34cd3043aa24dca1f5f1604c97d8beccb70093 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update ChromiumJoerg Bornemann2017-04-091-0/+0
| | | | | | | | | | | | | | | | | | | Take in following fixes: 853d4069 [Backport] Need this to build on vs2017 f3e4afb7 Merge remote-tracking branch 'origin/55-based' into 56-based 3a8bbfb1 Don't use the gesture detector for scrolls and flings on macOS a3e8625c Export GN calculated sources to qmake 4d83c198 Licenses: Remove invalid URLs to fix QDoc errors 2229fffd Fix build with GCC 7.0 1cc1d80e Allow using quota management API for non-standard URLs b05f5036 Silence warnings about unknown attributes ae91fb1e Fix render process crash for windows debug builds on win10 Task-number: QTBUG-58779 Task-number: QTBUG-59776 Task-number: QTBUG-59812 Change-Id: I9ab8e607e83cea9130ce304a7da636b586bbb9db Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Merge "Merge remote-tracking branch 'origin/5.8' into 5.9" into refs/staging/5.9Allan Sandfeld Jensen2017-04-094-0/+44744
|\
| * Merge remote-tracking branch 'origin/5.8' into 5.9Allan Sandfeld Jensen2017-04-054-0/+44744
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/core/gyp_run.pro Change-Id: I3e2d72769947e7abb0585e922e7517ecb0087331
| | * Binary compatibility files and global.cfg for QtWebEngine5.8Milla Pohjanheimo2017-04-054-0/+44744
| | | | | | | | | | | | | | | | | | | | | Add means to test binary compatibility for QtWebEngine too. Change-Id: I1bc39da3da1595b8ac39be6936ed47080a52c78b Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
| | * Also support reduce_binary_size on WindowsAllan Sandfeld Jensen2017-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | GYP uses a different flag to control optimization flags on windows. Change-Id: I3db8c738ccc40008be6971c9e38de26932cad030 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Blacklist LinkHovered tests on Linuxes after fix did not workTony Sarajärvi2017-04-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6252f0231f85e5f4e6b887a6814d4968acae13bd tried fixing these autotests. As it evidently didn't work, we bring the blacklisting back. Task-number: QTBUG-55870 Change-Id: I12dc54a81cc25f743f1b37e321a6524ba6b5915c Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Do not use system libxml if not ICU capableAllan Sandfeld Jensen2017-04-061-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a libxml without ICU capability will break some websites, so better fall back to bundled libxml in that case. Task-number: QTBUG-59094 Change-Id: Ia24c4045ed9eb9731367cca07d8467ea9b785f2e Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Fix pepper cdms featureAllan Sandfeld Jensen2017-04-066-12/+14
| | | | | | | | | | | | | | | | | | | | | Is now also buildflag and not command line define. Change-Id: I3c687981928239f669bd285797b5ceee4e994822 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Yet another speculative fix of linkHovered QML testsPeter Varga2017-04-056-18/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the test moves the mouse cursor out of the link area it positions the cursor above an iframe. We should not expect linkHovered signal above an iframe until its load is succeeded. Since we don't have API to test iframes' loading state, remove the iframe from the test. Moreover, increase signal timeout values to 12sec as it is used in other tests too since the 55-based chromium update. Task-number: QTBUG-55870 Change-Id: Id47494ac41a9d34f8a5bf4804fc5c157868cf923 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Install filesystem: protocol handlerSzabolcs David2017-04-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | File creation with FileSystem API is supported, but these files were not accessible through their filesystem: URLs. Change-Id: Ic45a8ad766917947a70eb0079d37490576ea5d22 Task-number: QTBUG-56531 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Make optimize for size a visible configurable optionAllan Sandfeld Jensen2017-04-052-3/+9
|/ / | | | | | | | | | | | | | | Can be enabled with --optimize-for-size and is enabled by default for embedded builds. Change-Id: I955fa57804c8b7e80bb82deb83deb94a9e2a7621 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Doc: Describe HTTP/2 supportLeena Miettinen2017-04-042-2/+22
| | | | | | | | | | | | Change-Id: I0dfe290b9d6ac1ed054cecd0911709e9626f8691 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Re-enable building with gcc 4.9.1Allan Sandfeld Jensen2017-04-041-4/+0
| | | | | | | | | | | | | | | | | | The code that gcc 4.9.1 stumpled on was rewritten in Chromium 56, so we should try and let compiler build webengine again. Change-Id: I9ccec7e93aaa384aefdf338e3822b78e0dc494f2 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | Blacklist tst_qmltests in macOS 10.11Tony Sarajärvi2017-04-041-0/+1
| | | | | | | | | | | | Task-number: QTBUG-58787 Change-Id: If0a658507c0caaa2d169da973109f801f9501914 Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Fix broken inclusion of webenigne spellcheck testMichal Klocek2017-04-041-1/+1
| | | | | | | | | | | | | | | | | | Change 33e20b4 switched no_spellchecker into use_spellchecker, however change for tests directory was incorrect. Task-number: QTBUG-59687 Change-Id: Ie4d4dae863b90a3b35c9e92c88332096aad75325 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix spellcheck feature checkAllan Sandfeld Jensen2017-04-049-20/+24
| | | | | | | | | | | | | | | | | | Was changed to generated buildflag headers instead of command line defines. Task-number: QTBUG-59687 Change-Id: Iead64f5321d000c07172ee27a0032394527ec501 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Fix assert in autotest on windowsAllan Sandfeld Jensen2017-04-041-1/+1
| | | | | | | | | | | | | | Chromium now asserts if the clipboard lists the same mimetype twice. Change-Id: Ibfcbb9a7953a8b4b55035e633e0f2740257af6ad Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Fix source indexing in Qt Creator 4.3Allan Sandfeld Jensen2017-04-044-237/+247
| | | | | | | | | | | | | | | | Create a fake project, just for including the files compiled by ninja in a qmake project that Qt Creator can index, but which we do not build. Change-Id: I7b4fc7ba23090bddb49ee1e85f76f71fb33544e2 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Handle the case when printing result does not contain any dataMichael Brüning2017-04-041-0/+11
| | | | | | | | | | | | | | | | Failing to do so would trigger an assert in the PDFium wrapper's constructor. Change-Id: Iaa53b1baa54e6483a4e7e9985ad841ac3cfef940 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Do not set arm/misp specific gn args for host_buildMichal Klocek2017-03-311-2/+2
| | | | | | | | | | | | | | Self build of gn ends with error on embedded builds. Change-Id: I669c61eef7107919dbe11cdb558cf6ae0499621c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix calls to ninja on Windowsv5.9.0-beta1Kai Koehne2017-03-311-2/+2
| | | | | | | | | | | | | | | | | | Make sure that the path to ninja and the directory uses the correct slashes. Without it, the call might silently fail. Task-number: QTBUG-59842 Change-Id: If59eb14b1fb99aae2b78c85a0052e5aefd5d5bf9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | DemoBrowser: Fix use of system proxyKai Koehne2017-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | The example did always set an application proxy, though it was empty if no proxy was explicitly set in the system. This however blocked the use of the system settings. Task-number: QTBUG-58748 Change-Id: I50d9116e491cb7c1ab5b8fc610736d60e0bc9ea8 Reviewed-by: Michael Brüning <michael.bruning@qt.io>