ladybird/Tests
Timothy Flynn 7e6ad172a4 LibUnicode: Support code point names that apply to ranges of code points
For example, consider the following adjacent entries in UnicodeData.txt:

    3400;<CJK Ideograph Extension A, First>;Lo;0;L;;;;;N;;;;;
    4DBF;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;;

Our current implementation would assign the display name "CJK Ideograph
Extension A" to code points U+3400 & U+4DBF, but not to the code points
in between. Not only should those code points be assigned a name, but
the Unicode spec also has formatting rules on what the names should be
(the names for these ranged code points are not as they appear in
UnicodeData.txt).

The spec also defines names for code point ranges that actually are
listed individually in UnicodeData.txt. For example:

    2F800;CJK COMPATIBILITY IDEOGRAPH-2F800;Lo;0;L;4E3D;;;;N;;;;;
    2F801;CJK COMPATIBILITY IDEOGRAPH-2F801;Lo;0;L;4E38;;;;N;;;;;
    2F802;CJK COMPATIBILITY IDEOGRAPH-2F802;Lo;0;L;4E41;;;;N;;;;;

Code points are only coalesced into a range if all fields after the name
are equivalent. Our parser will insert the range and its name formatting
pattern when it comes across the first code point in that range, then
ignore other code points in that range. This reduces the number of names
we generated by nearly 2,000.
2021-11-30 11:24:02 +01:00
..
AK AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
Kernel Kernel: Write test that crashes ProcFS 2021-10-31 18:44:12 +01:00
LibC LibC: Fix %n conversion specifier in scanf() format 2021-10-24 22:43:27 -07:00
LibCompress Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
LibCore LibCore: Fix relative seeking in IODevice 2021-11-30 10:51:10 +01:00
LibCpp Tests: Remove all file(GLOB) from CMakeLists in Tests 2021-09-02 09:08:23 +02:00
LibCrypto LibCrypto: Fix subtracting two negative SignedBigIntegers 2021-11-16 10:06:53 +00:00
LibELF LibELF: Fix dynamic linking of dlopen()-ed libs 2021-10-06 12:33:21 +02:00
LibGfx LibCore+AK: Move MappedFile from AK to LibCore 2021-11-23 11:33:36 +01:00
LibGL Tests: Add a simple LibGL render-test 2021-11-29 23:17:05 +03:30
LibIMAP Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
LibJS Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
LibM AK: Implement acos<T> correctly 2021-11-18 21:10:30 +01:00
LibMarkdown Meta: Add Meta/CMake to the CMAKE_MODULE_PATH for Serenity and Lagom 2021-09-15 19:04:52 +04:30
LibPthread LibPthread: Add first test cases for RWlock 2021-09-28 18:36:20 +03:30
LibRegex LibRegex: Avoid rewriting a+ as a* as part of atomic rewriting 2021-11-18 09:09:22 +01:00
LibSQL LibSQL: Implement table joins 2021-11-10 14:47:49 +01:00
LibThreading Tests: Disable LibThreading detach tests for now 2021-10-06 19:21:35 +02:00
LibTLS AK: Make ByteBuffer::try_* functions return ErrorOr<void> 2021-11-10 21:58:58 +01:00
LibUnicode LibUnicode: Support code point names that apply to ranges of code points 2021-11-30 11:24:02 +01:00
LibWasm LibCore: Use ErrorOr<T> for Core::File::open() 2021-11-08 00:35:27 +01:00
LibWeb Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
UserspaceEmulator Tests: Remove all file(GLOB) from CMakeLists in Tests 2021-09-02 09:08:23 +02:00
CMakeLists.txt Tests: Add a simple LibGL render-test 2021-11-29 23:17:05 +03:30