- Dec 15, 2016
-
-
Viktor Engelmann authored
Added Q_PROPERTY and getter for QQuickWebEngineNewViewRequest::m_requestedUrl so that it can be read from QML. Task-number: QTBUG-55590 Change-Id: I39e89690f996a1db7c9ce39103429186b26811f8 Reviewed-by:
Michael Brüning <michael.bruning@qt.io>
-
- Dec 01, 2016
-
-
Peter Varga authored
Wrap unused parameters. Change-Id: Iac550783a55b3fc585db6f7b8241aa2ae89fdf2e Reviewed-by:
Michael Brüning <michael.bruning@qt.io> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Nov 29, 2016
-
-
Peter Varga authored
Change-Id: Ic200807246c5feb8e1f33215cbc6194b03765359 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Nov 25, 2016
-
-
Michael Brüning authored
This moves the actual printing using QPrinter to the WebEngineWidgets part of the API. The printsupport module depends on the widgets module and therefore QtWebEngineCore also had a dependency to widgets. This is removed by this change. Change-Id: If6e5745709a59de18f2123b930cbe6e64390c867 Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- Nov 02, 2016
-
-
Michal Klocek authored
Removes RequestType prefix from FormValidationMessageRequest's RequestType enumeration members. Change-Id: I51b7eb77b0bae2a8d3109e3ee3b7ea42349b211c Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- Oct 01, 2016
-
-
Peter Varga authored
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>
-
- Sep 27, 2016
-
-
Allan Sandfeld Jensen authored
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>
-
- Sep 23, 2016
-
-
Christophe Chapuis authored
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 bfc2683a ) Task-number: QTBUG-55765 Change-Id: Iaa7cb4e8c7780a2e3f1a8c85b7b5da0ec541b2f3 Reviewed-by:
Jani Heikkinen <jani.heikkinen@qt.io>
-
- Sep 22, 2016
-
-
Szabolcs David authored
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>
-
- Sep 20, 2016
-
-
Christophe Chapuis authored
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>
-
- Aug 31, 2016
-
-
Michal Klocek authored
Introduce qml APIs to support custom context menus. [ChangeLog][QtWebEngine][QML] Added ability to show custom context menu. Task-number: QTBUG-52554 Change-Id: Ief0cbbbf221f4c6849e16bbba7417dccee59ad61 Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
Michal Klocek authored
Introduce qml APIs to support custom dialogs: * http and proxy authentication * javascript dialogs * file pickers * color pickers * form validation messages [ChangeLog][QtWebEngine][QML] Added ability to provide custom dialogs for HTTP and proxy authentication, JavaScript alerts, file and color picking, and form validation messages. Task-number: QTBUG-51190 Change-Id: I559ca59264750feb36ba7d3dba0bf0647509306d Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- Aug 18, 2016
-
-
Michal Klocek authored
QtQuickControls1 does not handle embedded platforms too well. In case of eglfs platform we crash badly - only one window is supported. QtQuickControls2 on the other hand lacks the native look on desktop. Therefore on desktop platforms keep using QtQuickControls1, and on eglfs use QtQuickControls2. QtQuick.Dialogs are not implemented for QtQuickControls2, moreover required authentication dialog and prompt dialog are neither implemented in QtQuickControls1. As a workaround make new dialogs to give consistent look and feel. Replace close() with reject() signal in java script prompt dialog to unify handling between qqc1 and qqc2 [ChangeLog][QtWebEngine][General] Qt WebEngine (QML) now optionally uses Qt Quick 2 Controls to show standard dialogs. Task-number: QTBUG-53467 Task-number: QTBUG-51177 Change-Id: I42f9506357bbb82d4f04465f30a18c8013439e25 Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- Aug 02, 2016
-
-
Peter Varga authored
[ChangeLog][QtWebEngineQML][QQuickWebEngineView] View Source feature is now supported [ChangeLog][QtWebEngineWidgets][QWebEnginePage] View Source feature is now supported Change-Id: Icc16da71fc6ec95880897fc9744dd8be8c004e00 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jul 29, 2016
-
-
Leena Miettinen authored
The docs do not currently get built, because docs for a QML type need to reside in one file. Also edited the docs for grammar and style. Change-Id: Ic62f293e113d0e4bfe0497ce4a665a2a42971eb3 Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu>
-
- Jul 20, 2016
-
-
Adam Kallai authored
[ChangeLog][QtWebEngineQML][QQuickWebEngineView] ToolTip (HTML global title attribute) are now handled. Task-numner: QTBUG-54108 Change-Id: I78cc3c1e934a822d6399ebd35c8c7895fbdf5749 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jul 02, 2016
-
-
Michal Klocek authored
This reverts commit: * d364c05d * e507f140 Moreover it fixes shut down of keyed services, updates versioning of and fixes spellcheck unit test context menu request, which otherwise fails on windows. Change-Id: I9bfc589544cb969abd6d2d7af69531b4c5c907b7 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jul 01, 2016
-
-
Allan Sandfeld Jensen authored
QExplicitSharedDataPointer is meant for value objects, not for shared objects. Instead switch to using QSharedPointer. Change-Id: Ib3791bbcfde627a67508f2819e141d8c538a4a50 Reviewed-by:
Michael Brüning <michael.bruning@qt.io> Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
- Jun 23, 2016
-
-
Michal Klocek authored
If a user does not handle onCertificateError the instance of QQuickWebEngineCertificateError never gets to JavaScript land and never gets deleted. Create a strong reference before emitting the onCertificateError to guard against the memory leak. Change-Id: I49dbf89445d32291e2f52976f0f5e9deda201fcb Reviewed-by:
Simon Hausmann <simon.hausmann@qt.io> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jun 22, 2016
-
-
Allan Sandfeld Jensen authored
To ensure Chromium is given a chance to handle editor commands, we must override these short-cuts. On OS X we must also perform the action afterwards as these are not handled internally by the Blink Editor. The patch solves copy/paste in flash plugins and copy/paste on OS X when no application short-cuts have been defined. The handling of short-cut override events is based on how it was handled in Qt WebKit Task-number: QTBUG-54221 Change-Id: I748671c7bfa5662aae16c6a4b9bbe5e2bce1b907 Reviewed-by:
Alexandru Croitor <alexandru.croitor@theqtcompany.com>
-
- Jun 16, 2016
-
-
Joerg Bornemann authored
Suppose QWebEnginePage is destroyed while there's still a combobox popup open. We would crash with the following stack trace: 1 QtWebEngineCore::RenderWidgetHostViewQt::dpiScale 2 QtWebEngineCore::RenderWidgetHostViewQt::GetViewBounds 3 content::RenderWidgetHostImpl::SendScreenRects 4 content::RenderWidgetHostImpl::OnRenderViewReady ... 16 base::MessageLoop::DoWork 17 WebEngineContext::destroy 18 `anonymous namespace'::destroyContext 19 qt_call_post_routines 20 QApplication::~QApplication RenderWidgetHostViewQt still holds a pointer to WebContentsAdapterClient. To fix this, expose the QObject owning the adapter client, and hide RenderWidgetHostViewQt when it is destroyed so it won't try to render. Change-Id: Ide5543197b35038a3e1c7491ceda3f5ad10f6f07 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- May 31, 2016
-
-
Alexandru Croitor authored
If the qml properties audioMuted or recentlyAudible are accessed / set on a WebEngineView on application startup, the application will crash due to accessing a null pointer (the web contents adapter is not allocated yet). Add guards against null pointer access, to prevent the crash. Change-Id: I939be9afa093d1889024b2ff9308deb88b9316bf Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- May 30, 2016
-
-
Michal Klocek authored
Qt Quick Controls 1 always creates "native" windows for popups, however it does not check if the platform can support creating "native" windows. As a workaround disable context menu until Qt Quick Controls 2 are in place. Task-number: QTBUG-53467 Change-Id: Iea32e19f256f3d7e81a61e23f7da64dfc7ec660d Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- May 26, 2016
-
-
Alexandru Croitor authored
Currently if a QWebEngineView or a QQuickWebEngineView is disabled using setEnabled(false), after loading a web page, the views are automatically focused, and a user might see a blinking caret in an html input for example, even though the user can't interact with it. Fix consists in not calling the Focus() method whenever a view is disabled. Change-Id: I1014fb5898a5ddf01a4e9b14c3eaf5d4006e5131 Task-number: QTBUG-53159 Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
- May 06, 2016
-
-
Michal Klocek authored
Spellchecking API needs a bit more reviews and love. Current API is not intuitive and partly broken. Change-Id: Ie9cd371f38cca2f6b3f56a8699ad874cd332c318 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- Apr 26, 2016
-
-
Peter Varga authored
Change-Id: I64a46b810dda8654b8afbec2aeef2e180fbfcd23 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Apr 21, 2016
-
-
Michael Bruning authored
It turns out that using the temporary zoom factor is meant to set the zoom factor for one certain view, and this is actually what we want. Also added auto tests for this. Task-number: QTBUG-51851 Task-number: QTBUG-51969 Change-Id: I8912cbc25637d3c1681026380a2ab3068a964868 Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
- Apr 20, 2016
-
-
Peter Varga authored
The new QQuickImageProvider subclass is used to access downloaded icons from the FaviconManager via the Quick API. Change-Id: I6a52d3c737b2260cf480167764a931915cd99cab Task-number: QTBUG-51179 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Apr 19, 2016
-
-
Allan Sandfeld Jensen authored
BrowserContextAdapter is not a form of shared data, and using QExplicitSharedDataPointer on it as always been a misuse of the class. Instead we should switch it to QSharedPointer, which also allows us to use QWeakPointer. Change-Id: I8eb489b4a12d3fdddcde55821be294814a156a9d Reviewed-by:
Kai Koehne <kai.koehne@qt.io> Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
- Apr 18, 2016
-
-
Michal Klocek authored
* marks new properties in QQuickWebEngineProfile as FINAL * removes QT_NO_SPELLCHECK from API headers * renames spellCheckLanguages() to availableDictionaries() * removes "togle spellcheck" methods and actions * use WEBENGINE_CONFIG instead of CONFIG for disable the feature at compile time: WEBENGINE_CONFIG+=no_spellcheck Done-With: Peter Varga <pvarga@inf.u-szeged.hu> Task-number: QTBUG-52371 Change-Id: I8c8eff497b9e7afe0cec2edc97dec248151487f2 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- Apr 13, 2016
-
-
Joerg Bornemann authored
The SavePage web action is only useful if the user code reacts on the downloadRequested signal. Also, having SavePage available is not useful for e.g. hybrid applications. Extend the demobrowser example to show how to add the SavePage web action to the context menu. Change-Id: I979bcd9f5a25d2cae07ef819663afde17784440b Task-number: QTBUG-52370 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Allan Sandfeld Jensen authored
We have no good way of using it in 5.7 as users can't replace context menus directly anyway. Instead we keep it as experimental until it is useful. Change-Id: I91ca0c210e190debdc62db8de9de2ebee0784d3b Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
Michael Bruning authored
Adds default QPageLayout values. Change-Id: Ibf2964ecd86350a51d682e385973f830ac4347a7 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Apr 09, 2016
-
-
Allan Sandfeld Jensen authored
Adds QML API for the context menu data and improved spell checking API. Change-Id: I47868bdfaaec42d13aa7693bdc14bc75b008b862 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Apr 08, 2016
-
-
Alexandru Croitor authored
Rename all uses of wasRecentlyAudible to recentlyAudible. Add missing recentlyAudible properties. Change QtQuick slots to simple functions. Change affected demobrowser example. Adjust documentation for the API. Change-Id: I5a6f7b8384c0b7e34afaa5c412a5543c210d3ef9 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
- Apr 05, 2016
-
-
Giulio Camuffo authored
We shouldn't special case some platform integration names, instead check if it supports the proper capabilities Change-Id: Ib8a28a974a4054cea4fbfb503be7c0e0f797e242 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- Mar 25, 2016
-
-
Szabolcs David authored
Change-Id: I877bbd8bc5c710370f135a27bcd7f0f7c95a7292 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Mar 16, 2016
-
-
Michael Bruning authored
Also corrects and updates the printToPDF docs to reflect recent changes. Change-Id: Iffe276a1046d6d55923939f9d72b97cd533017ff Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Mar 08, 2016
-
-
Peter Varga authored
Do not emit iconChanged signal twice if icon url does not change. This fix implements the same behavior for icon handling in Quick as in the Widget API. Change-Id: I9fcc27c9cec3cbef74fb0a71026065e359a5cbc3 Task-number: QTBUG-51179 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Feb 16, 2016
-
-
Michael Bruning authored
Change-Id: I48141d07e9744bb21d64a5c8724579cb469ba35c Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-