- 01 Oct, 2016 - 1 commit
-
-
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>
-
- 26 Sep, 2016 - 1 commit
-
-
Kai Koehne authored
Change-Id: Id9a050775c5cdf54d207bb063d705237c4900f40 Reviewed-by:
Michael Brüning <michael.bruning@qt.io> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io>
-
- 31 Aug, 2016 - 2 commits
-
-
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>
-
- 24 Aug, 2016 - 1 commit
-
-
Michael Bruning authored
Renders the content to a PDF document and then renders this on a QPrinter-backed QPainter using the PDFium library. PDFium bitmap to QImage conversion based on work by Paulo Pinheiro <paulvap.os@gmail.com>. [ChangeLog][QtWebEngineWidgets][Printing] Enables printing QWebPage content on a QPrinter. Currently does not support previewing the document. Widgets only for the moment. Change-Id: I9a5264433093379aee90f5e4f69bf2aee8814f2b Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- 23 Aug, 2016 - 1 commit
-
-
Allan Sandfeld Jensen authored
Ensure that if QWebEnginePage::createWindow returns 'this' that we fall back to navigating in current tab. Change-Id: Idffe25dcafaaf3c824815b3cf1f0e400eaec2923 Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- 02 Aug, 2016 - 1 commit
-
-
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>
-
- 14 Jul, 2016 - 1 commit
-
-
Adam Kallai authored
This is essential for set tooltip in Qt Quick part because the setToolTip function should not be public. Change-Id: I1ebd0c811504fded8edff1a5a6110ce3512bab4f Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Michael Brüning <michael.bruning@qt.io>
-
- 08 Jul, 2016 - 1 commit
-
-
Joerg Bornemann authored
Consider a QWebEnginePage subclass that does "return this;" in createWindow. Commit 1f07d292 made this a no-op to prevent QtWebEngine from crashing. The reason for the crash was access to deleted memory after destroying the current adapter in adoptNewWindow. Defer the adoption in this case to whenever we hit the event loop again. Change-Id: I9674d80ef8b2f301c1446ff505b2486649451ba6 Task-number: QTBUG-42216 Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- 02 Jul, 2016 - 1 commit
-
-
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>
-
- 01 Jul, 2016 - 2 commits
-
-
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>
-
Allan Sandfeld Jensen authored
While the script collection always follows a page, it is safer to have both hold a reference to the web-contents adapter, so it doesn't get deleted while adapters are being changed. Change-Id: I21e268f7228f13702468df61e0032bdf2f99873a Reviewed-by:
Michael Brüning <michael.bruning@qt.io>
-
- 30 Jun, 2016 - 1 commit
-
-
Allan Sandfeld Jensen authored
The script collection has a pointer to webcontents adapter, and when a new adapter is adopted, the pointer in the script collection needs to be updated. Task-number: QTBUG-54419 Change-Id: Ia054e1281ab4db637beab570abda752074dc9280 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
- 22 Jun, 2016 - 1 commit
-
-
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>
-
- 16 Jun, 2016 - 2 commits
-
-
Joerg Bornemann authored
Add the convenience method QWebEnginePage::save for saving pages without the need to explicitly handle download requests. Task-number: QTBUG-51798 Change-Id: I8910ce8cb7c9370d72f2b209c4d2de07c614f6d6 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
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>
-
- 09 Jun, 2016 - 1 commit
-
-
Michael Bruning authored
It does contain valid data and some users seem to build upon the standard context menu. Also, return early with a nullptr from createStandardContextMenu when the context menu data d ptr is null. Task-number: QTBUG-53952 Change-Id: Ib30e85f10e3ae681527210a9e8554f5a21dba7ae Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io>
-
- 26 May, 2016 - 1 commit
-
-
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>
-
- 06 May, 2016 - 1 commit
-
-
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>
-
- 04 May, 2016 - 1 commit
-
-
Peter Varga authored
For the Widget API the QIcon returned by QWebEnginePage::icon() function contains all the candidate icons for the current page. For the Quick API the QQuickWebEngineFaviconProvider provides the best quality icon for the requested size from the candidates. Task-number: QTBUG-51179 Change-Id: I42b8427f957e2f2fc745dd0111bedcc71b577216 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 28 Apr, 2016 - 1 commit
-
-
Allan Sandfeld Jensen authored
Prefer to list all enums to handling defaults, this makes it easier to catch missing cases in the future. Change-Id: Idae2f445bd907f62202a6b68da0d030e21863afe Reviewed-by:
Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- 27 Apr, 2016 - 1 commit
-
-
Allan Sandfeld Jensen authored
We were not handling this enum value. Change-Id: Ib44b9e42c8b9589513091d2f47c79623416ec358 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- 19 Apr, 2016 - 1 commit
-
-
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>
-
- 18 Apr, 2016 - 1 commit
-
-
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>
-
- 13 Apr, 2016 - 2 commits
-
-
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>
-
Michael Bruning authored
Adds default QPageLayout values. Change-Id: Ibf2964ecd86350a51d682e385973f830ac4347a7 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- 08 Apr, 2016 - 1 commit
-
-
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>
-
- 06 Apr, 2016 - 1 commit
-
-
Peter Varga authored
Change-Id: I46805d8956815e4d691afd05a69ff16d6a86ad6b Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
- 31 Mar, 2016 - 1 commit
-
-
Peter Varga authored
The new API makes possible to access downloaded icons via QWebEnginePage. Thus the QNAM usage for downloading favicons and the corresponding workaround due to authentication are removed from the demobrowser. Change-Id: I9fdcc7ee7673f7caa239d932f20a51c74b24763f Task-number: QTBUG-51179 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 30 Mar, 2016 - 2 commits
-
-
Allan Sandfeld Jensen authored
Instead of using four numbered web-actions, use a generic method that can be called using the context data. Change-Id: If31c6f572c54d7ecfc7962edea2e27c555e6d79f Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-
Allan Sandfeld Jensen authored
For QWebEnginePage users to be able to make custom context menu or extend the default context menu, they need information about the context. This patch adds a QWebEngineContextMenuData class that contains contextual information when a context menu is being requested. This is also means we can finally generate a custom context-menu in the demobrowser the same way we did in QtWebKit. Task-number: QTBUG-51079 Change-Id: I695b8cbf648bdc7f119b0ed51ab685cf2f8de8e4 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 16 Mar, 2016 - 1 commit
-
-
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>
-
- 11 Mar, 2016 - 1 commit
-
-
Kai Koehne authored
Change-Id: I54a9514451c04918faf55516881c9ca720d56dc5 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-
- 25 Feb, 2016 - 1 commit
-
-
Allan Sandfeld Jensen authored
The API needs nothing from view and view just forwards it to the page anyway. This is an page level API, this also makes it work without being shown. Change-Id: I3b8555ab472ec2c7632db3655bcc31925fcfa001 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- 13 Feb, 2016 - 1 commit
-
-
Allan Sandfeld Jensen authored
WebAction mute was not working since it was setting its current state instead of the toggling mute. Change-Id: I9572c77e084e11b00f645845764fe13e0a603664 Reviewed-by:
Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- 12 Feb, 2016 - 1 commit
-
-
Allan Sandfeld Jensen authored
We should only emit iconUrlChanged when iconUrl changes, and the return value of iconUrl should match the value of the last emitted change. Change-Id: I70f4d6a11b96d83278dddc4d85e1c78ca82bf5cb Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu>
-
- 10 Feb, 2016 - 3 commits
-
-
Szabolcs David authored
These classes can operate user stylesheets too. Change-Id: Ia283af92e52a822b26003ff65e0e7dc391b0904d Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
Allan Sandfeld Jensen authored
RenderFrameDeleted was called before DidFinishLoad, which meant m_loadingErrorFrameList was empty and wouldn't detect the page loaded was an error page. Instead this patch relies on the chromium error-page url which we already asserted. Additonally we delay emitting the loadFinished signal until the error page is also done loading, since the error-page can be considered part of the load, and we otherwise have a race condition on toPlainText. Finally we were not getting error-pages when blocking requests because we reported them as aborted them instead of blocked. Change-Id: I945eb838b7f080d4e146f18354e8986e1b88b5cd Task-number: QTBUG-50752 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
Adam Kallai authored
- Added middle click navigation support to DemoBrowser. - Extended WebAction with new case (open a new tab in background). - Updated WebEngineWidgets documentation. Change-Id: I4ff91806c274a74f4d94b3f5d43fdd99ab900d46 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 01 Feb, 2016 - 1 commit
-
-
Michal Klocek authored
Integrate chromium spell checker: * add spellchecker and dependencies to build * underline misspelled words in html text areas * right-click context menu shows up to 4 options to correct the misspelled word * toggle spell check from context menu * add new qml and widget api calls to qwebengineprofile to enable/disable spell check, select spell check language, get list of supported languages/dictionaries * register new qml spell check properties for QtWebEngine 1.3 * CONFIG+="no_spellcheck" to remove spellcheck support Change-Id: Ie61434ab9493597d7759a6f33794f6859c4e3a4c Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-