| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Ie56505252b374de2d97bc01866c670ca64616d65
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Instead of fixing the code to compile with lower version,
simply require at least version present on ci.
Fixes: QTBUG-108029
Pick-to: 6.4
Change-Id: Ie6fbd7c3451a39c09dfb15e0cf9850672c9d4ea8
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 546d8e05..24df9c9b:
> [Backport] Security bug 1361627
> [Backport] Security bug 1361612
> [Backport] Security bug 1373314
> [Backport] CVE-2022-3661: Insufficient data validation in Extensions
> [Backport] Security bug 1356234
> [Backport] CVE-2022-3656: Insufficient data validation in File System
> [Backport] CVE-2022-3653: Heap buffer overflow in Vulkan
> [Backport] CVE-2022-3654: Use after free in Layout
> [Backport] CVE-2022-3652: Type Confusion in V8
> [Backport] CVE-2022-3445: Use after free in Skia
> [Backport] CVE-2022-3450: Use after free in Peer Connection
> [Backport] CVE-2022-3446 and CVE-2022-35737
> Reland two changes for establishing gpu channel
> FIXUP: Stop using C++20 initialization
> FIXUP: Legalize the bloody code
> [Backport] CVE-2022-3308: Insufficient policy enforcement in Developer Tools (2/2)
> [Backport] CVE-2022-3308: Insufficient policy enforcement in Developer Tools (1/2)
> [Backport] Security bug 1360936
> [Backport] CVE-2022-3313: Incorrect security UI in Full Screen
> [Backport] CVE-2022-3307: Use after free in Media.
> [Backport] CVE-2022-3315: Type confusion in Blink
> [Backport] CVE-2022-3201: Insufficient validation of untrusted input in Developer Tools (2/2)
> [Backport] CVE-2022-3201: Insufficient validation of untrusted input in Developer Tools (1/2)
> [Backport] CVE-2022-3304: Use after free in CSS
> [Backport] CVE-2022-3373: Out of bounds write in V8
> [Backport] Security bug 1356308
> [Backport] CVE-2022-3370: Use after free in Custom Elements
> [Backport] Security bug 1348283
> [Backport] Security bugs 1346938 and 1338114
> [Backport] CVE-2022-3200: Heap buffer overflow in Internals
Pick-to: 6.4
Fixes: QTBUG-108104
Fixes: QTBUG-108105
Task-number: QTBUG-108106
Change-Id: I2766eec4f7d16b286e3b1ab6be07e9872cc52c19
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Check if type registrations should be in Qt namespace.
This amends 5208245d2ccabbc07ecf6b845cfa3d971d2ed7e5.
Pick-to: 6.4
Change-Id: I3f349a4aedac4410b1a581264d1e8877ba0bcf44
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Certificate for revoked.badssl.com expired on 10/28/2022.
Pick-to: 6.4
Change-Id: I06022bea1404bf5134f815067dcd2713790e5a23
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: I42f309a7acfb089798525b587831018aeb272ed4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Since a818d49aa58c7ff871f89f7db4b1234402092994 in qtdeclarative
we should explicitly ignore the event.
Fixes: QTBUG-108008
Pick-to: 6.4
Change-Id: I1b9beabb39e19df8af86b8cadaafb21eef9dc4a8
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: I21fbbc639d6d321913b12ed856d98fdfa2d8f474
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Remove special code for MSVC, as it now produces warnings.
Task-number: QTBUG-107778
Change-Id: I2b821693cb00ec5d1efc3cd7ed3a545e47a2b9d3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
| |
Change-Id: Ie2d7b4c1ea62fe5600c498dfe9f536f84b87c7a5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
| |
Change-Id: Ia85cbfb7def14710ed217feab0fa51f3230d4dd2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When loaded from a plugin, we printed a warning about setting the
application attribute Qt::AA_ShareOpenGLContexts and choosing OpenGLRhi
as the scene graph renderer interface even when those conditions were
already met.
This patch checks if these conditions are already met before printing
the warning.
Change-Id: Iee06fa4560e022f0611f07a082513dc91c8065c9
Pick-to: 6.4 6.3
Fixes: QTBUG-103958
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We did not really change pointers for doing a widget
and a item delegate binding. This at some point was
blowing up as we did not remove the old widget before
inserting the new widget into the internal webengineview
layout. The issue could get unnoticed for a while as the
old widget got eventually removed on a destruction.
However, at times when on the qlayout activation call
the old widget was considered, resize event
was triggered which was setting viewport to false value
(minimum size to hold two webcontents).
Make sure we remove widget before adding the new widget.
This fixes the widget and the item bind, however this
logic should be rewritten for dev branch as is get more
and more complex.
Fixes: QTBUG-107529
Pick-to: 6.4
Change-Id: I31d180b54f52e38b3c335cfa2bf3afa61e449677
Reviewed-by: Martin Negyokru <negyokru@inf.u-szeged.hu>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Chromium blocks fullscreen requests while the fileSelectListener is alive.
Release it manually after the accept/reject signal.
Fixes: QTBUG-106975
Pick-to: 6.3 6.4
Change-Id: Iac4868b8ab0268b8ddb94912286155af73ebd343
Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Use Chrome's DevToolsFileHelper implementation.
Enable downloading contents from devtools.
Enable editing and saving files with devtools workspace.
Task-number: QTBUG-85171
Change-Id: I987c667a59c12792c35a802326596e5799f42290
Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
|
|
|
|
|
|
| |
Pick-to: 6.4
Change-Id: I9daae92749e7dbe0580c17e8f0325e2199b2ed17
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Ensure the initial browser tab is added before show(), avoiding
the flicker of RHI switching.
Pick-to: 6.4
Change-Id: I0aaa5a4128f089bfc9ef68d25cab44da78962eb6
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
| |
Change-Id: Ia2da86c0a56c02cc0a7bc811bf7a1433e2113406
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Fix usage of badcode vs code.
This commit amends 82357352b49fdcba80727feec441053f676b5af2.
Fixes: QTBUG-107502
Pick-to: 6.4
Change-Id: I50be8b37a81f33ef8e8dff3985d00f562542031a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use embedder_support component to generate user agent metadata and
support this API. ContentBrowserClientQt::GetUserAgentMetadata() has
been implemented only for safe-keeping, because we always override
that value in RendererPreferences.
Task-number: QTBUG-107260
Task-number: QTBUG-107451
Change-Id: Ibbcd8d9c1e9c2c0ebacf97f4b9d4ed1aa55dc881
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a semantic patch using ClangTidyTransformator as in
qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8, but extended to
handle typedefs and accesses through pointers, too:
const std::string o = "object";
auto hasTypeIgnoringPointer = [](auto type) { return anyOf(hasType(type), hasType(pointsTo(type))); };
auto derivedFromAnyOfClasses = [&](ArrayRef<StringRef> classes) {
auto exprOfDeclaredType = [&](auto decl) {
return expr(hasTypeIgnoringPointer(hasUnqualifiedDesugaredType(recordType(hasDeclaration(decl))))).bind(o);
};
return exprOfDeclaredType(cxxRecordDecl(isSameOrDerivedFrom(hasAnyName(classes))));
};
auto renameMethod = [&] (ArrayRef<StringRef> classes,
StringRef from, StringRef to) {
return makeRule(cxxMemberCallExpr(on(derivedFromAnyOfClasses(classes)),
callee(cxxMethodDecl(hasName(from), parameterCountIs(0)))),
changeTo(cat(access(o, cat(to)), "()")),
cat("use '", to, "' instead of '", from, "'"));
};
renameMethod(<classes>, "count", "size");
renameMethod(<classes>, "length", "size");
a.k.a qt-port-to-std-compatible-api V4 with config Scope: 'Container'.
Change-Id: I3e6fef8eca212da0c4f0b464545ba96183b4476f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So far we supported v8 proxy resolver and 'older'
WinHttp based proxy resolver, which involves pulling
(directly) WinHttpGetIEProxyConfigForCurrentUser and does
not support (according to Chromium authors) Name Resolution
Proxy Table.
With 102 we are able to use windows system proxy resolver in
form of 'modern' service using also WinHTTP APIs.
This is going to replace later default old implementation.
Add same switches as Chromium supports:
* --winhttp-system-proxy-resolver
to use older WinHttp resolver instead of v8 resolver
(note v8 resolver does not work in single-process)
* --use-system-proxy-resolver
to use 'new' proxy system resolver service
Note as new service requires minimum windows 10 1604 or later build,
application needs correct manifest, otherwise it will
silently fallback to older 'direct' WinHttp resolver.
Note to test the 'new' proxy resolver, following pac file can
be served to windows proxy configuration to prove that pac
script is actually resolved:
function FindProxyForURL(url,host) {
if (dnsDomainIs(host, "qt.io"))
return "DIRECT"
return "PROXY localhost:6666"
}
Task-number: QTBUG-104436
Change-Id: Ib2625c5ab5e618c8fdebd1bdc1cda928639a5dd5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Updating adapterClient is required to Bind
correctly.
Bring back old logic from 6.3.
Fixes: QTBUG-105953
Pick-to: 6.4
Change-Id: I8845948db379c24902df0dd2dad96982a1455531
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've been requiring C++17 since Qt 6.0, and our qAsConst use finally
starts to bother us (QTBUG-99313), so time to port away from it
now.
Since qAsConst has exactly the same semantics as std::as_const (down
to rvalue treatment, constexpr'ness and noexcept'ness), there's really
nothing more to it than a global search-and-replace.
Task-number: QTBUG-99313
Change-Id: I4b5f85df579532c2af938fe70db945ba273782fb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: I4b6ab7d9cd2bc570a0f4ee055ceed5f31f3ab53c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Fixes: QTBUG-107113
Change-Id: I53a540d05bcafefad282ee00091eb421d07992c6
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
|
|
|
|
|
| |
Change-Id: I3a81cb0652d79e2fcebab27606d5d89558489b94
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Followup to qtbase 6b2c9b81afdb3d1d9b7a2e87819e9545b14810f3
Pick-to: 6.4
Change-Id: Ib879ee176c4fd1fc4bdbac7161ea20cf5c59a247
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
QtWebEngineWidgets: WARNING: qwebengine_accessible.h includes
QAccessibleWidget when it should include QtWidgets/QAccessibleWidget
QtWebEngineWidgets: WARNING: qwebengine_accessible.h includes QPointer
when it should include QtCore/QPointer
Change-Id: Idd6c3d30f6384f39a1792714ddefed89ca2df74e
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
| |
This fix is based on chrome's implementation.
Fixes: QTBUG-107144
Pick-to: 6.4
Change-Id: If042e4156b8a4bdb27a210c4db94e3a6198aed7d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.4 6.3
Fixes: QTBUG-106967
Change-Id: I0407258403ec3b76ce694e0f592fe57b4f45c746
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
| |
Seems they are not matched by the ** syntax.
Pick-to: 6.4
Change-Id: Ibcabdc1d87d6d483e743efd3f6e5aa87df023d93
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Was missing some Pdf files in the pdf module
Fixes: QTBUG-106944
Fixes: QTBUG-86972
Change-Id: I996a890ecd84ed6084f2075a98c4572372cba5ac
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit e401e26fb5db72cc79af56bea942409c1d044bf4)
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
(cherry picked from commit 3c0a45e592f64a34d50c37345afe38753a46c028)
|
|
|
|
|
| |
Change-Id: I35890810cb20104abf251fba03ff54fae5c3cbcb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I4fd4c0b3c3993de4e50416e4ed82f6fb600340bf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The icon uses some parts from
https://openclipart.org/detail/171857/icon-pdf-a%C2%8Dcone
Pick-to: 6.4
Task-number: QTBUG-106460
Change-Id: I94ecc81d83f96fdced3dce630b94b9037d3e90f9
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Correct application/x-extension-html to text/html
Fixes: QTBUG-97392
Fixes: QTBUG-106688
Pick-to: 6.4 6.3 5.15
Change-Id: I0d65c6950c5ba1504586cf564268463c5d4cd483
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
| |
Drop a different file onto the window to replace its contents with a
different PDF.
Pick-to: 6.4
Change-Id: I824d9f0caee69382352ab8d943b9977984db4fc9
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
|
|
|
|
|
|
|
|
|
| |
The system certificate store was never generated after the define
switched to being a BUILDFLAG
Pick-to: 6.4 6.3
Change-Id: I2efa54bd397e2dde55c249747f73a9ffb08e80ea
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When trying to cross-build from one 32 bit host architecture to another the
"Unsupported architecture:" case was hit, in which case the result of
get_v8_arch() was empty. This would lead to configure_gn_toolchain() being
called with a missing argument, which gave a totally unhelpful error message.
Fix this by just accepting valid 32 bit architectures from the internal list,
and raise the debug message to a FATAL_ERROR to get immediate feedback.
Pick-to: 6.4 6.3
Change-Id: I8e0c757ad13e2acff67827bd9063c493e9d84444
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
| |
This parts were never compiled on windows.
This amends 0ca4eba961.
Change-Id: I683badfaf6e8be1cec808f3340e3980e167fbcdb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Use name for temporary file otherwise is can not be
opened on qemu.
Task-number: QTBUG-105342
Pick-to: 6.4 6.3
Change-Id: I7f9ed244c32b866ead6832ed942e2293be24811b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to qt docs this variable should have
same effect like setting Qt::AA_UseSoftwareOpenGL on
application, therefore read that in case of detecting
the software mode.
Pick-to: 6.4 6.4.0 6.3
Task-number: QTBUG-106095
Change-Id: I00fa8f0607ca44533c445434d1a35a1524bab679
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We print multiple pages by repeatedly drawing in a loop, which works good
for PDF targets, but fails for physical printing. PPK_CopyCount flag is
provided to the printing backend which multiplies our effort in this
case.
Temporarily setting the print engine back to 1 seems to be more
reliable than trying to distinguish between paper of PDF target.
Task-number: QTBUG-104224
Change-Id: Ic1be15c6965e6a739bcd44c8d904ac19f67719b5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
We do not get the automation id in this case then, but we have run
without it before.
Fixes: QTBUG-106588
Pick-to: 6.4 6.3
Change-Id: Ib65f1aaff1d7ef260df56c7de7198b0679e0d644
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The module filename can be different depending on
windows platform for example "openglsw32.dll", "openglsw32.DLL",
"openglsw32". Make check more relaxed.
Fixes: QTBUG-106095
Pick-to: 6.4 6.4.0 6.3 5.15
Change-Id: I0abd5f61df2a44b395c8a81511e4d3bc807e1537
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 43b92e07d..1dc53de69:
> [Backport] CVE-2022-3040: Use after free in Layout
> [Backport] CVE-2022-3041: Use after free in WebSQL
> [Backport] CVE-2022-3038: Use after free in Network Service
> Merge branch 'upstream-master' into 102-based
Fixes: QTBUG-106254
Pick-to: 6.4 6.4.0
Change-Id: Ifd55481c8d26f0e2cf8cb9e01cdaa8aa530354d8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Reflects what has been configured in the Coin. Allows removing
the rules from Coin and brings them visible.
Pick-to: 6.3 6.4
Change-Id: I377333a4615af0844dc70eeccb7f2ed79fb30103
Reviewed-by: Simo Fält <simo.falt@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sequential QIODevices are allowed to report atEnd() when they have no
data to read, but add more data later.
To avoid a regression with our own tests, treat a read error from a
sequential device at end, as end-of-data.
Pick-to: 6.4 6.4.0 6.3
Fixes: QTBUG-106461
Change-Id: Iac1233e6daa978c827c37a7fd3131e2fce764111
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
| |
The longer name is now deprecated in favor of the shorter.
Change-Id: I3b5ddd4c221ebdddced3a624234e40d8c00b3d8e
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|