summaryrefslogtreecommitdiff
path: root/tests/unictype/test-categ_Lo.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-categ_Lo.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-categ_Lo.c')
-rw-r--r--tests/unictype/test-categ_Lo.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/unictype/test-categ_Lo.c b/tests/unictype/test-categ_Lo.c
index 82be9fcdbf..0b48353ad3 100644
--- a/tests/unictype/test-categ_Lo.c
+++ b/tests/unictype/test-categ_Lo.c
@@ -40,6 +40,7 @@
{ 0x0800, 0x0815 },
{ 0x0840, 0x0858 },
{ 0x08A0, 0x08B4 },
+ { 0x08B6, 0x08BD },
{ 0x0904, 0x0939 },
{ 0x093D, 0x093D },
{ 0x0950, 0x0950 },
@@ -104,6 +105,7 @@
{ 0x0C3D, 0x0C3D },
{ 0x0C58, 0x0C5A },
{ 0x0C60, 0x0C61 },
+ { 0x0C80, 0x0C80 },
{ 0x0C85, 0x0C8C },
{ 0x0C8E, 0x0C90 },
{ 0x0C92, 0x0CA8 },
@@ -118,6 +120,7 @@
{ 0x0D12, 0x0D3A },
{ 0x0D3D, 0x0D3D },
{ 0x0D4E, 0x0D4E },
+ { 0x0D54, 0x0D56 },
{ 0x0D5F, 0x0D61 },
{ 0x0D7A, 0x0D7F },
{ 0x0D85, 0x0D96 },
@@ -190,7 +193,8 @@
{ 0x17DC, 0x17DC },
{ 0x1820, 0x1842 },
{ 0x1844, 0x1877 },
- { 0x1880, 0x18A8 },
+ { 0x1880, 0x1884 },
+ { 0x1887, 0x18A8 },
{ 0x18AA, 0x18AA },
{ 0x18B0, 0x18F5 },
{ 0x1900, 0x191E },
@@ -383,6 +387,8 @@
{ 0x1133D, 0x1133D },
{ 0x11350, 0x11350 },
{ 0x1135D, 0x11361 },
+ { 0x11400, 0x11434 },
+ { 0x11447, 0x1144A },
{ 0x11480, 0x114AF },
{ 0x114C4, 0x114C5 },
{ 0x114C7, 0x114C7 },
@@ -394,6 +400,10 @@
{ 0x11700, 0x11719 },
{ 0x118FF, 0x118FF },
{ 0x11AC0, 0x11AF8 },
+ { 0x11C00, 0x11C08 },
+ { 0x11C0A, 0x11C2E },
+ { 0x11C40, 0x11C40 },
+ { 0x11C72, 0x11C8F },
{ 0x12000, 0x12399 },
{ 0x12480, 0x12543 },
{ 0x13000, 0x1342E },
@@ -406,6 +416,8 @@
{ 0x16B7D, 0x16B8F },
{ 0x16F00, 0x16F44 },
{ 0x16F50, 0x16F50 },
+ { 0x17000, 0x187EC },
+ { 0x18800, 0x18AF2 },
{ 0x1B000, 0x1B001 },
{ 0x1BC00, 0x1BC6A },
{ 0x1BC70, 0x1BC7C },