| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use Chrome's implementation of PushMessagingService. This feature
relies on notification permissions, so it is not different from
Web Notification from end-users perspective.
We don't persist push subscriptions, because it seems these have
to be consistent with persisting notification permissions.
Make address of push service configurable by a profile setting.
It is empty by default - which means the feature is disabled until
the user sets the address of a push service.
Task-number: QTBUG-98904
Task-number: QTBUG-53457
Change-Id: If44f459fecf2da482c28fee5562f62fe40de103e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We should delay some dll loads as MediaFoundation is not available
on Windows N. Chromium already uses that option when compiling
components, however we use only response file to track dependencies,
and those libs were never linked with DELAYLAD flags by (qt)cmake.
There is currently no nice way to set those base on gn dependencies as
those are generated on bulid time and we need linker flags on configure time.
As workaround simply hardcode those 3 required libs, as side effect
when linking QtPdf module there will be warning that there are no
references to mentioned media foundation libs.
Pick-to: 6.4 6.4.0 6.3
Fixes: QTBUG-100391
Change-Id: I06e4bffdf8bc6803a4f2b1437679628b9a733299
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The writable watcher will trigger all the time if we use automatic
arming, instead we need to arm it manually when it is needed.
Pick-to: 6.4 6.4.0 6.3
Task-number: QTBUG-106461
Change-Id: Ia381db338adb1b1994d1da9b50c6d6ff542ea3e5
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
It's not used in QQuickPdfPageNavigator, and causes a linker warning
about a duplicate symbol, especially in static builds.
Pick-to: 6.4
Fixes: QTBUG-106361
Change-Id: I128c10a1aead1aa9a761dc091c626488fc195d12
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Qt::ImReadOnly query enum is new in 6.2 (qtbase
c80f262258b7846bf199887bcfdbb6dcfda6ad6f and
aae4d52cbb79c61161271473ab5c3a1ba1086e01). It was added to the
switch statement in 79d04aa9e3e9aa84d7378260519f9e9a6759dc41 but
needs to return `true` to mark this Item as read-only, so that the
keyboard will not open when it gets focus. The menu still gets
populated with Select and Select All on long-press, and then
Copy after a selection is made. That's all we need.
The qt_im_readonly property was a sort of private API for Qt 5, and
should no longer be needed (albeit the implementation is still in Qt 6
so far).
Pick-to: 6.4
Task-number: QTBUG-83811
Fixes: QTBUG-106358
Change-Id: I677363be545d07884dffdfc10d6fdbd488cf2cf0
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix typo, which slipped through testing. This covers the case when
gn is already built (external project) and user reconfigures qtwebengine
after removing cache (for non-prefix build)
Pick-to: 6.4 6.4.0 6.3
Task-number: QTBUG-106406
Change-Id: Ic0d105ff7d50a07f3729cb0cd095d2a8daf6911b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Use QCommandLineParser
- Use QmlEngine::setInitialProperties() instead of context
properties and make "source" a required property of type url
- Use startup documents from resource
Pick-to: 6.4
Change-Id: Idaad82be4d7cf862de96240af031ed317a401266
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Use QCommandLineParser
- Fix the organization name
- Use modern QML type registration (Utils as a singleton)
instead of context properties
Pick-to: 6.4 6.3 6.2
Change-Id: Ibbe93dffd685ddd2e5f2d01852e006c4c47d9713
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
So far we only have QML API, but we don't have a public header yet; so
this class should not appear in public docs.
Pick-to: 6.4 6.4.0
Task-number: QTBUG-77511
Change-Id: I1f0f5c6b625597a73a67a3019b9f8271ce9cea9e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Use QCommandLineParser
- Fix up QFileDialog handling
- Small fixes
Pick-to: 6.4 6.3
Change-Id: I0cbe30a0fb5c856805956970407aa526d1d93fa4
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
|
|
|
| |
This should enable the readers to access the up-to-date
example code.
Change-Id: Ie62bdea39d1374b49f1b8f5bf576b27c8f37996f
Pick-to: 6.3 6.2
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The document is a property that the user needs to bind. If initializing
it has been neglected or delayed somehow, we shouldn't crash.
Pick-to: 6.4 6.4.0
Fixes: QTBUG-106355
Change-Id: I8e99b4bb84d868b694886058d56166fb3c4eabff
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handlers must not get disabled because the zoom range is beyond limits:
rather, let PinchHandler's minimumScale and maximumScale enforce them.
So far, PdfMultiPageView and PdfScrollablePageView do not have other
ways of zooming (like a WheelHandler for control-mouse-wheel), so we
don't need BoundaryRule. But the limits applied by PinchHandler are
"hard" limits: you bump up against them instantly, with no easing curve.
Pick-to: 6.4
Fixes: QTBUG-104769
Change-Id: I4eb785e572816d1b80ea9c8f4f5b9c925594afac
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
In case of non prefix builds gn should be copied so
it can be detected by cross-build from host qt.
Pick-to: 6.4 6.3
Change-Id: I02937fc7101c249b22cfa06275c508410f888248
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
It could be that 300 seconds is not enough on some machines.
Amends dfa58067e31e77e20f0cd25f408e248c8ff82cf4
Pick-to: 6.4
Fixes: QTBUG-105168
Change-Id: Ice3fe6a68fe1969c21e001169bfba2d9dbdec770
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Use inherited screen_infos_ in RenderWidgetHostViewQt.
Handle multiple screens.
Fixes: QTBUG-105955
Fixes: QTBUG-105960
Pick-to: 6.4
Change-Id: I6e5d04e29ff1e8bb9936cc3103960f27895904d6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|