- 19 Jul, 2017 - 1 commit
-
-
Florian Bruhin authored
The method download(const QUrl &url, const QString &suggestedFileName) already exists in WebContentsAdapter. It is now accessible through a corresponding method in QWebEnginePage. [ChangeLog][QtWebEngineWidgets][QWebEnginePage] New QWebEnginePage::download() method to start custom downloads for a web page. Task-number: QTBUG-55944 Change-Id: I185ec69c1668b377a129bc9fc09963278e52de1e Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- 26 Jun, 2017 - 1 commit
-
-
Florian Bruhin authored
Chromium has local storage enabled in icognito windows, and simply doesn't persist it to disk. QtWebEngine seems to do the same when local storage is enabled in an off-the-record profile, so there's no reason to disable it by default. This also matches the behavior in Chromium (and Firefox, but not Safari). [ChangeLog] HTML 5 local storage is now enabled by default (but residing in memory) in off-the-record profiles. Change-Id: I0cb7e946575a53471ffed9d3324b3ae4c2e80eee Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- 23 Jun, 2017 - 1 commit
-
-
Allan Sandfeld Jensen authored
Adds the ability to pause downloads, and resume paused or interrupted downloads. Task-number: QTBUG-56840 Change-Id: I018bd30c3a772a36d48e4154d94f69cb8d8319e4 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
- 08 May, 2017 - 1 commit
-
-
Allan Sandfeld Jensen authored
If the interceptor is the child of the profile, they will be deleted with the API profile which is before the underlying browser-context, they should therefore be unset from the browser context first. Task-number: QTBUG-60236 Change-Id: I2954e8106863b8b421ef166f6bf8fa79240c95ee Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
- 26 Mar, 2017 - 1 commit
-
-
Allan Sandfeld Jensen authored
Rename to follow our standard naming. This class was one of our oldest and probably predates our standard naming convention. Change-Id: I32dfbad9611b789ad13114d9692b07045806f7c0 Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- 29 Oct, 2016 - 1 commit
-
-
Michal Klocek authored
Task-number: QTBUG-56074 Change-Id: I2a66e91dd4ed1026e5ab2539cfd3f9094263b48c Reviewed-by:
Michael Brüning <michael.bruning@qt.io>
-
- 17 Oct, 2016 - 1 commit
-
-
Alexandru Croitor authored
The change fixes spellchecking to work on macOS. A new WebEngine configure option is available to allow spellchecking on macOS to use either Hunspell like the other platforms, or the native spellchecker that comes with the OS. The default is to use Hunspell. Task-number: QTBUG-53135 Change-Id: I3e45b2e0d728b1bf2659c35f3d0a042b0ecd6239 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- 20 Sep, 2016 - 1 commit
-
-
Leena Miettinen authored
Change-Id: I1164a505752d37a31006175dd6a3e6555b973e20 Reviewed-by:
Kai Koehne <kai.koehne@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>
-
- 22 Jun, 2016 - 1 commit
-
-
Adam Kallai authored
With this property the user gets the requested download's type. In other words, the user can identify the download where it comes from based on the type. Update public API list as well. Change-Id: I2b066d7eb4df1134266ad67ade0066e3bcc2b454 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- 16 Jun, 2016 - 1 commit
-
-
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>
-
- 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 - 2 commits
-
-
Michal Klocek authored
Change-Id: I366e35b6de0a46be648de3130eb7d8585fc1a694 Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
Michal Klocek authored
This method is broken, since SpellcheckerService is lazily initialized and dictionaries might be not loaded yet. Moreover there is a missing implementation on mac. Instead log warning when SpellcheckService can not load dictionary. Change-Id: Ifa2e769d83307543fa6cdf529475e9ab980022f0 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 20 Apr, 2016 - 1 commit
-
-
Allan Sandfeld Jensen authored
Remove the non-const reference access to customUrlSchemeHandlers, and replace the last remaining use-case with clearCustomUrlSchemeHandlers. Change-Id: If9077e3900593d7f9520fb9bbcef2f1aa3307eac Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- 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>
-
- 03 Apr, 2016 - 1 commit
-
-
Kai Koehne authored
Fix src/webengine/api/qquickwebengineprofile.cpp:78: warning: Undocumented enum item 'NoCache' in QQuickWebEngineProfile::HttpCacheType Also mention that the value was added in Qt 5.7. Change-Id: Ie3f139c473b6d36a74fdc094154e123425e7bef1 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 31 Mar, 2016 - 1 commit
-
-
Kai Koehne authored
Change-Id: I93f68098718d7f0303accabc9def49ff83e65ca2 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-
- 29 Mar, 2016 - 1 commit
-
-
Kai Koehne authored
Remove misleading "singleton, if one has been set" from the accessor's documentation. Also link to the accessor's from the class documentation, and remove mentioning of cookie store as something that can be accessed for an individual page. Finally, mark QWebEngineProfile::cookieStore as new in Qt 5.6. Change-Id: Ia20ca0ef45a9a15de0052f7ceb7f59d454c70fdc Reviewed-by:
Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-
- 29 Feb, 2016 - 1 commit
-
-
Leena Miettinen authored
Add information about the most important methods and properties. Change-Id: I41ae039a0cc6084b62b492560def5eed7d8d3742 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 10 Feb, 2016 - 1 commit
-
-
Szabolcs David authored
These classes can operate user stylesheets too. Change-Id: Ia283af92e52a822b26003ff65e0e7dc391b0904d Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 01 Feb, 2016 - 2 commits
-
-
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>
-
Jani Heikkinen authored
Update files using old header.LGPL3 to use header.LGPL Update files using old header.FLD to use new header.FDL Update files using old header.BSD to use new header.BSD Change-Id: I36a67aaa8c3ca6c7946308defc9c03c3571a7d23 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 27 Jan, 2016 - 1 commit
-
-
Szabolcs David authored
Add option to disable cache with passing NULL as cache backend. It behaves the same way as using HttpCache::set_mode(DISABLE), but saves some memory without instantiating backend factory. Change-Id: I1565cc773eda21a6bc73eebe14ab8046252a7755 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 06 Jan, 2016 - 1 commit
-
-
Szabolcs David authored
It marks the entries of the current cache backend for deletion and starts to remove them. Task-number: QTBUG-48177 Change-Id: I85ec25048ff5429976f1b2dcacd74666bdbe6624 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 11 Dec, 2015 - 1 commit
-
-
Joerg Bornemann authored
Add the possibility to save web pages as single HTML file, complete HTML (with resource directory) or MHTML archive. Change-Id: Ic7e7cfda9432f3534c13350a6369d79bb17fd8b3 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 07 Dec, 2015 - 1 commit
-
-
Allan Sandfeld Jensen authored
An application currently have to rely on suggested filename only to guess the type of a download. This is often insufficient when the suffix is misleading or missing. This patch adds the mimetype to the reported metadata and also adds a mimetype appropriate suffix to suggested filenames. Task-number: QTBUG-48206 Change-Id: I4c70f076d6eb5ae820fd6b7f568515eeb7c18df5 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- 01 Dec, 2015 - 2 commits
-
-
Michal Klocek authored
Change-Id: I8f9a4c5c155a65ede24908799218fd867db0767c Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
Allan Sandfeld Jensen authored
Make the signal distinct from the QObject destroyed signal and make sure it is not documented and follows private signal naming. Change-Id: If10a6e7fcee5e9ea4d3ed12ddb8e6ff3f1170adc Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- 05 Nov, 2015 - 1 commit
-
-
Kai Koehne authored
Change-Id: I9274a3cacaa04529152a5d827c47cf6fc831df19 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 19 Oct, 2015 - 1 commit
-
-
Kai Koehne authored
The class has only setters and getters, except for the virtual acceptCookie method. By replacing this method with a setCookieFilter callback we can avoid the need of users to subclass the client. Change-Id: Id78c01fc103b8d9cc267594527239b598e8975f1 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- 16 Oct, 2015 - 1 commit
-
-
Allan Sandfeld Jensen authored
Remove the scheme from the url scheme handler constructor, this way the same handler can handle multiple schemes, the API look more natural and we can get rid of the private class. Change-Id: I33906b8a5ea51641e28a53f93f4feb1472c24baf Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 13 Oct, 2015 - 1 commit
-
-
Allan Sandfeld Jensen authored
The API had no way of setting off-the-record, because the constructor meant for it set it to false. The patch fixes the constructor and adds basic API tests for the QWebEngineProfiles. Change-Id: I407eb4a4b0524b6c4eb944d17d744620dd9db6fb Task-number: QTBUG-48724 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 08 Oct, 2015 - 1 commit
-
-
Kai Koehne authored
Change-Id: I1040dab62b7c795dbaf3899304501917993b06d6 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- 06 Oct, 2015 - 1 commit
-
-
Allan Sandfeld Jensen authored
With QWebEngineSchemeHandler in QtWebEngineCore, we do not need the indirection and delegation CustomUrlSchemeHandler provided. This means the class can be removed and we can also store the handlers directly in BrowserContextAdapter and save a copy of the installed handlers in the QWebEngineProfile. Change-Id: Iabb5cc9d364c2f2a879bc77bfb2ff14b3c2ff640 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 30 Sep, 2015 - 1 commit
-
-
Allan Sandfeld Jensen authored
When the QObject::destroyed signal is emitted the inherited class parts have already been destroyed and thus it is no longer a QWebEngineUrlSchemeHandler and qobject_cast will return 0, which is asserted against. Change-Id: I7130c60a26088067930499a30e0081ed297a92d9 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 22 Sep, 2015 - 1 commit
-
-
Kai Koehne authored
Change-Id: I5db2aebf3cd300344bdafe8bba4169d54a0f3c24 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- 14 Sep, 2015 - 1 commit
-
-
Kai Koehne authored
Change-Id: Ia7b160444a6c8902c6174d9859b3989a9442bc2e Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-
- 09 Sep, 2015 - 1 commit
-
-
Leena Miettinen authored
Change-Id: I522918064ef8139eff4efa0461030baeb7083b76 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-