summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement missing WebActions in QML APIAllan Sandfeld Jensen2015-07-107-65/+174
| | | | | | | | Implements the remaining WebActions from the widgets API in the QML API, so the available actions matches. Change-Id: I60dfd4a574b80cdd82b8891abfb27a8bfb1b88ec Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add support for batch tasks to the cookie clientAndras Becsi2015-07-086-0/+163
| | | | | | | | | | This patch adds support for deleteSessionCookies, deleteAllCookies and getAllCookies to make these features directly accessible without the need of subclassing QWebEngineCookieStoreClient and having to implement a less efficient equivalent. Change-Id: I6645bee7fcef38d00dccfaa81f4e9ada86c491df Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Log javascript console log to qInfo channelAllan Sandfeld Jensen2015-07-072-0/+18
| | | | | | | | This is a pretty useful default for an example and test browser, we only log warnings and errors though. Change-Id: Ic92175cb8c231e7ec33c4899f9fc457923f65970 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* add Download*ToDisk web actionsJoerg Bornemann2015-07-067-0/+44
| | | | | | | | Add the web actions DownloadLinkToDisk, DownloadImageToDisk and DownloadMediaToDisk. Change-Id: If6c9c8a3f4b95ad3032cff71ffc53a48be26e083 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Merge "Merge Chromium 44 and fixes" into refs/staging/devAllan Sandfeld Jensen2015-07-0660-494/+816
|\
| * Merge Chromium 44 and fixesAllan Sandfeld Jensen2015-07-0660-494/+816
| |\ | | | | | | | | | | | | | | | | | | Bumbs the Chromium version to 44 and merges the 'wip/44-based' branch, which contains all the patches to build against Chromium 44. Change-Id: If03dd301cb2a5cf7da3fe0a92ce1134f1239bf00
| | * Fix build with only OpenGL/ES2Allan Sandfeld Jensen2015-07-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Define the needed extension when not available at compile time. Change-Id: I93be828facb2d2e3bf16ac98c04ef3544d695675 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Add xscrnsaver to required packagesAllan Sandfeld Jensen2015-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Xscrnsaver is now used for idle desktop detection on Linux, and required unless we disable that functionality from Chromium. Change-Id: I5295ebd822a4b53024d86868aa6dc4912ab120c1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
| | * Update BrowserContext and WebContentsDelegate for Chromium 44Allan Sandfeld Jensen2015-07-014-7/+23
| | | | | | | | | | | | | | | | | | | | | Adds and changes interfaces to work with Chromium 44. Change-Id: Id7c02e7b1be255d591f7ac5449dde5823c261eb5 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Switch UserScriptControllerHost to listen for created RenderViewHostsAllan Sandfeld Jensen2015-07-011-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | AboutToNavigateRenderView(RenderViewHost*) no longer exists so we must listen to something else to know when to send the scripts to a new RenderView. Change-Id: Ic4d296feab722a149ba304b35bfceaf4952c136e Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
| | * Fix video output with Chromium 44Allan Sandfeld Jensen2015-07-013-46/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | Updates shaders and rendering logic to match the new similar logic from Chromium. This includes separate UV and YA channels and different YUV color spaces. Change-Id: I677ec5477207a00d259d69989be6b8737803221d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
| | * Avoid assert in proxy resolutionAllan Sandfeld Jensen2015-07-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | QtWebEngine triggers asserts on Windows due to OnProxyConfigChanged called with a still pending configuration. Change-Id: I835860507c17110e642f3fa0628b5f7cb531e0e4 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| | * Unbundle zlib, minizip, libxml2 and libxslt on LinuxAllan Sandfeld Jensen2015-07-013-0/+12
| | | | | | | | | | | | | | | | | | | | | If available use the system versions of these basic libraries on Linux. Change-Id: Iebcd5c11c53d0d491c457ccff71be04f8b2cac1c Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Respect the system-png configure optionAllan Sandfeld Jensen2015-07-012-0/+2
| | | | | | | | | | | | | | | | | | | | | Link to system libpng on Linux if Qt was configured to do so. Change-Id: Ic86120aabb206173738e5a1977cad1d762794f2a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Other changes for Chromium 44Allan Sandfeld Jensen2015-07-013-6/+3
| | | | | | | | | | | | | | | | | | | | | Minor changes for Chromium 44 that didn't fit in anywhere else. Change-Id: I569422239acd077e33e1878a1d5dc7afeac0bea6 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Remove onloaded signal from Cookie APIAllan Sandfeld Jensen2015-07-015-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | This callback is no longer available from Chromium, and was not very important to the API in the first place. Change-Id: If65509380f2c27053cb4c04801b4e50694440d6a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Remove now invalid assertAllan Sandfeld Jensen2015-07-011-3/+0
| | | | | | | | | | | | | | | | | | | | | Frame to navigate has been moved from NavigationEntry to LoadURLParams. Change-Id: Ic421867ba067a79bbc499904e24066d40ff9b1ea Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Implement MotionEvent::GetUniqueEventId()Allan Sandfeld Jensen2015-07-011-1/+4
| | | | | | | | | | | | | | | | | | | | | Not currently used by Chromium except asserted not to be zero. Change-Id: I8eaab67fa316c80bd5b18af46993395c06aa8801 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Define DriverEGL::GetPlatformExtensions hereAllan Sandfeld Jensen2015-07-011-0/+16
| | | | | | | | | | | | | | | | | | | | | We need access to Qt classes to extract the EGLDisplay. Change-Id: I4e57aa72f3f7e08a55bc5e9694389e35f258e039 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Remove some Chromium overridesAllan Sandfeld Jensen2015-07-011-34/+1
| | | | | | | | | | | | | | | | | | | | | These are now always defined in Chromium or have been removed. Change-Id: I8f59805d793ecb91e51dede68b58a696dc3f84cd Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Permission Management for Chromium 44Allan Sandfeld Jensen2015-07-0112-76/+361
| | | | | | | | | | | | | | | | | | | | | Implementing the new PermissionManager API. Change-Id: If0fdac24b8fec561a898aba009345576b5ce7fc6 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Update RenderWidgetHostViewQt for Chromium 44Allan Sandfeld Jensen2015-06-232-36/+12
| | | | | | | | | | | | | | | | | | | | | | | | Handle moved and refactored methods, and the removal of the short-cut to not forward events. Change-Id: I11ef205c5d575a15ee6fe8f36b8a71505d656fe8 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Fix Chromium 44 on OpenGL ES3Allan Sandfeld Jensen2015-06-231-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chromium will now use the sync extension on OpenGL ES3, this means we shouldn't check for DesktopGL specific define, and since we do not use anything directly from the extension we don't need the ifdef. Change-Id: If664a885042c216079f1c58c8e6245b1c5447c9e Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
| | * Fix ProxyResolverQt for Chromium 44Allan Sandfeld Jensen2015-06-232-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | We now have to construct the proxy service using a proxy resolver factory. Change-Id: Id5c7957165f997c4a7f05d24d77b4ae68efd5a62 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
| | * Fix MSVC buildsAllan Sandfeld Jensen2015-06-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chromium now expects the MSVS version to be set in GYP_MSVS_VERSION, so we need to set that. Fortunately we can use the VisualStudioVersion environment to do so. Note we should be setting it to "2013e" when using Express, but I can not currently detect that. Change-Id: Id51c04c8d3292c05809d4aa1301a50b12b2d57fd Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Update remote inspector for Chromium 44Allan Sandfeld Jensen2015-06-235-79/+91
| | | | | | | | | | | | | | | | | | | | | | | | Handle changes in modules, API and ownership of inspector related classes. Change-Id: I8faa7f22b50828edeac450cc34c151fbb2c45a0c Reviewed-by: Jocelyn Turcotte (Woboq GmbH) <jturcotte@woboq.com>
| | * Update accessibility for Chromium 44Allan Sandfeld Jensen2015-06-232-108/+5
| | | | | | | | | | | | | | | | | | | | | | | | Remove previously unused types chromium has removed. Change-Id: I75749e56035a0168385961d80260243379bbddf4 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
| | * Trivial changes for Chromium 44Allan Sandfeld Jensen2015-06-2323-45/+46
| | | | | | | | | | | | | | | Change-Id: I8261b201f1d6623eff3427b68b8d098c17d293d3 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Disable V8 binary blobsAllan Sandfeld Jensen2015-06-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | V8 will now by default require two external binary blobs in libexec. We prefer not having to ship more external dependencies, which are both inconvinient and a security risk. Change-Id: Id171f9be83add871bfa7d76c000799ebda9b7666 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Update scripts for Chromium 44Allan Sandfeld Jensen2015-06-232-24/+22
| | | | | | | | | | | | | | | | | | | | | Updates version and snapshot script Change-Id: Ie1bd69d6a5042edbd563357bb2fc326cbbb813e8 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | | Add WebAction to QML apiAllan Sandfeld Jensen2015-07-067-51/+117
|/ / | | | | | | | | | | | | | | | | | | Adds WebActions matching QWebEnginePage to QQuickWebEngineView, this makes it possible to support copy/paste on OS X, and makes it possible to do rich text copy to clipboard on all platforms. Change-Id: If43c1b2e8ae0496423f830cfe6b86e0fa1b8126e Task-number: QTBUG-44289 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/devLiang Qi2015-06-3019-56/+615
|\ \
| * \ Merge remote-tracking branch 'origin/5.5' into devLiang Qi2015-06-2919-56/+615
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf src/webenginewidgets/api/qwebenginepage.cpp Change-Id: Idb33c92bd53fab76eee8fedb542dbf5e4a10f9e6
| | * | Bump versionOswald Buddenhagen2015-06-291-1/+1
| | | | | | | | | | | | | | | | Change-Id: Iab691f393546e353948e744820dc7fdce9044bb9
| | * | Polished the module overview.Kavindra Palaraja2015-06-271-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplified sentences in the Architecture section to improve readability. Change-Id: I324a95caf811c0c8afe14c90fe10529999e3c538 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * | Merge "Merge remote-tracking branch 'origin/5.5.0' into 5.5" into ↵Liang Qi2015-06-2615-38/+595
| | |\ \ | | | | | | | | | | | | | | | refs/staging/5.5
| | | * \ Merge remote-tracking branch 'origin/5.5.0' into 5.5Liang Qi2015-06-2615-38/+595
| | | |\ \ | | | | | | | | | | | | | | | | | | Change-Id: Ie9373d6278c9ba1514de5640802d985ec35aceb2
| | | | * | Use system fontconfig on embedded linuxv5.5.0Andras Becsi2015-06-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since our reference platform provides fontconfig on the system we can use that instead of the bundled one. This prevents us from duplicating the fontconfig cache which might also result in a very long first startup time. Change-Id: Ida74651a0d73ac7631cb5b60c0ced5998e59bc8c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| | | | * | Add changelog for Qt 5.5.0.v5.5.0-rc1Zeno Albisser2015-06-121-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia7a612e4cb125043d9e161636bcb529b15109a49 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | | | * | Add documentation for QWebEngineScript and QWebEngineScriptCollectionPierre Rossi2015-06-122-3/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I494f31a6b4efc038a96ca68142fa2f9a56d53802 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | | | * | WebEngineView: add a doc entry for settings.Pierre Rossi2015-06-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Appears to be an oversight. The settings class itself is documented. Change-Id: Id768a61957c6cd77a5dd15698ce77754399d9199 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | | | * | Last minute API review cleanupPierre Rossi2015-06-127-31/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The getters in QWebEngineDownloadItem were not const. The script collection in QWebEngineProfile was passed by reference, which is not idiomatic of Qt. Change-Id: I9b4218b407288b91a726a711bd2a7e1c1167d99a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | | | * | Add license file and mention in the docs for GPLv2+.Pierre Rossi2015-06-122-1/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4fa625452228eda7aef97b3e4fb09d21bbdf6470 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
| | | | * | Fix msvc linking issues caused by wrong export macroAndras Becsi2015-06-082-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the correct export macro QWEBENGINEWIDGETS_EXPORT for widget API. Change-Id: I1fe61008938522548fe84936fd97e0458ada3104 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
| | * | | | Fix crash when navigating an adopted windowAllan Sandfeld Jensen2015-06-261-0/+1
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the original opener has been closed, the factory client might point at a wrong object. To avoid that we can update it when we get the real client. It does not matter for CreateRenderWidgetHostViewQtDelegate which object it is called on. Change-Id: I7161e7436fca45c41f51cab8983d9c7214f11047 Reviewed-by: Jocelyn Turcotte (Woboq GmbH) <jturcotte@woboq.com>
| | * | | Fix cancellation of file dialogs.Joerg Bornemann2015-06-251-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user canceled a file dialog (e.g. provided by an input tag), then the renderer process would exit and the web page would turn blank. We must not pass empty strings or otherwise invalid file paths to RenderViewHost::FilesSelectedInChooser, because OnUpdateState will check for accessibility of those files and shutdown the renderer on failure. Task-number: QTBUG-46869 Change-Id: Ie01e56999c5e7acd42c5b3fd4993de7f3a5f2e73 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| | * | | Update snapshot SHA1Peter Varga2015-06-162-0/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The update contains the remove_v8base_debug_symbols change and enables it. This shrinks the debug library size even more. In case the symbols are needed CONFIG+=v8base_debug can be passed to qmake. Change-Id: I1a9e78163343257d76b7842ba592979db95b992a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * | Update chromium branchAllan Sandfeld Jensen2015-05-261-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the recent security fix. Change-Id: I1dac6591c11445619518334d530e9dd8d408a541 Task-number: QTBUG-46261 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| | * | Disambiguate name of QLocalServer used in Browser example.Friedemann Kleint2015-05-201-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Append Qt version and engine name so that it does not lock out the QtWebKit based browser and allows for comparing different versions of Qt. Remove outdated section within Q_WS_QWS. Change-Id: I754db3ce78eefea88b97960af24ae628093e3c2a Task-number: QTBUG-46233 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | | | Make it possible to run applications with chromium embedded optionsAndras Becsi2015-06-302-16/+20
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds --enable-embedded-switches command line switch to enable all the embedded switches on startup instead of during compile time. Among others this enables pinch-zoom, viewport and impl-side painting, to make it easy to run an application with these settings even if the library was not cross-compiled. On embedded these are enabled by default and can be disabled by --disable-embedded-switches. Change-Id: I366ed243f1b0e17cbeb900e672d0e15fb4a2b8b0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>