qtbase-opensource-src.git
16 months agoSsl: Copy the on-demand cert loading bool from default config
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
Ssl: Copy the on-demand cert loading bool from default config

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=57ba6260c0801055
Last-Update: 2023-06-08

Otherwise individual sockets will still load system certificates when
a chain doesn't match against the configured CA certificates.
That's not intended behavior, since specifically setting the CA
certificates means you don't want the system certificates to be used.

This is potentially a breaking change because now, if you ever add a
CA to the default config, it will disable loading system certificates
on demand for all sockets. And the only way to re-enable it is to
create a null-QSslConfiguration and set it as the new default.

Gbp-Pq: Name CVE-2023-34410.diff

16 months agoQDnsLookup/Unix: make sure we don't overflow the buffer
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
QDnsLookup/Unix: make sure we don't overflow the buffer

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=7dba2c87619d558a
Last-Update: 2023-05-25

The DNS Records are variable length and encode their size in 16 bits
before the Record Data (RDATA). Ensure that both the RDATA and the
Record header fields before it fall inside the buffer we have.

Additionally reject any replies containing more than one query records.

Gbp-Pq: Name CVE-2023-33285.diff

16 months agohsts: match header names case insensitively
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
hsts: match header names case insensitively

Origin: upstream, https://download.qt.io/official_releases/qt/5.15/CVE-2023-32762-qtbase-5.15.diff
Last-Update: 2023-05-22

Header field names are always considered to be case-insensitive.

Gbp-Pq: Name CVE-2023-32762.diff

16 months agofix buffer overflow in Qt SVG
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
fix buffer overflow in Qt SVG

Origin: upstream, https://download.qt.io/official_releases/qt/5.15/CVE-2023-32763-qtbase-5.15.diff
Last-Update: 2023-05-22

Adds qAddOverflow and qMulOverflow definitions to QFixed.

Gbp-Pq: Name CVE-2023-32763.diff

16 months agodo not set Qt::ToolTip flag for QShapedPixmapWindow
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
do not set Qt::ToolTip flag for QShapedPixmapWindow

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=180b496b537089b8
Bug: https://bugreports.qt.io/browse/QTBUG-98048
Last-Update: 2023-05-20

This hint is not really needed in the first place and only causes
problems in some environments.

For example in KDE, the compositor animates changes in position and size
for all ToolTip windows. However, this is not wanted here because we use
this window as a thumbnail for a drag-and-drop operation.
Before this patch the dragged element would lag significantly behind the
cursor. Now it works as expected, i.e. the dragged element follows the
cursor immediately.

Gbp-Pq: Name qshapedpixmapwindow_no_tooltip.diff

16 months agouse wayland platform plugin on GNOME wayland sessions by default
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
use wayland platform plugin on GNOME wayland sessions by default

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=dda7dab8274991e4
Last-Update: 2022-10-16

Qt wayland platform plugin has improved quite a lot and it is now pretty
much usable on Gnome. It also improves user experience a lot on HiDPI
displays.

Gbp-Pq: Name gnome_wayland.diff

16 months agowidgets: setTransientParent() when a QMenu is a window
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
widgets: setTransientParent() when a QMenu is a window

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=493a85a9e4688744
Last-Update: 2022-10-16

On some platforms, such as X11 and Wayland with some compositors,
QMenu could be a popup window, which should be set a transient parent
to get relative position, which is requested by Wayland.

Added transientParentWindow() for QMenuPrivate like QDialogPrivate.

Gbp-Pq: Name qmenu_set_transient_parent.diff

16 months agoupstream fixes to support OpenSSL 3.0
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
upstream fixes to support OpenSSL 3.0

Origin: upstream, commits
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=3186ca3e3972cf46
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=408656c6f9de326c
Last-Update: 2023-10-17

Gbp-Pq: Name openssl3.diff

16 months agoQPushButton/fusion style: don't ignore QIcon::On icon
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
QPushButton/fusion style: don't ignore QIcon::On icon

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e9ccdf4d84157173
Last-Update: 2021-08-10

The fusion style did ignore the QIcon::On icon because it reset
State_On to avoid the visual shift of a pressed button.
But it's not needed to reset this flag - the shift does not happen
because the fusion style does return 0 as offset for
PM_ButtonShiftHorizontal/PM_ButtonShiftVertical so no shifting will
happen.

Gbp-Pq: Name fusion_checkable_qpushbutton.diff

16 months agoadjust QMimeDatabase implementation
Debian Qt/KDE Maintainers [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
adjust QMimeDatabase implementation

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0cbbba2aa5b47224
Last-Update: 2021-06-12

When multiple globs match, and the result from magic sniffing is
unrelated to any of those globs, globs have priority and one of them
should be picked up.

Gbp-Pq: Name mime_globs.diff

16 months agoqtbase-opensource-src (5.15.13+dfsg-4) unstable; urgency=medium
Dmitry Shachnev [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
qtbase-opensource-src (5.15.13+dfsg-4) unstable; urgency=medium

  * Backport upstream patch to fix qfutureinterface.h for GCC 14
    (closes: #1075430).
  * Backport three upstream patches to improve D-Bus tray integration,
    in particular on non-X11 desktops (LP: #2059819).
  * Update symbols files for GCC 14.

[dgit import unpatched qtbase-opensource-src 5.15.13+dfsg-4]

16 months agoImport qtbase-opensource-src_5.15.13+dfsg-4.debian.tar.xz
Dmitry Shachnev [Thu, 25 Jul 2024 12:43:37 +0000 (15:43 +0300)]
Import qtbase-opensource-src_5.15.13+dfsg-4.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.13+dfsg-4 qtbase-opensource-src_5.15.13+dfsg-4.debian.tar.xz]

21 months agoImport qtbase-opensource-src_5.15.13+dfsg.orig.tar.xz
Dmitry Shachnev [Sat, 9 Mar 2024 11:24:14 +0000 (14:24 +0300)]
Import qtbase-opensource-src_5.15.13+dfsg.orig.tar.xz

[dgit import orig qtbase-opensource-src_5.15.13+dfsg.orig.tar.xz]