1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00
serenity/Userland
Timothy Flynn dd89901b07 LibUnicode: Use GenericLexer to parse Unicode language IDs
This is preparatory work to read locale extensions. The parser currently
enforces that the entire string is consumed. But to parse extensions,
parse_unicode_locale_id() will need parse_unicode_language_id() to just
stop parsing on the first segment that does not match the language ID
grammar. It will also need to know where the parsing stopped. Both of
these needs are fulfilled by GenericLexer.

The caveat is that we can no longer simply split the parsed string on
separator characters. So parse_unicode_language_id() now operates as a
small state machine.
2021-08-30 19:42:40 +01:00
..
Applets AudioApplet: Remove wpath and cpath priviliges 2021-08-27 23:17:05 +02:00
Applications Spreadsheet: Don't invalidate the model on set_data() 2021-08-30 18:29:33 +02:00
Demos Userland: Remove IRC Client 2021-08-24 16:37:28 +02:00
DevTools Everywhere: Pass AK::Format TypeErasedFormatParams by reference 2021-08-30 15:50:00 +04:30
DynamicLoader CMake: Let Meta/serenity.sh run aarch64 make it past cmake 2021-08-28 14:43:07 +01:00
Games Minesweeper: Use AK::get_random_uniform() instead of rand() 2021-08-30 18:35:36 +02:00
Libraries LibUnicode: Use GenericLexer to parse Unicode language IDs 2021-08-30 19:42:40 +01:00
Services SQLServer: Don't stat()-then-mkdir() when mkdir() alone is enough 2021-08-30 18:35:36 +02:00
Shell Shell: Fix a TOCTOU in popd by simplifying it 2021-08-30 18:35:36 +02:00
Utilities ps: Sort using input order in case of -q 2021-08-28 15:08:00 +04:30
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00