summaryrefslogtreecommitdiff
path: root/tests/unictype/test-joiningtype_of.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-12-31 12:20:27 +0100
committerBruno Haible <bruno@clisp.org>2021-12-31 12:20:27 +0100
commitf2e9cd38b97c58bcd66b804e08186503e00a3e8e (patch)
tree712f545d28aab410fe12b9ac93efca3bc682d8de /tests/unictype/test-joiningtype_of.h
parent09cf5f3ac960dc7f413186bbda1c8aa2d43944df (diff)
downloadgnulib-f2e9cd38b97c58bcd66b804e08186503e00a3e8e.tar.gz
Update to Unicode 13.0.0.
* lib/gen-uni-tables.c (is_WBP_MIDLETTER): Add character 0x055F. (get_wbp): Assign value WBP_ALETTER to the characters 0x02E5..0x02EB, 0x055A, 0x058A, 0xA708..0xA716. * lib/gen-uni-tables.c (LBP_CP1, LBP_CP2, LBP_OP1, LBP_OP2): New enum values. (LBP_OP, LBP_CP): Assign artificial values. (get_lbp): Use the unicode_width[] table to assign LBP_CP1, LBP_CP2 instead of LBP_CP, and LBP_OP1, LBP_OP2 instead of LBP_OP. Update such that unilbrk/lbrkprop.txt comes out as expected. (debug_output_lbp): Print either LBP_CP1 or LBP_CP2 as LBP_CP. Print either LBP_OP1 or LBP_OP2 as LBP_OP. (lbp_value_to_string): Handle LBP_CP1, LBP_CP2, LBP_OP1, LBP_OP2 instead of LBP_CP, LBP_OP. (output_lbrk_rules_as_tables): Treat LBP_CP and LBP_OP as macros that map to two table rows/columns. In rule LB30, use only LBP_OP1 instead of LBP_OP, and only LBP_CP1 instead of LBP_CP. Simplify rule LB22. * lib/unilbrk/lbrktables.h (LBP_CP1, LBP_CP2, LBP_OP1, LBP_OP2): New enum values. (LBP_OP, LBP_CP): Remove enum values. (unilbrk_table): Update declaration. * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks_loop): Add a test for East Asian opening parenthesis. * lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks_loop): Likewise. * lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks_loop): Likewise. * lib/uniwidth/width.c (nonspacing_table_data, nonspacing_table_ind): Update. (uc_width): Assign width 2 to the characters 0x16FF0..0x16FF1, 0x18AF3..0x18CD5, 0x18D00..0x18D08, 0x1F6D6..0x1F6D7, 0x1F6FB..0x1F6FC, 0x1F90C, 0x1FA74, 0x1FA83..0x1FA86, 0x1FA96..0x1FAA8, 0x1FAB0..0x1FAB6, 0x1FAC0..0x1FAC2, 0x1FAD0..0x1FAD6. Assign width 1 to the characters 0x1F93B, 0x1F946. * tests/uniwidth/test-uc_width2.sh: Expect width 0 for the characters 0x0B55, 0x0D81, 0x1ABF..0x1AC0, 0xA82C, 0x10EAB..0x10EAC, 0x111CF, 0x1193B..0x1193C, 0x1193E, 0x11943, 0x16FE4. Expect width 2 for the characters 0x16FF0..0x16FF1, 0x18AF3..0x18CD5, 0x18D00..0x18D08, 0x1F6D6..0x1F6D7, 0x1F6FB..0x1F6FC, 0x1F90C, 0x1FA74, 0x1FA83..0x1FA86, 0x1FA96..0x1FAA8, 0x1FAB0..0x1FAB6, 0x1FAC0..0x1FAC2, 0x1FAD0..0x1FAD6. Expect width 1 for the characters 0x1F93B, 0x1F946. * All generated files under lib/uni* and tests/uni*: Regenerate. * tests/uniname/NameAliases.txt: Update. * tests/uniname/UnicodeData.txt: Update. * tests/uninorm/NormalizationTest.txt: Update. * tests/unigbrk/GraphemeBreakTest.txt: Update. * tests/uniwbrk/WordBreakTest.txt: Update. * All the affected modules: Bump required libunistring version.
Diffstat (limited to 'tests/unictype/test-joiningtype_of.h')
-rw-r--r--tests/unictype/test-joiningtype_of.h46
1 files changed, 42 insertions, 4 deletions
diff --git a/tests/unictype/test-joiningtype_of.h b/tests/unictype/test-joiningtype_of.h
index f74041d0f8..ff7f89fc1b 100644
--- a/tests/unictype/test-joiningtype_of.h
+++ b/tests/unictype/test-joiningtype_of.h
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Arabic joining type of Unicode characters. */
-/* Generated automatically by gen-uni-tables.c for Unicode 12.1.0. */
+/* Generated automatically by gen-uni-tables.c for Unicode 13.0.0. */
/* Copyright (C) 2000-2021 Free Software Foundation, Inc.
@@ -316,9 +316,9 @@
{ 0x0853, UC_JOINING_TYPE_D },
{ 0x0854, UC_JOINING_TYPE_R },
{ 0x0855, UC_JOINING_TYPE_D },
- { 0x0856, UC_JOINING_TYPE_U },
- { 0x0857, UC_JOINING_TYPE_U },
- { 0x0858, UC_JOINING_TYPE_U },
+ { 0x0856, UC_JOINING_TYPE_R },
+ { 0x0857, UC_JOINING_TYPE_R },
+ { 0x0858, UC_JOINING_TYPE_R },
{ 0x0860, UC_JOINING_TYPE_D },
{ 0x0861, UC_JOINING_TYPE_U },
{ 0x0862, UC_JOINING_TYPE_D },
@@ -359,6 +359,16 @@
{ 0x08BB, UC_JOINING_TYPE_D },
{ 0x08BC, UC_JOINING_TYPE_D },
{ 0x08BD, UC_JOINING_TYPE_D },
+ { 0x08BE, UC_JOINING_TYPE_D },
+ { 0x08BF, UC_JOINING_TYPE_D },
+ { 0x08C0, UC_JOINING_TYPE_D },
+ { 0x08C1, UC_JOINING_TYPE_D },
+ { 0x08C2, UC_JOINING_TYPE_D },
+ { 0x08C3, UC_JOINING_TYPE_D },
+ { 0x08C4, UC_JOINING_TYPE_D },
+ { 0x08C5, UC_JOINING_TYPE_D },
+ { 0x08C6, UC_JOINING_TYPE_D },
+ { 0x08C7, UC_JOINING_TYPE_D },
{ 0x08E2, UC_JOINING_TYPE_U },
{ 0x1806, UC_JOINING_TYPE_U },
{ 0x1807, UC_JOINING_TYPE_D },
@@ -683,6 +693,34 @@
{ 0x10F52, UC_JOINING_TYPE_D },
{ 0x10F53, UC_JOINING_TYPE_D },
{ 0x10F54, UC_JOINING_TYPE_R },
+ { 0x10FB0, UC_JOINING_TYPE_D },
+ { 0x10FB1, UC_JOINING_TYPE_U },
+ { 0x10FB2, UC_JOINING_TYPE_D },
+ { 0x10FB3, UC_JOINING_TYPE_D },
+ { 0x10FB4, UC_JOINING_TYPE_R },
+ { 0x10FB5, UC_JOINING_TYPE_R },
+ { 0x10FB6, UC_JOINING_TYPE_R },
+ { 0x10FB7, UC_JOINING_TYPE_U },
+ { 0x10FB8, UC_JOINING_TYPE_D },
+ { 0x10FB9, UC_JOINING_TYPE_R },
+ { 0x10FBA, UC_JOINING_TYPE_R },
+ { 0x10FBB, UC_JOINING_TYPE_D },
+ { 0x10FBC, UC_JOINING_TYPE_D },
+ { 0x10FBD, UC_JOINING_TYPE_R },
+ { 0x10FBE, UC_JOINING_TYPE_D },
+ { 0x10FBF, UC_JOINING_TYPE_D },
+ { 0x10FC0, UC_JOINING_TYPE_U },
+ { 0x10FC1, UC_JOINING_TYPE_D },
+ { 0x10FC2, UC_JOINING_TYPE_R },
+ { 0x10FC3, UC_JOINING_TYPE_R },
+ { 0x10FC4, UC_JOINING_TYPE_D },
+ { 0x10FC5, UC_JOINING_TYPE_U },
+ { 0x10FC6, UC_JOINING_TYPE_U },
+ { 0x10FC7, UC_JOINING_TYPE_U },
+ { 0x10FC8, UC_JOINING_TYPE_U },
+ { 0x10FC9, UC_JOINING_TYPE_R },
+ { 0x10FCA, UC_JOINING_TYPE_D },
+ { 0x10FCB, UC_JOINING_TYPE_L },
{ 0x110BD, UC_JOINING_TYPE_U },
{ 0x110CD, UC_JOINING_TYPE_U },
{ 0x1E900, UC_JOINING_TYPE_D },