summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | QML plugin: Introduce message helper function for uncreatable typesFriedemann Kleint2016-10-111-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | Reduce the number of messages to be translated to reduce the translation workload. Change-Id: Ifa76b02ed6474522eea3b9f74434ead95a6b0d0c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Doc: Do not advise to overwrite QWidget::contextMenuEvent()Kai Koehne2016-10-061-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's also QWidget::setContextMenuPolicy and QWidget::customContextMenuRequested, which is arguably a better approach. Anyhow, this isn't specific to QWebEngineView, so let's leave it at that. Finally, there's no need to call triggerPageAction if you add an action to a menu. Change-Id: I0c84038746a78316ed6b90a98b68fa5eb95fbad5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-10-0612-18/+36
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty src/webengine/api/qquickwebenginesettings.cpp Change-Id: Ie4abadb076c51d070cbb05f29b9ebcd9705933ad
| * | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-10-044-2/+17
| |\| | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: I49d99b5ac2cfba243eda1ea705c2a7d71b5542f6
| | * Doc: Fix initialize() documentationMichal Klocek2016-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We do not share context between "processes", but between "threads" Change-Id: I20f558f913c1f19fc469ade6faab45762f42d528 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * Update ChromiumAllan Sandfeld Jensen2016-09-271-0/+0
| | | | | | | | | | | | | | | | | | | | | Pulls in changes to build debug+release correctly and build with Xcode 8 Change-Id: I38d6bd50048b332939416b0fae3f20978995d789 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * Propagate the view's screen coordinates on global position change in QuickPeter Varga2016-09-272-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Based on widget solution: 1e83a2d1b61b13323163dfe8cac64dad397cb202 Task-number: QTBUG-55650 Change-Id: I6df45e7e018fa201c50fe81e8679c36f97ddeb1e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Include neon support for any -fpu=.*neon.*Donald Carr2016-09-271-1/+1
| | | | | | | | | | | | | | | | | | Change-Id: I9c571c823b6fa2411e003799f7ff8627ef6e1d5e Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Update ChromiumAllan Sandfeld Jensen2016-10-011-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Pulls in changes to build debug+release correctly, build with Xcode 8, and added support for running on macOS 10.12 Sierra. Change-Id: I17668229c1b90af9dca26fb48f6cf945ef0ed114 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| * | Merge "Merge remote-tracking branch 'origin/5.6' into 5.7" into refs/staging/5.7Allan Sandfeld Jensen2016-09-255-12/+14
| |\ \
| | * | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-09-245-12/+14
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/webengine/api/qquickwebenginesettings.cpp Change-Id: Ib7e2a7558c685410c49c455218d3b9c30f32358f
| | | * Merge remote-tracking branch 'origin/5.6.2' into 5.6Liang Qi2016-09-233-9/+9
| | | |\ | | | | | | | | | | | | | | | Change-Id: I3e152ee134ed38628d1bf9571df58f469b29e74b
| | | | * Fix crash when using openIn on newly created viewv5.6.2Christophe Chapuis2016-09-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a link triggers a NewViewRequest, and the latter creates a new window with a new WebEngineView inside, the "adapter" pointer can still be NULL when the adoptWebContents is called by openIn. Therefore is it necessary to test the adapter pointer before using it. (cherry picked from commit bfc2683ab4ca3f56a2effd1b2f7e68850acb72ba) Task-number: QTBUG-55765 Change-Id: Iaa7cb4e8c7780a2e3f1a8c85b7b5da0ec541b2f3 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| | | | * Doc: Fix types of \qmlpropertyKai Koehne2016-09-193-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie355f72a0bf575e66ab465fb2fcada0430ed8c7c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| | | * | Use canonical include paths for public headersKai Koehne2016-09-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not rely on "include/QtWebEngineWidgets" or "include/QtCore" being in the default include path. Task-number: QTBUG-56107 Change-Id: I9535f723814efdef7bf8290a891978aabfa899bb Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | | * | Fix crash when using openIn on newly created viewChristophe Chapuis2016-09-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a link triggers a NewViewRequest, and the latter creates a new window with a new WebEngineView inside, the "adapter" pointer can still be NULL when the adoptWebContents is called by openIn. Therefore is it necessary to test the adapter pointer before using it. Task-number: QTBUG-55765 Change-Id: Ia1a299dd65c229705462c9444b81d7b26567fc09 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * | Fix dangling pointer problemViktor Engelmann2016-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn the raw pointer ResourceDispatcherHostLoginDelegateQt::m_authInfo into a scoped_refptr, to prevent chromium from freeing the memory, which caused this pointer to dangle and SEGFAULT upon later usage. Task-number: QTBUG-55828 Change-Id: Ib57e89ca042a4494e2ab77ea10328495e6fc1431 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | | | Disable local database when local storage is disabledAllan Sandfeld Jensen2016-09-251-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Ties the feature switch for Indexed DB to the same as local storage. Change-Id: I9ea8992cc00097a8f7bd86236f8cd43008566d2b Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | | Use canonical include paths for public headersKai Koehne2016-09-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not rely on "include/QtWebEngineWidgets" or "include/QtCore" being in the default include path. Task-number: QTBUG-56107 Change-Id: I1a1eb7baf6d3166239eadc5b0b9863704e87888c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * | | Update ChromiumAllan Sandfeld Jensen2016-09-231-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the second batch of cherry-picked security patches from the 53 release. Change-Id: Ibd5a596648cb8caa47b9df45e019d198eb494d9d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Generate domKey for printable charactersPeter Varga2016-10-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the key event when spacebar is pressed (for example above a checkbox). Task-number: QTBUG-56283 Change-Id: I76bcc9a66abcef3a9e5ac10cfa53d60fce4c9179 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Doc: Sanitize WebEngineView::newViewRequested code snippetKai Koehne2016-10-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ; in JavaScript snippets. Also, use = function(x) notation for slots that get an argument. Change-Id: Iba6ffe94f882cae2b31022f4f80482ea6c922fde Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | | Update plugins.qmltypesKai Koehne2016-10-042-26/+232
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-56283 Change-Id: If92230e245d0257b11e59fb1d5fbb86f8af88f55 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* | | | Fix keyboard event handlingPeter Varga2016-10-041-0/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set domKey and domCode property of NativeWebKeyboardEvent. Blink uses this new interface for keyboard event handling: https://codereview.chromium.org/2045603002 Task-number: QTBUG-56242 Change-Id: I33f6f17087629f5021874cacd3e75295bbd97870 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Doc: Do not call Greasemonkey attributes 'extensions'Kai Koehne2016-10-044-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The term stems from Chromium extensions, which are however overloaded. Sadly there's no good page we can link to inside Chrome/Chromium for the attributes we support ... Change-Id: Ife7fcdba7bdfdbd4b7248b247c4baa188a44867a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Clean up qt quick controls 1 dialogsMichal Klocek2016-10-049-55/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on code review for qqc2 integration, apply cleanup changes to qqc1. Change-Id: I9752ce944385a529a1d999a5419638868e18d799 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | | Doc: Fix typo in qquickwebenginedialogrequestsMichal Klocek2016-10-041-4/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: Iec812053f0a3681961b787ecaf4f70c5bc6e1a63 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Update ChromiumAllan Sandfeld Jensen2016-10-041-0/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Icf960eb9347e2f2f8a41bbfdb35636154fd4a382 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Make argument of slots explicit in examplesKai Koehne2016-10-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the name of arguments explicit by using the onXXX: function(arg) { syntax. Change-Id: I1b24e444d4c8e2e26561edc043b53672ccb4de23 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | | Automate generation of Chromium attribution documentationKai Koehne2016-10-022-15371/+18
| | | | | | | | | | | | | | | | | | | | Change-Id: I34edcc1638cdd0e0e714e247700034b517394323 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Fix building when QT_NO_OPENGL is definedAndy Nichols2016-10-027-25/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-54327 Change-Id: I759598d56aa0a74b64092365b422a743fb508ac6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Remove viewSource and canViewSource APIs and use WebAction insteadPeter Varga2016-10-017-65/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-56092 Change-Id: I026a0d153269a71e4e44f0fd30ef5ca054edd0e7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Disable angle opengl in embedded linuxSamuli Piippo2016-09-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Angle opengl has dependency to mesa (libdrm/gbm), but component is never built on embedded linux. Disable to avoid unnecessary check. Change-Id: Ie1e2ef56692f5e311bb2011a15dba9de1bb8de2f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Add known logs to certificate transparencyAllan Sandfeld Jensen2016-09-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to avoid certificate errors when google servers ask us to enforce certificate transparency. Change-Id: I0199d29502b94b05c336ef24eac5f3783d171767 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Pass supported -fstack-protector flag to GYP configAlexandru Croitor2016-09-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before Xcode 6.3, the shipped compiler din not support the -fstack-protector-strong flag. Inform GYP to use the -fstack-protector flag instead. Change-Id: I91f1e9db5e489b6190423c3d010effd3d86ed9ba Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Cleanup directory structureAllan Sandfeld Jensen2016-09-2720-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The src/core/renderer directory is meant to contain files that would be in the renderer process and the chrome/renderer subdirectory in chromium, but a few classes from the browser process and the renderer_host dir has snuck in. This patch cleans up the structure so that classes in the browser that serves as host classes for renderer classes goes in renderer_host. Change-Id: I9333b1322e2246d4da9b4e8cfe6be604f6d996bf Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | | Doc: Let QWebEnginePage::print() documentation show upKai Koehne2016-09-262-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id9a050775c5cdf54d207bb063d705237c4900f40 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Doc: Cross-reference spellCheckerSuggestions() and misspelledWord()Kai Koehne2016-09-261-1/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: I47c1de96423542b2ef2ae3d3e833bf40352d514d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Doc: Link focusOnNavigationEnabled to exampleKai Koehne2016-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I4589bc607044bed9024290fdb71fbb2c871ef583 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Fix documentation for AuthenticationDialogRequest.typeKai Koehne2016-09-261-3/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I9c369349931ed45ef4b1cdd089609210450942c6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Doc: Replace external w3schools link with standard oneKai Koehne2016-09-263-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also change title to be lower case. Change-Id: I333a1a2854308b44f58e15a61dd7316787440952 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Fix documentation for new WebEngineDownloadItem::type enumerationKai Koehne2016-09-262-14/+20
| | | | | | | | | | | | | | | | | | | | Change-Id: Iaa6d1daa66d6c49c0545d36041485c7156003805 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | | Remove superfluous Q_REVISION markers from QML APIKai Koehne2016-09-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q_REVISION does only make sense for Q_INVOKABLE's/signals/slots/properties. Change-Id: I5579ff09b85728ee99045e3619f38ab23d43d01d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Enable Chromium content-layer WebUIAllan Sandfeld Jensen2016-09-233-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables the WebUI sources implemented in the content-layer, these are mostly internals that are not supposed to be used by end-users, but chrome://gpu is particularly interesting for us. This enables the following schemes: chrome://appcache-internals chrome://blob-internals chrome://histograms chrome://indexeddb-internals chrome://media-internals chrome://network-errors chrome://serviceworker-internals chrome://view-http-cache chrome://webrtc-internals and chrome://gpu Change-Id: Ib297f8fa2e3c15ca464a2c49022e0257d27c532b Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Fix namespace build on macOSAlexandru Croitor2016-09-231-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The namespace build was broken because both Qt and Chromium try to forward declare NSString in certain cpp files. The forward declarations were incompatible, because the Qt NSString was inside a namespace which is brought into scope with "using QtNamespace::NSString", whereas the Chromium one isn't in a namespace, and that leads to ambiguity issues. Fix is not to use QT_FORWARD_DECLARE_CLASS which prepends the Qt namespace, but rather do a simple forward declaration. Change-Id: I8cd5fd0a9a2f62643f6afbd4508df885e13c9ae5 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Add support of colored underline and background to InputMethodEventPeter Varga2016-09-231-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moreover, unskip and update inputMethodsTextFormat widget auto test and move it to the tst_QWebEngineView tests. New manual test has been also added for testing input methods format. Task-number: QTBUG-55766 Change-Id: I4c71e15cb426925f76c770266a3c20f1cc12b687 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Remove experimental Quick APISzabolcs David2016-09-227-236/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtWebEngine.experimental import is not working. It is better to get rid of that. It also removes some QNX-specific code. Change-Id: If80c1290b4d5f5e4d436c49bd7d7a6ea882ee6db Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | | Expose allow-running-insecure-contents as a settingAllan Sandfeld Jensen2016-09-225-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AllowRunningInsecureContent was added as a setting in core to enable parsing a chromium command-line argument. This patch forwards the setting to our API layers. [ChangeLog][Settings] Added setting to allow secure content to run insecure content. Task-number: QTBUG-54902 Change-Id: I4e005be1a29905ccf931fabe9ccb308b7d947c62 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-09-2115-38/+134
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty src/core/delegated_frame_node.h src/webengine/api/qquickwebenginecontextmenudata.cpp Change-Id: I163488d0d32cd981351608b2886f12e547e24672
| * | | Doc: Fix types of \qmlpropertyKai Koehne2016-09-203-9/+9
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibb470580404f2b09dc8c7c2de275ade97251d612 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>