ruby-changes:71384
From: Martin <ko1@a...>
Date: Sun, 13 Mar 2022 09:41:44 +0900 (JST)
Subject: [ruby-changes:71384] 45e0711f29 (master): update Unicode Version to 14.0.0 and Emoji version to 14.0
https://git.ruby-lang.org/ruby.git/commit/?id=45e0711f29 From 45e0711f29f9ce65cd34ad14e3af1546ccc7252e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=BCrst?= <duerst@i...> Date: Thu, 9 Dec 2021 16:41:09 +0900 Subject: update Unicode Version to 14.0.0 and Emoji version to 14.0 --- common.mk | 6 +- enc/unicode/14.0.0/casefold.h | 7629 +++++++ enc/unicode/14.0.0/name2ctype.h | 44581 ++++++++++++++++++++++++++++++++++++++ lib/unicode_normalize/tables.rb | 117 +- 4 files changed, 52325 insertions(+), 8 deletions(-) create mode 100644 enc/unicode/14.0.0/casefold.h create mode 100644 enc/unicode/14.0.0/name2ctype.h diff --git a/common.mk b/common.mk index 96ecd4b129..900a70d11c 100644 --- a/common.mk +++ b/common.mk @@ -18,9 +18,9 @@ mflags = $(MFLAGS) https://github.com/ruby/ruby/blob/trunk/common.mk#L18 gnumake_recursive = enable_shared = $(ENABLE_SHARED:no=) -UNICODE_VERSION = 13.0.0 -UNICODE_EMOJI_VERSION = 13.1 -UNICODE_BETA = NO +UNICODE_VERSION = 14.0.0 +UNICODE_EMOJI_VERSION = 14.0 +UNICODE_BETA = YES ### set the following environment variable or uncomment the line if ### the Unicode data files should be updated completely on every update ('make up',...). diff --git a/enc/unicode/14.0.0/casefold.h b/enc/unicode/14.0.0/casefold.h new file mode 100644 index 0000000000..d387cff628 --- /dev/null +++ b/enc/unicode/14.0.0/casefold.h @@ -0,0 +1,7629 @@ https://github.com/ruby/ruby/blob/trunk/enc/unicode/14.0.0/casefold.h#L1 +/* DO NOT EDIT THIS FILE. */ +/* Generated by enc/unicode/case-folding.rb */ + +#if defined ONIG_UNICODE_VERSION_STRING && !( \ + ONIG_UNICODE_VERSION_MAJOR == 14 && \ + ONIG_UNICODE_VERSION_MINOR == 0 && \ + ONIG_UNICODE_VERSION_TEENY == 0 && \ + 1) +# error ONIG_UNICODE_VERSION_STRING mismatch +#endif +#define ONIG_UNICODE_VERSION_STRING "14.0.0" +#define ONIG_UNICODE_VERSION_MAJOR 14 +#define ONIG_UNICODE_VERSION_MINOR 0 +#define ONIG_UNICODE_VERSION_TEENY 0 + +static const CaseFold_11_Type CaseFold_11_Table[] = { +#define CaseFold (*(CaseFold_11_Type (*)[1528])(CaseFold_11_Table+0)) + {0x0041, {1|F|D, {0x0061}}}, + {0x0042, {1|F|D, {0x0062}}}, + {0x0043, {1|F|D, {0x0063}}}, + {0x0044, {1|F|D, {0x0064}}}, + {0x0045, {1|F|D, {0x0065}}}, + {0x0046, {1|F|D, {0x0066}}}, + {0x0047, {1|F|D, {0x0067}}}, + {0x0048, {1|F|D, {0x0068}}}, + {0x004a, {1|F|D, {0x006a}}}, + {0x004b, {1|F|D, {0x006b}}}, + {0x004c, {1|F|D, {0x006c}}}, + {0x004d, {1|F|D, {0x006d}}}, + {0x004e, {1|F|D, {0x006e}}}, + {0x004f, {1|F|D, {0x006f}}}, + {0x0050, {1|F|D, {0x0070}}}, + {0x0051, {1|F|D, {0x0071}}}, + {0x0052, {1|F|D, {0x0072}}}, + {0x0053, {1|F|D, {0x0073}}}, + {0x0054, {1|F|D, {0x0074}}}, + {0x0055, {1|F|D, {0x0075}}}, + {0x0056, {1|F|D, {0x0076}}}, + {0x0057, {1|F|D, {0x0077}}}, + {0x0058, {1|F|D, {0x0078}}}, + {0x0059, {1|F|D, {0x0079}}}, + {0x005a, {1|F|D, {0x007a}}}, + {0x00b5, {1|F|SU|I(0), {0x03bc}}}, + {0x00c0, {1|F|D, {0x00e0}}}, + {0x00c1, {1|F|D, {0x00e1}}}, + {0x00c2, {1|F|D, {0x00e2}}}, + {0x00c3, {1|F|D, {0x00e3}}}, + {0x00c4, {1|F|D, {0x00e4}}}, + {0x00c5, {1|F|D, {0x00e5}}}, + {0x00c6, {1|F|D, {0x00e6}}}, + {0x00c7, {1|F|D, {0x00e7}}}, + {0x00c8, {1|F|D, {0x00e8}}}, + {0x00c9, {1|F|D, {0x00e9}}}, + {0x00ca, {1|F|D, {0x00ea}}}, + {0x00cb, {1|F|D, {0x00eb}}}, + {0x00cc, {1|F|D, {0x00ec}}}, + {0x00cd, {1|F|D, {0x00ed}}}, + {0x00ce, {1|F|D, {0x00ee}}}, + {0x00cf, {1|F|D, {0x00ef}}}, + {0x00d0, {1|F|D, {0x00f0}}}, + {0x00d1, {1|F|D, {0x00f1}}}, + {0x00d2, {1|F|D, {0x00f2}}}, + {0x00d3, {1|F|D, {0x00f3}}}, + {0x00d4, {1|F|D, {0x00f4}}}, + {0x00d5, {1|F|D, {0x00f5}}}, + {0x00d6, {1|F|D, {0x00f6}}}, + {0x00d8, {1|F|D, {0x00f8}}}, + {0x00d9, {1|F|D, {0x00f9}}}, + {0x00da, {1|F|D, {0x00fa}}}, + {0x00db, {1|F|D, {0x00fb}}}, + {0x00dc, {1|F|D, {0x00fc}}}, + {0x00dd, {1|F|D, {0x00fd}}}, + {0x00de, {1|F|D, {0x00fe}}}, + {0x00df, {2|F|ST|SU|I(1), {0x0073, 0x0073}}}, + {0x0100, {1|F|D, {0x0101}}}, + {0x0102, {1|F|D, {0x0103}}}, + {0x0104, {1|F|D, {0x0105}}}, + {0x0106, {1|F|D, {0x0107}}}, + {0x0108, {1|F|D, {0x0109}}}, + {0x010a, {1|F|D, {0x010b}}}, + {0x010c, {1|F|D, {0x010d}}}, + {0x010e, {1|F|D, {0x010f}}}, + {0x0110, {1|F|D, {0x0111}}}, + {0x0112, {1|F|D, {0x0113}}}, + {0x0114, {1|F|D, {0x0115}}}, + {0x0116, {1|F|D, {0x0117}}}, + {0x0118, {1|F|D, {0x0119}}}, + {0x011a, {1|F|D, {0x011b}}}, + {0x011c, {1|F|D, {0x011d}}}, + {0x011e, {1|F|D, {0x011f}}}, + {0x0120, {1|F|D, {0x0121}}}, + {0x0122, {1|F|D, {0x0123}}}, + {0x0124, {1|F|D, {0x0125}}}, + {0x0126, {1|F|D, {0x0127}}}, + {0x0128, {1|F|D, {0x0129}}}, + {0x012a, {1|F|D, {0x012b}}}, + {0x012c, {1|F|D, {0x012d}}}, + {0x012e, {1|F|D, {0x012f}}}, + {0x0132, {1|F|D, {0x0133}}}, + {0x0134, {1|F|D, {0x0135}}}, + {0x0136, {1|F|D, {0x0137}}}, + {0x0139, {1|F|D, {0x013a}}}, + {0x013b, {1|F|D, {0x013c}}}, + {0x013d, {1|F|D, {0x013e}}}, + {0x013f, {1|F|D, {0x0140}}}, + {0x0141, {1|F|D, {0x0142}}}, + {0x0143, {1|F|D, {0x0144}}}, + {0x0145, {1|F|D, {0x0146}}}, + {0x0147, {1|F|D, {0x0148}}}, + {0x0149, {2|F|SU|I(5), {0x02bc, 0x006e}}}, + {0x014a, {1|F|D, {0x014b}}}, + {0x014c, {1|F|D, {0x014d}}}, + {0x014e, {1|F|D, {0x014f}}}, + {0x0150, {1|F|D, {0x0151}}}, + {0x0152, {1|F|D, {0x0153}}}, + {0x0154, {1|F|D, {0x0155}}}, + {0x0156, {1|F|D, {0x0157}}}, + {0x0158, {1|F|D, {0x0159}}}, + {0x015a, {1|F|D, {0x015b}}}, + {0x015c, {1|F|D, {0x015d}}}, + {0x015e, {1|F|D, {0x015f}}}, + {0x0160, {1|F|D, {0x0161}}}, + {0x0162, {1|F|D, {0x0163}}}, + {0x0164, {1|F|D, {0x0165}}}, + {0x0166, {1|F|D, {0x0167}}}, + {0x0168, {1|F|D, {0x0169}}}, + {0x016a, {1|F|D, {0x016b}}}, + {0x016c, {1|F|D, {0x016d}}}, + {0x016e, {1|F|D, {0x016f}}}, + {0x0170, {1|F|D, {0x0171}}}, + {0x0172, {1|F|D, {0x0173}}}, + {0x0174, {1|F|D, {0x0175}}}, + {0x0176, {1|F|D, {0x0177}}}, + {0x0178, {1|F|D, {0x00ff}}}, + {0x0179, {1|F|D, {0x017a}}}, + {0x017b, {1|F|D, {0x017c}}}, + {0x017d, {1|F|D, {0x017e}}}, + {0x017f, {1|F|SU|I(7), {0x0073}}}, + {0x0181, {1|F|D, {0x0253}}}, + {0x0182, {1|F|D, {0x0183}}}, + {0x0184, {1|F|D, {0x0185}}}, + {0x0186, {1|F|D, {0x0254}}}, + {0x0187, {1|F|D, {0x0188}}}, + {0x0189, {1|F|D, {0x0256}}}, + {0x018a, {1|F|D, {0x0257}}}, + {0x018b, {1|F|D, {0x018c}}}, + {0x018e, {1|F|D, {0x01dd}}}, + {0x018f, {1|F|D, {0x0259}}}, + {0x0190, {1|F|D, {0x025b}}}, + {0x0191, {1|F|D, {0x0192}}}, + {0x0193, {1|F|D, {0x0260}}}, + {0x0194, {1|F|D, {0x0263}}}, + {0x0196, {1|F|D, {0x0269}}}, + {0x0197, {1|F|D, {0x0268}}}, + {0x0198, {1|F|D, {0x0199}}}, + {0x019c, {1|F|D, {0x026f}}}, + {0x019d, {1|F|D, {0x0272}}}, + {0x019f, {1|F|D, {0x0275}}}, + {0x01a0, {1|F|D, {0x01a1}}}, + {0x01a2, {1|F|D, {0x01a3}}}, + {0x01a4, {1|F|D, {0x01a5}}}, + {0x01a6, {1|F|D, {0x0280}}}, + {0x01a7, {1|F|D, {0x01a8}}}, + {0x01a9, {1|F|D, {0x0283}}}, + {0x01ac, {1|F|D, {0x01ad}}}, + {0x01ae, {1|F|D, {0x0288}}}, + {0x01af, {1|F|D, {0x01b0}}}, + {0x01b1, {1|F|D, {0x028a}}}, + {0x01b2, {1|F|D, {0x028b}}}, + {0x01b3, {1|F|D, {0x01b4}}}, + {0x01b5, {1|F|D, {0x01b6}}}, + {0x01b7, {1|F|D, {0x0292}}}, + {0x01b8, {1|F|D, {0x01b9}}}, + {0x01bc, {1|F|D, {0x01bd}}}, + {0x01c4, {1|F|D|ST|I(8), {0x01c6}}}, + {0x01c5, {1|F|D|IT|SU|I(9), {0x01c6}}}, + {0x01c7, {1|F|D|ST|I(12), {0x01c9}}}, + {0x01c8, {1|F|D|IT|SU|I(13), {0x01c9}}}, + {0x01ca, {1|F|D|ST|I(16), {0x01cc}}}, + {0x01cb, {1|F|D|IT|SU|I(17), {0x01cc}}}, + {0x01cd, {1|F|D, {0x01ce}}}, + {0x01cf, {1|F|D, {0x01d0}}}, + {0x01d1, {1|F|D, {0x01d2}}}, + {0x01d3, {1|F|D, {0x01d4}}}, + {0x01d5, {1|F|D, {0x01d6}}}, + {0x01d7, {1|F|D, {0x01d8}}}, + {0x01d9, {1|F|D, {0x01da}}}, + {0x01db, {1|F|D, {0x01dc}}}, + {0x01de, {1|F|D, {0x01df}}}, + {0x01e0, {1|F|D, {0x01e1}}}, + {0x01e2, {1|F|D, {0x01e3}}}, + {0x01e4, {1|F|D, {0x01e5}}}, + {0x01e6, {1|F|D, {0x01e7}}}, + {0x01e8, {1|F|D, {0x01e9}}}, + {0x01ea, {1|F|D, {0x01eb}}}, + {0x01ec, {1|F|D, {0x01ed}}}, + {0x01ee, {1|F|D, {0x01ef}}}, + {0x01f0, {2|F|SU|I(20), {0x006a, 0x030c}}}, + {0x01f1, {1|F|D|ST|I(22), {0x01f3}}}, + {0x01f2, {1|F|D|IT|SU|I(23), {0x01f3}}}, + {0x01f4, {1|F|D, {0x01f5}}}, + {0x01f6, {1|F|D, {0x0195}}}, + {0x01f7, {1|F|D, {0x01bf}}}, + {0x01f8, {1|F|D, {0x01f9}}}, + {0x01fa, {1|F|D, {0x01fb}}}, + {0x01fc, {1|F|D, {0x01fd}}}, + {0x01fe, {1|F|D, {0x01ff}}}, + {0x0200, {1|F|D, {0x0201}}}, + {0x0202, {1|F|D, {0x0203}}}, + {0x0204, {1|F|D, {0x0205}}}, + {0x0206, {1|F|D, {0x0207}}}, + {0x0208, {1|F|D, {0x0209}}}, + {0x020a, {1|F|D, {0x020b}}}, + {0x020c, {1|F|D, {0x020d}}}, + {0x020e, {1|F|D, {0x020f}}}, + {0x0210, {1|F|D, {0x0211}}}, + {0x0212, {1|F|D, {0x0213}}}, + {0x0214, {1|F|D, {0x0215}}}, + {0x0216, {1|F|D, {0x0217}}}, + {0x0218, {1|F|D, {0x0219}}}, + {0x021a, {1|F|D, {0x021b}}}, + {0x021c, {1|F|D, {0x021d}}}, + {0x021e, {1|F|D, {0x021f}}}, + {0x0220, {1|F|D, {0x019e}}}, + {0x0222, {1|F|D, {0x0223}}}, + {0x0224, {1|F|D, {0x0225}}}, + {0x0226, {1|F|D, {0x0227}}}, + {0x0228, {1|F|D, {0x0229}}}, + {0x022a, {1|F|D, {0x022b}}}, + {0x022c, {1|F|D, {0x022d}}}, + {0x022e, {1|F|D, {0x022f}}}, + {0x0230, {1|F|D, {0x0231}}}, + {0x0232, {1|F|D, {0x0233}}}, + {0x023a, {1|F|D, {0x2c65}}}, + {0x023b, {1|F|D, {0x023c}}}, + {0x023d, {1|F|D, {0x019a}}}, + {0x023e, {1|F|D, {0x2c66}}}, + {0x0241, {1|F|D, {0x0242}}}, + {0x0243, {1|F|D, {0x0180}}}, + {0x0244, {1|F|D, {0x0289}}}, + {0x0245, {1|F|D, {0x028c}}}, + {0x0246, {1|F|D, {0x0247}}}, + {0x0248, {1|F|D, {0x0249}}}, + {0x024a, {1|F|D, {0x024b}}}, + {0x024c, {1|F|D, {0x024d}}}, + {0x024e, {1|F|D, {0x024f}}}, + {0x0345, {1|F|SU|I(26), {0x03b9}}}, + {0x0370, {1|F|D, {0x0371}}}, + {0x0372, {1|F|D, {0x0373}}}, + {0x0376, {1|F|D, {0x0377}}}, + {0x037f, {1|F|D, {0x03f3}}}, + {0x0386, {1|F|D, {0x03ac}}}, + {0x0388, {1|F|D, {0x03ad}}}, + {0x0389, {1|F|D, {0x03ae}}}, + {0x038a, {1|F|D, {0x03af}}}, + {0x038c, {1|F|D, {0x03cc}}}, + {0x038e, {1|F|D, {0x03cd}}}, + {0x038f, {1|F|D, {0x03ce}}}, + {0x0390, {3|F|SU|I(27), {0x03b9, 0x0308, 0x0301}}}, + {0x0391, {1|F|D, (... truncated) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/