summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add a fallback for discovering plugins and translations.Michael Brüning2015-04-091-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix problems with deployed applications and remove the need to use a qt.conf file to configure the PluginsPath and TranslationsPath in order to get for example ffmpegsumo loaded by default. It should also fix the creation of empty directories from the Chromium layer. Task-number: QTBUG-44331 Change-Id: I08bb5ac1b308820bed2c758b30ce43f1209038e1 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Update snapshot SHA1Peter Varga2015-04-081-0/+0
| | | | | | | | | | | | | | Various path fixes for shadow building on Windows. Change-Id: Ida98f3d5a993dfda4e13f211318c25f4567cd145 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Revert "Enable the use of IPC tracing"Peter Varga2015-04-071-6/+0
| | | | | | | | | | | | | | | | | | This reverts commit 3ef408a32c352d86fbc1346304e0a6ffbbe12c0b. Change causes assertions in debug when browser exits. Change-Id: I5e4a57d4e444ad2974c7fe44c4928c486337a04a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Fix openWindowDefaultSize QWebEnginePage testPierre Rossi2015-04-071-7/+8
| | | | | | | | | | | | | | | | | | Add some qWait statements for timing-sensitive popup test. Replace QVERIFY with QCOMPARE for better reporting when it fails. Change-Id: I75eb2e774851beb01376042f0b60614db005970c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Fix tst_keyboardModifierMapping QML testSzabolcs David2015-04-072-1/+10
| | | | | | | | | | | | | | It needs some waiting time after keyboard events. Change-Id: I970f15b66bea3399b8dff43a9323c2827ad19823 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* | Revive ReloadAndBypassCachePierre Rossi2015-04-075-0/+20
| | | | | | | | | | | | | | | | | | Appears to be an oversight for widgets, as the API was there, but just wasn't wired. Also add it for QQuickWebEngineView while we're at it. Change-Id: I07d6e356cbaf22b79f3fc5a82df78c6821993e8d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* | Enable build of QWebEngineScript API testSzabolcs David2015-04-072-24/+25
| | | | | | | | | | | | | | The MSVC doesn't support this type of string literal concatenation. Change-Id: I051593a34c801df6c5264370ad751c45bbb41b5a Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* | Improve documentation about certificate errorsPaulo Pinheiro2015-04-073-4/+58
| | | | | | | | | | | | | | | | | | | | Documentation about how to handle certificate errors was poor, so this patch try to improve that. [ChangeLog][QtWebEngineQML][QQuickWebEngineCertificateError] New API for handling certificate errors in the QML API. Change-Id: I9234f5c8296651e7634ee41827fc6dcce503398b Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Fix publicapi test failuresPierre Rossi2015-04-071-0/+6
| | | | | | | | | | | | | | The API still needs to be updated to take out the EXPECT_FAIL Change-Id: Ib10019bccb1d05e61ddeaf91e645f4899284487f Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | QQuickWebEngineScript: First stab at documenting sourceUrl and sourceCode.Robin Burchell2015-03-291-0/+21
| | | | | | | | | | Change-Id: I9674488a95e3d0293c52b854201bb840392a641f Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* | Quick: Document javaScriptConsoleMessageSzabolcs David2015-03-242-1/+12
| | | | | | | | | | Change-Id: Iaf5a9c7915cdce36fe3219dd686059973d1a6251 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Fix gesture recognitionAndras Becsi2015-03-201-0/+2
| | | | | | | | | | | | | | | | | | Disable new gestures swipe and two-finger tap which seem to interfere with scroll and single finger tap in our current gesture provider code. Change-Id: Ib6d3590cafcc8bbd6ff2399d94a1ee9334070a5a Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Fix license headers for qml tests.Pierre Rossi2015-03-2023-23/+23
| | | | | | | | | | | | | | Wrong module... Change-Id: Ie9657084e19b33798eef609385ee864340806007 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Introduce mock UIDelegates for testing.Pierre Rossi2015-03-2017-154/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | Switch JS dialogs test to using this over the testsupport plugin. This is a less intrusive approach that lives as self contained qml modules within the test infrastructure. As an added benefit, it covers the UI delegation logic from end to end, including what happens in ui_delegates_manager.cpp. Change-Id: I1cc0afaf5514d53e1f3b4b0682379dd2d8d8a913 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Demo browser: re-add user stylesheetsPierre Rossi2015-03-205-24/+63
| | | | | | | | | | | | | | | | | | | | | | Implemented in terms of user scripts. Considering loading from a file URL would probably require setting a different cross origin policy for the isolated world we run this in, something we don't quite have yet, it seems easier to just use an inline <style> block. Change-Id: Ia6f7fbb96b925bcc3202b510689524abd93643fc Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Enable the use of IPC tracingPierre Rossi2015-03-191-0/+6
| | | | | | | | | | | | | | | | | | | | This can be used with debug builds, or by passing DEFINES+=IPC_MESSAGE_LOG_ENABLED at qmake time. IPC message logging is then controlled by the CHROME_IPC_LOGGING environment variable (e.g. CHROME_IPC_LOGGING=color). Change-Id: I0e423e716582f339cd4a30bf99e284bdefe00313 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Fix geolocation (and slight cleanup)Pierre Rossi2015-03-184-15/+5
| | | | | | | | | | | | | | | | Cleanup is mostly to avoid tripping on an assert when calling GeolocationProvider::GetInstance() from outside the UI thread. Change-Id: Id9c964c1cf952a7c867e5154dd2c05e17733a842 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Properly copy the UserScriptDataPierre Rossi2015-03-181-12/+2
| | | | | | | | | | | | | | | | | | | | UserScriptControllerHost keeps a collection of UserScripts and not the UserScriptData, which is a simple struct intended to be passed over IPC. Rely on the compiler generated copy constructor to copy that data. Change-Id: Ib5479e634f10d3646a10b644b0eaee471e48f5b8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | QWebEngineScript autotestPierre Rossi2015-03-182-0/+168
| | | | | | | | | | Change-Id: Id29c1ed0b29114f426c35a45192a723d305c5b29 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | QQuickWebEngineScript: Add a sourceUrl property to complement sourceCode.Robin Burchell2015-03-184-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtQuick doesn't have a convenient interface to interact with files, and even if that were the case, it would either be more awkward (and with increased overhead -- the price of an extra QObject, property, signal, etc) just to fetch the contents. So, we provide a convenience to allow fetching a user script from a file. Setting the sourceCode directly will reset sourceUrl (if it is set), and setting sourceUrl will ultimately result in a sourceCode change signal, too. Change-Id: Iee5abc0d719e2aeeacf1265f695b5a7efee9e0e8 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Remove uneeded GetShareHandle() function from EGL integrationAndras Becsi2015-03-171-25/+0
| | | | | | | | | | | | | | The override of this function is not needed. Change-Id: I8579bd1b2a8476cb057b9256c816ac88cbb209ab Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* | Support middle click navigationSzabolcs David2015-03-164-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | When the user does a middle click on a link which originally opens a new tab (target="_blank"), the newly created RenderView is hidden, so the new tab has no visible content. We need to unhide it explicitly. This also adds background tab support for the Quick example browsers and fixes the profile mismatching warning in the case when we adopt a new tab without WebContents. Change-Id: Ia3c2e752a4784d32133cee0ff278c2849b151582 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Move featurePermissionRequested to the public APISzabolcs David2015-03-167-38/+74
| | | | | | | | | | | | Change-Id: Ifc0baac73daad9146eb8f2878e49257d25310555 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Set settings declaratively instead of on eventsAllan Sandfeld Jensen2015-03-161-3/+4
| | | | | | | | | | | | | | Match the changes in quicktestbrowser in how settings are set. Change-Id: I5b41de4c400c9c6802da20da4f9cc6f24f7db4da Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Add documentation to WebEngineSettings QML API.Michael Brüning2015-03-161-0/+109
| | | | | | | | | | | | | | | | The documentation of the settings is more or less copied from the widgets equivalent. Change-Id: Ib969c26aaeda92d1a01450f3903c85a3e1079523 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Update submodule SHA1Michael Brüning2015-03-161-0/+0
| | | | | | | | | | | | | | | | | | | | This includes the fix for SIGPIPE handling and the reversion of the Mojo geolocation IPC patch. Task-number: QTBUG-44689 Change-Id: Ib2b6618029b6390e1570f1becdd868ae66f9779f Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Use singular they instead of he as a pronoun for the user.Michael Brüning2015-03-131-2/+2
| | | | | | | | | | | | | | It is neutral and commonly used. Change-Id: I16f5f058377ba99e599fc84037157314d0dd68a3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Fix settings menu in qtquicktestbrowserAllan Sandfeld Jensen2015-03-131-6/+7
| | | | | | | | | | | | | | | | | | Changing the default settings has no effect. Instead use declare the settings properly declaratively. Change-Id: Ie1f5ca0b91a54df759031487bfc45fd3c362cfb0 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com> Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* | Support HTML5 form validation featurePeter Varga2015-03-1315-2/+571
| | | | | | | | | | | | | | | | | | | | | | | | HTML5 provides built-in form validation that is supported by chromium. The form validation messages should be shown by the browser therefore new MessageBubble UI element has been added to Quick and Widget implementations. This patch implements chromium's form validation events and shows the messages in a MessageBubble. Change-Id: I0c8f4f102823117e2bfb16ff8a4c503635491939 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Enable building the QML test support API for developer buildsAndras Becsi2015-03-121-0/+1
| | | | | | | | | | | | | | | | This makes sure developers at least build this codepath so we have the needed coverage to find out if something breaks. Change-Id: Id56ecf5bb051e873e9bcf313a50a5eec23c2bd83 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | Force c++11 support when building the testsAndras Becsi2015-03-123-0/+5
| | | | | | | | | | | | | | | | This fixes several warnings because of the use of the override keyword in private headers. Change-Id: Id30e13cab08be7b31a115e1b9b7334765d677cc3 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* | Update snapshot SHA1Andras Becsi2015-03-121-0/+0
| | | | | | | | | | Change-Id: Iaf88dafa49502a84a78f2294ea68a9885b6c8957 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Clean up global profiles and ownershipAllan Sandfeld Jensen2015-03-1211-56/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the unused global off-the-record browser-contexts and changes all browser-contexts to be ref-counted by an API level profile. The API default profiles are now owned by a global QObject and are deleted on exit. Change-Id: Id7c9eafa24829118105f58b66663a6348216823d Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | UserScript: Rename source property to sourceCode.Robin Burchell2015-03-127-29/+28
| | | | | | | | | | | | | | | | | | The name 'source' is unclear, and doesn't match current conventions in QtQuick (e.g. Image::source). Furthermore, such a property inhibits adding convenience API to fetch a user script from an external URI. Change-Id: I518b3963f64f0986f9e2d08fe7c5f69122372e0c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Add tst_javaScriptDialogs QML testv5.5.0-alpha1Szabolcs David2015-03-119-0/+235
| | | | | | | | | | | | | | | | Test alert, confirm and prompt dialogs via test support API. Change-Id: I9057a887491ac68e86ccd87181d4091323f6ee6f Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Promote fullscreen API to 5.5 publicSzabolcs David2015-03-097-28/+132
| | | | | | | | | | | | | | | | | | Introduce a new FullScreenRequest object as the parameter of the fullScreenRequested signal and expose the isFullScreen property as read-only. This makes the API harder to misuse. Change-Id: Ibb072ec93843e6df265bd930e8721d244bc2f4bc Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Add testsupport QML API and error page signalsPeter Varga2015-03-0617-25/+441
| | | | | | | | | | | | | | | | | | | | | | The testsupport API is used for test those features that are not planned to be accessible via the public API. For example, signals of the chromium's error page should not be visible for the develepor but it is important to test whether the error page is loaded properly. Change-Id: Ie5b3265a207d05649cabd624a001a6ffe2e45971 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Update snapshot SHA1Andras Becsi2015-03-061-0/+0
| | | | | | | | | | | | | | | | This includes an update to stable version 40.0.2214.115 and a security fix to boringssl. Change-Id: I4e76c9a6357cdf07e1d5ad44cf4fb019060fdfef Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Move findText to the public APISzabolcs David2015-03-046-20/+71
| | | | | | | | | | | | | | | | | | - Add a default 0 value for the FindFlags parameter - Update tests and examples - Import documentation from the Widgets side Change-Id: Ifb627a81247028416bc7a31068676ea871f6dcf4 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Quick: Fix handling of multiple certificate errors per requestPaulo Pinheiro2015-03-047-27/+100
| | | | | | | | | | | | | | | | | | | | | | This patch enables Quick API to handle multiple certificate errors per requests and update the example projects. Chromium 40 branch raise an certificate error for every resource loaded in a request (.js, .css, .html) instead of only one (previous behavior), so requests with more than one certificate error were automatically rejected. Change-Id: Ibaa3027cd6e7f22b5dc51dcd52f76ccf5ea162d3 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* | Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5Frederik Gladhorn2015-03-041-1/+1
|\ \
| * | Merge remote-tracking branch 'origin/5.4' into 5.5Frederik Gladhorn2015-03-031-1/+1
| |\| | | | | | | | | | Change-Id: Iffde26e99e32b2043fe54b0afc01f14c508df145
| | * Replace old qt-project.org wiki with wiki.qt.ioSergio Ahumada2015-03-021-1/+1
| | | | | | | | | | | | | | | Change-Id: If9f4b7bcfa4bfffffd5180600981ca0f16f6da8f Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* | | Add missing QtWebEngineCore namespace refs to egl integrationStephan Binner2015-03-044-4/+5
| | | | | | | | | | | | | | | | | | | | | Also add a missing include (for compilation without accessibility) Change-Id: Iea3def18d898e249b82968cd25495b62ffb80cfe Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | | Fix namespace of SurfaceFactoryQtAllan Sandfeld Jensen2015-03-043-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix one class that didn't get refactored right. Change-Id: Id0f2f92d8f68453002524de3c182e572cd657c6a Reviewed-by: Stephan Binner <stephan.binner@basyskom.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | | Respect use-system-jpeg Qt settingAllan Sandfeld Jensen2015-03-041-0/+2
| | | | | | | | | | | | | | | | | | | | | Forward the system-jpeg Qt setting to chromium. Change-Id: I646176fdf6a1c7818828dc8b24543cc885cc3688 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | | Fix building Qt WebEngine without accessiblity enabledStephan Binner2015-03-042-2/+2
|/ / | | | | | | | | Change-Id: Idb9a384da3aaa118a9b0fb773ca5ba94b96f6bbc Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Fix the documentation of linkHovered signalSzabolcs David2015-03-031-3/+2
| | | | | | | | | | | | | | We don't support the hoveredTitle parameter. Change-Id: Ibab3c1c409dbe47855b2f6136b25de2eb080ba1f Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Add namespace to internal QtWebEngine APIAllan Sandfeld Jensen2015-03-02131-124/+546
| | | | | | | | | | | | | | | | Adds the QtWebEngineCore namespace to all internal core API. This ensures we don't export any internal symbols in the global namespace. Change-Id: I26af888ea7c6c4c4d0f04c24a377c1a9d3c92751 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Update tst_navigationHistory QML testSzabolcs David2015-02-271-6/+5
| | | | | | | | | | | | | | This API is not experimental anymore. Change-Id: Ide416705f7d9e148133f155f915e8db79fee8e12 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>