[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 'dev'. Changed from 5bf03da5cee39efe5b583662eb17bf5d02524cb7 to 1b7cdd4527fc686dd3680dc74d017b4eb5511cff 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 d96da5d335891504fddb42d3bb3b4b5932c47018 by Marc Mutz on 17/08/2026 at 14:40.. 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.12 6.11 6.8 Change-Id: Ic0984ae068b1d6936eb1541f59d75bfa2f514617 Reviewed-by: Ivan Solovev <[email protected]> https://invent.kde.org/qt/qt/qt5compat/-/commit/d96da5d335891504fddb42d3bb3b4b5932c47018 Git commit ef115df5d1665d203f33c0deb16461533309ca00 by Marc Mutz on 17/08/2026 at 15:22.. 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.12 6.11 6.8 Change-Id: Ia017b8bce46e47f2f693724428c3cfc18b8661bd Reviewed-by: Ivan Solovev <[email protected]> https://invent.kde.org/qt/qt/qt5compat/-/commit/ef115df5d1665d203f33c0deb16461533309ca00 Git commit f2ac9e64f76105e7ec1ec6c372913ca571d27a19 by Marc Mutz on 17/08/2026 at 15:41.. 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.12 6.11 6.8 Change-Id: Iece279023bc4a919be2024ae146384c9d3cd2970 Reviewed-by: Ivan Solovev <[email protected]> https://invent.kde.org/qt/qt/qt5compat/-/commit/f2ac9e64f76105e7ec1ec6c372913ca571d27a19 Git commit 1b7cdd4527fc686dd3680dc74d017b4eb5511cff by Marc Mutz on 17/08/2026 at 16:33.. 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). Pick-to: 6.12 Change-Id: Ia5bd89ab7f66a4f7ff884de5961e10740be8cc04 Reviewed-by: Ivan Solovev <[email protected]> https://invent.kde.org/qt/qt/qt5compat/-/commit/1b7cdd4527fc686dd3680dc74d017b4eb5511cff