summaryrefslogtreecommitdiff
path: root/tests/unictype/test-pr_id_continue.c
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-pr_id_continue.c
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-pr_id_continue.c')
-rw-r--r--tests/unictype/test-pr_id_continue.c35
1 files changed, 30 insertions, 5 deletions
diff --git a/tests/unictype/test-pr_id_continue.c b/tests/unictype/test-pr_id_continue.c
index 12a556e235..a74e197b32 100644
--- a/tests/unictype/test-pr_id_continue.c
+++ b/tests/unictype/test-pr_id_continue.c
@@ -67,6 +67,8 @@
{ 0x0800, 0x082D },
{ 0x0840, 0x085B },
{ 0x08A0, 0x08B4 },
+ { 0x08B6, 0x08BD },
+ { 0x08D4, 0x08E1 },
{ 0x08E3, 0x0963 },
{ 0x0966, 0x096F },
{ 0x0971, 0x0983 },
@@ -156,7 +158,7 @@
{ 0x0C58, 0x0C5A },
{ 0x0C60, 0x0C63 },
{ 0x0C66, 0x0C6F },
- { 0x0C81, 0x0C83 },
+ { 0x0C80, 0x0C83 },
{ 0x0C85, 0x0C8C },
{ 0x0C8E, 0x0C90 },
{ 0x0C92, 0x0CA8 },
@@ -177,7 +179,7 @@
{ 0x0D3D, 0x0D44 },
{ 0x0D46, 0x0D48 },
{ 0x0D4A, 0x0D4E },
- { 0x0D57, 0x0D57 },
+ { 0x0D54, 0x0D57 },
{ 0x0D5F, 0x0D63 },
{ 0x0D66, 0x0D6F },
{ 0x0D7A, 0x0D7F },
@@ -296,11 +298,12 @@
{ 0x1C00, 0x1C37 },
{ 0x1C40, 0x1C49 },
{ 0x1C4D, 0x1C7D },
+ { 0x1C80, 0x1C88 },
{ 0x1CD0, 0x1CD2 },
{ 0x1CD4, 0x1CF6 },
{ 0x1CF8, 0x1CF9 },
{ 0x1D00, 0x1DF5 },
- { 0x1DFC, 0x1F15 },
+ { 0x1DFB, 0x1F15 },
{ 0x1F18, 0x1F1D },
{ 0x1F20, 0x1F45 },
{ 0x1F48, 0x1F4D },
@@ -382,11 +385,11 @@
{ 0xA67F, 0xA6F1 },
{ 0xA717, 0xA71F },
{ 0xA722, 0xA788 },
- { 0xA78B, 0xA7AD },
+ { 0xA78B, 0xA7AE },
{ 0xA7B0, 0xA7B7 },
{ 0xA7F7, 0xA827 },
{ 0xA840, 0xA873 },
- { 0xA880, 0xA8C4 },
+ { 0xA880, 0xA8C5 },
{ 0xA8D0, 0xA8D9 },
{ 0xA8E0, 0xA8F7 },
{ 0xA8FB, 0xA8FB },
@@ -469,6 +472,8 @@
{ 0x103D1, 0x103D5 },
{ 0x10400, 0x1049D },
{ 0x104A0, 0x104A9 },
+ { 0x104B0, 0x104D3 },
+ { 0x104D8, 0x104FB },
{ 0x10500, 0x10527 },
{ 0x10530, 0x10563 },
{ 0x10600, 0x10736 },
@@ -521,6 +526,7 @@
{ 0x111DC, 0x111DC },
{ 0x11200, 0x11211 },
{ 0x11213, 0x11237 },
+ { 0x1123E, 0x1123E },
{ 0x11280, 0x11286 },
{ 0x11288, 0x11288 },
{ 0x1128A, 0x1128D },
@@ -543,6 +549,8 @@
{ 0x1135D, 0x11363 },
{ 0x11366, 0x1136C },
{ 0x11370, 0x11374 },
+ { 0x11400, 0x1144A },
+ { 0x11450, 0x11459 },
{ 0x11480, 0x114C5 },
{ 0x114C7, 0x114C7 },
{ 0x114D0, 0x114D9 },
@@ -560,6 +568,13 @@
{ 0x118A0, 0x118E9 },
{ 0x118FF, 0x118FF },
{ 0x11AC0, 0x11AF8 },
+ { 0x11C00, 0x11C08 },
+ { 0x11C0A, 0x11C36 },
+ { 0x11C38, 0x11C40 },
+ { 0x11C50, 0x11C59 },
+ { 0x11C72, 0x11C8F },
+ { 0x11C92, 0x11CA7 },
+ { 0x11CA9, 0x11CB6 },
{ 0x12000, 0x12399 },
{ 0x12400, 0x1246E },
{ 0x12480, 0x12543 },
@@ -578,6 +593,9 @@
{ 0x16F00, 0x16F44 },
{ 0x16F50, 0x16F7E },
{ 0x16F8F, 0x16F9F },
+ { 0x16FE0, 0x16FE0 },
+ { 0x17000, 0x187EC },
+ { 0x18800, 0x18AF2 },
{ 0x1B000, 0x1B001 },
{ 0x1BC00, 0x1BC6A },
{ 0x1BC70, 0x1BC7C },
@@ -627,8 +645,15 @@
{ 0x1DA84, 0x1DA84 },
{ 0x1DA9B, 0x1DA9F },
{ 0x1DAA1, 0x1DAAF },
+ { 0x1E000, 0x1E006 },
+ { 0x1E008, 0x1E018 },
+ { 0x1E01B, 0x1E021 },
+ { 0x1E023, 0x1E024 },
+ { 0x1E026, 0x1E02A },
{ 0x1E800, 0x1E8C4 },
{ 0x1E8D0, 0x1E8D6 },
+ { 0x1E900, 0x1E94A },
+ { 0x1E950, 0x1E959 },
{ 0x1EE00, 0x1EE03 },
{ 0x1EE05, 0x1EE1F },
{ 0x1EE21, 0x1EE22 },