summaryrefslogtreecommitdiff
path: root/tests/unictype/test-pr_id_start.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_start.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_start.c')
-rw-r--r--tests/unictype/test-pr_id_start.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/unictype/test-pr_id_start.c b/tests/unictype/test-pr_id_start.c
index b815fd3702..c5cb6d6e2c 100644
--- a/tests/unictype/test-pr_id_start.c
+++ b/tests/unictype/test-pr_id_start.c
@@ -66,6 +66,7 @@
{ 0x0828, 0x0828 },
{ 0x0840, 0x0858 },
{ 0x08A0, 0x08B4 },
+ { 0x08B6, 0x08BD },
{ 0x0904, 0x0939 },
{ 0x093D, 0x093D },
{ 0x0950, 0x0950 },
@@ -130,6 +131,7 @@
{ 0x0C3D, 0x0C3D },
{ 0x0C58, 0x0C5A },
{ 0x0C60, 0x0C61 },
+ { 0x0C80, 0x0C80 },
{ 0x0C85, 0x0C8C },
{ 0x0C8E, 0x0C90 },
{ 0x0C92, 0x0CA8 },
@@ -144,6 +146,7 @@
{ 0x0D12, 0x0D3A },
{ 0x0D3D, 0x0D3D },
{ 0x0D4E, 0x0D4E },
+ { 0x0D54, 0x0D56 },
{ 0x0D5F, 0x0D61 },
{ 0x0D7A, 0x0D7F },
{ 0x0D85, 0x0D96 },
@@ -241,6 +244,7 @@
{ 0x1C00, 0x1C23 },
{ 0x1C4D, 0x1C4F },
{ 0x1C5A, 0x1C7D },
+ { 0x1C80, 0x1C88 },
{ 0x1CE9, 0x1CEC },
{ 0x1CEE, 0x1CF1 },
{ 0x1CF5, 0x1CF6 },
@@ -323,7 +327,7 @@
{ 0xA6A0, 0xA6EF },
{ 0xA717, 0xA71F },
{ 0xA722, 0xA788 },
- { 0xA78B, 0xA7AD },
+ { 0xA78B, 0xA7AE },
{ 0xA7B0, 0xA7B7 },
{ 0xA7F7, 0xA801 },
{ 0xA803, 0xA805 },
@@ -410,6 +414,8 @@
{ 0x103C8, 0x103CF },
{ 0x103D1, 0x103D5 },
{ 0x10400, 0x1049D },
+ { 0x104B0, 0x104D3 },
+ { 0x104D8, 0x104FB },
{ 0x10500, 0x10527 },
{ 0x10530, 0x10563 },
{ 0x10600, 0x10736 },
@@ -471,6 +477,8 @@
{ 0x1133D, 0x1133D },
{ 0x11350, 0x11350 },
{ 0x1135D, 0x11361 },
+ { 0x11400, 0x11434 },
+ { 0x11447, 0x1144A },
{ 0x11480, 0x114AF },
{ 0x114C4, 0x114C5 },
{ 0x114C7, 0x114C7 },
@@ -483,6 +491,10 @@
{ 0x118A0, 0x118DF },
{ 0x118FF, 0x118FF },
{ 0x11AC0, 0x11AF8 },
+ { 0x11C00, 0x11C08 },
+ { 0x11C0A, 0x11C2E },
+ { 0x11C40, 0x11C40 },
+ { 0x11C72, 0x11C8F },
{ 0x12000, 0x12399 },
{ 0x12400, 0x1246E },
{ 0x12480, 0x12543 },
@@ -498,6 +510,9 @@
{ 0x16F00, 0x16F44 },
{ 0x16F50, 0x16F50 },
{ 0x16F93, 0x16F9F },
+ { 0x16FE0, 0x16FE0 },
+ { 0x17000, 0x187EC },
+ { 0x18800, 0x18AF2 },
{ 0x1B000, 0x1B001 },
{ 0x1BC00, 0x1BC6A },
{ 0x1BC70, 0x1BC7C },
@@ -534,6 +549,7 @@
{ 0x1D7AA, 0x1D7C2 },
{ 0x1D7C4, 0x1D7CB },
{ 0x1E800, 0x1E8C4 },
+ { 0x1E900, 0x1E943 },
{ 0x1EE00, 0x1EE03 },
{ 0x1EE05, 0x1EE1F },
{ 0x1EE21, 0x1EE22 },