summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add methods for textual description of DownloadInterruptReasonViktor Engelmann2017-01-128-38/+213
| | | | | | | | | | | | | | | A method was added to get a textual description of a Q(Quick)WebEngineDownloadItem::DownloadInterruptReason. Basically returns the same description from the QDoc entry, but shortened where that was to long. Also moved the ASSERT_ENUMS_MATCHes from download_manager_delegate_qt.cpp to the newly created browser_context_adapter_client.cpp. Task-number: QTBUG-56839 Change-Id: I17c68987b7f12fcaeb71fd27f7ebb35c0ac87bac Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add methods to issue various types of HTTP requestsViktor Engelmann2017-01-1110-9/+604
| | | | | | | | | | | | | Added class QWebEngineHttpRequest, which describes a GET or POST HTTP Request. Also added overloads of method "load" to QWebEngineView, QWebEnginePage and WebContentsAdapter, which issue such a request. These can be used for example to simulate form-submissions. Task-number: QTBUG-53314 Task-number: QTBUG-53372 Change-Id: I85ac8cdd3d1557905b35e3172b922aba356d1c41 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Optimize scene graph rendering by reusing old nodes if possibleMichael Brüning2017-01-113-98/+438
| | | | | | | | | | | | | | | | | | | | | | | Previously, Qt WebEngine always dropped all existing scene graph nodes that were created for previous frames and built up a whole new tree. The main reason for this was that the render pass structure is not guaranteed to remain the same across two frames. This resulted in a full repaint of every new frame, even if only a small area had changed. We now check first if the structure of the frame data has changed across two sequential frames. We only discard the old nodes if there actually has been a change. Otherwise, we reuse the scene graph nodes and only update the nodes that have changed. A general exception to this at the moment is video. In case any streaming video or yuv video nodes are found in the render pass, all nodes get recreated. Task-number: QTBUG-57720 Change-Id: I8998577af48a163d54144f205c316ee427ed0307 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Emit a new signal when printing to a PDF file finishesMichael Brüning2017-01-1011-34/+141
| | | | | | | | | | | | | | | [ChangeLog][Important Changes] Printing to a PDF file will now emit signal the signal pdfPrintingFinished in both QQuickWebEngineView and QWebEnginePage. The boolean passed with the signal to indicate if the printing and saving of the PDF was successful. The path of the created file is also passed to enable the user to map the signal to a print request. Task-number: QTBUG-56677 Change-Id: Ifab5a20b048f33a8cd872165bd4d453b01708037 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Merge branch '5.8' into devAllan Sandfeld Jensen2016-12-219-18/+52
|\ | | | | | | | | | | | | Conflicts: configure.json Change-Id: I658a02de96b45b382f0f6c383964501b794b5eb6
| * Update chromiumMichal Klocek2016-12-201-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in following chromium changes: 9827840 [Backport] Preventing TURN redirects to loopback addresses. e478888 Remove whitelist for script_exec from .gn e87fa1f Fix target collision for locales repack f61f5b5 Fix build to have spellchecker compilation optional 762a788 Disable compiling mus application and its lib dependency 9ae236c Do not include web_engine_library_info.h 87778ab Remove unused third party components Change-Id: I69afb880d497dc0062c1ffee550bc1e5ba90405c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Warn on wayland if compiled with x11 support, however no xwaylandMichal Klocek2016-12-201-0/+7
| | | | | | | | | | | | | | | | Add a warning message for builds with aura and x11, when run on wayland wihout xwayland support. This will be fixed properly in 55-based. Change-Id: I7482c7989087b5702634aff5d43409ae8728cd94 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix compilation, add getApplicationLocale() method implementationMichal Klocek2016-12-201-1/+9
| | | | | | | | | | | | | | | | This is workaround to not include web_engine_library_info.h for qtwebengine_sources. Change-Id: Idbc86e8e5281a514199ebcd80af045e11f554362 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Improve WebEngineDownloadItem documentationKai Koehne2016-12-201-3/+1
| | | | | | | | | | Change-Id: Ic5a771df8092ee217fffa2b14ccbd7e539f356f1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| * Merge remote-tracking branch 'origin/5.8.0' into 5.8Liang Qi2016-12-156-14/+35
| |\ | | | | | | | | | Change-Id: I1f2068d52104764a1ac75354cbe7d90f6293ec7d
| | * Update chromiumv5.8.0-rc1Allan Sandfeld Jensen2016-12-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in an ANGLE build fix Changes: 3205b85 [Backport] Adjust NOT_SHIPPED labels of some README.chromium's a89675a Add TOOLKIT_QT define for use_qt a87668b Avoid clobbering the argument scope for v8_use_external_startup_data b7d1c5b FIXUP: [Backport] Use safe math in ValidateCopyBufferSubData. Change-Id: Ibd17b481c942c6856a4beaf1bd7e3480f5e70691 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * Fix Linux audio library detectionAllan Sandfeld Jensen2016-12-151-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The configure checks where moved to QtMultimedia which we do not depend on, therefore we need to now duplicate the checks ourselves. Task-number: QTBUG-57620 Change-Id: I6f7319c7e91e3f51baf012c669121389cd6e1360 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * Doc: Fix reference to QNetworkProxyFactory::usesSystemConfiguration()Leena Miettinen2016-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | ...in the overview. Change-Id: Ie2b5d3c9f2313fa222741a87b978c5d8f5a999f1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Doc: Upgrade the Chromium version in the overview to 53.0.2785.148Leena Miettinen2016-12-141-1/+1
| | | | | | | | | | | | | | | Change-Id: I374a72e6cccbe5daafcf0dc442fdc9618d158455 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * Update ChromiumAllan Sandfeld Jensen2016-12-091-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the remainding security updates from the first Chrome 55 release. Changes: f0e73b6d Add mus and catapult project files 804dc2f Merge remote-tracking branch 'origin/upstream-master' into 53-based 461b9af [Backport] Merge: "INPUT element: Do not dispatch events in detachLayoutTree()." to M55 branch. 0119f04 [Backport] Disallow frame swap during frame detach. 7aab930 [Backport] Do not call an event listener on a cloned node in svg <use>'s UA shadow tree e9660fc [Backport] Do not re-create the page view when accessing from Document::removeField. 2ff5d16 [Backport] Merge to 2883 "[DevTools] Move sanitize url to devtools_ui.cc." 482005e [Backport] Null CPDF_CountedObj::m_pObj prior to deletion ba38b74 [Backport] [inspector] added check that context always survives inspected context 02ac973 [Backport] Don't send loading completion callbacks for detaching frames. 803a9bb [Backport] Merged: Avoid using stale InspectedContext pointers b6888f2 [Backport] cc: disable denorm handling before calling into Skia's filter code. 7713975 [Backport] Don't show the pending URL for chrome.tabs API navigations 10e27e9 [Backport] Drop navigations to NavigationEntry with invalid virtual URLs. 75b24b6 [Backport] Use safe math in ValidateCopyBufferSubData. 9b21229 [Backport] Use better fallback URLs when calling AVScanFile(). 15f8e8e [Backport] Make WebViewImpl::textInputInfo update layout before working on ranges. Change-Id: If25235295f4ebf43d15f4c584cfcbecf16f46840 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | * Use surfaceless context if necessaryAkihiko Odaki2016-12-081-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The support for surfaceless context was disabled in commit 9cc97f0c63049a8076476acc89c875c9e240abfb, which says: > Using surfaceless EGL surface on imx6 embedded device crashes webengine > with backtrace in gpu driver. It was added in commit bfcbdc3ab42880dc37ffa7174af96928ccf25f03, which says: > This patch is a port of commit 4b0cac9dfeebb73f21a11e10e6a2bc7bddbe889b > in Chromium for Qt WebEngine. > The based commit says: > (snip) > > the creation of a dummy offscreen surface. This would also enable > > support for offscreen rendering on platforms (i.e Ozone-Wayland) which > > donot support pbuffer surfaces. > > Some platforms supported by QPA, such as Mesa 3D DRI2 with drm and > wayland backend also don't support pbuffer surfaces. Considering those cases, this change enables surfaceless context only if pseudo surfaceless context made of surface context is not available. Change-Id: I015421ebbbc357d48313e09d4f7a0369bb956521 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * Update ChromiumAllan Sandfeld Jensen2016-12-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the first half of security changes from the Chrome 55.0.2883.75 release. Changes: fb104e7 Add webengine target to root BUILD.gn c9be6be [Backport] [runtime] Better encapsulation of dictionary objects handling in lookup iterator. 04a8a91 [Backport] Merged: Squashed multiple commits. e63cc35 [Backport] Enforce form-action CSP even when form.target is present. 167831d [Backport] Walk up frame tree for srcdoc referrer policies 97d1433 [Backport] M55: Convert from int to float values. 1903e5a [Backport] Limit PDF helper extension to print preview only a71fdf5 [Backport] M55: [pdf] Defer page unloading in JS callback. 0755498 [Backport] Update mix bus carefully for MediaStreamAudioDestinationNode 80d11e3 [Backport] Strengthen bounds check in CWeightTable::Calc. 238654a [Backport] Strengthen bounds check in CWeightTable::Calc * part II bd3626a [Backport] Don't run handleEvent getter in V8EventListener::getListenerFunction if script is forbidden. b5e68b8 [Backport] M55: PDF: Don't follow redirects in the plugin. Change-Id: Iaecaae474bd490a62aef0591549f3dc314166afb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | * Avoiding accessing null QMimeData from missing clipboardsAllan Sandfeld Jensen2016-12-071-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Not every Linux QPA has the selection clipboard, and will return a null QMimeData when one is requested for Selection. Task-number: QTBUG-57425 Change-Id: Ib63a0c3589df299ce4a2a5e30cbe6efb0727b5f1 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * Merge remote-tracking branch 'origin/5.7.1' into 5.8.0Liang Qi2016-12-071-2/+3
| | |\ | | | | | | | | | | | | Change-Id: I4f73844c730d52b00194ab6ff4abe35c59f7ef68
| | | * Disable surfaceless context supportv5.7.1Michal Klocek2016-12-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using surfaceless EGL surface on imx6 embedded device crashes webengine with backtrace in gpu driver. Since this feature requires a bit more testing on embedded platforms disable support for the 5.7.1 release. Task-number: QTBUG-57290 Change-Id: I3ed5b6fc173d184486316a2c3d899a88d4b1de76 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Update ChromiumAllan Sandfeld Jensen2016-12-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in security patches from the Chrome 54 releases and build fixes. Changes: d16995e Revert "Add FirstVisuallyNonEmptyLayout support for RenderViewObserver" 6f9bddb [Backport] Blink-in-JS should not run micro tasks 69f2204 [Backport] Fix CPDFSDK_PageView cleanup. 544aa01 [Backport] Disallow reentrance of FrameView::updateLifecyclePhasesInternal() 1a33a6c [Backport] Keep top controls visible if SHOW is called right after HIDE. a5c8560 [Backport] Check CORS policy on redirect in TextTrackLoader ce506f1 [Backport] Merge to 2840 "[DevTools] Avoid current_ and pending_ being the same host in RenderFrameDevToolsAgentHost." e38afe4 [Backport] avformat/mov: Fix potential integer overflow in mov_read_keys e1d977f [Backport] Remove leak of internal class 9097a63 [Backport] Merges six security fixes to M54, related to blobs. 2b2c7fc Fix loading of blobs which have a qrc:// origin 4750e41 Reject createImageBitmap promise when the cropRect or resize is too big d8a6a2b Fix include order of texture_manager.h includes. 366d476 Fix use_system_icu builds e6427d6 Add shadow option to gn bootstrap c2366a7 Add option to pass ninja binary path to gn bootstrap c952f54 Fix FORTIFY redefined warnings f22cd00 Fix missing enable_remoting check in tests 52e8806 FIXUP: Fix use_system_icu builds Change-Id: I1c046e16722e0e2dadb431ff0d3f5b7f69edd86f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | * | Do not disable thumb instructions on ARMv7+Allan Sandfeld Jensen2016-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chromium in particular the bundled FFMPEG does not build on ARMV7 with thumb disabled. Since thumb should always be available on ARMv7 just ignore possible -marm in QMAKE_CFLAGS in that case. Task-number: QTBUG-57037 Change-Id: I09380839dddb97f64fb35ed749e5af0d002fa5fa Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | | QML: Add FINAL, CONST to Q_PROPERTY declarationsViktor Engelmann2016-12-1910-68/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add FINAL and CONST declarations for every Q_PROPERTY where it is appropriate. This speeds up the execution in QML. Task-number: QTBUG-55912 Change-Id: I67d2223d87aee6bdc639fe6087e3364201f2b1c6 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | | Add gn generator for pro filesMichal Klocek2016-12-165-17/+33
| | | | | | | | | | | | | | | | | | | | Change-Id: I5f28314d79b4aad587b323b027eb6d74ad422a73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Make QQuickWebEngineNewViewRequest::requestedUrl readable for QMLViktor Engelmann2016-12-155-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added Q_PROPERTY and getter for QQuickWebEngineNewViewRequest::m_requestedUrl so that it can be read from QML. Task-number: QTBUG-55590 Change-Id: I39e89690f996a1db7c9ce39103429186b26811f8 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | | Add GN files to other filesAllan Sandfeld Jensen2016-12-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help QtCreator find them for us. Change-Id: I9ec27f75f7153427d16ebe62b79a283e287ff829 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | | Fix unused-function error for callbackOnPrintingFinishedMichal Klocek2016-12-091-0/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I689cb8564ce04067499e4c252a6d36e70ee51930 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Fix grit/net_resources.h includeMichal Klocek2016-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibe2e622c4c4a16b4e572af7057ec9ba23a98bb8a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Add gn bootstrap to build systemMichal Klocek2016-12-084-55/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bootstraps gn wihout rebuild. Change-Id: I09ee4d6b6f458f16f0d9ac18433823153ab75995 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | | Merge "Merge remote-tracking branch 'origin/5.8' into dev" into refs/staging/devLiang Qi2016-12-0739-247/+450
|\ \ \ \
| * | | | Merge remote-tracking branch 'origin/5.8' into devMichael Brüning2016-12-0739-247/+450
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: Ie7b7c469aa24716816a23b8fe7a8df9f477a9f67
| | * | | Report size to UrlRequestJob for qrcAllan Sandfeld Jensen2016-12-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already added this custom url jobs, but it was missing for qrc. Task-number: QTBUG-57447 Change-Id: I5f832b083bdadc86a4bd0124f92a970d2df8be27 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
| | * | | Merge remote-tracking branch 'origin/5.8.0' into 5.8Michael Brüning2016-12-055-24/+40
| | |\| | | | | | | | | | | | | | | | | Change-Id: Ifa26409c722bd4eb373b9ced55f5a58132702ad5
| | | * | Fix build when PDF support is disabledPeter Varga2016-12-012-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrap unused parameters. Change-Id: Iac550783a55b3fc585db6f7b8241aa2ae89fdf2e Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * | Fix build with -no-opengl configured QtMichael Brüning2016-12-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit e2541ebdfadea0fe43baac748cfa9e07f3b57215 introduced an unguarded reference to QOpenGLContext. Guard it with the appropriate flags. Task-number: QTBUG-57374 Change-Id: Ic9f0cc3c99aabd52813d8b828f1a51ca6871d4b4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | * | Add environment variable to set chromium flagsAllan Sandfeld Jensen2016-12-011-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not always possible to pass random flags to any QtWebEngine application, so we should allow another way of setting Chromium flags. Among other things this makes it easy to set flags when running auto tests. Change-Id: I7ffb3bf8c9ceafc7d6b1bd2ba135643a687e480f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| | | * | Doc: update platform notesMichal Klocek2016-11-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2482a570f7c22b5cff5ce217dbece1746441961e Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * | | Wait for loadVisuallyCommitted signal with SignalSpyPeter Varga2016-11-292-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic200807246c5feb8e1f33215cbc6194b03765359 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | | Fix keyboard focus of RWHVQDW after popupPeter Varga2016-11-291-0/+7
| | |/ / | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-56652 Change-Id: I1a6655587a9104dd817332e2eb5f886c057d8f64 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Rework and fix loadVisuallyCommitted signalPeter Varga2016-11-258-26/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove RenderViewObserverHostQt_DidFirstVisuallyNonEmptyLayout message and use WebContentsObserver::DidFirstVisuallyNonEmptyPaint instead. - The order of the DidFirstVisuallyNonEmptyPaint and OnSwapCompositorFrame events is not guaranteed. Check for both events to do not miss to send any loadVisuallyCommitted signal. Change-Id: Ic733b3e9a6fae64b1d827e8e07514f180273cf8c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Fix multiple copy handling while printingMichael Brüning2016-11-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both the printer code and the webengine printing code were producing the number of requested copies. So if n copies were requested, n*n copies of the document were printed. Task-number: QTBUG-56722 Change-Id: I34bce2d61041e1234139139dcd70b7b3d1c7cd7b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | * | Move the QPrinter and QtWidgets related code out of the PDFium wrapperMichael Brüning2016-11-2517-175/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the actual printing using QPrinter to the WebEngineWidgets part of the API. The printsupport module depends on the widgets module and therefore QtWebEngineCore also had a dependency to widgets. This is removed by this change. Change-Id: If6e5745709a59de18f2123b930cbe6e64390c867 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| | * | Merge remote-tracking branch 'origin/5.7' into 5.8Allan Sandfeld Jensen2016-11-2514-21/+132
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: Ib9c9eca457c1c42dab948e6cb56d44b57d5da32a
| | | * \ Merge branch '5.6' into 5.7Allan Sandfeld Jensen2016-11-249-12/+108
| | | |\ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/core/api/qwebengineurlrequestinfo.cpp src/core/api/qwebengineurlrequestinfo.h src/core/core_gyp_generator.pro Change-Id: I5c78f0c86f6dcd61697148f0729d3d3a2cb2c76f
| | | | * ResourceType ABI/API fixupAllan Sandfeld Jensen2016-11-234-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ChangeLog][Important Changes] The enum value ResourceTypeUnknown has changed value since there was a mismatch between 5.6 and 5.7+ definitions. In general any unknown ResourceType value should handled as unknown for forward compatibility, since more types are and can be added in later Qt versions. Change-Id: I0a9f8a2129d4549deeae01e199f432fbbf1bbb9e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | | | * Fix IPC message loggingPeter Varga2016-11-222-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Register Qt IPC messages for logging. The usage of content::RegisterIPCLogger function adds the content_common.content_ipc_logging.o to the link dependency. Thus it will register the Chromium Content IPC messages too. Task-number: QTBUG-57224 Change-Id: I2c45691feb22a34f6074940cc35b8a4ba7804370 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| | | | * Fix select tag interaction when the web view is inside a modal dialogAlexandru Croitor2016-11-103-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously when a QWebEngineView was inside a modal QDialog, trying to click on a select tag option did not properly select the option. It either focused the new option without closing the popup, or didn't focus it at all. Fix consists in making sure the newly created popup QWindow and RenderWidgetHostViewQtDelegateWidget are marked as children of the QWebEngineView, so that they are considered part of the current modal session by the OS, thus allowing user interaction with them. Because the ownership of the delegate widget should still be retained by its respective RenderWidgetHostViewQt instance, the QObject parent of the delegate is unset before the parent is destroyed. Also to make it work on macOS, the window attribute has to be set to Qt::Tool instead of Qt::ToolTip. Change-Id: I56d6f446254a624428a0c661ac3c49eb409c931e Task-number: QTBUG-54836 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| | | * | Merge remote-tracking branch 'origin/5.7.1' into 5.7Allan Sandfeld Jensen2016-11-214-9/+21
| | | |\ \ | | | | | | | | | | | | | | | | | | Change-Id: Ifcf7423fa8d892ddad595300e33a09c7f63f5e6e
| | | | * | Update ChromiumAllan Sandfeld Jensen2016-11-091-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the security fix from Chrome 54.0.2840.87 Change-Id: I70064927cba01b7978742951ba0636b780d9eb68 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| | | | * | Do not call QOpenGLContext::openGLModuleType() from MainDllMichal Klocek2016-10-261-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of dynamic OpenGL on Windows this ends on calling QWindowsIntegration::staticOpenGLContext() from MainDll which in case of angle will end up badly. Add warning message when webengine is loaded from plugin and context is not initialized. Task-number: QTBUG-52201 Task-number: QTBUG-55501 Task-number: QTBUG-56020 Change-Id: I03570cad5f686c4a63910c71136bf3eb9499f223 Reviewed-by: Kai Koehne <kai.koehne@qt.io>