qt6-bb10/src/corelib
Giuseppe D'Angelo d48058f197 Unicode: fix the grapheme clustering algorithm
An oversight in the code kept the algorithm in the GB11 state, even if
the codepoint that is being processed wouldn't allow for that (for
instance a sequence of ExtPic, Ext and Any).

Refactor the code of GB11/GB12/GB13 to deal with code points that break
the sequences (falling back to "normal" handling).

Add some manual tests; interestingly enough, the failing cases are not
covered by Unicode's tests, as we now pass the entire test suite.

Amends a794c5e287.

Fixes: QTBUG-94951
Pick-to: 6.1 5.15
Change-Id: If987d5ccf7c6b13de36d049b1b3d88a3c4b6dd00
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2021-08-24 12:58:20 +02:00
..
animation Fix qdoc warning: signal is not const 2021-07-14 16:17:33 +02:00
compat QUuid: port to QAnyStringView 2021-07-30 22:54:28 +02:00
doc Doc: Add global \versionlessCMakeCommandsNote qdoc macro 2021-08-23 13:06:27 +02:00
global Add note about ImCursorPosition/ImAbsolutePosition not including preedit 2021-08-21 01:28:26 +02:00
io QDir: add assert for nullptr ok parameter in qt_cleanPath 2021-08-23 12:32:25 +02:00
itemmodels emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
kernel Re-add QPropertyAlias functionality 2021-08-23 12:39:44 +00:00
mimetypes QMimeBinaryProvider: cache comments and globPatterns 2021-06-17 17:36:29 +03:00
platform Pass QDeadlineTimer by value in runOnAndroidMainThread() 2021-08-01 21:13:07 +00:00
plugin QLibrary: use QStringTokenizer in isLibrary() 2021-08-21 01:28:27 +02:00
serialization QCborValue: add asserts to encoding method 2021-08-19 16:42:32 +02:00
text Unicode: fix the grapheme clustering algorithm 2021-08-24 12:58:20 +02:00
thread Improve docs for QFuture continuations 2021-08-10 13:07:18 +02:00
time wasm: fix assert in QDateTime 2021-08-19 16:13:54 +00:00
tools Doc: Add missing links to methods to QSet documentation page 2021-08-18 20:29:23 +02:00
CMakeLists.txt CMake: Don't install metatypes files for user projects 2021-08-19 13:35:40 +02:00
Qt6AndroidMacros.cmake Add the json option to disable the zstd based compression 2021-08-23 20:05:27 +02:00
Qt6CTestMacros.cmake CMake: Allow specifying custom build directories for CMake autotests 2021-07-02 11:41:10 +02:00
Qt6CoreConfigExtras.cmake.in CMake: Fix global 'apk' target to actually build all apks 2021-06-08 22:37:50 +02:00
Qt6CoreConfigureFileTemplate.in CMake: Fix unnecessary rebuilding upon reconfiguration 2020-10-30 17:19:27 +01:00
Qt6CoreMacros.cmake CMake: Don't install metatypes files for user projects 2021-08-19 13:35:40 +02:00
Qt6WasmMacros.cmake CMake: Make qt6_wasm_add_target_helpers an internal function 2021-08-04 17:01:11 +02:00
QtCore.dynlist
configure.cmake Turn off feature timezone for emscripten 2021-08-06 14:31:11 +02:00
debug_script.py corelib: update debug_script to python 3 2021-07-08 18:51:00 +02:00
qt_cmdline.cmake CMake: Re-implement configure/qmake's command line handling in CMake 2020-08-17 08:08:20 +02:00
qtcore.tracepoints Reduce amount of tracepoints required for event tracking 2019-05-02 14:15:58 +00:00