mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
67f3de2320
This uses ICU for the Intl.NumberFormat `format` and `formatToParts` prototypes. It does not yet port the range formatter prototypes. Most of the new code in LibLocale/NumberFormat is simply mapping from ECMA-402 types to ICU types. Beyond that, the only algorithmic change is that we have to mutate the output from ICU for `formatToParts` to match what is expected by ECMA-402. This is explained in NumberFormat.cpp in `flatten_partitions`. This lets us remove most data from our number format generator. All that remains are numbering system digits and symbols, which are relied upon still for other interfaces (e.g. Intl.DateTimeFormat). So they will be removed in a future patch. Note: All of the changes to the test files in this patch are now aligned with both Chrome and Safari. |
||
---|---|---|
.. | ||
CMake | ||
gn | ||
HeaderCheck | ||
Lagom | ||
ShellCompletions/zsh | ||
check-ak-test-files.sh | ||
check-debug-flags.sh | ||
check-emoji.py | ||
check-markdown.sh | ||
check-newlines-at-eof.py | ||
check-png-sizes.sh | ||
check-style.py | ||
embed_as_string_view.py | ||
emoji-file-list.txt | ||
find_compiler.sh | ||
generate-libwasm-spec-test.py | ||
generate-libwasm-spec-test.sh | ||
jbig2_to_pdf.py | ||
ladybird.sh | ||
lint-ci.sh | ||
lint-clang-format.sh | ||
lint-commit.sh | ||
lint-executable-resources.sh | ||
lint-gn.sh | ||
lint-prettier.sh | ||
lint-python.sh | ||
lint-shell-scripts.sh | ||
refresh-ladybird-qtcreator.sh | ||
shell_include.sh |