qt6-bb10/src/corelib/text
Marc Mutz ecc307ff41 QString et al: fix lastIndexOf() API asymmetry
Commit 6cee204d56 introduced overloads
of lastIndexOf() which drop the 'from' argument, inadvertently fixing
QTBUG-80694, but failed to provide the new overloads for all existing
lastIndexOf() overloads, making the fix for QTBUG-80694 incomplete.

This patch completes the fix, by adding the missing overloads (for
char-likes) and also adds the missing (non-regex) tests to
tst_qstringapisymmetry.

Also amends 1c164ec7f2.

Fixes: QTBUG-80694
Change-Id: Ib4b3d597d658ce2edf01a2bce0d711ecea593d6e
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-12-02 16:05:33 +00:00
..
UNICODE_LICENSE.txt Update CLDR to v38 2020-11-08 13:01:29 +01:00
qanystringview.h QAnyStringView: fix broken implicit conversion from QStringBuilder 2021-11-19 03:32:20 +01:00
qanystringview.qdoc Doc: Fix formatting: remove extra \c before \nullptr 2021-10-24 13:15:51 +03:00
qbytearray.cpp corelib: Fix typos in documentation 2021-10-12 12:52:02 +02:00
qbytearray.h Add isValidUtf8() methods to QUtf8StringView and QByteArray{,View} 2021-09-22 15:40:30 +02:00
qbytearray_p.h Merge remote-tracking branch 'origin/5.15' into dev 2020-04-08 20:11:39 +02:00
qbytearrayalgorithms.h Add isValidUtf8() methods to QUtf8StringView and QByteArray{,View} 2021-09-22 15:40:30 +02:00
qbytearraylist.cpp QByteArrayList: fix narrowing in join() implementations [2/2] 2021-11-05 09:06:22 +01:00
qbytearraylist.h QByteArrayList: fix narrowing in join() implementations [2/2] 2021-11-05 09:06:22 +01:00
qbytearraymatcher.cpp Doc: Fix qdoc warnings 2021-10-23 03:08:58 +02:00
qbytearraymatcher.h QByteArrayMatcher: add QByteArrayView overloads 2021-10-01 14:23:15 -07:00
qbytearrayview.h Add isValidUtf8() methods to QUtf8StringView and QByteArray{,View} 2021-09-22 15:40:30 +02:00
qbytearrayview.qdoc Add isValidUtf8() methods to QUtf8StringView and QByteArray{,View} 2021-09-22 15:40:30 +02:00
qbytedata_p.h QByteDataBuffer::getChar() - assert that buffer is not empty 2021-09-14 12:15:38 +02:00
qchar.cpp Update UCD to Revision 28 2021-10-18 16:45:10 +00:00
qchar.h Update UCD to Revision 28 2021-10-18 16:45:10 +00:00
qcollator.cpp QCollator: add public, static functions to do comparisons 2021-11-01 22:30:23 +02:00
qcollator.h QCollator: add public, static functions to do comparisons 2021-11-01 22:30:23 +02:00
qcollator_icu.cpp Take care of NULL data from QStringView in QCollator 2020-02-05 10:23:43 +01:00
qcollator_macx.cpp Use QList instead of QVector in corelib implementation 2020-06-29 12:35:09 +02:00
qcollator_p.h QCollator/Win: Remove WinRT remnants 2021-08-02 15:09:43 -07:00
qcollator_posix.cpp Correct qcollator_posix.cpp's check against system locale 2021-11-01 22:30:23 +02:00
qcollator_win.cpp QCollator/Win: Remove WinRT remnants 2021-08-02 15:09:43 -07:00
qdoublescanprint_p.h Fix compilation with system double-conversion 2021-02-12 09:41:45 +01:00
qlocale.cpp QLocale: suppress annoying GCC warning in the bootstrap lib 2021-11-27 19:10:52 -08:00
qlocale.h QLocale: Add support for Kaingang and Nheengatu languages 2021-11-10 00:36:12 +01:00
qlocale.qdoc QLocale: Add support for Kaingang and Nheengatu languages 2021-11-10 00:36:12 +01:00
qlocale_data_p.h QLocale: Add support for Kaingang and Nheengatu languages 2021-11-10 00:36:12 +01:00
qlocale_icu.cpp
qlocale_mac.mm Fix macOS system locale's formatting of negative years 2021-11-18 18:13:20 +01:00
qlocale_p.h Clean up exports from qlocale_p.h 2021-11-10 18:16:24 +02:00
qlocale_tools.cpp Fix overflow issue on parsing min-qint64 with its minus sign repeated 2021-10-26 17:38:22 +02:00
qlocale_tools_p.h Improve unicodeForDigit()'s comments 2021-11-10 14:10:20 +01:00
qlocale_unix.cpp Teach QLocale::system() to use narrow format 2021-09-15 10:29:55 +02:00
qlocale_win.cpp Fix formatting of dates before 1601 in MS system locale 2021-11-18 18:13:20 +01:00
qregularexpression.cpp QRegularExpression: don't detach() a pattern QStringLiteral 2021-11-30 00:04:38 +01:00
qregularexpression.h QRegularExpressionMatch: add a way to know if a capturing group captured 2021-08-25 00:06:42 +02:00
qstring.cpp QString et al: fix lastIndexOf() API asymmetry 2021-12-02 16:05:33 +00:00
qstring.h QString et al: fix lastIndexOf() API asymmetry 2021-12-02 16:05:33 +00:00
qstring_mips_dsp_asm.S
qstringalgorithms.h QUtf8StringView: ensure binary compatibility throughout 6.x 2021-04-20 19:33:00 +00:00
qstringalgorithms_p.h
qstringbuilder.cpp Convert a couple of APIs to use views 2020-10-06 11:16:36 +02:00
qstringbuilder.h QAnyStringView: fix broken implicit conversion from QStringBuilder 2021-11-19 03:32:20 +01:00
qstringconverter.cpp QUtf32: remove set-but-not-used variable 2021-10-18 01:53:27 -07:00
qstringconverter.h Convert a couple of APIs to use views 2020-10-06 11:16:36 +02:00
qstringconverter_p.h corelib: Use char16_t and char32_t types for characters 2021-09-06 17:41:53 +02:00
qstringiterator.qdoc Rename snippet files to match the carved up corelib/tools/ 2020-06-04 10:39:52 +02:00
qstringiterator_p.h Assert validity in QStringIterator's unchecked methods 2020-12-11 16:08:01 +01:00
qstringlist.cpp Doc: Add missing comma 2021-07-28 01:43:09 +02:00
qstringlist.h QList: make (last)IndexOf and contains function templates 2020-10-23 16:37:14 +02:00
qstringliteral.h QStringLiteral: suppress the clang-tidy warning about const_cast 2021-08-04 19:36:01 -07:00
qstringmatcher.cpp Make QStringMatcher ready for Qt 6 2020-09-07 09:09:55 +02:00
qstringmatcher.h Make QStringMatcher ready for Qt 6 2020-09-07 09:09:55 +02:00
qstringtokenizer.cpp Fix documentation of QStringTokenizer 2020-12-03 20:21:35 +01:00
qstringtokenizer.h Remove checks for C++ standard versions C++17 and below 2021-10-01 02:46:09 +02:00
qstringview.cpp QString et al: fix lastIndexOf() API asymmetry 2021-12-02 16:05:33 +00:00
qstringview.h QString et al: fix lastIndexOf() API asymmetry 2021-12-02 16:05:33 +00:00
qt_attribution.json Update CLDR-derived data to newly-released v40 2021-11-10 00:36:12 +01:00
qtextboundaryfinder.cpp Doc: Use https for links to unicode.org 2021-06-25 18:55:55 +02:00
qtextboundaryfinder.h Clean up QTextBoundaryFinder and qunicodetools 2020-09-07 09:09:55 +02:00
qtliterals.qdoc Add documentation for the QtLiterals namespace 2021-04-19 19:56:25 +02:00
qunicodetables.cpp Update UCD to Revision 28 2021-10-18 16:45:10 +00:00
qunicodetables_p.h Update UCD to Revision 28 2021-10-18 16:45:10 +00:00
qunicodetools.cpp Add additional grapheme, word, and sentence break class tests from tr29 2021-11-10 09:44:03 +01:00
qunicodetools_p.h Clean up QTextBoundaryFinder and qunicodetools 2020-09-07 09:09:55 +02:00
qutf8stringview.h Add isValidUtf8() methods to QUtf8StringView and QByteArray{,View} 2021-09-22 15:40:30 +02:00
qutf8stringview.qdoc Add isValidUtf8() methods to QUtf8StringView and QByteArray{,View} 2021-09-22 15:40:30 +02:00
qvsnprintf.cpp