| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Implement EditFlags in ContextMenuData
- Unify Quick and Widget default context menus
- Add workaround for QTBUG-65044
- Update the SimpleBrowser example and its documentation
[ChangeLog][QtWebEngine][QtWebEngineWidgets] Unify Quick and Widget default context menus
Task-number: QTBUG-62414
Change-Id: I16a380f9f17e160497dfb8ac9c172341eb28c6c8
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
The webview in quicknanobrowser shows devtools related information,
for example: resolution appears in the top right corner when resizing
the window.
Change-Id: I494450f4976155f995bcb7e843d82ba081d91493
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: I54e7633fdfd1f3a4574373e0469c3df733dd32a4
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Add a property that can be used to tell what is making the URL request.
Change-Id: Ic7224382165e93d3c043c30e9a7cc5be9f29d9db
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ie4cf1de4a15398188b5e27b241154ec9271359dd
|
| |
| |
| |
| |
| |
| |
| | |
Pass Qt precompiled header settings to GN.
Change-Id: I4133c2fc77b50028be3ebb8feec24d49476e5e2d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
...because the generated source files contain include directives with
relative paths that are too long for the toolchain.
Task-number: QTBUG-65677
Change-Id: I664309c16f7ac5cdd267f9463d061be90dc664a0
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |\
| | |
| | |
| | | |
Change-Id: I4aae316c9826d8ded09e673a01935dc07f13cd64
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change order of parsing buildtools.pro to avoid
missing toolchain generated files.
Change-Id: I40456cbf38573903c119313d036e4c2aea039b16
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is default off at run-time anyway.
Also updates 3rdparty with:
17e4aafb6fe8 [Backport] Clamp performance.now() to 100us.
f0775ea93ab6 Fix building with enable_reporting=false
Change-Id: I4d7c0423fff5ecd0291ffdc9bddb90050ed61d8c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Expose API to block cookies for specific domains, or third party cookies
in general.
Task-number: QTBUG-62897
Change-Id: I7f0e3f346368a2ef2fbd77f3197ee2dea50d57ce
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|\ \ \
| | | |
| | | |
| | | | |
refs/staging/dev
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
.qmake.conf
src/webengine/api/qquickwebengineview_p_p.h
src/webenginewidgets/api/qwebenginepage_p.h
tests/auto/quick/qmltests/data/TestWebEngineView.qml
Change-Id: Id2acc92e8d0364bdaaf5a63ea2d2cb9cd533ade3
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/3rdparty
src/core/web_contents_adapter.cpp
src/webengine/api/qquickwebengineprofile.cpp
src/webenginewidgets/api/qwebengineprofile.cpp
tests/auto/widgets/qwebenginedownloads/tst_qwebenginedownloads.cpp
tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
Change-Id: I56c093ebab5ee8b577783ce71761719159cd3ddd
|
| | | |\
| | | | |
| | | | |
| | | | | |
refs/staging/5.9
|
| | | | |\
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I63420b008c4511022868175ebac60949cf8aa434
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Pull in SPECTRE mitigation
Change-Id: I3849adce737c5518d02a5b27431bac50224c2065
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Pulling in the second set of security patches from Chrome 63.
Changes:
eebf32c32027 [Backport] Fix UAF in SetVisible().
a6ca6057e7e9 [Backport] [BlobStorage] Fixing potential overflow
0f0ad4d73977 [Backport] Fix a range bug in Persian calendar
81ed5d7a47a2 [Backport] Cherry-pick the entire fix for Persian calendar
9b1e7a460573 [Backport] Add size_t variants of constant-time functions.
941bccbf33f5 [Backport] Clear bottom three bits of password scalar in SPAKE2.
1f43353c961a [Backport] Change the script mixing policy to highly restrictive
Task-number: QTBUG-65042
Change-Id: I668700e17f89297bbf2593a248f301f56904c72c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Pulling in the first set of security patches from Chrome 63
Changes:
4318c22e5167 Add missing .gitattributes -file in 3rdparty submodule
eb4e4c294b56 [Backport] Fix OOB Write in QuicStreamSequencerBuffer::OnStreamData
13d8b0ed6a3a [Backport] Remove unsafe align4 call
93362702cc7e [Backport] Don't clear DnsAttempts that have received a response
eeffcf490fd6 [Backport] Serialize struct tm in a safe way.
864b219901f8 [Backport] Simplify / fix SkBitmap::ReadRawPixels()
13827fc77195 [Backport] Resource Timing: Do not report subsequent navigations within subframes
07527dc5cae2 [Backport] Make CPWL_Wnd classes be observable.
0ce0976538dc [Backport] Setting focus on a widget may destroy the widget
Task-number: QTBUG-65042
Change-Id: I6bb1b93d37111ada696ae77c2b2c04ecc17d2ca3
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I0ff5721c1317ca97b574538c8c52127a87f73c29
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Moves QWebEngineBrowserContext to core and makes use of it from both
widget and qml.
Change-Id: I34748f302b0515b11b5831690d28478dfa6a852b
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Unlike QNetworkProxy, Chromium's net::ProxyServer expects the hostname and port
to be at default values for special schemes (DIRECT and INVALID). Otherwise, a
DCHECK is triggered at proxy_server.cc:73.
Change-Id: I1ac6c425ea03fcbfe084d25c2fd05bf174c753d6
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It was vulnerable to race conditions if two requests were send
before the first was caught.
Change-Id: Ia0b68594337028675678ad190f261202372c2ad6
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Both qtbase/src/corelib/configure.json and qtwebengine/configure.json
declare the "icu" library, but the definitions of the library are
different. Make sure to prefix the webengine "icu" declaration, so that
it does not override the qtbase one.
This is a partial backport of commit
2ed1e0ba423a75f68c1547fe0c06e62e773ef64d which was introduced in
Qt 5.10.0.
The rest of the library definitions are not conflicting at the moment.
Task-number: QTBUG-62944
Change-Id: If5cbf07a5bab149c7663ce05c7eb8183c5f63300
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Guard QTemporaryDir::filePath (5.9) usage in the drag and drop implementation.
- Guard QQuickItem::mapToGlobal (5.7) usage in the Quick context menu
implementation.
Change-Id: If383fa55fbbd1b2a3fe4abd57373598a1703786c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reduces amount of memory used when compiling and is more friendly when
compiling using icecream.
Change-Id: I3ba3afcaa75ee79e02f2a8b2fa6d8f19e5f7b929
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Task-number: QTBUG-64726
Change-Id: Ic88eed62e85ad1d95afcbd154c6556509e42bd47
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Changes:
44b6c003b1 Adapt sanitizer rules to Qt WebEngine build
5fd3b69840 [Backport] Disable SharedArrayBuffer by default.
Change-Id: Iec315a976e41029742a30aadf8cbf591aed2cb10
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The old code had fixed pixel sizes, which broke with high dpi and
different font sizes. Also, simplify the hierarchy by replacing
the top widget and the nested layouts with a Frame and grid layout.
Task-number: QTBUG-64816
Change-Id: Ifeb458fb5d5e709e8add9c77c274dee13307d4c6
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use in-memory profile and do not use qwebengineviews when all we need
are qwebenginepages.
Change-Id: I5798c761bccfc0b4bf2cf623e7db35f033bdfd84
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes a race-condition crash the device is deleted when the
job delegate dies. Happens for instance when the device has the
job delegate as parent.
Change-Id: I5041bbd5747dddb18022044a310ccb5a5985f098
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
.qmake.conf
src/core/api/qwebengineurlrequestjob.cpp
src/core/browser_context_adapter.cpp
src/core/renderer/user_resource_controller.cpp
src/core/web_engine_context.cpp
src/webenginewidgets/api/qwebenginepage.cpp
Change-Id: I5278e5e22e1776d42975fc94d70ff8ca4f81fb9a
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
After we keep around the browser-context after the profile is deleted
it was keeping pointers to deleted objects and would sometimes use them
on shutdown.
Change-Id: Ib67d0ee0b27cb1a1b64d9b8b4c348ed418b9bbc3
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Static function ScreenWin::GetSystemMetricsInDIP returned an incorrect
(already scaled) size for the scrollbars. To take system scaling into
account an instance of the ScreenWin singleton has to be created once.
So let's use ScreenWin directly, instead of DesktopScreenQt, which is
just a mock object anyway.
[ChangeLog][Windows] Fixed issues with too large scrollbars on
Hi-DPI monitors.
Task-number: QTBUG-60705
Change-Id: I7cbc10e98b2a5217b0a0e78afb32818c1cb199d7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since e812237b69 we do not longer use QT_LIBDIR_EGL
and QT_LIBDIR_GLES2 to dynamically load gl libraries.
Remove leftovers from gn generator.
Task-number: QTBUG-65442
Change-Id: I045242b49be411373d36eb9c333916d27b0f169d
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's used from another thread, so it shouldn't be deleted immediately,
and it's not deleted by the QtWebEngine code, so tell people to do it
themselves at the right time.
Change-Id: I54786be320f5fe82f144e7b1c2e6137260d9ceab
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
2ee59e45bd Fix hanging of process when application is closed too fast
cdecf3ca05 Silence most spurious warnings with gcc
Change-Id: I220ec63538e13cd5e71552a5f6d99de564a3f0ea
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The docs were wrong in that the default is actually text/plain with
US-ASCII encoding (see e.g. data_url_unittest.cc).
Anyhow, saying it might change in the future does not help anyone,
and is actually a potential security risk - see e.g. the discussion
about 'magic' in QTextEdit::setText(). Because of this, it's
unlikely that Chromium ever changes the default. Anyhow, we can as
well hardcode the default, and document it then.
Change-Id: I949111598a30fa69d152d3e98d76e9d96df92d54
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When printing very large documents using the QPrinter-based API, it
was possible to run out of memory because the images that pdfium has
generated was cached for reuse when printing multiple copies of the
document.
Caching the images is now removed as printing multiple copies is not
the default use case and is nowadays often also handled by the printer
itself.
Task-number: QTBUG-58400
Change-Id: I27bd17b33a839a845ca1b387b0c3bd0466b6592f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The method currentTimeForEvent() tried to access the timestamp() method
for a QEvent::Leave event. Leave events are regular QEvents and not
QInputEvents, and thus have no such method.
Change-Id: Iecc20d239b0e2a5b39b995dabdd7ca8fb44491aa
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Software layers (added in qtdeclarative 5.8) also need updating.
Task-number: QTBUG-62867
Change-Id: If7a941d7e360871822e1776cde3845abcb1f7efa
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-64967
Change-Id: Ida79d6cdb682d510e9a2e91e3e3ca263acf34a99
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I88eb85ea51a5d0b0b98b21e7213ed963995b255a
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It can according to documentation potentially be null, even if it might
not happen in our cases.
Task-number: QTBUG-63854
Change-Id: I76029c83fe32c163c2707568fe81b7590a79b4fe
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Hide tooltip on empty text and make tooltips more fluent by ignoring
duplicate requests.
Task-number: QTBUG-64933
Change-Id: Ib82cb06ceda938548429cd694b849a2faadd2633
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-64812
Change-Id: I9df71253cf6c541622e431b1ff444fc49269d0c3
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pull in the rest of the Chrome 63 security patches
Changes:
6e4dc78363 [Backport] Serialize struct tm in a safe way.
ccdc643a9e [Backport] [BlobStorage] Fixing potential overflow
f2ffe010d9 [Backport] Fix a range bug in Persian calendar
fb4add52f7 [Backport] Cherry-pick the entire fix for Persian calendar
f67ed4572c [Backport] Clear bottom three bits of password scalar in SPAKE2.
28e6df60ab [Backport] Don't clear DnsAttempts that have received a response
5971c2e515 [Backport] Change the script mixing policy to highly restrictive
Task-number: QTBUG-65042
Change-Id: Ic23e47469c91e53556c63ebf4b3fa6e03e9b8ada
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pulls into the first set of security patches from Chrome 63
Changes:
ecf956cc0a [Backport] Fix OOB Write in QuicStreamSequencerBuffer::OnStreamData
44d355f3b2 [Backport] Remove unsafe align4 call
d66a2fdf0d [Backport] trim down colortable impl
741f3965b4 [Backport] Simplify / fix SkBitmap::ReadRawPixels()
d0e7830edb [Backport] Resource Timing: Do not report subsequent navigations within subframes
79ef6c0691 [Backport] Do not use NavigationEntry to block history navigations.
7869641c98 [Backport] Setting focus on a widget may destroy the widget
51bfe44529 [Backport] Fix UAF in SetVisible().
Task-number: QTBUG-65042
Change-Id: I2139a45d3d95f26ff378a27777ccdae03a9f2a19
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This amends commit 656b7fdd2d972946fe980f4089f5e9d01160dc68.
Task-nmuber: QTBUG-65455
Change-Id: I3d8d7017a9dbffd9b2ce020cdce7918b6efaf46a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The code was not correctly giving a function as argument to the
addEventHandler, and the whole logic was more complicated than it
needed to be.
Change-Id: I21e4e6bb6adf1071ae7eb2798d129224af8ef0fb
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|