summaryrefslogtreecommitdiff
path: root/tests/unictype/test-joiningtype_of.h
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2017-11-27 11:34:25 +0100
committerDaiki Ueno <dueno@redhat.com>2017-11-27 11:34:25 +0100
commit19f18ecffa68391c6d0babc3568672108884bbc0 (patch)
treeeb1b23f3ce024c42df42a33ab8deb052856f6cc7 /tests/unictype/test-joiningtype_of.h
parentd5aa1da12243e1ac20800b9ffc1be93b13fe2f5b (diff)
downloadgnulib-19f18ecffa68391c6d0babc3568672108884bbc0.tar.gz
libunistring: update to Unicode 9.0.0
* lib/gen-uni-tables.c (fill_properties): Recognize Sentence_Terminal and Prepended_Concatenation_Mark. (is_property_default_ignorable_code_point): Exclude U+08E2. (fill_arabicshaping): Allow missing whitespace when parsing; recognize "AFRICAN FEH", "AFRICAN QAF", and "AFRICAN MOON". (output_blocks): Increase the element size of the level1 table to accommodate more blocks. (get_lbp): Recognize ZWJ, E_Base, and E_Modifier characters; Update each class according to the standard. (get_wbp): Recognize ZWJ, E_Base, E_Modifier, Glue_After_Zwj, and E_Base_GAZ characters. (output_gbp_table): Recognize ZWJ, E_Base, E_Modifier, Glue_After_Zwj, and E_Base_GAZ characters. * lib/unictype.in.h (UC_JOINING_GROUP_AFRICAN_FEH) (UC_JOINING_GROUP_AFRICAN_QAF, UC_JOINING_GROUP_AFRICAN_MOON): New enum value. * lib/unilbrk/lbrktables.h (LBP_ZWJ, LBP_EB, LBP_EM): New enum value. * lib/unilbrk/lbrktables.c (unilbrk_table): Extend the table with LBP_ZWJ, LBP_EB, and LBP_EM. * lib/uniwbrk.in.h (WBP_ZWJ, WBP_EB, WBP_EM, WBP_GAZ, WBP_EBG): New enum value. * lib/uniwbrk/u-wordbreaks.h: Implement WB3c, WB15, and WB16. * lib/uniwbrk/wbrktable.h (uniwbrk_prop_index): New variable declaration. * lib/uniwbrk/wbrktable.c (uniwbrk_prop_index): New variable. (uniwbrk_table): Implement WB14. * tests/uniwbrk/test-uc-wordbreaks.c (wordbreakproperty_to_string): Check WBP_ZWJ, WBP_EB, WBP_EM, WBP_GAZ, and WBP_EBG. * modules/unigbrk/u{32,16,8}-grapheme-breaks: No longer depend on uc-is-grapheme-break. * modules/unigbrk/uc-grapheme-breaks: New module. * modules/unigbrk/uc-grapheme-breaks-tests: New module. * lib/unigbrk.in.h (GBP_ZWJ, GBP_EB, GBP_EM, GBP_GAZ, GBP_EBG): New enum value. (uc_grapheme_breaks): New function, replacing uc_is_grapheme_break. * lib/unigbrk/u-grapheme-breaks.h: New file. * lib/unigbrk/u{32,16,8}-grapheme-breaks.c: Rewrite using u-grapheme-breaks.h instead of uc_is_grapheme_break. * lib/unigbrk/uc-grapheme-breaks.c: New file. * lib/unigbrk/uc-is-grapheme-break.c: Partially update to TR29 rev 29. * tests/unigbrk/test-uc-gbrk-prop.c (graphemebreakproperty_to_string): Check GBP_ZWJ, GBP_EB, GBP_EM, GBP_GAZ, and GBP_EBG. * tests/unigbrk/test-uc-grapheme-breaks.c: New test. * tests/unigbrk/test-uc-is-grapheme-break.c (graphemebreakproperty_to_string): Check GBP_ZWJ, GBP_EB, GBP_EM, GBP_GAZ, and GBP_EBG. (main): Skip unsupported rules involving 3 or more characters, namely GB10, GB12, and GB13. * lib/uniwidth/width.c (nonspacing_table_data): Update. * all generated files under lib/uni* and tests/uni*: Regenerate. * all the dependant modules: Bump version.
Diffstat (limited to 'tests/unictype/test-joiningtype_of.h')
-rw-r--r--tests/unictype/test-joiningtype_of.h86
1 files changed, 82 insertions, 4 deletions
diff --git a/tests/unictype/test-joiningtype_of.h b/tests/unictype/test-joiningtype_of.h
index da9eeb08d4..6a08c95d0a 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 8.0.0. */
+/* Generated automatically by gen-uni-tables.c for Unicode 9.0.0. */
{ 0x0600, UC_JOINING_TYPE_U },
{ 0x0601, UC_JOINING_TYPE_U },
{ 0x0602, UC_JOINING_TYPE_U },
@@ -323,6 +323,15 @@
{ 0x08B2, UC_JOINING_TYPE_R },
{ 0x08B3, UC_JOINING_TYPE_D },
{ 0x08B4, UC_JOINING_TYPE_D },
+ { 0x08B6, UC_JOINING_TYPE_D },
+ { 0x08B7, UC_JOINING_TYPE_D },
+ { 0x08B8, UC_JOINING_TYPE_D },
+ { 0x08B9, UC_JOINING_TYPE_R },
+ { 0x08BA, UC_JOINING_TYPE_D },
+ { 0x08BB, UC_JOINING_TYPE_D },
+ { 0x08BC, UC_JOINING_TYPE_D },
+ { 0x08BD, UC_JOINING_TYPE_D },
+ { 0x08E2, UC_JOINING_TYPE_U },
{ 0x1806, UC_JOINING_TYPE_U },
{ 0x1807, UC_JOINING_TYPE_D },
{ 0x180A, UC_JOINING_TYPE_C },
@@ -420,8 +429,8 @@
{ 0x1882, UC_JOINING_TYPE_U },
{ 0x1883, UC_JOINING_TYPE_U },
{ 0x1884, UC_JOINING_TYPE_U },
- { 0x1885, UC_JOINING_TYPE_U },
- { 0x1886, UC_JOINING_TYPE_U },
+ { 0x1885, UC_JOINING_TYPE_T },
+ { 0x1886, UC_JOINING_TYPE_T },
{ 0x1887, UC_JOINING_TYPE_D },
{ 0x1888, UC_JOINING_TYPE_D },
{ 0x1889, UC_JOINING_TYPE_D },
@@ -459,6 +468,7 @@
{ 0x18AA, UC_JOINING_TYPE_D },
{ 0x200C, UC_JOINING_TYPE_U },
{ 0x200D, UC_JOINING_TYPE_C },
+ { 0x202F, UC_JOINING_TYPE_U },
{ 0x2066, UC_JOINING_TYPE_U },
{ 0x2067, UC_JOINING_TYPE_U },
{ 0x2068, UC_JOINING_TYPE_U },
@@ -581,4 +591,72 @@
{ 0x10BAC, UC_JOINING_TYPE_R },
{ 0x10BAD, UC_JOINING_TYPE_D },
{ 0x10BAE, UC_JOINING_TYPE_D },
- { 0x10BAF, UC_JOINING_TYPE_U }
+ { 0x10BAF, UC_JOINING_TYPE_U },
+ { 0x1E900, UC_JOINING_TYPE_D },
+ { 0x1E901, UC_JOINING_TYPE_D },
+ { 0x1E902, UC_JOINING_TYPE_D },
+ { 0x1E903, UC_JOINING_TYPE_D },
+ { 0x1E904, UC_JOINING_TYPE_D },
+ { 0x1E905, UC_JOINING_TYPE_D },
+ { 0x1E906, UC_JOINING_TYPE_D },
+ { 0x1E907, UC_JOINING_TYPE_D },
+ { 0x1E908, UC_JOINING_TYPE_D },
+ { 0x1E909, UC_JOINING_TYPE_D },
+ { 0x1E90A, UC_JOINING_TYPE_D },
+ { 0x1E90B, UC_JOINING_TYPE_D },
+ { 0x1E90C, UC_JOINING_TYPE_D },
+ { 0x1E90D, UC_JOINING_TYPE_D },
+ { 0x1E90E, UC_JOINING_TYPE_D },
+ { 0x1E90F, UC_JOINING_TYPE_D },
+ { 0x1E910, UC_JOINING_TYPE_D },
+ { 0x1E911, UC_JOINING_TYPE_D },
+ { 0x1E912, UC_JOINING_TYPE_D },
+ { 0x1E913, UC_JOINING_TYPE_D },
+ { 0x1E914, UC_JOINING_TYPE_D },
+ { 0x1E915, UC_JOINING_TYPE_D },
+ { 0x1E916, UC_JOINING_TYPE_D },
+ { 0x1E917, UC_JOINING_TYPE_D },
+ { 0x1E918, UC_JOINING_TYPE_D },
+ { 0x1E919, UC_JOINING_TYPE_D },
+ { 0x1E91A, UC_JOINING_TYPE_D },
+ { 0x1E91B, UC_JOINING_TYPE_D },
+ { 0x1E91C, UC_JOINING_TYPE_D },
+ { 0x1E91D, UC_JOINING_TYPE_D },
+ { 0x1E91E, UC_JOINING_TYPE_D },
+ { 0x1E91F, UC_JOINING_TYPE_D },
+ { 0x1E920, UC_JOINING_TYPE_D },
+ { 0x1E921, UC_JOINING_TYPE_D },
+ { 0x1E922, UC_JOINING_TYPE_D },
+ { 0x1E923, UC_JOINING_TYPE_D },
+ { 0x1E924, UC_JOINING_TYPE_D },
+ { 0x1E925, UC_JOINING_TYPE_D },
+ { 0x1E926, UC_JOINING_TYPE_D },
+ { 0x1E927, UC_JOINING_TYPE_D },
+ { 0x1E928, UC_JOINING_TYPE_D },
+ { 0x1E929, UC_JOINING_TYPE_D },
+ { 0x1E92A, UC_JOINING_TYPE_D },
+ { 0x1E92B, UC_JOINING_TYPE_D },
+ { 0x1E92C, UC_JOINING_TYPE_D },
+ { 0x1E92D, UC_JOINING_TYPE_D },
+ { 0x1E92E, UC_JOINING_TYPE_D },
+ { 0x1E92F, UC_JOINING_TYPE_D },
+ { 0x1E930, UC_JOINING_TYPE_D },
+ { 0x1E931, UC_JOINING_TYPE_D },
+ { 0x1E932, UC_JOINING_TYPE_D },
+ { 0x1E933, UC_JOINING_TYPE_D },
+ { 0x1E934, UC_JOINING_TYPE_D },
+ { 0x1E935, UC_JOINING_TYPE_D },
+ { 0x1E936, UC_JOINING_TYPE_D },
+ { 0x1E937, UC_JOINING_TYPE_D },
+ { 0x1E938, UC_JOINING_TYPE_D },
+ { 0x1E939, UC_JOINING_TYPE_D },
+ { 0x1E93A, UC_JOINING_TYPE_D },
+ { 0x1E93B, UC_JOINING_TYPE_D },
+ { 0x1E93C, UC_JOINING_TYPE_D },
+ { 0x1E93D, UC_JOINING_TYPE_D },
+ { 0x1E93E, UC_JOINING_TYPE_D },
+ { 0x1E93F, UC_JOINING_TYPE_D },
+ { 0x1E940, UC_JOINING_TYPE_D },
+ { 0x1E941, UC_JOINING_TYPE_D },
+ { 0x1E942, UC_JOINING_TYPE_D },
+ { 0x1E943, UC_JOINING_TYPE_D }