qtbase-opensource-src.git
3 years agoremove the version number checks in favor of actual functionality
Debian Qt/KDE Maintainers [Mon, 13 Jun 2022 18:00:47 +0000 (19:00 +0100)]
remove the version number checks in favor of actual functionality

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

MariaDB library version 3.2 no longer returns the server version in the
10.x range but the library version itself, which is lower than 4.x. That
meant we concluded the server did not support prepared statements.

And because of the lack of prepared statements, all QDateTime
conversions failed, because of the timezone. I don't know if this was
intended or what, but it's a side issue.

Gbp-Pq: Name mysql_remove_version_checks.diff

3 years agoQPushButton/fusion style: don't ignore QIcon::On icon
Debian Qt/KDE Maintainers [Mon, 13 Jun 2022 18:00:47 +0000 (19:00 +0100)]
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

3 years agofix placement of placeholder text in QLineEdits with action icons
Debian Qt/KDE Maintainers [Mon, 13 Jun 2022 18:00:47 +0000 (19:00 +0100)]
fix placement of placeholder text in QLineEdits with action icons

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

After dc794f7622bc00f7ca50fab65d6965695d6d2972, side widgets only got
space if they were not fading out, but the logic was not correctly
accounting for side widgets that never fade, such as buttons added via
QLineEdit::addAction.

Fix this to give visible widgets space, unless they are fading out. That
was the intent of the original change. Rename the variable to make its
purpose clearer, and reset it at the end of the fade-out animation.

Add a much-needed test that relies on private APIs to verify that the
effective margins are calculated correctly.

Gbp-Pq: Name fix-placement-of-placeholder-text-in-QLineEdits-with-action-icons.diff

3 years agofix misplacement of placeholder text in QLineEdit with RTL content
Debian Qt/KDE Maintainers [Mon, 13 Jun 2022 18:00:47 +0000 (19:00 +0100)]
fix misplacement of placeholder text in QLineEdit with RTL content

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

The placeholder text was rendered in the wrong position after clicking
on the clear button in a QLineEdit with right-to-left content. The
button was still taking up space while it was fading out, so the first
paintEvent rendered the placeholder with space reserved for the clear
button. Once the button gets hidden, no new update was issued, so
garbage was left behind.

Fix this by not giving a fading-out clear button any margin space. The
result of this is that the placeholder text is visible underneath the
fading-out clear button. This is preferable to the placeholder text
being first rendered next to the fading-out clear button, and then
popping to the edge when the clear button is hidden (which would have
been the result of issuing a complete update for the line edit at the
end of the fade-out animation).

Gbp-Pq: Name fix-misplacement-of-placeholder-text-in-QLineEdit.diff

3 years agoadjust QMimeDatabase implementation
Debian Qt/KDE Maintainers [Mon, 13 Jun 2022 18:00:47 +0000 (19:00 +0100)]
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

3 years agoinclude <limits> to fix GCC 11 build
Debian Qt/KDE Maintainers [Mon, 13 Jun 2022 18:00:47 +0000 (19:00 +0100)]
include <limits> to fix GCC 11 build

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986
Last-Update: 2022-03-03

Gbp-Pq: Name gcc_11_limits.diff

3 years agoqtbase-opensource-src (5.15.4+dfsg-3) unstable; urgency=medium
Dmitry Shachnev [Mon, 13 Jun 2022 18:00:47 +0000 (19:00 +0100)]
qtbase-opensource-src (5.15.4+dfsg-3) unstable; urgency=medium

  * Upload to unstable.

[dgit import unpatched qtbase-opensource-src 5.15.4+dfsg-3]

3 years agoImport qtbase-opensource-src_5.15.4+dfsg-3.debian.tar.xz
Dmitry Shachnev [Mon, 13 Jun 2022 18:00:47 +0000 (19:00 +0100)]
Import qtbase-opensource-src_5.15.4+dfsg-3.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.4+dfsg-3 qtbase-opensource-src_5.15.4+dfsg-3.debian.tar.xz]

3 years agoImport qtbase-opensource-src_5.15.4+dfsg.orig.tar.xz
Dmitry Shachnev [Fri, 13 May 2022 14:14:31 +0000 (15:14 +0100)]
Import qtbase-opensource-src_5.15.4+dfsg.orig.tar.xz

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