[qt/qt/qt5compat]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qt5compat Pushed by mirror-service into branch '6.12'. Changed from c36827dad7a1dd1f79ae3d2811d2d52267039ec0 to 06a7c1851d2341ff03e567d576dc716ca7626cb1 Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit e83807243bcb78b0fe17a76f8380f54bd04b5989 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 17/08/2026 at 14:57.. QLinkedList: defend against -ftrivial-auto-var-init in take() See qtbase/d7c73fbba2b872381ed1dff7d52bfb8c67a5f271 (same change for QList/QHash; picked to 6.8) for details and rationale. Pick-to: 6.11 6.8 Change-Id: Ic0984ae068b1d6936eb1541f59d75bfa2f514617 Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit d96da5d335891504fddb42d3bb3b4b5932c47018) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qt5compat/-/commit/e83807243bcb78b0fe17a76f8380f54bd04b5989 Git commit fd7ebb684e416ee37cf9e0ebc74f08533cb16e86 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 17/08/2026 at 15:41.. QStringRef: optimize U16/U8 compare_helper Mirrors the change done to the resp. QString function in qtbase/cd3569d69adc61655d3c797f5cc764782e8bbe53 (picked to 6.2), with the exception that we shouldn't mark it as noexcept in released branches, because that breaks forward BC, and the old implementation could, actually, throw (bad_alloc). Pick-to: 6.11 6.8 Change-Id: Ia017b8bce46e47f2f693724428c3cfc18b8661bd Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit ef115df5d1665d203f33c0deb16461533309ca00) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qt5compat/-/commit/fd7ebb684e416ee37cf9e0ebc74f08533cb16e86 Git commit 78341add0f975230ede183d38a40a26009c5738c by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 17/08/2026 at 15:58.. QStringRef: fix harmless truncation in compare_helper(U16/U8) The return length1 truncated from qsizetype to int, which could, on overflow, change sign (this is not undefined behaviour; it was implementation-defined, and C++20 mandates two's complement). Still, add a check to tst_qstringref.cpp. The reason this is harmless is that length1 (unlike lendth2) always comes from QStringRef::size(), which remains limited to int range. Still, should be fixed, so use qtools_p.h's len_comp, which is what QString's version uses, too. Pick-to: 6.11 6.8 Change-Id: Iece279023bc4a919be2024ae146384c9d3cd2970 Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit f2ac9e64f76105e7ec1ec6c372913ca571d27a19) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qt5compat/-/commit/78341add0f975230ede183d38a40a26009c5738c Git commit 06a7c1851d2341ff03e567d576dc716ca7626cb1 by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 17/08/2026 at 17:01.. QStringRef: mark U16/U8 comparison noexcept Amends the patch that removed the QVLA from compare_helper(). In non-released branches, we can now mark all functions that merely call compare_helper() noexcept. Cf. qtbase/cd3569d69adc61655d3c797f5cc764782e8bbe53 (picked to 6.2). Change-Id: Ia5bd89ab7f66a4f7ff884de5961e10740be8cc04 Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit 1b7cdd4527fc686dd3680dc74d017b4eb5511cff) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qt5compat/-/commit/06a7c1851d2341ff03e567d576dc716ca7626cb1