Welcome! Log In Create A New Profile

Advanced

[njs] Unicode case tables updated to version 14.0.0 (May 2021).

Valentin Bartenev
July 09, 2021 05:06AM
details: https://hg.nginx.org/njs/rev/36dd0370b121
branches:
changeset: 1673:36dd0370b121
user: Valentin Bartenev <vbart@nginx.com>
date: Fri Jul 09 12:03:11 2021 +0300
description:
Unicode case tables updated to version 14.0.0 (May 2021).

diffstat:

src/njs_unicode_lower_case.h | 60 ++++++++++++++++++++++++++++++++++++++-----
src/njs_unicode_upper_case.h | 36 +++++++++++++++++++++-----
src/njs_utf8.c | 2 +-
3 files changed, 82 insertions(+), 16 deletions(-)

diffs (184 lines):

diff -r 45c470a2d710 -r 36dd0370b121 src/njs_unicode_lower_case.h
--- a/src/njs_unicode_lower_case.h Tue Jun 29 17:08:23 2021 +0300
+++ b/src/njs_unicode_lower_case.h Fri Jul 09 12:03:11 2021 +0300
@@ -1,7 +1,7 @@

/*
- * 33 128-bytes blocks, 979 pointers.
- * 20330 bytes on 32-bit platforms, 24242 bytes on 64-bit platforms.
+ * 35 128-bytes blocks, 979 pointers.
+ * 21354 bytes on 32-bit platforms, 25266 bytes on 64-bit platforms.
*/

#define NJS_UNICODE_MAX_LOWER_CASE 0x1e921
@@ -457,7 +457,7 @@ static const uint32_t njs_unicode_lower
0x02c40, 0x02c41, 0x02c42, 0x02c43, 0x02c44, 0x02c45, 0x02c46, 0x02c47,
0x02c48, 0x02c49, 0x02c4a, 0x02c4b, 0x02c4c, 0x02c4d, 0x02c4e, 0x02c4f,
0x02c50, 0x02c51, 0x02c52, 0x02c53, 0x02c54, 0x02c55, 0x02c56, 0x02c57,
- 0x02c58, 0x02c59, 0x02c5a, 0x02c5b, 0x02c5c, 0x02c5d, 0x02c5e, 0x02c2f,
+ 0x02c58, 0x02c59, 0x02c5a, 0x02c5b, 0x02c5c, 0x02c5d, 0x02c5e, 0x02c5f,
0x02c30, 0x02c31, 0x02c32, 0x02c33, 0x02c34, 0x02c35, 0x02c36, 0x02c37,
0x02c38, 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4, 0x0a7f6, 0x0a7f6, 0x0a7f7,
@@ -647,6 +647,50 @@ static const uint32_t njs_unicode_lower
};


+static const uint32_t njs_unicode_lower_case_block_20a[128]
+ njs_aligned(64) =
+{
+ 0x10500, 0x10501, 0x10502, 0x10503, 0x10504, 0x10505, 0x10506, 0x10507,
+ 0x10508, 0x10509, 0x1050a, 0x1050b, 0x1050c, 0x1050d, 0x1050e, 0x1050f,
+ 0x10510, 0x10511, 0x10512, 0x10513, 0x10514, 0x10515, 0x10516, 0x10517,
+ 0x10518, 0x10519, 0x1051a, 0x1051b, 0x1051c, 0x1051d, 0x1051e, 0x1051f,
+ 0x10520, 0x10521, 0x10522, 0x10523, 0x10524, 0x10525, 0x10526, 0x10527,
+ 0x10528, 0x10529, 0x1052a, 0x1052b, 0x1052c, 0x1052d, 0x1052e, 0x1052f,
+ 0x10530, 0x10531, 0x10532, 0x10533, 0x10534, 0x10535, 0x10536, 0x10537,
+ 0x10538, 0x10539, 0x1053a, 0x1053b, 0x1053c, 0x1053d, 0x1053e, 0x1053f,
+ 0x10540, 0x10541, 0x10542, 0x10543, 0x10544, 0x10545, 0x10546, 0x10547,
+ 0x10548, 0x10549, 0x1054a, 0x1054b, 0x1054c, 0x1054d, 0x1054e, 0x1054f,
+ 0x10550, 0x10551, 0x10552, 0x10553, 0x10554, 0x10555, 0x10556, 0x10557,
+ 0x10558, 0x10559, 0x1055a, 0x1055b, 0x1055c, 0x1055d, 0x1055e, 0x1055f,
+ 0x10560, 0x10561, 0x10562, 0x10563, 0x10564, 0x10565, 0x10566, 0x10567,
+ 0x10568, 0x10569, 0x1056a, 0x1056b, 0x1056c, 0x1056d, 0x1056e, 0x1056f,
+ 0x10597, 0x10598, 0x10599, 0x1059a, 0x1059b, 0x1059c, 0x1059d, 0x1059e,
+ 0x1059f, 0x105a0, 0x105a1, 0x1057b, 0x105a3, 0x105a4, 0x105a5, 0x105a6,
+};
+
+
+static const uint32_t njs_unicode_lower_case_block_20b[128]
+ njs_aligned(64) =
+{
+ 0x105a7, 0x105a8, 0x105a9, 0x105aa, 0x105ab, 0x105ac, 0x105ad, 0x105ae,
+ 0x105af, 0x105b0, 0x105b1, 0x1058b, 0x105b3, 0x105b4, 0x105b5, 0x105b6,
+ 0x105b7, 0x105b8, 0x105b9, 0x10593, 0x105bb, 0x105bc, 0x10596, 0x10597,
+ 0x10598, 0x10599, 0x1059a, 0x1059b, 0x1059c, 0x1059d, 0x1059e, 0x1059f,
+ 0x105a0, 0x105a1, 0x105a2, 0x105a3, 0x105a4, 0x105a5, 0x105a6, 0x105a7,
+ 0x105a8, 0x105a9, 0x105aa, 0x105ab, 0x105ac, 0x105ad, 0x105ae, 0x105af,
+ 0x105b0, 0x105b1, 0x105b2, 0x105b3, 0x105b4, 0x105b5, 0x105b6, 0x105b7,
+ 0x105b8, 0x105b9, 0x105ba, 0x105bb, 0x105bc, 0x105bd, 0x105be, 0x105bf,
+ 0x105c0, 0x105c1, 0x105c2, 0x105c3, 0x105c4, 0x105c5, 0x105c6, 0x105c7,
+ 0x105c8, 0x105c9, 0x105ca, 0x105cb, 0x105cc, 0x105cd, 0x105ce, 0x105cf,
+ 0x105d0, 0x105d1, 0x105d2, 0x105d3, 0x105d4, 0x105d5, 0x105d6, 0x105d7,
+ 0x105d8, 0x105d9, 0x105da, 0x105db, 0x105dc, 0x105dd, 0x105de, 0x105df,
+ 0x105e0, 0x105e1, 0x105e2, 0x105e3, 0x105e4, 0x105e5, 0x105e6, 0x105e7,
+ 0x105e8, 0x105e9, 0x105ea, 0x105eb, 0x105ec, 0x105ed, 0x105ee, 0x105ef,
+ 0x105f0, 0x105f1, 0x105f2, 0x105f3, 0x105f4, 0x105f5, 0x105f6, 0x105f7,
+ 0x105f8, 0x105f9, 0x105fa, 0x105fb, 0x105fc, 0x105fd, 0x105fe, 0x105ff,
+};
+
+
static const uint32_t njs_unicode_lower_case_block_219[128]
njs_aligned(64) =
{
@@ -1249,8 +1293,8 @@ static const uint32_t *njs_unicode_lowe
NULL,
njs_unicode_lower_case_block_208,
njs_unicode_lower_case_block_209,
- NULL,
- NULL,
+ njs_unicode_lower_case_block_20a,
+ njs_unicode_lower_case_block_20b,
NULL,
NULL,
NULL,
diff -r 45c470a2d710 -r 36dd0370b121 src/njs_unicode_upper_case.h
--- a/src/njs_unicode_upper_case.h Tue Jun 29 17:08:23 2021 +0300
+++ b/src/njs_unicode_upper_case.h Fri Jul 09 12:03:11 2021 +0300
@@ -1,7 +1,7 @@

/*
- * 40 128-bytes blocks, 979 pointers.
- * 23948 bytes on 32-bit platforms, 27860 bytes on 64-bit platforms.
+ * 41 128-bytes blocks, 979 pointers.
+ * 24460 bytes on 32-bit platforms, 28372 bytes on 64-bit platforms.
*/

#define NJS_UNICODE_MAX_UPPER_CASE 0x1e943
@@ -551,7 +551,7 @@ static const uint32_t njs_unicode_upper
0x02c10, 0x02c11, 0x02c12, 0x02c13, 0x02c14, 0x02c15, 0x02c16, 0x02c17,
0x02c18, 0x02c19, 0x02c1a, 0x02c1b, 0x02c1c, 0x02c1d, 0x02c1e, 0x02c1f,
0x02c20, 0x02c21, 0x02c22, 0x02c23, 0x02c24, 0x02c25, 0x02c26, 0x02c27,
- 0x02c28, 0x02c29, 0x02c2a, 0x02c2b, 0x02c2c, 0x02c2d, 0x02c2e, 0x02c5f,
+ 0x02c28, 0x02c29, 0x02c2a, 0x02c2b, 0x02c2c, 0x02c2d, 0x02c2e, 0x02c2f,
0x02c60, 0x02c60, 0x02c62, 0x02c63, 0x02c64, 0x0023a, 0x0023e, 0x02c67,
0x02c67, 0x02c69, 0x02c69, 0x02c6b, 0x02c6b, 0x02c6d, 0x02c6e, 0x02c6f,
0x02c70, 0x02c71, 0x02c72, 0x02c72, 0x02c74, 0x02c75, 0x02c75, 0x02c77,
@@ -680,10 +680,10 @@ static const uint32_t njs_unicode_upper
0x0a7a8, 0x0a7a8, 0x0a7aa, 0x0a7ab, 0x0a7ac, 0x0a7ad, 0x0a7ae, 0x0a7af,
0x0a7b0, 0x0a7b1, 0x0a7b2, 0x0a7b3, 0x0a7b4, 0x0a7b4, 0x0a7b6, 0x0a7b6,
0x0a7b8, 0x0a7b8, 0x0a7ba, 0x0a7ba, 0x0a7bc, 0x0a7bc, 0x0a7be, 0x0a7be,
- 0x0a7c0, 0x0a7c1, 0x0a7c2, 0x0a7c2, 0x0a7c4, 0x0a7c5, 0x0a7c6, 0x0a7c7,
+ 0x0a7c0, 0x0a7c0, 0x0a7c2, 0x0a7c2, 0x0a7c4, 0x0a7c5, 0x0a7c6, 0x0a7c7,
0x0a7c7, 0x0a7c9, 0x0a7c9, 0x0a7cb, 0x0a7cc, 0x0a7cd, 0x0a7ce, 0x0a7cf,
- 0x0a7d0, 0x0a7d1, 0x0a7d2, 0x0a7d3, 0x0a7d4, 0x0a7d5, 0x0a7d6, 0x0a7d7,
- 0x0a7d8, 0x0a7d9, 0x0a7da, 0x0a7db, 0x0a7dc, 0x0a7dd, 0x0a7de, 0x0a7df,
+ 0x0a7d0, 0x0a7d0, 0x0a7d2, 0x0a7d3, 0x0a7d4, 0x0a7d5, 0x0a7d6, 0x0a7d6,
+ 0x0a7d8, 0x0a7d8, 0x0a7da, 0x0a7db, 0x0a7dc, 0x0a7dd, 0x0a7de, 0x0a7df,
0x0a7e0, 0x0a7e1, 0x0a7e2, 0x0a7e3, 0x0a7e4, 0x0a7e5, 0x0a7e6, 0x0a7e7,
0x0a7e8, 0x0a7e9, 0x0a7ea, 0x0a7eb, 0x0a7ec, 0x0a7ed, 0x0a7ee, 0x0a7ef,
0x0a7f0, 0x0a7f1, 0x0a7f2, 0x0a7f3, 0x0a7f4, 0x0a7f5, 0x0a7f5, 0x0a7f7,
@@ -801,6 +801,28 @@ static const uint32_t njs_unicode_upper
};


+static const uint32_t njs_unicode_upper_case_block_20b[128]
+ njs_aligned(64) =
+{
+ 0x10580, 0x10581, 0x10582, 0x10583, 0x10584, 0x10585, 0x10586, 0x10587,
+ 0x10588, 0x10589, 0x1058a, 0x1058b, 0x1058c, 0x1058d, 0x1058e, 0x1058f,
+ 0x10590, 0x10591, 0x10592, 0x10593, 0x10594, 0x10595, 0x10596, 0x10570,
+ 0x10571, 0x10572, 0x10573, 0x10574, 0x10575, 0x10576, 0x10577, 0x10578,
+ 0x10579, 0x1057a, 0x105a2, 0x1057c, 0x1057d, 0x1057e, 0x1057f, 0x10580,
+ 0x10581, 0x10582, 0x10583, 0x10584, 0x10585, 0x10586, 0x10587, 0x10588,
+ 0x10589, 0x1058a, 0x105b2, 0x1058c, 0x1058d, 0x1058e, 0x1058f, 0x10590,
+ 0x10591, 0x10592, 0x105ba, 0x10594, 0x10595, 0x105bd, 0x105be, 0x105bf,
+ 0x105c0, 0x105c1, 0x105c2, 0x105c3, 0x105c4, 0x105c5, 0x105c6, 0x105c7,
+ 0x105c8, 0x105c9, 0x105ca, 0x105cb, 0x105cc, 0x105cd, 0x105ce, 0x105cf,
+ 0x105d0, 0x105d1, 0x105d2, 0x105d3, 0x105d4, 0x105d5, 0x105d6, 0x105d7,
+ 0x105d8, 0x105d9, 0x105da, 0x105db, 0x105dc, 0x105dd, 0x105de, 0x105df,
+ 0x105e0, 0x105e1, 0x105e2, 0x105e3, 0x105e4, 0x105e5, 0x105e6, 0x105e7,
+ 0x105e8, 0x105e9, 0x105ea, 0x105eb, 0x105ec, 0x105ed, 0x105ee, 0x105ef,
+ 0x105f0, 0x105f1, 0x105f2, 0x105f3, 0x105f4, 0x105f5, 0x105f6, 0x105f7,
+ 0x105f8, 0x105f9, 0x105fa, 0x105fb, 0x105fc, 0x105fd, 0x105fe, 0x105ff,
+};
+
+
static const uint32_t njs_unicode_upper_case_block_219[128]
njs_aligned(64) =
{
@@ -1408,7 +1430,7 @@ static const uint32_t *njs_unicode_uppe
njs_unicode_upper_case_block_208,
njs_unicode_upper_case_block_209,
NULL,
- NULL,
+ njs_unicode_upper_case_block_20b,
NULL,
NULL,
NULL,
diff -r 45c470a2d710 -r 36dd0370b121 src/njs_utf8.c
--- a/src/njs_utf8.c Tue Jun 29 17:08:23 2021 +0300
+++ b/src/njs_utf8.c Fri Jul 09 12:03:11 2021 +0300
@@ -9,7 +9,7 @@

/*
* The njs_unicode_lower_case.h and njs_unicode_upper_case.h files are
- * auto-generated from the UnicodeData.txt file version 13.0.0 (March 2020)
+ * auto-generated from the UnicodeData.txt file version 14.0.0 (May 2021)
* provided by Unicode, Inc.:
*
* ./njs_unicode_lower_case.pl UnicodeData.txt
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Unicode case tables updated to version 14.0.0 (May 2021).

Valentin Bartenev 89 July 09, 2021 05:06AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 52
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready