summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix crash when /usr/share/X11/xkb is emptyMartin Negyokru2023-01-101-1/+5
| | | | | | | | | | Fallback to Stub implementation instead of crashing. Task-number: QTBUG-105124 Change-Id: I7ad41daefe279b33bf924c74ee90e7d6a2375a63 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 1da0407a3440b89a8a4500e3a5c568c949d563b3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix translation of QPdfLink::toString()Friedemann Kleint2023-01-071-6/+5
| | | | | | | | | | | Use the same message text as in QML and allow for changing languages by removing the static string constant. Use 1 fractional digit for the point. Change-Id: Iac3b5374e32a9a97af157c6ba6833ad845b02750 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit acae09d86295ed711ce6c8eca28a399f71af8869) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix qdoc link failuresMichal Klocek2023-01-074-4/+5
| | | | | | | Change-Id: I6b18382a376bf3067323e801f6f39bf4ec09e9dc Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit df4fee6fd3045884aee483c34c76c6718a10fe56) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update Chromium to 108-basedAllan Sandfeld Jensen2023-01-061-0/+0
| | | | | | | | Task-number: QTBUG-105147 Change-Id: I65ba9ab91fb55b51b20583a5dacc8b2d9634c42e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8e0c3ce2f7abcf999d4be9071f3ed2a692db0f71) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Adaptations for 108-basedAllan Sandfeld Jensen2023-01-0651-145/+220
| | | | | | | | Fixes: QTBUG-105147 Change-Id: I0022964903f3443cc97843c62468ab9be8ae2ed8 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 5121effa745cf88b6d50630249570113941c2ca2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichal Klocek2023-01-021-0/+0
| | | | | | | | | | | | | Pulls in following patches: * 481d91afcf3 Fix initialization for FCM * df46b0483d4 Force python to write with utf8 encoding * 1051027a309 Remove custom push service endpoint support * 702cba29bcc FIXUP: Fixes for jumbo build * fb8de43885e FIXUP: Fixes for jumbo build Change-Id: Ib0daa587953ff51c3857bad419886eae5c57ca36 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Remove setPushServiceEndpoint from APIMichal Klocek2022-12-228-60/+43
| | | | | | | | | | | Use setPushServiceEnabled instead. Update also getter and documentation. Task-number: QTBUG-107442 Change-Id: I299ce88b06edef0f1a0088fb10f4a142056039be Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 4bedbe65c8af21e29e3ed274334ce1d32c8f9279) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QPdfDocument: make code locale-independentMarc Mutz2022-12-221-1/+3
| | | | | | | | | | | | | | | | | | | | | The C toupper/tolower functions are locale-dependent. Given the right locale (Türkiye, e.g.), tolower(I) is either - ı (LATIN SMALL LETTER DOTLESS I; if representable in current charset) - I (unchanged; if it isn't) Both results are wrong for the present use-case, so use US-ASCII-only QtMiscUtils::toAsciiLower() to side-step the issue. Besides, feeding unfiltered char values into tolower() is UB. You'd first have to cast to uchar: https://en.cppreference.com/w/cpp/string/byte/tolower Task-number: QTBUG-109235 Change-Id: I57887581ba2e548e978223337d681124b30bf754 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 3172695838372b54c2a488975578eaedaf094e80) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix push service initializationMichal Klocek2022-12-201-0/+4
| | | | | | | | | Add missing perf store values. Change-Id: Ic9b264c22e1d419e6c89ce4e0f9b5b843aded8cb Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 52f6d20d4701c869d73d6d697c6ecb42d0a93541) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix qdoc warningsv6.5.0-beta1Michal Klocek2022-12-161-0/+0
| | | | | | | | | | | | | | | | | | | As JavaScript parsing issue got fixed , the limit was not changed, meaning there where 4 "unused" warnings possibilities. In the meantime another change e6a13d97898f3f4b19f61006d0716ca9e1b9f037 was merged which had 3 qdoc issues, which got therefore unnoticed. Fix those issues. Do not use underscore in example name and rename push_notification to push-notifications (like qtbase network-chat). Change-Id: I2635424e24d3b9a0a02c2e6fe8ac383eec95c112 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit cbc622f158a94fea9c6af8d675a8743e98267109) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Revert "Pump up temporally warning limit for qdoc"Michal Klocek2022-12-161-1/+1
| | | | | | | | | | | A required dependency for qttools is merged. This reverts commit f85b1381be8aeda4de7d364e4b51f09fc560c0c1. Change-Id: If0f0a990a9f5ec2c8601057d803875f19893bf6a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ae2ca250efd331d4eb1d843a91735020cbb87be2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Recreate response head objects on multiple redirectMichael Brüning2022-12-141-8/+18
| | | | | | | | | | | | The previous response head gets moved when redirecting, which lead to dereferencing a null pointer on the next redirect. Fixes: QTBUG-109357 Change-Id: Iaad1c46b8d4ca9720f1749980a9e06337ca0f3d8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c6b2b5d8038b3ec0de6233c1e21df60ade11c81b) Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add touchSelectionMenu for widgetsMartin Negyokru2022-12-128-2/+243
| | | | | | | | | [ChangeLog][QWebEngineWidgets] Added touch selection menu. Task-number: QTBUG-100418 Task-number: QTBUG-91712 Change-Id: Iffb994e429b92389e64cd6a93a0b034d6aa07f66 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Override chromium's pointer_device implementationsMartin Negyokru2022-12-123-0/+103
| | | | | | | | Use QInputDevice to query pointer device specs. Fixes: QTBUG-63174 Change-Id: I34737c903d2d9c8cb387941ef5e9b1b93afce1f0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable V8 sandbox for QEMU arm64 CIPeter Varga2022-12-091-0/+8
| | | | | | | | | | | | | | | | | After the 106-based adaptations V8 sandbox is enabled by default. It cannot be disabled runtime anymore. The initialization of the sandbox has significant overhead in a qemu-aarch64 environment, at least 5sec. This makes most of our auto tests timeout. The sandbox is not supported on 32bit platforms. The detection of the QEMU target relies on the environment variable TARGET_OSVERSION_COIN=qemu on the CI. Fixes: QTBUG-108993 Change-Id: I45961bc2e8a0af505113777f2b26f10b93b7477f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Remove webengine-v8-snapshot-support featurePeter Varga2022-12-082-28/+0
| | | | | | | | The correspdonding v8_use_snapshot gn argument has been already removed in the Chromium 79 adaptations. It is useless since then. Change-Id: Ied1df9e8ed3149a0309d90fc026f4158627c0bcc Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Deprecate Quota Permission Request APIPeter Varga2022-12-0820-307/+39
| | | | | | | | | | | | | | | | | | | | | | | | Requesting host quota is no longer supported by Chromium. navigator.webkitPersistentStorage has became an alias for navigator.webkitTemporaryStorage after the Chromium 106 update. Requesting quota for temporary storage is needless because the allocation is automatic and storage can't be requested beyond the maximum limit. The logic of the persistent storage will be entirely removed in the next Chromium update so just deprecate the API and remove the corresponding implementations. [ChangeLog][QtWebEngineCore] Deprecate QWebEnginePage::quotaRequested() signal and QWebEngineQuotaRequest class. The signal is not emmitted anymore. [ChangeLog][QtWebEngineQuick] Deprecate QWebEngineView.quoataRequested() signal. The signal is not emitted anymore. Task-number: QTBUG-56354 Change-Id: Ie397598c416d9e811270ba56a97f8984948277f7 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Clean up header includes in proxy config filesPeter Varga2022-12-084-15/+5
| | | | | Change-Id: I8f0154f7f664a2b438cbe6e06b4638156d04f550 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Port d_ptr of QWebEngineUrlRequestInfo to std::unique_ptrPeter Varga2022-12-052-4/+15
| | | | | | | | | Fix compiler warning about deprecated QScopedPointer::take. Pick-to: 6.4 Change-Id: I71f714e0dd301db51580b5e03d860d6d214a84b3 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Add Support for Client Hints HeadersAllan Sandfeld Jensen2022-12-044-1/+261
| | | | | | | | | [ChangeLog][WebEngineCore] Client hint headers now added to HTTP requests Fixes: QTBUG-107451 Change-Id: I450fe1fe782b702fc81a3d90c82c0ece6a19ea45 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumAllan Sandfeld Jensen2022-12-021-0/+0
| | | | | | | | | | | Submodule src/3rdparty be36115f0..d3786fd69: > FIXUP: Fix browser DCHECK > FIXUP: Fixes for jumbo build > Merge branch 'upstream-master' into 106-based > Fix browser DCHECK Change-Id: Ia38b518a9c51f7a0da51de02f28b32374f5b9a3c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix -no-opengl buildPeter Varga2022-12-011-5/+7
| | | | | | Pick-to: 6.4 Change-Id: I65e4f7e045c55868000f67e32227b372f990af1c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Pump up temporally warning limit for qdocMichal Klocek2022-11-291-1/+1
| | | | | | | | | | | | | | | | | | qDoc on ci throws some "Unable to parse JavaScript" warnings for new examples. However this issue will be gone after removing JavaScript support form qdoc qtools change: ecf918398579030c9ba16f843595cfdbe774c00b The newer qdoc comes form qt5 change: 271cd0608c84016a285116fe1295d7d2e60f1c87 Task-number: QTBUG-106275 Task-number: QTQAINFRA-4926 Change-Id: I74bb515146587361d804ee6be8d2d37c4dd29671 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add client certificate exampleMichal Klocek2022-11-291-0/+3
| | | | | | | Task-number: QTBUG-106497 Pick-to: 6.4 Change-Id: I39e39a991362940bb35052d28254b7b12acaa105 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add push notification exampleMichal Klocek2022-11-291-0/+19
| | | | | | | | | | | Adds simple push service implementation in NodeJS. Note setup for endpoint for qwebenginepage is not mentioned as it has to be decided what to do with it (see bug report). Task-number: QTBUG-107442 Change-Id: Iacfcb2a9d0c33c514b4046d06f866eb82390a240 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update chromium to 106-basedAllan Sandfeld Jensen2022-11-281-0/+0
| | | | | | Task-number: QTBUG-105147 Change-Id: I47b9e46df18420b75b205e818b117ee632680873 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adaptations for 106-basedAllan Sandfeld Jensen2022-11-2864-403/+361
| | | | | | Change-Id: I2fe91c06ce91dfaace7825a0589b56ee375479b6 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adaptations for 104-basedAllan Sandfeld Jensen2022-11-2864-1008/+640
| | | | | | Change-Id: Ieb44b5c98b3342adca38916d8b77c54e8ed8e1d7 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add MessagingAPIMessageFilter to RenderProcessHostMartin Negyokru2022-11-251-0/+2
| | | | | | | | | | | | | This class handles messaging api-specific IPCs from the renderer e.g.'chrome.runtime.connect' that is required for communication with extensions. It was separated from ExtensionMessageFilter in: https://chromium-review.googlesource.com/c/chromium/src/+/3318572 . Since then the hangout services extension is broken. Task-number: QTBUG-51185 Task-number: QTBUG-61676 Change-Id: I3fd885afa4fece9ee92bd7644cd1adca3c44a491 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix Chromium version documentationAllan Sandfeld Jensen2022-11-241-3/+12
| | | | | | | | | | | Stop listing a number we forget to update, and document the process we use for selecting Chrome versions and patches levels. Pick-to: 6.4 Fixes: QTBUG-105146 Change-Id: I1cd632ef3fe3a4b1bf10a702a344ff69b2552d61 Reviewed-by: Vladimir Minenko <vladimir.minenko@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix build with disabled webengine_extensionsPeter Varga2022-11-244-11/+11
| | | | | | | | | | | | | PDF viewer depends on extensions. Guard these dependencies to make able to build with disabled webengine_extensions and enabled webengine_printing_and_pdf. The PDF Viewer is not expected to work with this configuration but the build should pass and loading a PDF should result a download. Pick-to: 6.4 Change-Id: I4d75e356951c82333ec3dbcd7b6271b9305de3df Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build with -no-vulkanPeter Varga2022-11-241-0/+5
| | | | | Change-Id: I379f4122521f3b35759c6da6d2291f851941555a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Simplify mime-type listAllan Sandfeld Jensen2022-11-231-19/+27
| | | | | | | | | | A complex list of mime-types seems to confuse Discord, and this also lowers our entropy leak. Pick-to: 6.4 Fixes: QTBUG-108265 Change-Id: Ic33d908c4d3c5efe93b086c7b52f39d81a748b32 Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
* Minor. Remove Override from client certificate storeMichal Klocek2022-11-225-27/+27
| | | | | | | | | Change 'Override" in favor of 'Qt' so it matches the rest of the source base. Pick-to: 6.4 Change-Id: I0ba614ed3017a8d7e0ba5fc703b3f04c28b5ead7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Return both application and system certificatesAllan Sandfeld Jensen2022-11-221-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | For the certificate choice return both application and system certificates. Add unit test to cover the case on Linux. Unfortunately it requires adding the user certificate to the nss data store, which is not not nice, however porting the certificate manger from Chromium is a bigger task. Test runs only if the machine has pk12utils installed. During the test the user certificate is imported into the nss database with the nickname 'qwebengineclientcertificatestore'. This can be removed later with: ninja remove-user-personal-certificate and verified with: certutil -d sql:$HOME/.pki/nssdb -L Pick-to: 6.4 Change-Id: I475fddc68ea56304980f6c835ed4cfed4b093ad4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Doc: Emphasize in-memory and system stored client certificatesMichal Klocek2022-11-221-5/+7
| | | | | | | Task-number: QTBUG-106497 Pick-to: 6.4 Change-Id: If03062a5ab6cf5f6d14329637f44b5ea7675f65a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Update the docs related to the FaviconMichal Klocek2022-11-221-6/+23
| | | | | | | Fixes: QTBUG-106501 Pick-to: 6.4 Change-Id: Ib70020d947b3010d22315db3bd32c017e55f71c7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Emphasize QtNetwork is not usedMichal Klocek2022-11-221-0/+3
| | | | | | | Fixes: QTBUG-106510 Pick-to: 6.4 Change-Id: Ib6a63fb5796c437c14ba0885507a3cf6bf9d89f9 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add WebGL featureMichal Klocek2022-11-221-0/+11
| | | | | | | Fixes: QTBUG-106503 Pick-to: 6.4 Change-Id: I280be8707e803b6f01dbdffb76ab9cbce182b7af Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add Local Storage featureMichal Klocek2022-11-181-0/+26
| | | | | | | Fixes: QTBUG-106502 Pick-to: 6.4 Change-Id: I01dcec5e76db7921fc2597e6921e3bc6a6424aa8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add webengine-spellchecker build switch docsMichal Klocek2022-11-181-0/+9
| | | | | | | Fixes: QTBUG-106500 Pick-to: 6.4 Change-Id: I7a6fabd3526bd2aa164ac992be8cfd145106d7df Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Improve html5 geo location docsMichal Klocek2022-11-181-7/+9
| | | | | | | Task-number: QTBUG-106498 Pick-to: 6.4 Change-Id: I7e2b9d6b5cc3a3a9593303684d8f9eaf19f37dc8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Improve QWebEngineClientCertificateStore documentationMichal Klocek2022-11-182-1/+20
| | | | | | | Fixes: QTBUG-106497 Pick-to: 6.4 Change-Id: Ic10d2d54722b071eaacd9f7cb74b08c8ecedcd65 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add hardware acceleration featureMichal Klocek2022-11-181-0/+15
| | | | | | | Fixes: QTBUG-106496 Pick-to: 6.4 Change-Id: Ie1f74d5c9878f6079089007c1cc79a427e85bd70 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Fix feature listing order in docsMichal Klocek2022-11-181-63/+64
| | | | | | | | We keep features in alphabetic order. Pick-to: 6.4 Change-Id: I4716f3f71dd16e2f01f5f3ca8650ed3d1c25fe64 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Minor. Remove unsued qtwebengine_extensions_features.gniMichal Klocek2022-11-171-27/+0
| | | | | | Pick-to: 6.4 Change-Id: I7e2806bfc8367a4137d1e489741ea044376e4203 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix probabilistic signature schemeMichal Klocek2022-11-171-2/+2
| | | | | | | | We failed to support pss, which ended up in handshake failures Pick-to: 6.4 Change-Id: I12c50d6a5f2dcf32d47708a958e2fe5a18316986 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make client certifcate work without CAMichal Klocek2022-11-171-5/+14
| | | | | | | | | | | | | | | | | | | | Check for expired certificate, they will most likely fail during authentication, so no point of selecting them. According to rfc5246 certificate authorities list in certificate request can be empty. "If the certificate_authorities list is empty, then the client MAY send any certificate of the appropriat ClientCertificateType, unless there is some external arrangement to the contrary." https://datatracker.ietf.org/doc/html/rfc5246#section-7.4.4 Support empty CA list. Pick-to: 6.4 Change-Id: I0ae3cbd7b0cd13ef943b431c81c3edea5ae9162d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add Vulkan rendering supportPeter Varga2022-11-1018-31/+681
| | | | | | | | | | Updates 3rdparty: * 8b7ce4ef70d Make GrVkImage external Task-number: QTBUG-107669 Change-Id: If7fbe1f20538598dd1d4f3a67be17c9f7d06a3cd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumMichael Brüning2022-11-032-1/+1
| | | | | | | | | | Sumbmodule src/3rdparty 24df9c9b..9457651e: > [Backport] CVE-2022-3723: Type Confusion in V8 Task-number: QTBUG-108106 Change-Id: Ic6ae78e84df7198e5729f1377b60d774e1b1e5fa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>