summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add the new rcc paths to qt-installer-package-config.json6.7Alexey Edelev17 hours1-1/+3
| | | | | | | | | | | | The rcc build and installation path is changed. We need to consider this when packaging QtPdf module. Fixes: QTBUG-124747 Change-Id: I806cb0c259dc9bb42e79844a08c715a2a5d3723d Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit a602e7af5c55fe15dd2ab0459207e0827cd0f7c4) (cherry picked from commit 97450d6b54d8601f50f2b097ace478956b973821) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot21 hours1-4/+4
| | | | | Change-Id: Id7f870600a9134e1217ae7d9d2862fa222795a30 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot2 days1-4/+4
| | | | | Change-Id: I307073849966dac131a70e03834804c2e64f5d85 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot5 days1-4/+4
| | | | | Change-Id: I401f74377efbbd6bf79cda34331a689cfe63791e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Ensure that the correct modifier key is send to the chromiumAnu Aliyas6 days1-1/+1
| | | | | | | | | | | | | | | | QtWebEngine converts QtKeyEvent to NativeEvent and then forwards it to Chromium. During the conversion, the value of keyEvent->nativeModifiers is passed as the modifier, leading to this issue. Eg: when using the command modifier, nativeModifiers yielded 264 instead of the expected value NSEventModifierFlagCommand, which is 1 << 20. Used QAppleKeyMapper::toCocoaModifiers() to get NSEventModifierFlags from Qt::KeyboardModifiers Fixes: QTBUG-122970 Change-Id: I0c9d8df796187a04475fa944bf1cf4ba2a14109b Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 6adbc4cfb61913fc42f4673d6e24f09088f43327) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Set the modifier key to resolve the backtabbing issue in WebEngineQuickAnu Aliyas6 days1-2/+6
| | | | | | | | | | | | | When handling the Qt::Key_Backtab key press event and the event doesn’t contain a modifier key, specify it as Qt::ShiftModifier, as Chromium requires this to process backward tabbing. Fixes: QTBUG-92114 Pick-to: 6.6 Change-Id: I6f59177272a0972a680dd4b247e5df0105644db1 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 8ba4f74ae76df8b734cc6401e0f05c8e41fc3977) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot6 days1-4/+4
| | | | | Change-Id: I02043e23b4d26da14d347c332894bdceccaed2d2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot7 days1-4/+4
| | | | | Change-Id: Icb3ebfb4f750ed36b6abbf281e8a1e0e03d56ae8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Thread safe implementation of Favicon Quick APIAnu Aliyas8 days6-145/+184
| | | | | | | | | | | | Ensured thread-safe access to quick classes, by moving all interaction with these classes to UI thread. Removed thread pool and used signals and slots instead Pick-to: 6.6 Change-Id: Icd5cecf73258fd7da04f56cd5dd5cb83904b8b40 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit c899da78dc658691f02a431f9105fc2f84c737cd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Document how to use signal with private typesAllan Sandfeld Jensen8 days1-0/+4
| | | | | | | | | | | Needed until we make it public in 6.8 Pick-to: 6.6 Task-number: QTBUG-120370 Change-Id: I6a6aea92d2cc27142fbbc6cb021787daefa68ad0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit e7aff2bddab7c601334c6a7df0be6f7a5caea5d6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Update PdfPageView code snippetSafiyyah Moosa8 days2-1/+13
| | | | | | | | | | | | | The PdfPageView QML Type documentation contains a code snippet. The code snippet should demonstrate how to use the PdfPageView QML type, however it uses the PdfMultiPageView QML type instead. This fix creates a new code snippet that implements the PdfPageView QML type. This snippet replaces the incorrect snippet that was used previously. Fixes: QTBUG-123536 Change-Id: I319b4d86133d7dc41664229110a6c13ed46b7e80 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 1b72c11e36b2f52c891fce4e43af408b113d60b7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot8 days1-1/+1
| | | | | Change-Id: Iaccb43b8b1e09e4530049b779f594a6e55bbd6fe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.7.2Jani Heikkinen9 days1-1/+1
| | | | | Change-Id: I061666d8a1124240b61dc2d368abc4d6b4c4a907 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot9 days1-4/+4
| | | | | Change-Id: If2f28c129135cc9c27535f30125091950cf67bd3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Second attempt: Skip build for arm64 on WindowsOliver Wolff12 days1-1/+2
| | | | | | | Task-number: QTBUG-124632 Change-Id: Iae116b141743cead3fe984ed87eb036ee97e0273 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 61c6e645d9390789e2298535fbe27d8b88a147c2)
* Update ChromiumMichael Brüning12 days3-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 814db44b..b916ca00 * [Backport] Security bug 332724843 * [Backport] CVE-2024-4060: Use after free in Dawn * [Backport] CVE-2024-4058: Type Confusion in ANGLE * [Backport] Security bug 323898565 * [Backport] IWYU: missing include for std::memcpy usage in bdict_reader.cc * [Backport] CVE-2024-3840: Insufficient policy enforcement in Site Isolation * [Backport] Security bug 326498393 * [Backport] Dependency for security bug 326498393 (2/2) * [Backport] Dependency for security bug 326498393 (1/2) * [Backport] CVE-2024-3914: Use after free in V8 (2/2) * [Backport] CVE-2024-3914: Use after free in V8 (1/2) * [Backport] Security bug 40940917 * [Backport] Security bug 327698060 * [Backport] CVE-2024-3837: Use after free in QUIC * [Backport] CVE-2024-3839: Out of bounds read in Fonts * [Backport] Security bug 326521449 Fixes: QTBUG-124695 Fixes: QTBUG-124714 Change-Id: Icb6678507a3fdfd7648b3f990cdf21a47c72cefb Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a0395c6e3163df2234696befd216cea2c0d6954c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add the missing _p suffix to the private header files in WebEngineQuick/WidgetsAlexey Edelev12 days13-13/+57
| | | | | | | | | Pick-to: 6.6 6.5 Change-Id: I4b64147cb70c3994ed054374c9047fe9274da777 Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit df6f68cb7af51c2141f7b263ed89a3e9a3f46379) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix synchronization of skImage in NativeSkiaOutputDevicePeter Varga13 days1-2/+6
| | | | | | | | | | | | Wait for SkiaImageRepresentation::ScopedReadAccess::CreateSkImage() completion on UI thread. Amends 663ac447476268998fa7f86b03b32115978dfda4 Change-Id: I83c47d65f0e4bf911d45f024cb9c7376ba35b6f1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit b5cfe6054e593beb2123d8de36f65b3b14e214ff) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix IOSurface memory leakPeter Varga13 days4-3/+32
| | | | | | | | | | | | | | | | | | | | | IOSurface is reference counted by the OS. Chromium wraps it by gfx::ScopedIOSurface to handle reference counter implicitly. Calling gfx::ScopedIOSurface::release() doesn't decrement the counter just release the ownership, see //base/apple/scoped_typeref.h. Without ownership, gfx::ScopedIOSurface cannot decrement the counter at the end of the scope and IOSurface remains in the memory. As a fix, replace the release() call with get() and let the scoper handle the lifetime of the object. Also release MTLTexture during clean-up because it can also hold reference to the IOSurface. Fixes: QTBUG-124353 Change-Id: Idf590b1e48f0c988de8fc71556e99a43749d52e5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> (cherry picked from commit b46f923e69454fa79d22a5c1c731baf0999e393c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix warning in QuicknanobrowserSzabolcs David13 days1-7/+1
| | | | | | | | | | qrc:/WebAuthDialog.qml:115:21: Unable to assign QString to QRectF Change-Id: I88e2f6c3da745d0f8b9663c40ae895cbbdfd8ad9 Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 11e58879960f7f0dce38649642bebf7eb2e24973) Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot13 days1-4/+4
| | | | | Change-Id: Ifc847ddbdcbeb07cf913e70a34536e9bacbd3562 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Minor. Add missing target checksMichal Klocek14 days2-4/+12
| | | | | | | | | | | | | | We need to always add target checks as qt-camke can call configure on tests even if webengine is not built. Otherwise it prints more errors than it should. Pick-to: 6.6 Task-number: QTBUG-120247 Change-Id: I7e9c1ab9640b91addb8ad1b35889771fb3dd9569 Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 5c2dcae95a9cb16e2a8f6730304c10397620b7a6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Avoid using -no_warn_duplicate_libraries flag with class linkerAnu Aliyas14 days1-0/+2
| | | | | | | | | | | | | The classic linker (triggered via -ld_classic) doesn't support the flag -no_warn_duplicate_libraries linker. Opted out from using this flag by setting QT_NO_DISABLE_WARN_DUPLICATE_LIBRARIES to true. Task-number: QTBUG-122655 Pick-to: 6.6 6.5 Change-Id: Ia0d93666abd6c9bf2a084ffb4df61eab61f972bc Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit b410b1e43be36718d52f0d1d3f49812ed7a0e3a1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Handle empty uri-list in dropped MIME dataMoss Heim14 days2-1/+24
| | | | | | | | | | | | Previously WebContentsAdapter assumed that drag-n-drop MIME data with hasUrls() == true would also have a nonempty url list. This is not always the case. Instead, check directly if urls() is nonempty. Fixes: QTBUG-123765 Change-Id: I9e2189e3f0223f98bdd8be273adb96cf063f4be3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit fa8ff1bb933b02f61e406cb29d5c8d4294676a5a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Correct license for examples filesLucie Gérard2024-04-2330-30/+30
| | | | | | | | | | | | | | Example takes precedence over build system file type. According to QUIP-18 [1], all examples file should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Task-number: QTBUG-121787 Change-Id: I558c6f409a480835d335101577ae633194b0559d Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit b816bf293dcc3acf39de8df58f2875cc9a361f80) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix print preview dialog crashes in printme exampleKaloyan Chehlarski2024-04-232-5/+10
| | | | | | | | | | | | | | | The example runs a nested event loop while waiting for the printer to return a document. During that event loop, a user was previously free to click on any of the buttons in the print preview dialog, whoich would mess up the internal state and cause a crash. This change adds a filter to that event loop to exclude user input events, and updates the docs to mention the reasoning behind this pattern. Fixes: QTBUG-122916 Change-Id: I4d3d336ffa9bd23e036772bd78f6f1e5870ab732 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 2b0edab1fd1245beea4c1dcd8653a46296dc8796) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot2024-04-221-4/+4
| | | | | Change-Id: I28a861c385f2a517e59cbe29e6d8f17955ebc6f0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update ChromiumMoss Heim2024-04-221-0/+0
| | | | | | | | | | | | | | Submodule src/3rdparty ac780f41b..3f0d09bfb: * Add missing dependencies to avoid compilation errors * Fix sporadic crash during shutdown * Fix sporadic crash during shutdown Fixes: QTBUG-124527 Fixes: QTBUG-124375 Change-Id: Ie3b178b3af7b0e903e2a7cd7fc71dfa5fb276d36 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 28faeead1f6fb133bb45174e5211b4425939384a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Correct license for build system filesLucie Gérard2024-04-226-6/+6
| | | | | | | | | | | | | According to QUIP-18 [1], all build system files should be BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Task-number: QTBUG-121787 Change-Id: I2f13ceaa8eb68b7745cffc66651f892c1fbeeff2 Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit 3f68ff473adc558a54182c07fbb34abaca4323e8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix -no-opengl buildPeter Varga2024-04-194-7/+23
| | | | | | | Change-Id: Ibb6cb75a25f9b6d69ec03bc2c6734a869ab21899 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit e4632beaa2e7411595bc4398bba3882668cf3851) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2024-04-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty da62c2f7..ac780f41: * [Backport] CVE-2024-3516: Heap buffer overflow in ANGLE * [Backport] CVE-2024-3157: Out of bounds write in Compositing * Fix crash in WGL context creation * [Backport] Security bug 326349405 * [Backport] CVE-2024-3159: Out of bounds memory access in V8 * [Backport] Security bug 327183408 * [Backport] Security bug 329674887 (2/2) * [Backport] Security bug 329674887 (1/2) * [Backport] CVE-2024-2887: Type Confusion in WebAssembly * [Backport] CVE-2024-2885: Use after free in Dawn * FIXUP: Restore GLX usage * [Backport] Security bug 41495984 * [Backport] Security bug 40066823 * [Backport] CVE-2024-2626: Out of bounds read in Swiftshader (2/2) * [Backport] CVE-2024-2626: Out of bounds read in Swiftshader (1/2) * [Backport] CVE-2024-2625: Object lifecycle issue in V8 * [Backport] Fix crash when printing on Windows debug builds * CVE-2023-7104 Fixes: QTBUG-123601 Fixes: QTBUG-124390 Fixes: QTBUG-124391 Fixes: QTBUG-124392 Change-Id: I2d1e6c46eb6a1739eff4d3127177318890f0cf1f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot2024-04-111-4/+4
| | | | | Change-Id: I12d4868eef807b21dd44061757989669d812bb34 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Do not use GBM directly for EGLPeter Varga2024-04-084-90/+238
| | | | | | | | | Replace GBM API usage with using dma_buf import/export EGL extensions. Change-Id: I0b332f084d1ada8b7ed58472f546b91628b9d771 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 13d4d720880ae3ef69240f618f0430ecc041533a)
* Implement NativePixmap support for EGLPeter Varga2024-04-086-31/+234
| | | | | | Change-Id: I321d0de7e12902e1ec915983cf1594508ebac883 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit d7e2eabed009cf7607a36e29611eb54c3be335b9)
* simplebrowser example: Use new theme iconsFriedemann Kleint2024-04-063-7/+14
| | | | | | | Change-Id: I1fe5fe8620055eec7c7fd4831459b0aa39864f97 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 4a173b8a3f54ab6bec1fb5236179eb0641ba8828) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot2024-04-041-4/+4
| | | | | Change-Id: I0b65fd060ce6ffb255bb876fd99e9a0896eea6cf Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot2024-04-031-4/+4
| | | | | Change-Id: I66bcba03f21613dc793c8c0c0c78d8158c634e20 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* PdfLinkModel: if quadpoints available, convert to rectsShawn Rutledge2024-04-031-2/+23
| | | | | | | | | | | | | | | | If QPdfLink stored polygons instead of rects, it would make sense to transform each point using QPdfDocumentPrivate::mapPageToView(); but the quadpoints (polygons) in the test.pdf from QTBUG-100630 happen to describe rectangles. This patch successfully does the transform so that they line up with the link text. It doesn't do much good since the links in that PDF are invalid anyway, but presumably links using quadpoints occur in the real world sometimes. Task-number: QTBUG-100630 Change-Id: I0cb151dbb30ca73c8f9ed2bcd29508ced05de064 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit ac447e8dc2f0b0c711ca17211646784dc9c5395f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot2024-03-281-4/+4
| | | | | Change-Id: Iffefe7744ba93b99e686fb61b74150635c768053 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot2024-03-271-4/+4
| | | | | Change-Id: Ic4cd219be3d678fc43c272dd80f0b291c8760e7f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix Vulkan rendering with Nvidia on LinuxPeter Varga2024-03-255-76/+217
| | | | | | | | | | | | | | | | | | | | | | Nvidia driver does not support GPU memory buffer (GMB) properly. The NativePixmap is only available if the SharedImage is backed by GMB. OverlayImageRepresentation only provides NativePixmap to access the texture memory by default. ExternalVkImageBacking is a fallback for OzoneImageBacking if GMB is not supported and native Vulkan rendering is used on Linux (see //gpu/command_buffer/service/shared_image/shared_image_factory.cc). It uses VkImage backing instead of GMB by default. This VkImage can be accessed via SkiaImageRepresentation what we already use for synchronizing texture rendering into the backing buffer. As a workaround for Nvidia, the backing VkImage is imported into the Qt's Vulkan context instead of NativePixmap. Change-Id: I94a29488521473291a5ba547abca34a3dba567a2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 663ac447476268998fa7f86b03b32115978dfda4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Warn about system GBM only on LinuxPeter Varga2024-03-251-1/+1
| | | | | | | | | Amends 30ff354d057a2517d928722402a3dabcc63c31ad Change-Id: I76a7edab38473aeb4bb432a6be7dcc344798d2ae Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ddc5f7d22b05f8b8de4ca7240c59e9a0899755d7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Get tst_QPdfSearchModel working; check search results in rotated textShawn Rutledge2024-03-245-4/+246
| | | | | | | | | | | | | | API has changed since b6dd845ec4a6bfb6b620686681e20d38a2f24101, and this test wasn't included in CMakeLists so we haven't been running it. Now it checks search result rectangle bounds. The new test PDFs are from the pdfium repository https://pdfium.googlesource.com/pdfium and include different kinds of transforms (the Tm command apparently). Task-number: QTBUG-120764 Change-Id: I25cf5944dd227dd4d2c70cbbac470d1d0fcc181a Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit f99e5ccf03e1b8fa3dd9725cbd9992850b9e4159) Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Convert "page" <-> "view" coordinates for PdfSelection and LinkModelShawn Rutledge2024-03-248-40/+363
| | | | | | | | | | | | | | | | | Use FPDF_PageToDevice() rather than subtracting from page height, in all the remaining places where we were doing that. Also use FPDF_DeviceToPage() to convert coordinates coming from the view, for hit-testing links and for selecting ranges of text. Mark the private utility functions that we're modifying const while we're at it. Pick-to: 6.6 6.5 Task-number: QTBUG-100630 Fixes: QTBUG-106565 Change-Id: Ide4f73b80888a0e08381c6e4995f69ebeaa2d12f Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit b78c78349d786b294ee0845717ad5db38ae2565a) Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Convert search result bounds to account for PDF transformsShawn Rutledge2024-03-243-5/+26
| | | | | | | | | | | | | | | | | As a drive-by, remove unneeded includes. QPdfDocumentPrivate::convertPageRect() will be useful for fixing related bugs. If PDF files can contain arbitrary transforms, and "page coordinates" returned from pdfium functions are not already converted, then it's never ok to just subtract from page height to invert the y's. Pick-to: 6.6 6.5 Fixes: QTBUG-120764 Change-Id: Iffce528c0c5e66c499e7147078b7b8718f7610ce Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit fccbc33d95c17b0911fd4cbd97998acfc8e6320f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtwebengineQt Submodule Update Bot2024-03-221-4/+4
| | | | | Change-Id: Id2b6bf5f7cd55358d2e8b97b703c3ab5b32ebc65 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update ChromiumMichael Brüning2024-03-223-2/+2
| | | | | | | | | | | | | | | | | | Submodule src/3rdparty e403fbe5.. da62c2f7: * Fix clang-cl builds * [Backport] Security bug 325296797 * Fix python warning in gen.py * Fix build race condition for ozone build flags * Revert "Revert "Do not initialize default locale in local isolate"" * [Backport] CVE-2024-2173: Out of bounds memory access in V8 * [Backport] CVE-2024-1938: Type Confusion in V8 Fixes: QTBUG-122917 Fixes: QTBUG-123203 Change-Id: I5ea28b4a91eb7e506869371bb66122ad223f5286 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a5f3a494f77644b305aad0652d3eb58be2bb6009) Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Clean up GLX codePeter Varga2024-03-224-45/+12
| | | | | | | | | | | | | | | - Remove unused GLX extension check functions - Replace USE_GLX macro usage because it is expected to be removed in the near future Pulls in the following patches: * e403fbe5937 FIXUP: Fix vaapi support for QtWebEngine * f2b407a61be FIXUP: Restore GLX usage Change-Id: Icda14a8cb25ecb0b7b171ecd0e9ffeebcb0ddb97 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 0f491ae8386a44326ac31ec91c635a39e7d239e6) Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Update ChromiumPeter Varga2024-03-221-0/+0
| | | | | | | | | | | | | | Submodule src/4rdparty 1f5b24f83..a3b5f2f6: * Revert "Do not initialize default locale in local isolate" * Fix crash during rapid tab switches in debug mode * [Backport] CVE-2024-25062 / Security bug 325094430 Task-number: QTBUG-120414 Task-number: QTBUG-122699 Change-Id: I4830eef6b960e0d31e6849e0c64bc815c7c7b134 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 2449499ddfdf14845ab40252b51c0fba1de4b9f7) Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* FIXUP for Force use of classic linker on AppleClang 15Michael Brüning2024-03-221-1/+1
| | | | | | | | | | | | | There was a PRIVATE missing when adding the linker flag due to a copying error from the development system. The CI did not catch this due to not compiling with XCode 15 yet. Pick-to: 6.6 Fixes: QTBUG-122655 Change-Id: I1fbbba594fbef6b3d27b93c5d2c729f7b685d9ed Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 1321c9cc1508b0014af6462f101b765ad7805942) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>