qtdeclarative-opensource-src.git
3 years agofix sweep step for tainted QObject JavaScript wrappers
Debian Qt/KDE Maintainers [Sun, 13 Feb 2022 18:04:16 +0000 (18:04 +0000)]
fix sweep step for tainted QObject JavaScript wrappers

Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e6b2f88d892dcf39
Last-Update: 2022-02-13

Currently, whenever the garbage collector runs, it will destroy all
valid tainted wrappers.

Only null or undefined wrappers will be preserved in the
m_multiplyWrappedQObjects map.

It seems like "!" was overlooked in
3b5d37ce3841c4bfdf1c629d33f0e33b881b47fb. Prior to that change, it
was "!it.value()->markBit()", so calling erase() in the then branch
did make sense. But with "!it.value().isNullOrUndefined()", erase()
will be called for every valid wrapper, which is the opposite what we
want.

Gbp-Pq: Name fix_sweep_step.patch

3 years agoSupport ' in styled text and document it
Debian Qt/KDE Maintainers [Sun, 13 Feb 2022 18:04:16 +0000 (18:04 +0000)]
Support ' in styled text and document it

Origin: https://invent.kde.org/qt/qt/qtdeclarative/-/merge_requests/3/diffs
Forwarded: not-needed
Applied-Upstream: https://invent.kde.org/qt/qt/qtdeclarative/-/commit/0dda47d9f1a22567ad8f1266be2f0cd8a9226c7f

This ensures that some translations really look ok.

Gbp-Pq: Name support_apos_in_styled_text.patch

3 years agomake tst_qmldiskcache::regenerateAfterChange() pass on big endian systems
Debian Qt/KDE Maintainers [Sun, 13 Feb 2022 18:04:16 +0000 (18:04 +0000)]
make tst_qmldiskcache::regenerateAfterChange() pass on big endian systems

Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=dab0d62b655ce9a4
Last-Update: 2021-02-11

Gbp-Pq: Name tst_qmldiskcache_big_endian.patch

3 years agobuild fixes for GCC 11
Debian Qt/KDE Maintainers [Sun, 13 Feb 2022 18:04:16 +0000 (18:04 +0000)]
build fixes for GCC 11

Origin: upstream, commits:
 https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=eb6525f126f680f9
 https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=367293b18ab0d0a0
 https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=db58b8518e157b76
Last-Update: 2021-08-18

Gbp-Pq: Name gcc_11.patch

3 years agofix QML property cache leaks of delegate items
Debian Qt/KDE Maintainers [Sun, 13 Feb 2022 18:04:16 +0000 (18:04 +0000)]
fix QML property cache leaks of delegate items

Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b2862e2bd84d651c
Last-Update: 2021-01-26

The delegate items are destroyed through an event loop by a call to a
deleteLater(). This, however, doesn't work when the application is
in the process of exiting and the event loop is already closed (i.e.
we're in a stack unwinding part that starts after app.exec()).

Combat this situation by setting a parent of the to-be-deleted object
to some QObject that will be destroyed e.g. QCoreApplication::instance()
before the program finishes. As QObjects clean their children on
destruction, this will make sure that we cleanup the previously leaking
thing regardless of the event loop.

Gbp-Pq: Name fix_qml_property_cache_leaks.patch

3 years agoThe qmltime should be a tool, not a normal executable or an app.
Debian Qt/KDE Maintainers [Sun, 13 Feb 2022 18:04:16 +0000 (18:04 +0000)]
The qmltime should be a tool, not a normal executable or an app.

Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?h=5.15&id=30c7a6c6a8742648
Last-Update: 2021-01-18

Gbp-Pq: Name qmltime-tool.patch

3 years agoqtdeclarative-opensource-src (5.15.2+dfsg-10) unstable; urgency=medium
Dmitry Shachnev [Sun, 13 Feb 2022 18:04:16 +0000 (18:04 +0000)]
qtdeclarative-opensource-src (5.15.2+dfsg-10) unstable; urgency=medium

  * Backport upstream patch to fix sweep step for tainted QObject JavaScript
    wrappers.

[dgit import unpatched qtdeclarative-opensource-src 5.15.2+dfsg-10]

3 years agoImport qtdeclarative-opensource-src_5.15.2+dfsg-10.debian.tar.xz
Dmitry Shachnev [Sun, 13 Feb 2022 18:04:16 +0000 (18:04 +0000)]
Import qtdeclarative-opensource-src_5.15.2+dfsg-10.debian.tar.xz

[dgit import tarball qtdeclarative-opensource-src 5.15.2+dfsg-10 qtdeclarative-opensource-src_5.15.2+dfsg-10.debian.tar.xz]

5 years agoImport qtdeclarative-opensource-src_5.15.2+dfsg.orig.tar.xz
Dmitry Shachnev [Sat, 21 Nov 2020 13:46:44 +0000 (13:46 +0000)]
Import qtdeclarative-opensource-src_5.15.2+dfsg.orig.tar.xz

[dgit import orig qtdeclarative-opensource-src_5.15.2+dfsg.orig.tar.xz]