summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* Add redirect and error API for custom URLAllan Sandfeld Jensen2015-05-136-2/+126
| | | | | | | Adds API for failing or redirecting custom URL requests. Change-Id: Ia633bff2c0b8484fd6fdb8d42982fda2e427db4c Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Update embedded configurationAndras Becsi2015-05-121-5/+2
| | | | | | | | | Remove some obsolete options and add conditionals similar to desktop_linux.pri. Change-Id: Id295345028e5fd5f593cbd0b5dc6acdb5c00518b Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fix Menu ui delegate after on__MenuClosed has been renamedAndras Becsi2015-05-127-11/+14
| | | | | | | | | | | The internal on__MenuClosed signal has been renamed to onAboutToHide in qtquickcontrols. Also update some import versions while we're at it. This patch also adds examples OSX application bundles to .gitignore which only contained the unix binaries. Change-Id: If1d91cb65987dda6d0e10794c1649b1b4e1ccde3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Remove unneeded ResourceContextQt::set_url_request_context_getterAndras Becsi2015-05-123-16/+3
| | | | | | | This is an ancient relic that can be removed. Change-Id: Ia6926fff65d0e4d0769de940516866a2c51d9a0c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Reintroduce private browsing mode for example browserAllan Sandfeld Jensen2015-05-1112-53/+90
| | | | | | | Uses QWebEngineProfile to support private browsing mode. Change-Id: I78fa712d2425eb2df519594ee3fa5639bbcbebf6 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Quick: Share profiles between application windowsSzabolcs David2015-05-078-63/+90
| | | | | | | | | | | | | | The applications should not create new WebEngineProfiles for each window, because the WebEngineView can not adopt content from a different profile when the target of the NewViewRequest is a new window (SHIFT+click) or a dialog. This also adds a notifier signal to the profile property in order to avoid "non-NOTIFYable" warnings. Change-Id: I235789f9bfa1a216f99592204e50266242d0ef1c Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Improve thread safety and behavior of custom URL requestsAllan Sandfeld Jensen2015-05-063-8/+75
| | | | | | | | | Adds thread protection between the UI and IO threads access to the QIODevice, and changes it to a QPointer, so we can tell if the user deletes it. Change-Id: I3e7b3f682d4c5a145d75cd5822affcfc9012cff7 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Add documentation of Custom URL requestsAllan Sandfeld Jensen2015-05-062-0/+67
| | | | | | | | | | Adds basic documentation to the API. Though the API is still private we would like people to experiment with it, which is easy if it is documented. Change-Id: I63985dfc16dc91270d95edf6fc306f9c71a10f29 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org>
* Fix crash when updating a storage context with active requestsAllan Sandfeld Jensen2015-05-061-0/+12
| | | | | | | | | | Requests keep pointers to objects owneded by the storage context such as the SSL context handler and HTTP cache. This means we must stop all requests before destroying the context, otherwise the requests will access deleted data. Change-Id: I67863287b3ffb470c8d84ff6cac143493998a6da Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Prevent conflicting declaration errors of GL typedefsv5.5.0-beta1Andras Becsi2015-04-303-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Including gpu/command_buffer headers in Qt code pollute by including ui/gl/gl_bindings.h which pulls in system GL headers. This will cause conflicting declaration of typedefs when included together with content/gpu and content/common/gpu headers which pull in gles2_cmd_format.h that forward declares some GL types. Although the gl_bindings.h header states in a comment that it should only be included in source files, the inline implementation of texture_manager.h and some other low-level GL integration headers nonetheless require gl_bindings.h, which unfortunately cascades through to our core layer and may cause problems when Qt code is compiled. Since getting rid of this include in Chromium's headers is not feasible due to maintenance costs, making sure that in Qt code gpu/command_buffer headers are included before content/gpu and content/common/gpu headers and guarding forward declarations in gpu/command_buffer/common/gles2_cmd_format.h should be a sufficient workaround. We can however get rid of the polluting includes in src/core/gl_surface_qt.cpp, which only requires forward declarations. This also includes a SHA1 update for the Chromium submodule. Task-number: QTBUG-44240 Change-Id: I5813a3663d36e2b565e4fd7f429add7b6f8f8a69 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Remove Q_UNREACHABLE from DesktopScreenQt::GetDisplayNearestWindowSzabolcs David2015-04-301-1/+2
| | | | | | | | Chromium uses this method when the user attempts to drag. Task-number: QTBUG-45723 Change-Id: Ibe3946846f0f4e2d2a25ca36e66fa7235d4aecea Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Fix prefix buildPeter Varga2015-04-292-4/+4
| | | | | | | | | | | Deploy resources, locales, icu and plugins into the build directory instead of install directory. It is necessary when Qt is configured with -developer-build and -prefix options: the compilation may fail if user has no write access for install directory. Task-number: QTBUG-45796 Change-Id: I425f26fcb4b611c255dd744cb9b4eafe16015d6f Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Widgets: Use overridden show()Szabolcs David2015-04-272-4/+1
| | | | | | | | Notify client about the show() after RWHVQD creation. The WasShown(...) hack is not necessary anymore in the core layer. Change-Id: I221b2d027ee83d81d70191419bc4fa8d41231674 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Partially revert "Fix QtCreator loading of qtwebengine.pro"Andras Becsi2015-04-243-4/+4
| | | | | | | | Changing the python print signature seems to cause problems on Windows, so revert it. Change-Id: I715f792b880a2269ec153bbc73b432c6a4e87cc5 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Cleanup some Blackberry legacy code.Pierre Rossi2015-04-231-38/+5
| | | | | | | The blackberry-specific location is dead code by now. Change-Id: I1321c0fb3ea5cd99e513c2fff11724aa92a19cdd Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Remove unused includesPeter Varga2015-04-231-3/+0
| | | | | Change-Id: I87de823c9a67f4e30dd9a86b185bfde51b934509 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* Force to use English language for QML auto testsPeter Varga2015-04-236-2/+30
| | | | | | | | | | Moreover, localization setting via QtWebEngine is fixed. System localization setting can be overridden by --lang command line argument. Task-number: QTBUG-45715 Change-Id: I39f3a891e55ee47a57afc394e849ea02b0c76ad5 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* Update snapshot SHA1Peter Varga2015-04-231-0/+0
| | | | | | | | This update removes android files and contains localization fix. Task-number: QTBUG-45715 Change-Id: Iac08a5c18514c605265aad875b30f7cb5307b420 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* WebEngineView does not load a url while invisibleAndras Becsi2015-04-226-1/+22
| | | | | | | | | | Notify the RenderWidgetHost about visibility changes so that we receive updates with non-empty DelegatedFrameData when a page was loaded in an invisible WebEngineView and then made visible. Task-number: QTBUG-42789 Change-Id: I4856efcd9c0ce44b66a228d5a414198df46b95eb Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Fix assignment of observer to RenderProcessHost.Adam Kallai2015-04-213-3/+6
| | | | | | | | | By default Chromium uses the process-per-site-instance process model. Therefore if there is a renderProcessHost which is already observed we do not need to add another observer for user scripts. Change-Id: Ic0c2104ebbefb2b8427c43c4c665d96b5a991ba1 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Remove erroneous semicolons after Q_DECLARE_* macrosAndras Becsi2015-04-205-7/+7
| | | | | | | | Some of these declarations had habitual semicolons at the end, which would fail when compiling with -Werror,-Wextra-semi. Change-Id: I8dd73462fc1c10b0bb746fbfc3281d9cce36e5fc Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Fix the crash on exit with --single-processSzabolcs David2015-04-201-0/+2
| | | | | | | | In single process mode, RenderProcessObserverHelper got destroyed before its host. Change-Id: Ic2f36de3218f5ad6781610dbf677675b7e41a9eb Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Add a fallback for QLibraryInfo::DataPath as well.Michael Brüning2015-04-161-7/+25
| | | | | | | | | | | | This should remove the necessity to have a qt.conf file for deployed Windows applications. Also, be consistent about three dots in the messages that get printed when trying fallback directories. Task-number: QTBUG-45614 Change-Id: If46c93a0e8f150b91cff188517187a58edff9144 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Quick: Document fullscreen APISzabolcs David2015-04-161-0/+92
| | | | | Change-Id: Iade66eaea7016e6f7d73f25f8fc7af1879d099d9 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5Liang Qi2015-04-164-4/+10
|\
| * Merge remote-tracking branch 'origin/5.4' into 5.5Andras Becsi2015-04-154-4/+10
| |\ | | | | | | | | | Change-Id: I1e414bb2252ee4b2204ef50a9d122d1d1504115d
| | * Update submodule SHA1Michael Brüning2015-03-161-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | This includes the fix for the SIGPIPE handling. Task-number: QTBUG-44689 Change-Id: If418da89620c6ec87240d0264901dd23c1881310 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| | * Update links from qt-project.org to qt.ioSergio Ahumada2015-03-061-3/+3
| | | | | | | | | | | | | | | Change-Id: I0882a82457eaef37e84f81ad3bc44e1d65cec4ef Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
| | * Update chromium SHAAllan Sandfeld Jensen2015-03-061-0/+0
| | | | | | | | | | | | | | | Change-Id: Ib9812da6bf5fc504fe5997ea9fd62ccae960d132 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Fix non-accessible build without -fpermissiveStephan Binner2015-03-051-2/+0
| | | | | | | | | | | | | | | Change-Id: I0279f26374070614cf8df0e6601b17e5b01b3be6 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Enable building Qt WebEngine without accessiblity enabled.Stephan Binner2015-03-0418-5/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds guards that for QT_NO_ACCESSIBILITY being not defined around the code that uses accessibility types. It disables the quicknanobrowser and quicktestbrowser examples which need Qt QuickControls, which has a hard dependency to accessibility being enabled. Backport of d95b9295c970401939d2779cbdc9e2a8c7965277 from 5.5 Change-Id: I2a2a0a6196fcb3baa39603d9c929183b454f39ed Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| | * Fix compiler detection and let Qt decide if examples should be builtAndras Becsi2015-03-042-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the build on OS X if the path to clang is not cached, and only builds examples if Qt was configured to do so. This has already been fixed in dev. Change-Id: Ia2d17f38f30e832425f6e1cd014b46a6c6ae78ec Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | | Fix QUICK_TEST_SOURCE_DIR macro on WindowsPeter Varga2015-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Backslashes in the path were interpreted as escape characters on Windows. Change-Id: Ifdb81efb51ec09d822aa243514fe145c700faaf7 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | | Deploy QtWebEngineProcess.exe at library executables path on WindowsPeter Varga2015-04-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the proper library executables path on Windows instead of the libexec. With this fix it is not necessary to set QTWEBENGINEPROCESS_PATH environment variable per default. Change-Id: I8cce07b8adbccc88b03c9cf942841eb1d4a5f176 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | | Fix compile warnings of QWebEnginePage widget auto testPeter Varga2015-04-151-0/+5
| | | | | | | | | | | | | | | | | | | | | Change-Id: I22a63075c66d263e4aebb6aea47e80d6ce08cb3c Reviewed-by: Adam Kallai <kadam@inf.u-szeged.hu> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | | Fix QtCreator loading of qtwebengine.proAndras Becsi2015-04-155-4/+9
|/ / | | | | | | | | | | | | | | | | | | | | | | | | When QtCreator loads qtwebengine.pro some parsing errors are shown if it picks up the system python3 for basic detection. Although we do not plan to support python3 with all of our scripts (since Chromium does not) these simple cases can be fixed by using the function version of python's print. This patch also adds the Chromium source path to the core INCLUDEPATH so that Chromium headers are indexed as well. Change-Id: Ia6dec1c776fdcddf875fb8e814d8fb33b7340989 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Fix QQuickWebEngineDownloadItem member initializatonAdam Kallai2015-04-142-0/+3
| | | | | | | | | | | | | | The totalBytes member has to be set before the downloadRequest would be emitted. Change-Id: Ifc164fb2d7f3318b825e28edb5b200ab623740d5 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Remove eAndroid hooksAndras Becsi2015-04-1416-173/+13
| | | | | | | | | | | | | | | | Support for the B2Qt/eAndroid platform is discontinued with Qt 5.5 so we can remove all remnants of the android platform. Change-Id: I93f15fcd4a345203e15010ddf1e8de3e8d28ab56 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Update expected list of public API testAdam Kallai2015-04-141-6/+44
| | | | | | | | | | Change-Id: Ifccac63f95d3147b46486eb7a09fbad9e3f52f67 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Add tst_userScripts QML testSzabolcs David2015-04-095-0/+286
| | | | | | | | | | Change-Id: Id023c3f6e4be05c44314418511062015413d76c9 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Remove tst_setUrlWithFragment test caseSzabolcs David2015-04-091-41/+0
| | | | | | | | | | | | | | | | | | This test is flaky, we don't have proper signals for in-page navigations and this case tests the behavior of the browser engine, not the QtWebEngine API. Change-Id: Ia94219df3501126bf1ab00a400a57d589b651589 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>