qt5base-lts/tests/auto
Marc Mutz 8acec4dbe6 Long live QUtf8::convertFromLatin1()!
With the introduction of QAnyStringView, overloading based on UTF-8
and Latin-1 is becoming more common. Often, the two overloads can
share the processing backend, because we're only interested in the
US-ASCII subset of each.

But if they can't, we need a faster way to convert L1 into UTF-8 than
going via UTF-16. This is where the new private API comes in.

Eventually, we should have the converse operation, too, to complete
the set of direct conversions between the possible three
QAnyStringView encodings L1/U8/U16, but this direction is easier to
code (there are no error cases) and more immediately useful, so
provide L1->U8 alone for now.

Change-Id: I3f7e1a9c89979d0eb604cb9e42dedf3d514fca2c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-11-02 17:21:28 +01:00
..
bic/data Add BiC data for the new way to do BiC testing 2022-05-12 13:33:41 +03:00
cmake tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
concurrent Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
corelib Long live QUtf8::convertFromLatin1()! 2022-11-02 17:21:28 +01:00
dbus dbus: use same type of matching quotes 2022-10-21 12:02:34 -04:00
gui Android: skip tessellation(Vulkan) 2022-10-20 20:52:47 +00:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network tst_QTcpServer: Unblacklist addressReusable 2022-10-20 07:47:36 +00:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Android: delete dead code for tst_android under tests/auto/other/android 2022-10-26 14:57:40 +03:00
printsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql SQL/Tests: fix tst_qsqldatabase::caseSensivity() for MySQL on linux 2022-10-24 19:08:17 +00:00
testlib Update Catch2 to v2.13.10 2022-10-17 14:07:43 +02:00
tools tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
wasm Fix typo in QWasmWindowStack's name 2022-10-20 16:36:23 +02:00
widgets BLACKLIST: tst_QApplication::sendEventsOnProcessEvents for RHEL 9.0 2022-11-02 07:05:05 +00:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00