| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Remove #ifdef Q_QDOC defines and fix the command signatures in
\fn commands or remove the commands, where possible.
Task-number: QTBUG-66709
Change-Id: Ic591b53f0d52c7c938d8651cd6610f31af0cc540
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since Qt 5.11, QDoc uses Clang to parse C++ code for documentation.
As we have a combined documentation project under src/webengine that
covers also webenginewidgets, qmake does not pass the full set
of include paths required for Clang to parse also webenginewidgets
documentation. Fix this by adding the required include paths in
qtwebengine.qdocconf, and by using a custom module header, used
for doc builds, to pull in also the QtWebEngineWidgets module
header which Clang needs.
Task-number: QTBUG-66398
Change-Id: I1da547745c0c06762be216ae55724508b5d6a700
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Removed the Q_QDOC define for the FunctorOrLambda and removed the
documentation for it. Modified the signature in the \fn command for
the remaining docs.
Task-number: QTBUG-66398
Change-Id: I142df88fa599f1f31f50da50377267d1eea322d4
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-66723
Change-Id: Ic59f2bea41d6f5a4b0a1ca2b27ed7cce79b4a6ce
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: Ia202d41907bd7e5925f8995a2ca373ffe5ef03e8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: I5eeed33591501b7218bca204c78594dd02de1dc7
Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
3cec2ccb0ffdd41a41ab55d4c1ba88d4866e71d1 introduced a regression because
it was assumed that the page was only printed to pdf when a filename was
given.
This is not the case when the pdf data is handed to the callback,
though. Correct this by explicitly stating when margins should be used.
Task-number: QTBUG-66654
Change-Id: I663f578ff5d01c77cc62e6f3756a17f78168a9aa
Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
We only used if we didn't have it?
Change-Id: I56481cce514b7879857cc7fc0b0dc73e615f90d9
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
| |
Add see-also links between the new 5.11 function, isSavePageDownload(),
and the existing related functions.
Task-number: QTBUG-66777
Change-Id: I5b135ba2f69213082cd8b516f71c7c5c7124feec
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
By removing the Q_QDOC define and the \fn command.
Required for the Clang doc parser to work.
Task-number: QTBUG-66398
Change-Id: I7319e3966382a8f794b2c795f80b88b8129e5b3b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes the cursor position update independent from the order
of calling RenderWidgetHostViewQt::OnUpdateTextInputStateCalled() and
RenderWidgetHostViewQt::OnTextSelectionChanged().
This fixes the cursor position update after clearing text selection in
65-based Chromium update. From 65-based
RenderWidget::WillBeginCompositorFrame() might not be called after text
selection changes thus does not trigger an extra TextInputState update
which hid this issue with earlier Chromium versions.
Change-Id: I80c07e26b66c3a96cb004b9e3ceb57cd99234237
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
-proprietary-codecs still works, but the more qualified variant is
preferred.
Change-Id: I17eb023a9c13073f10106cf3e78cf080e97955da
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
| |
Change-Id: I1af130982db78184fca763dd61568f350d8a2d42
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
| |
Don't percent-encode javascript messages.
Task-number: QTBUG-66104
Change-Id: I9ca21cc8f87494b552427724aa6755ddf2620610
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously enabling accessibility for the QtQuick WebEngineView was
done by calling QuickAccessibleAttached::qmlAttachedProperties()
which is a private API call.
Instead of that, set the Accessibility attached properties by using
QQmlProperty.
Task-number: QTBUG-63098
Change-Id: Ibc927c1fce121dee56d8a21af412056d98c82c4d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Chromium considers the actual URL as "scary" therefore prefers to pass a
simpler URL via the WebContents::GetVisibleURL() content API function.
For data URLs, use the actual URL instead to keep their anchor
information.
Task-number: QTBUG-64972
Change-Id: I74db3e5dd22a728656a58e50a4e3fba93b82dae2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In 5.11 we deprecated downloadType and at the same time ripped out most
of the faulty logic. Later we partially fixed the logic in 5.10.1, but
kept the 5.11 version during the merge. This restores the improved logic
from 5.10.1, while keeping the property deprecated since it is still
misleading at times.
Change-Id: I12ee09a2b212506f7ba1a336c9c2e88aa3b1de24
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
| |
Change-Id: Iad7f3f21918fc8727a6fac3733cb6e35f4e1c4b0
Reviewed-by: Karim Pinter <karim.pinter@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Linux, Chromium manipulates argv, merging all command line
arguments into argv[0] and deleting the other arguments - see
set_process_title_linux.cc for the glory details. This potentially
confuses QCoreApplication::applicationDirPath(), which assumes
that argv[0] contains the binary path. This in turn caused a
regression in Qt 5.9.4 where resource files could not be located
anymore for QtWebEngineProcess.
Avoid this by making two distinct copies of argv already in main().
Task-number: QTBUG-66346
Change-Id: I24d103bb15e77db69faae3bcfc736df25e4ec5d3
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Application developer need to make sure that they skip processing .js
files by the Qt Quick Compiler, if the files will be loaded inside
HTML pages.
Task-number: QTBUG-66155
Change-Id: I09a3c6fa1f31b60a09d30012c6e15ae872bac639
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I230e21638604fe75b6f1d6b7877f9bc4b2d2c020
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
WebContentsAdapter is not created together with the QQuickWebEngineView.
Thus querying a view property can lead to a crash if it uses the adapter.
This fix adds the missing guards for contentSize and scrollPosition
as it is done for similar WebEngineView properties.
Task-number: QTBUG-65942
Change-Id: I9c2668a059b08325629f5730608280ba7f3669cf
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is a workaround to satisfy this online cache test:
http://refreshyourcache.com/en/cache-test/
This way Chromium provides "cache-control: no-cache" headers and indicates
the disabled state of our cache backend.
Task-number: QTBUG-63606
Change-Id: I0fdaf0b8dcaa98891b3d0380f4deeaa28a8aba4b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ib319f46465e9f330ef5f2c7a5b2f6a3d50c33c00
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
A gn linked with lld doesn't work at all.
Change-Id: I488acb65b482cc1348ecd4909b20897e5edb8ef7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Triggered sometimes in tst_qwebenginedownloads if the memory allocator reuses
memory for a BrowserContextQt.
Change-Id: Idb2db94cf0a8419dc45c25620708f3f3da8f9ec8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ic3f1e11f42f26e7800524dd88f707200ef3b7705
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Extend initialization of URLRequestContextGetterQt to create a
content::ProtocolHandlerRegistry for each content::BrowserContext and add the
registry's URL request interceptor to the front of the interceptor chain.
Implement methods in WebContentsDelegateQt to add/remove protocol handlers
to/from the ProtocolHandlerRegistry.
Add permission request signal and classes for core, quick and widgets.
Add widgets autotest.
Add signal handlers to quicknanobrowser and simplebrowser.
Task-number: QTBUG-62783
Change-Id: I808e7eb9a1cb4d7216686deed4895de14fe46310
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Declare and register metatype for QWebEngineQuotaPermissionRequest. Enables the
quotaPermissionRequested signal to be used with queued connections and
QSignalSpy. Needs a public default ctor.
Task-number: QTBUG-62783
Change-Id: Ibc2b57b1b47a668f7a1f6fe9f591952d5275c7e2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-62783
Change-Id: I15fdfe6b0d4e8517b8f5752bd1af5c5a321e9cd0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Try to separate quota-unrelated bookkeeping from quota-specific glue code.
Task-number: QTBUG-62783
Change-Id: I0c7c3fd554a4b3a195a99ff4034f158f2547eecb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\ \
| | |
| | |
| | | |
Change-Id: If971fbfcb158c921e2328dfcdef3bd3322f30c4b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Yocto sets GN_HOST_PKG_CONFIG script for native
tools builds, therefore skip host pkg-config script
generation even if PKG_CONFIG* shell variables for target
are exported.
Task-number: QTBUG-66275
Change-Id: I4a9939cd67ca5f32faeb827b5df0d3274ae7c30e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/core/web_engine_context.cpp
Change-Id: I004994a0ab6dbc54370b6973de1816cd673154c6
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Shutdown storage should take place in destructor, otherwise
it might get recreated on web content destruction.
Task-number: QTBUG-66081
Change-Id: Ibba3fce50e05e09131cf45061320a9f99267babd
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The feature has been redesigned for security reasons in 64.
[ChangeLog][General] SharedWorkers have been disabled as they have been
changed in the newest spec for security reasons.
Change-Id: I3d0e03f170ef646a0352a38b65030bb4c06f3397
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: Iaa781d5fbfec992eb5c2ac4055b7ac968cc1905e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pulls in the last set of security updates from Chrome 64
Changes:
0d62ec3da6 [Backport] Block dotless-i / j + a combining mark
5cb725e1b4 [Backport] [Autofill] Use ShadowDOM placeholder to preview suggestions.
2d07ab2066 [Backport] [M64 branch] Add a few more confusable map entries
1d1c8edbe6 [Backport] Inherit referrer and policy when creating a nested browsing context
72eab06955 [Backport] Restrict the xss audit report URL to same origin
65819c3399 [Backport] TopSites: Clear thumbnails from the cache when their URLs get removed
c858cc7609 Work-around internal compiler error in gcc 7 and 8
Task-number: QTBUG-66124
Change-Id: I9961dbae2ef1db798042cc31e5c1c8c7032a6e0c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pulls in the second set of security updates from Chrome 64
Changes:
cf3a94e300 [Backport] Merged: Reland "[wasm] Gracefully handle malformed custom sections in WebAssembly.Module.customSections()."
ce4d3b4e0a [Backport] Implement 2D texture uploading from client array with FLIP_Y or PREMULTIPLY_ALPHA.
66a21db864 [Backport] Fixed bug where PlzNavigate CSP in a iframe did not get the inherited CSP
176f276a43 [Backport] Fix for URL spoof caused by deletion of speculative RFH
652815756e [Backport] Fix issue with pending NavigationEntry being discarded incorrectly
23fb7e37ae [Backport] Fix issue with pending NavigationEntry being wrongly deleted
74f10ff13d [Backport] Simplify WebGL error message
6f4d9abf1f [Backport] Add back support for "none" referrer policy
232288de9e [Backport] Validate frame after conversion in chrome.send
Task-number: QTBUG-66124
Change-Id: Ibc40fdcdbdd99c711f48974f38f549e661eef4b5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changes:
c21017c7e251 [Backport] M64: Ensure clamped time always moves forward
966fee89515d [Backport] [pdf] Use a temporary list when unloading pages
631144d9f0b7 [Backport] Downloads : Fixed an issue of opening incorrect download file
439b32a6aa2c [Backport] Chromium-side changes for BoringSSL cherry-pick.
543692ef8d0e [Backport] Tighten about IntRect use in WebGL with overflow detection
Change-Id: I6eeac4c28bba51b46bf7b825478dd9e2f7734865
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If user creates offTheRecord profile but later uses any of the api
calls to change storage location will couse undesired effect
of regenerating storage information.
Change-Id: Iac34c697881ba7761033130a7b2a4002b6a0d6bd
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Udpdate docs and profile unit test for storage paths.
Change-Id: I646a33571ad8458af4efcddf310489cdde3a4606
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I9560c6a4618eec7caebbbd147cd170bea74a01aa
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The include was previously used for implementing
QWebEnginePagePrivate::unhandledKeyEvent which called
QGuiApplicationPrivate::instance()->shortcutMap.tryShortcut(event).
This logic has now been moved to render_widget_host_view_qt.cpp.
For now, at least remove it from this file.
Change-Id: I516a659b2fb21782aabac7e7de8c1f93d0dbef91
Task-number: QTBUG-63098
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It used to be needed in 5.6 for IME window placement purposes, but
since 5.7 when we switched to using QQuickWidget instead of
QOpenGLWidget as a result of commit
800365f6faad962a4dd2e71173527d285a3f62b5, the updateWidgetTransform
gets called implicitly because we forward FocusIn events to
QQuickWidget::event, which forwards them to QWidget::event which
calls updateWidgetTransform for us.
Task-number: QTBUG-63098
Change-Id: I0a0ba50c1491797b37765d26d761c358c156950f
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
Change-Id: Iad50b7865d6861bb15b85e6abe455aae2802ea4b
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
refs/staging/dev
|
| | |\ \ \ \
| | | | |/ /
| | | |/| |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
src/core/download_manager_delegate_qt.cpp
src/core/download_manager_delegate_qt.h
src/core/render_widget_host_view_qt.cpp
src/core/web_contents_adapter.cpp
src/webengine/api/qquickwebengineview.cpp
tests/auto/widgets/qwebenginedownloads/tst_qwebenginedownloads.cpp
Change-Id: I2308414ce257ae5bb0fc9f6493aa111a267ff39b
|
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently we can get QuickWebEngineViewPrivate::loadFinished
while still being in RenderFrameHostImpl::OnDidStopLoading,
unfortunately if user connects onLoadingChanged signal
with new url load request this will end up in DiscardUnusedFrame
and delete on RenderFrameHostImpl which is still on the bottom of
the stack. Use QTimer::singleShot to return to the event loop
before emitting load handling signals.
Post all load handling calls with singleShot to avoid out of order
load "signals" delivery in some cases.
Emitting signals should be done from WebContentsAdapterClient to
make sure the destruction of WebConentAdapterClient prevents
emitting signals on already deleted adapter.
Task-numbmer: QTBUG-65813
Change-Id: I93263876fb14bd959ba951463c8aeb5155f04a4f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The 32bit compiler is required for creating v8 snapshots.
Task-number: QTBUG-65004
Task-number: QTBUG-64869
Change-Id: I0a7a351208768f0b12900fac14d3abd5c8d99fa2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|