[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.11'. Changed from 569c692ffc847d53b3e01315265954fc2a3403b8 to 9180f5aaafb37bbd1b8405f162f9f6028fde690f 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 9e1b98604a2ac6b95d5d9091f5c00117ebedd8ac by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 17/08/2026 at 15:15.. 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.8 Change-Id: Ic0984ae068b1d6936eb1541f59d75bfa2f514617 Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit d96da5d335891504fddb42d3bb3b4b5932c47018) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit e83807243bcb78b0fe17a76f8380f54bd04b5989) https://invent.kde.org/qt/qt/qt5compat/-/commit/9e1b98604a2ac6b95d5d9091f5c00117ebedd8ac Git commit 0a4f33d3f6c066e3f4e085dbcab19a42d214eaad by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 17/08/2026 at 15:58.. 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.8 Change-Id: Ia017b8bce46e47f2f693724428c3cfc18b8661bd Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit ef115df5d1665d203f33c0deb16461533309ca00) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit fd7ebb684e416ee37cf9e0ebc74f08533cb16e86) https://invent.kde.org/qt/qt/qt5compat/-/commit/0a4f33d3f6c066e3f4e085dbcab19a42d214eaad Git commit 9180f5aaafb37bbd1b8405f162f9f6028fde690f by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 17/08/2026 at 16:28.. 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.8 Change-Id: Iece279023bc4a919be2024ae146384c9d3cd2970 Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit f2ac9e64f76105e7ec1ec6c372913ca571d27a19) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit 78341add0f975230ede183d38a40a26009c5738c) https://invent.kde.org/qt/qt/qt5compat/-/commit/9180f5aaafb37bbd1b8405f162f9f6028fde690f