public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] update to Unicode 14.0
@ 2021-11-11 20:32 Thomas Wolff
  2021-11-15 13:06 ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Wolff @ 2021-11-11 20:32 UTC (permalink / raw)
  To: newlib; +Cc: Corinna Vinschen

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

Unicode update patch attached.
Responses to previous comments:
> wouldn't it make sense to remove the temporary downloaded files like 
> libc/ctype/UnicodeData.txt, etc?
> Either automatically after creating the generated files 
Maybe. I didn't implement it, like in my other projects (mintty, mined), 
as it causes redundant multiple downloads during development.
> or in a matching MAINTAINERCLEANFILES variable in Makefile.am?
I had looked into it but there isn't such a variable yet and I'm not 
familiar with automake/conv stuff, so feel free to add if suitable.
> Also, maybe it makes sense to add these temporary files to the .gitignore file?
I'm not in favour of the .gitignore idea as its only purpose seems to be 
to smooth out effects of `git add *`-like check-ins, which I think 
shouldn't be done anyway; I feel the concept encourages sloppy 
repository management.
But again, this isn't my project so feel free to adjust the build.

Thomas

[-- Attachment #2: 0001-update-to-Unicode-14.0.patch --]
[-- Type: text/plain, Size: 22726 bytes --]

From 11c2ee0224214ed1870eb199ee9f49f20b9e9714 Mon Sep 17 00:00:00 2001
From: Thomas Wolff <towo@towo.net>
Date: Thu, 11 Nov 2021 00:00:00 +0100
Subject: [PATCH] update to Unicode 14.0

---
 newlib/libc/ctype/caseconv.t   |  17 +++-
 newlib/libc/ctype/categories.t | 138 ++++++++++++++++++++++++---------
 newlib/libc/string/combining.t |  99 +++++++++++------------
 newlib/libc/string/wide.t      |  14 ++--
 4 files changed, 171 insertions(+), 97 deletions(-)

diff --git a/newlib/libc/ctype/caseconv.t b/newlib/libc/ctype/caseconv.t
index a6281b562..0620f1452 100644
--- a/newlib/libc/ctype/caseconv.t
+++ b/newlib/libc/ctype/caseconv.t
@@ -251,8 +251,8 @@
   {0x2183, 1, TO1, ODDCAP},
   {0x24B6, 25, TOLO, 26},
   {0x24D0, 25, TOUP, -26},
-  {0x2C00, 46, TOLO, 48},
-  {0x2C30, 46, TOUP, -48},
+  {0x2C00, 47, TOLO, 48},
+  {0x2C30, 47, TOUP, -48},
   {0x2C60, 1, TO1, EVENCAP},
   {0x2C62, 0, TOLO, -10743},
   {0x2C63, 0, TOLO, -3814},
@@ -294,12 +294,13 @@
   {0xA7B1, 0, TOLO, -42282},
   {0xA7B2, 0, TOLO, -42261},
   {0xA7B3, 0, TOLO, 928},
-  {0xA7B4, 11, TO1, EVENCAP},
-  {0xA7C2, 1, TO1, EVENCAP},
+  {0xA7B4, 15, TO1, EVENCAP},
   {0xA7C4, 0, TOLO, -48},
   {0xA7C5, 0, TOLO, -42307},
   {0xA7C6, 0, TOLO, -35384},
   {0xA7C7, 3, TO1, ODDCAP},
+  {0xA7D0, 1, TO1, EVENCAP},
+  {0xA7D6, 3, TO1, EVENCAP},
   {0xA7F5, 1, TO1, ODDCAP},
   {0xAB53, 0, TOUP, -928},
   {0xAB70, 79, TOUP, -38864},
@@ -309,6 +310,14 @@
   {0x10428, 39, TOUP, -40},
   {0x104B0, 35, TOLO, 40},
   {0x104D8, 35, TOUP, -40},
+  {0x10570, 10, TOLO, 39},
+  {0x1057C, 14, TOLO, 39},
+  {0x1058C, 6, TOLO, 39},
+  {0x10594, 1, TOLO, 39},
+  {0x10597, 10, TOUP, -39},
+  {0x105A3, 14, TOUP, -39},
+  {0x105B3, 6, TOUP, -39},
+  {0x105BB, 1, TOUP, -39},
   {0x10C80, 50, TOLO, 64},
   {0x10CC0, 50, TOUP, -64},
   {0x118A0, 31, TOLO, 32},
diff --git a/newlib/libc/ctype/categories.t b/newlib/libc/ctype/categories.t
index f9c026e19..38bb959e6 100644
--- a/newlib/libc/ctype/categories.t
+++ b/newlib/libc/ctype/categories.t
@@ -196,7 +196,7 @@
     {CAT_Mn, 0x0610, 10},
     {CAT_Po, 0x061B, 0},
     {CAT_Cf, 0x061C, 0},
-    {CAT_Po, 0x061E, 1},
+    {CAT_Po, 0x061D, 2},
     {CAT_Lo, 0x0620, 31},
     {CAT_Lm, 0x0640, 0},
     {CAT_Lo, 0x0641, 9},
@@ -252,9 +252,14 @@
     {CAT_Mn, 0x0859, 2},
     {CAT_Po, 0x085E, 0},
     {CAT_Lo, 0x0860, 10},
-    {CAT_Lo, 0x08A0, 20},
-    {CAT_Lo, 0x08B6, 17},
-    {CAT_Mn, 0x08D3, 14},
+    {CAT_Lo, 0x0870, 23},
+    {CAT_Sk, 0x0888, 0},
+    {CAT_Lo, 0x0889, 5},
+    {CAT_Cf, 0x0890, 1},
+    {CAT_Mn, 0x0898, 7},
+    {CAT_Lo, 0x08A0, 40},
+    {CAT_Lm, 0x08C9, 0},
+    {CAT_Mn, 0x08CA, 23},
     {CAT_Cf, 0x08E2, 0},
     {CAT_Mn, 0x08E3, 31},
     {CAT_Mc, 0x0903, 0},
@@ -409,6 +414,7 @@
     {CAT_Lo, 0x0C0E, 2},
     {CAT_Lo, 0x0C12, 22},
     {CAT_Lo, 0x0C2A, 15},
+    {CAT_Mn, 0x0C3C, 0},
     {CAT_Lo, 0x0C3D, 0},
     {CAT_Mn, 0x0C3E, 2},
     {CAT_Mc, 0x0C41, 3},
@@ -416,6 +422,7 @@
     {CAT_Mn, 0x0C4A, 3},
     {CAT_Mn, 0x0C55, 1},
     {CAT_Lo, 0x0C58, 2},
+    {CAT_Lo, 0x0C5D, 0},
     {CAT_Lo, 0x0C60, 1},
     {CAT_Mn, 0x0C62, 1},
     {CAT_Nd, 0x0C66, 9},
@@ -441,7 +448,7 @@
     {CAT_Mc, 0x0CCA, 1},
     {CAT_Mn, 0x0CCC, 1},
     {CAT_Mc, 0x0CD5, 1},
-    {CAT_Lo, 0x0CDE, 0},
+    {CAT_Lo, 0x0CDD, 1},
     {CAT_Lo, 0x0CE0, 1},
     {CAT_Mn, 0x0CE2, 1},
     {CAT_Nd, 0x0CE6, 9},
@@ -626,11 +633,12 @@
     {CAT_Po, 0x16EB, 2},
     {CAT_Nl, 0x16EE, 2},
     {CAT_Lo, 0x16F1, 7},
-    {CAT_Lo, 0x1700, 12},
-    {CAT_Lo, 0x170E, 3},
+    {CAT_Lo, 0x1700, 17},
     {CAT_Mn, 0x1712, 2},
-    {CAT_Lo, 0x1720, 17},
-    {CAT_Mn, 0x1732, 2},
+    {CAT_Mc, 0x1715, 0},
+    {CAT_Lo, 0x171F, 18},
+    {CAT_Mn, 0x1732, 1},
+    {CAT_Mc, 0x1734, 0},
     {CAT_Po, 0x1735, 1},
     {CAT_Lo, 0x1740, 17},
     {CAT_Mn, 0x1752, 1},
@@ -658,6 +666,7 @@
     {CAT_Po, 0x1807, 3},
     {CAT_Mn, 0x180B, 2},
     {CAT_Cf, 0x180E, 0},
+    {CAT_Mn, 0x180F, 0},
     {CAT_Nd, 0x1810, 9},
     {CAT_Lo, 0x1820, 34},
     {CAT_Lm, 0x1843, 0},
@@ -712,7 +721,7 @@
     {CAT_Po, 0x1AA8, 5},
     {CAT_Mn, 0x1AB0, 13},
     {CAT_Me, 0x1ABE, 0},
-    {CAT_Mn, 0x1ABF, 1},
+    {CAT_Mn, 0x1ABF, 15},
     {CAT_Mn, 0x1B00, 3},
     {CAT_Mc, 0x1B04, 0},
     {CAT_Lo, 0x1B05, 46},
@@ -724,12 +733,13 @@
     {CAT_Mc, 0x1B3D, 4},
     {CAT_Mn, 0x1B42, 0},
     {CAT_Mc, 0x1B43, 1},
-    {CAT_Lo, 0x1B45, 6},
+    {CAT_Lo, 0x1B45, 7},
     {CAT_Nd, 0x1B50, 9},
     {CAT_Po, 0x1B5A, 6},
     {CAT_So, 0x1B61, 9},
     {CAT_Mn, 0x1B6B, 8},
     {CAT_So, 0x1B74, 8},
+    {CAT_Po, 0x1B7D, 1},
     {CAT_Mn, 0x1B80, 1},
     {CAT_Mc, 0x1B82, 0},
     {CAT_Lo, 0x1B83, 29},
@@ -791,8 +801,7 @@
     {CAT_LC, 0x1D8E, 0},
     {CAT_Ll, 0x1D8F, 11},
     {CAT_Lm, 0x1D9B, 36},
-    {CAT_Mn, 0x1DC0, 57},
-    {CAT_Mn, 0x1DFB, 4},
+    {CAT_Mn, 0x1DC0, 63},
     {CAT_LC, 0x1E00, 149},
     {CAT_Ll, 0x1E96, 4},
     {CAT_LC, 0x1E9B, 0},
@@ -901,7 +910,7 @@
     {CAT_Ps, 0x208D, 0},
     {CAT_Pe, 0x208E, 0},
     {CAT_Lm, 0x2090, 12},
-    {CAT_Sc, 0x20A0, 31},
+    {CAT_Sc, 0x20A0, 32},
     {CAT_Mn, 0x20D0, 12},
     {CAT_Me, 0x20DD, 3},
     {CAT_Mn, 0x20E1, 0},
@@ -1076,9 +1085,7 @@
     {CAT_So, 0x2B4D, 38},
     {CAT_So, 0x2B76, 31},
     {CAT_So, 0x2B97, 104},
-    {CAT_LC, 0x2C00, 46},
-    {CAT_LC, 0x2C30, 46},
-    {CAT_LC, 0x2C60, 16},
+    {CAT_LC, 0x2C00, 112},
     {CAT_Ll, 0x2C71, 0},
     {CAT_LC, 0x2C72, 1},
     {CAT_Ll, 0x2C74, 0},
@@ -1150,7 +1157,16 @@
     {CAT_Ps, 0x2E42, 0},
     {CAT_Po, 0x2E43, 12},
     {CAT_So, 0x2E50, 1},
-    {CAT_Po, 0x2E52, 0},
+    {CAT_Po, 0x2E52, 2},
+    {CAT_Ps, 0x2E55, 0},
+    {CAT_Pe, 0x2E56, 0},
+    {CAT_Ps, 0x2E57, 0},
+    {CAT_Pe, 0x2E58, 0},
+    {CAT_Ps, 0x2E59, 0},
+    {CAT_Pe, 0x2E5A, 0},
+    {CAT_Ps, 0x2E5B, 0},
+    {CAT_Pe, 0x2E5C, 0},
+    {CAT_Pd, 0x2E5D, 0},
     {CAT_So, 0x2E80, 25},
     {CAT_So, 0x2E9B, 88},
     {CAT_So, 0x2F00, 213},
@@ -1226,8 +1242,7 @@
     {CAT_So, 0x32C0, 319},
     {CAT_Lo, 0x3400, 6591},
     {CAT_So, 0x4DC0, 63},
-    {CAT_Lo, 0x4E00, 20988},
-    {CAT_Lo, 0xA000, 20},
+    {CAT_Lo, 0x4E00, 21012},
     {CAT_Lm, 0xA015, 0},
     {CAT_Lo, 0xA016, 1142},
     {CAT_So, 0xA490, 54},
@@ -1273,8 +1288,12 @@
     {CAT_Ll, 0xA795, 0},
     {CAT_LC, 0xA796, 24},
     {CAT_Ll, 0xA7AF, 0},
-    {CAT_LC, 0xA7B0, 15},
-    {CAT_LC, 0xA7C2, 8},
+    {CAT_LC, 0xA7B0, 26},
+    {CAT_LC, 0xA7D0, 1},
+    {CAT_Ll, 0xA7D3, 0},
+    {CAT_Ll, 0xA7D5, 0},
+    {CAT_LC, 0xA7D6, 3},
+    {CAT_Lm, 0xA7F2, 2},
     {CAT_LC, 0xA7F5, 1},
     {CAT_Lo, 0xA7F7, 0},
     {CAT_Lm, 0xA7F8, 1},
@@ -1424,15 +1443,17 @@
     {CAT_Lo, 0xFB40, 1},
     {CAT_Lo, 0xFB43, 1},
     {CAT_Lo, 0xFB46, 107},
-    {CAT_Sk, 0xFBB2, 15},
+    {CAT_Sk, 0xFBB2, 16},
     {CAT_Lo, 0xFBD3, 362},
     {CAT_Pe, 0xFD3E, 0},
     {CAT_Ps, 0xFD3F, 0},
+    {CAT_So, 0xFD40, 15},
     {CAT_Lo, 0xFD50, 63},
     {CAT_Lo, 0xFD92, 53},
+    {CAT_So, 0xFDCF, 0},
     {CAT_Lo, 0xFDF0, 11},
     {CAT_Sc, 0xFDFC, 0},
-    {CAT_So, 0xFDFD, 0},
+    {CAT_So, 0xFDFD, 2},
     {CAT_Mn, 0xFE00, 15},
     {CAT_Po, 0xFE10, 6},
     {CAT_Ps, 0xFE17, 0},
@@ -1578,9 +1599,20 @@
     {CAT_Lo, 0x10500, 39},
     {CAT_Lo, 0x10530, 51},
     {CAT_Po, 0x1056F, 0},
+    {CAT_LC, 0x10570, 10},
+    {CAT_LC, 0x1057C, 14},
+    {CAT_LC, 0x1058C, 6},
+    {CAT_LC, 0x10594, 1},
+    {CAT_LC, 0x10597, 10},
+    {CAT_LC, 0x105A3, 14},
+    {CAT_LC, 0x105B3, 6},
+    {CAT_LC, 0x105BB, 1},
     {CAT_Lo, 0x10600, 310},
     {CAT_Lo, 0x10740, 21},
     {CAT_Lo, 0x10760, 7},
+    {CAT_Lm, 0x10780, 5},
+    {CAT_Lm, 0x10787, 41},
+    {CAT_Lm, 0x107B2, 8},
     {CAT_Lo, 0x10800, 5},
     {CAT_Lo, 0x10808, 0},
     {CAT_Lo, 0x1080A, 43},
@@ -1657,6 +1689,9 @@
     {CAT_Mn, 0x10F46, 10},
     {CAT_No, 0x10F51, 3},
     {CAT_Po, 0x10F55, 4},
+    {CAT_Lo, 0x10F70, 17},
+    {CAT_Mn, 0x10F82, 3},
+    {CAT_Po, 0x10F86, 3},
     {CAT_Lo, 0x10FB0, 20},
     {CAT_No, 0x10FC5, 6},
     {CAT_Lo, 0x10FE0, 22},
@@ -1668,6 +1703,10 @@
     {CAT_Po, 0x11047, 6},
     {CAT_No, 0x11052, 19},
     {CAT_Nd, 0x11066, 9},
+    {CAT_Mn, 0x11070, 0},
+    {CAT_Lo, 0x11071, 1},
+    {CAT_Mn, 0x11073, 1},
+    {CAT_Lo, 0x11075, 0},
     {CAT_Mn, 0x1107F, 2},
     {CAT_Mc, 0x11082, 0},
     {CAT_Lo, 0x11083, 44},
@@ -1678,6 +1717,7 @@
     {CAT_Po, 0x110BB, 1},
     {CAT_Cf, 0x110BD, 0},
     {CAT_Po, 0x110BE, 3},
+    {CAT_Mn, 0x110C2, 0},
     {CAT_Cf, 0x110CD, 0},
     {CAT_Lo, 0x110D0, 24},
     {CAT_Nd, 0x110F0, 9},
@@ -1812,6 +1852,7 @@
     {CAT_Mc, 0x116B6, 0},
     {CAT_Mn, 0x116B7, 0},
     {CAT_Lo, 0x116B8, 0},
+    {CAT_Po, 0x116B9, 0},
     {CAT_Nd, 0x116C0, 9},
     {CAT_Lo, 0x11700, 26},
     {CAT_Mn, 0x1171D, 2},
@@ -1823,6 +1864,7 @@
     {CAT_No, 0x1173A, 1},
     {CAT_Po, 0x1173C, 2},
     {CAT_So, 0x1173F, 0},
+    {CAT_Lo, 0x11740, 6},
     {CAT_Lo, 0x11800, 43},
     {CAT_Mc, 0x1182C, 2},
     {CAT_Mn, 0x1182F, 8},
@@ -1880,7 +1922,7 @@
     {CAT_Po, 0x11A9A, 2},
     {CAT_Lo, 0x11A9D, 0},
     {CAT_Po, 0x11A9E, 4},
-    {CAT_Lo, 0x11AC0, 56},
+    {CAT_Lo, 0x11AB0, 72},
     {CAT_Lo, 0x11C00, 8},
     {CAT_Lo, 0x11C0A, 36},
     {CAT_Mc, 0x11C2F, 0},
@@ -1936,6 +1978,8 @@
     {CAT_Nl, 0x12400, 110},
     {CAT_Po, 0x12470, 4},
     {CAT_Lo, 0x12480, 195},
+    {CAT_Lo, 0x12F90, 96},
+    {CAT_Po, 0x12FF1, 1},
     {CAT_Lo, 0x13000, 1070},
     {CAT_Cf, 0x13430, 8},
     {CAT_Lo, 0x14400, 582},
@@ -1943,6 +1987,8 @@
     {CAT_Lo, 0x16A40, 30},
     {CAT_Nd, 0x16A60, 9},
     {CAT_Po, 0x16A6E, 1},
+    {CAT_Lo, 0x16A70, 78},
+    {CAT_Nd, 0x16AC0, 9},
     {CAT_Lo, 0x16AD0, 29},
     {CAT_Mn, 0x16AF0, 4},
     {CAT_Po, 0x16AF5, 0},
@@ -1974,7 +2020,10 @@
     {CAT_Lo, 0x17000, 6135},
     {CAT_Lo, 0x18800, 1237},
     {CAT_Lo, 0x18D00, 8},
-    {CAT_Lo, 0x1B000, 286},
+    {CAT_Lm, 0x1AFF0, 3},
+    {CAT_Lm, 0x1AFF5, 6},
+    {CAT_Lm, 0x1AFFD, 1},
+    {CAT_Lo, 0x1B000, 290},
     {CAT_Lo, 0x1B150, 2},
     {CAT_Lo, 0x1B164, 3},
     {CAT_Lo, 0x1B170, 395},
@@ -1986,6 +2035,9 @@
     {CAT_Mn, 0x1BC9D, 1},
     {CAT_Po, 0x1BC9F, 0},
     {CAT_Cf, 0x1BCA0, 3},
+    {CAT_Mn, 0x1CF00, 45},
+    {CAT_Mn, 0x1CF30, 22},
+    {CAT_So, 0x1CF50, 115},
     {CAT_So, 0x1D000, 245},
     {CAT_So, 0x1D100, 38},
     {CAT_So, 0x1D129, 59},
@@ -1999,7 +2051,7 @@
     {CAT_Mn, 0x1D185, 6},
     {CAT_So, 0x1D18C, 29},
     {CAT_Mn, 0x1D1AA, 3},
-    {CAT_So, 0x1D1AE, 58},
+    {CAT_So, 0x1D1AE, 60},
     {CAT_So, 0x1D200, 65},
     {CAT_Mn, 0x1D242, 2},
     {CAT_So, 0x1D245, 0},
@@ -2088,6 +2140,9 @@
     {CAT_Po, 0x1DA87, 4},
     {CAT_Mn, 0x1DA9B, 4},
     {CAT_Mn, 0x1DAA1, 14},
+    {CAT_Ll, 0x1DF00, 9},
+    {CAT_Lo, 0x1DF0A, 0},
+    {CAT_Ll, 0x1DF0B, 19},
     {CAT_Mn, 0x1E000, 6},
     {CAT_Mn, 0x1E008, 16},
     {CAT_Mn, 0x1E01B, 6},
@@ -2099,10 +2154,16 @@
     {CAT_Nd, 0x1E140, 9},
     {CAT_Lo, 0x1E14E, 0},
     {CAT_So, 0x1E14F, 0},
+    {CAT_Lo, 0x1E290, 29},
+    {CAT_Mn, 0x1E2AE, 0},
     {CAT_Lo, 0x1E2C0, 43},
     {CAT_Mn, 0x1E2EC, 3},
     {CAT_Nd, 0x1E2F0, 9},
     {CAT_Sc, 0x1E2FF, 0},
+    {CAT_Lo, 0x1E7E0, 6},
+    {CAT_Lo, 0x1E7E8, 3},
+    {CAT_Lo, 0x1E7ED, 1},
+    {CAT_Lo, 0x1E7F0, 14},
     {CAT_Lo, 0x1E800, 196},
     {CAT_No, 0x1E8C7, 8},
     {CAT_Mn, 0x1E8D0, 6},
@@ -2169,33 +2230,34 @@
     {CAT_So, 0x1F300, 250},
     {CAT_Sk, 0x1F3FB, 4},
     {CAT_So, 0x1F400, 727},
-    {CAT_So, 0x1F6E0, 12},
+    {CAT_So, 0x1F6DD, 15},
     {CAT_So, 0x1F6F0, 12},
     {CAT_So, 0x1F700, 115},
     {CAT_So, 0x1F780, 88},
     {CAT_So, 0x1F7E0, 11},
+    {CAT_So, 0x1F7F0, 0},
     {CAT_So, 0x1F800, 11},
     {CAT_So, 0x1F810, 55},
     {CAT_So, 0x1F850, 9},
     {CAT_So, 0x1F860, 39},
     {CAT_So, 0x1F890, 29},
     {CAT_So, 0x1F8B0, 1},
-    {CAT_So, 0x1F900, 120},
-    {CAT_So, 0x1F97A, 81},
-    {CAT_So, 0x1F9CD, 134},
+    {CAT_So, 0x1F900, 339},
     {CAT_So, 0x1FA60, 13},
     {CAT_So, 0x1FA70, 4},
-    {CAT_So, 0x1FA78, 2},
+    {CAT_So, 0x1FA78, 4},
     {CAT_So, 0x1FA80, 6},
-    {CAT_So, 0x1FA90, 24},
-    {CAT_So, 0x1FAB0, 6},
-    {CAT_So, 0x1FAC0, 2},
-    {CAT_So, 0x1FAD0, 6},
+    {CAT_So, 0x1FA90, 28},
+    {CAT_So, 0x1FAB0, 10},
+    {CAT_So, 0x1FAC0, 5},
+    {CAT_So, 0x1FAD0, 9},
+    {CAT_So, 0x1FAE0, 7},
+    {CAT_So, 0x1FAF0, 6},
     {CAT_So, 0x1FB00, 146},
     {CAT_So, 0x1FB94, 54},
     {CAT_Nd, 0x1FBF0, 9},
-    {CAT_Lo, 0x20000, 42717},
-    {CAT_Lo, 0x2A700, 4148},
+    {CAT_Lo, 0x20000, 42719},
+    {CAT_Lo, 0x2A700, 4152},
     {CAT_Lo, 0x2B740, 221},
     {CAT_Lo, 0x2B820, 5761},
     {CAT_Lo, 0x2CEB0, 7472},
diff --git a/newlib/libc/string/combining.t b/newlib/libc/string/combining.t
index 495972261..da856bd74 100644
--- a/newlib/libc/string/combining.t
+++ b/newlib/libc/string/combining.t
@@ -8,20 +8,21 @@
   { 0x0730, 0x074A }, { 0x07A6, 0x07B0 }, { 0x07EB, 0x07F3 },
   { 0x07FD, 0x07FD }, { 0x0816, 0x0819 }, { 0x081B, 0x0823 },
   { 0x0825, 0x0827 }, { 0x0829, 0x082D }, { 0x0859, 0x085B },
-  { 0x08D3, 0x0902 }, { 0x093A, 0x093A }, { 0x093C, 0x093C },
-  { 0x0941, 0x0948 }, { 0x094D, 0x094D }, { 0x0951, 0x0957 },
-  { 0x0962, 0x0963 }, { 0x0981, 0x0981 }, { 0x09BC, 0x09BC },
-  { 0x09C1, 0x09C4 }, { 0x09CD, 0x09CD }, { 0x09E2, 0x09E3 },
-  { 0x09FE, 0x09FE }, { 0x0A01, 0x0A02 }, { 0x0A3C, 0x0A3C },
-  { 0x0A41, 0x0A42 }, { 0x0A47, 0x0A48 }, { 0x0A4B, 0x0A4D },
-  { 0x0A51, 0x0A51 }, { 0x0A70, 0x0A71 }, { 0x0A75, 0x0A75 },
-  { 0x0A81, 0x0A82 }, { 0x0ABC, 0x0ABC }, { 0x0AC1, 0x0AC5 },
-  { 0x0AC7, 0x0AC8 }, { 0x0ACD, 0x0ACD }, { 0x0AE2, 0x0AE3 },
-  { 0x0AFA, 0x0AFF }, { 0x0B01, 0x0B01 }, { 0x0B3C, 0x0B3C },
-  { 0x0B3F, 0x0B3F }, { 0x0B41, 0x0B44 }, { 0x0B4D, 0x0B4D },
-  { 0x0B55, 0x0B56 }, { 0x0B62, 0x0B63 }, { 0x0B82, 0x0B82 },
-  { 0x0BC0, 0x0BC0 }, { 0x0BCD, 0x0BCD }, { 0x0C00, 0x0C00 },
-  { 0x0C04, 0x0C04 }, { 0x0C3E, 0x0C40 }, { 0x0C46, 0x0C48 },
+  { 0x0890, 0x0891 }, { 0x0898, 0x089F }, { 0x08CA, 0x0902 },
+  { 0x093A, 0x093A }, { 0x093C, 0x093C }, { 0x0941, 0x0948 },
+  { 0x094D, 0x094D }, { 0x0951, 0x0957 }, { 0x0962, 0x0963 },
+  { 0x0981, 0x0981 }, { 0x09BC, 0x09BC }, { 0x09C1, 0x09C4 },
+  { 0x09CD, 0x09CD }, { 0x09E2, 0x09E3 }, { 0x09FE, 0x09FE },
+  { 0x0A01, 0x0A02 }, { 0x0A3C, 0x0A3C }, { 0x0A41, 0x0A42 },
+  { 0x0A47, 0x0A48 }, { 0x0A4B, 0x0A4D }, { 0x0A51, 0x0A51 },
+  { 0x0A70, 0x0A71 }, { 0x0A75, 0x0A75 }, { 0x0A81, 0x0A82 },
+  { 0x0ABC, 0x0ABC }, { 0x0AC1, 0x0AC5 }, { 0x0AC7, 0x0AC8 },
+  { 0x0ACD, 0x0ACD }, { 0x0AE2, 0x0AE3 }, { 0x0AFA, 0x0AFF },
+  { 0x0B01, 0x0B01 }, { 0x0B3C, 0x0B3C }, { 0x0B3F, 0x0B3F },
+  { 0x0B41, 0x0B44 }, { 0x0B4D, 0x0B4D }, { 0x0B55, 0x0B56 },
+  { 0x0B62, 0x0B63 }, { 0x0B82, 0x0B82 }, { 0x0BC0, 0x0BC0 },
+  { 0x0BCD, 0x0BCD }, { 0x0C00, 0x0C00 }, { 0x0C04, 0x0C04 },
+  { 0x0C3C, 0x0C3C }, { 0x0C3E, 0x0C40 }, { 0x0C46, 0x0C48 },
   { 0x0C4A, 0x0C4D }, { 0x0C55, 0x0C56 }, { 0x0C62, 0x0C63 },
   { 0x0C81, 0x0C81 }, { 0x0CBC, 0x0CBC }, { 0x0CBF, 0x0CBF },
   { 0x0CC6, 0x0CC6 }, { 0x0CCC, 0x0CCD }, { 0x0CE2, 0x0CE3 },
@@ -38,46 +39,47 @@
   { 0x105E, 0x1060 }, { 0x1071, 0x1074 }, { 0x1082, 0x1082 },
   { 0x1085, 0x1086 }, { 0x108D, 0x108D }, { 0x109D, 0x109D },
   { 0x1160, 0x11FF }, { 0x135D, 0x135F }, { 0x1712, 0x1714 },
-  { 0x1732, 0x1734 }, { 0x1752, 0x1753 }, { 0x1772, 0x1773 },
+  { 0x1732, 0x1733 }, { 0x1752, 0x1753 }, { 0x1772, 0x1773 },
   { 0x17B4, 0x17B5 }, { 0x17B7, 0x17BD }, { 0x17C6, 0x17C6 },
-  { 0x17C9, 0x17D3 }, { 0x17DD, 0x17DD }, { 0x180B, 0x180E },
+  { 0x17C9, 0x17D3 }, { 0x17DD, 0x17DD }, { 0x180B, 0x180F },
   { 0x1885, 0x1886 }, { 0x18A9, 0x18A9 }, { 0x1920, 0x1922 },
   { 0x1927, 0x1928 }, { 0x1932, 0x1932 }, { 0x1939, 0x193B },
   { 0x1A17, 0x1A18 }, { 0x1A1B, 0x1A1B }, { 0x1A56, 0x1A56 },
   { 0x1A58, 0x1A5E }, { 0x1A60, 0x1A60 }, { 0x1A62, 0x1A62 },
   { 0x1A65, 0x1A6C }, { 0x1A73, 0x1A7C }, { 0x1A7F, 0x1A7F },
-  { 0x1AB0, 0x1AC0 }, { 0x1B00, 0x1B03 }, { 0x1B34, 0x1B34 },
+  { 0x1AB0, 0x1ACE }, { 0x1B00, 0x1B03 }, { 0x1B34, 0x1B34 },
   { 0x1B36, 0x1B3A }, { 0x1B3C, 0x1B3C }, { 0x1B42, 0x1B42 },
   { 0x1B6B, 0x1B73 }, { 0x1B80, 0x1B81 }, { 0x1BA2, 0x1BA5 },
   { 0x1BA8, 0x1BA9 }, { 0x1BAB, 0x1BAD }, { 0x1BE6, 0x1BE6 },
   { 0x1BE8, 0x1BE9 }, { 0x1BED, 0x1BED }, { 0x1BEF, 0x1BF1 },
   { 0x1C2C, 0x1C33 }, { 0x1C36, 0x1C37 }, { 0x1CD0, 0x1CD2 },
   { 0x1CD4, 0x1CE0 }, { 0x1CE2, 0x1CE8 }, { 0x1CED, 0x1CED },
-  { 0x1CF4, 0x1CF4 }, { 0x1CF8, 0x1CF9 }, { 0x1DC0, 0x1DF9 },
-  { 0x1DFB, 0x1DFF }, { 0x200B, 0x200F }, { 0x202A, 0x202E },
-  { 0x2060, 0x2064 }, { 0x2066, 0x206F }, { 0x20D0, 0x20F0 },
-  { 0x2CEF, 0x2CF1 }, { 0x2D7F, 0x2D7F }, { 0x2DE0, 0x2DFF },
-  { 0x302A, 0x302D }, { 0x3099, 0x309A }, { 0xA66F, 0xA672 },
-  { 0xA674, 0xA67D }, { 0xA69E, 0xA69F }, { 0xA6F0, 0xA6F1 },
-  { 0xA802, 0xA802 }, { 0xA806, 0xA806 }, { 0xA80B, 0xA80B },
-  { 0xA825, 0xA826 }, { 0xA82C, 0xA82C }, { 0xA8C4, 0xA8C5 },
-  { 0xA8E0, 0xA8F1 }, { 0xA8FF, 0xA8FF }, { 0xA926, 0xA92D },
-  { 0xA947, 0xA951 }, { 0xA980, 0xA982 }, { 0xA9B3, 0xA9B3 },
-  { 0xA9B6, 0xA9B9 }, { 0xA9BC, 0xA9BD }, { 0xA9E5, 0xA9E5 },
-  { 0xAA29, 0xAA2E }, { 0xAA31, 0xAA32 }, { 0xAA35, 0xAA36 },
-  { 0xAA43, 0xAA43 }, { 0xAA4C, 0xAA4C }, { 0xAA7C, 0xAA7C },
-  { 0xAAB0, 0xAAB0 }, { 0xAAB2, 0xAAB4 }, { 0xAAB7, 0xAAB8 },
-  { 0xAABE, 0xAABF }, { 0xAAC1, 0xAAC1 }, { 0xAAEC, 0xAAED },
-  { 0xAAF6, 0xAAF6 }, { 0xABE5, 0xABE5 }, { 0xABE8, 0xABE8 },
-  { 0xABED, 0xABED }, { 0xD7B0, 0xD7C6 }, { 0xD7CB, 0xD7FB },
-  { 0xFB1E, 0xFB1E }, { 0xFE00, 0xFE0F }, { 0xFE20, 0xFE2F },
-  { 0xFEFF, 0xFEFF }, { 0xFFF9, 0xFFFB }, { 0x101FD, 0x101FD },
-  { 0x102E0, 0x102E0 }, { 0x10376, 0x1037A }, { 0x10A01, 0x10A03 },
-  { 0x10A05, 0x10A06 }, { 0x10A0C, 0x10A0F }, { 0x10A38, 0x10A3A },
-  { 0x10A3F, 0x10A3F }, { 0x10AE5, 0x10AE6 }, { 0x10D24, 0x10D27 },
-  { 0x10EAB, 0x10EAC }, { 0x10F46, 0x10F50 }, { 0x11001, 0x11001 },
-  { 0x11038, 0x11046 }, { 0x1107F, 0x11081 }, { 0x110B3, 0x110B6 },
-  { 0x110B9, 0x110BA }, { 0x110BD, 0x110BD }, { 0x110CD, 0x110CD },
+  { 0x1CF4, 0x1CF4 }, { 0x1CF8, 0x1CF9 }, { 0x1DC0, 0x1DFF },
+  { 0x200B, 0x200F }, { 0x202A, 0x202E }, { 0x2060, 0x2064 },
+  { 0x2066, 0x206F }, { 0x20D0, 0x20F0 }, { 0x2CEF, 0x2CF1 },
+  { 0x2D7F, 0x2D7F }, { 0x2DE0, 0x2DFF }, { 0x302A, 0x302D },
+  { 0x3099, 0x309A }, { 0xA66F, 0xA672 }, { 0xA674, 0xA67D },
+  { 0xA69E, 0xA69F }, { 0xA6F0, 0xA6F1 }, { 0xA802, 0xA802 },
+  { 0xA806, 0xA806 }, { 0xA80B, 0xA80B }, { 0xA825, 0xA826 },
+  { 0xA82C, 0xA82C }, { 0xA8C4, 0xA8C5 }, { 0xA8E0, 0xA8F1 },
+  { 0xA8FF, 0xA8FF }, { 0xA926, 0xA92D }, { 0xA947, 0xA951 },
+  { 0xA980, 0xA982 }, { 0xA9B3, 0xA9B3 }, { 0xA9B6, 0xA9B9 },
+  { 0xA9BC, 0xA9BD }, { 0xA9E5, 0xA9E5 }, { 0xAA29, 0xAA2E },
+  { 0xAA31, 0xAA32 }, { 0xAA35, 0xAA36 }, { 0xAA43, 0xAA43 },
+  { 0xAA4C, 0xAA4C }, { 0xAA7C, 0xAA7C }, { 0xAAB0, 0xAAB0 },
+  { 0xAAB2, 0xAAB4 }, { 0xAAB7, 0xAAB8 }, { 0xAABE, 0xAABF },
+  { 0xAAC1, 0xAAC1 }, { 0xAAEC, 0xAAED }, { 0xAAF6, 0xAAF6 },
+  { 0xABE5, 0xABE5 }, { 0xABE8, 0xABE8 }, { 0xABED, 0xABED },
+  { 0xD7B0, 0xD7C6 }, { 0xD7CB, 0xD7FB }, { 0xFB1E, 0xFB1E },
+  { 0xFE00, 0xFE0F }, { 0xFE20, 0xFE2F }, { 0xFEFF, 0xFEFF },
+  { 0xFFF9, 0xFFFB }, { 0x101FD, 0x101FD }, { 0x102E0, 0x102E0 },
+  { 0x10376, 0x1037A }, { 0x10A01, 0x10A03 }, { 0x10A05, 0x10A06 },
+  { 0x10A0C, 0x10A0F }, { 0x10A38, 0x10A3A }, { 0x10A3F, 0x10A3F },
+  { 0x10AE5, 0x10AE6 }, { 0x10D24, 0x10D27 }, { 0x10EAB, 0x10EAC },
+  { 0x10F46, 0x10F50 }, { 0x10F82, 0x10F85 }, { 0x11001, 0x11001 },
+  { 0x11038, 0x11046 }, { 0x11070, 0x11070 }, { 0x11073, 0x11074 },
+  { 0x1107F, 0x11081 }, { 0x110B3, 0x110B6 }, { 0x110B9, 0x110BA },
+  { 0x110BD, 0x110BD }, { 0x110C2, 0x110C2 }, { 0x110CD, 0x110CD },
   { 0x11100, 0x11102 }, { 0x11127, 0x1112B }, { 0x1112D, 0x11134 },
   { 0x11173, 0x11173 }, { 0x11180, 0x11181 }, { 0x111B6, 0x111BE },
   { 0x111C9, 0x111CC }, { 0x111CF, 0x111CF }, { 0x1122F, 0x11231 },
@@ -105,12 +107,13 @@
   { 0x11EF3, 0x11EF4 }, { 0x13430, 0x13438 }, { 0x16AF0, 0x16AF4 },
   { 0x16B30, 0x16B36 }, { 0x16F4F, 0x16F4F }, { 0x16F8F, 0x16F92 },
   { 0x16FE4, 0x16FE4 }, { 0x1BC9D, 0x1BC9E }, { 0x1BCA0, 0x1BCA3 },
-  { 0x1D167, 0x1D169 }, { 0x1D173, 0x1D182 }, { 0x1D185, 0x1D18B },
-  { 0x1D1AA, 0x1D1AD }, { 0x1D242, 0x1D244 }, { 0x1DA00, 0x1DA36 },
-  { 0x1DA3B, 0x1DA6C }, { 0x1DA75, 0x1DA75 }, { 0x1DA84, 0x1DA84 },
-  { 0x1DA9B, 0x1DA9F }, { 0x1DAA1, 0x1DAAF }, { 0x1E000, 0x1E006 },
-  { 0x1E008, 0x1E018 }, { 0x1E01B, 0x1E021 }, { 0x1E023, 0x1E024 },
-  { 0x1E026, 0x1E02A }, { 0x1E130, 0x1E136 }, { 0x1E2EC, 0x1E2EF },
+  { 0x1CF00, 0x1CF2D }, { 0x1CF30, 0x1CF46 }, { 0x1D167, 0x1D169 },
+  { 0x1D173, 0x1D182 }, { 0x1D185, 0x1D18B }, { 0x1D1AA, 0x1D1AD },
+  { 0x1D242, 0x1D244 }, { 0x1DA00, 0x1DA36 }, { 0x1DA3B, 0x1DA6C },
+  { 0x1DA75, 0x1DA75 }, { 0x1DA84, 0x1DA84 }, { 0x1DA9B, 0x1DA9F },
+  { 0x1DAA1, 0x1DAAF }, { 0x1E000, 0x1E006 }, { 0x1E008, 0x1E018 },
+  { 0x1E01B, 0x1E021 }, { 0x1E023, 0x1E024 }, { 0x1E026, 0x1E02A },
+  { 0x1E130, 0x1E136 }, { 0x1E2AE, 0x1E2AE }, { 0x1E2EC, 0x1E2EF },
   { 0x1E8D0, 0x1E8D6 }, { 0x1E944, 0x1E94A }, { 0xE0001, 0xE0001 },
   { 0xE0020, 0xE007F }, { 0xE0100, 0xE01EF }
 };
diff --git a/newlib/libc/string/wide.t b/newlib/libc/string/wide.t
index 3788353a6..e2ee66d6f 100644
--- a/newlib/libc/string/wide.t
+++ b/newlib/libc/string/wide.t
@@ -1,5 +1,5 @@
-//# EastAsianWidth-13.0.0.txt
-//# Blocks-13.0.0.txt
+//# EastAsianWidth-14.0.0.txt
+//# Blocks-14.0.0.txt
 {
   { 0x1100, 0x115F }, { 0x231A, 0x231B }, { 0x2329, 0x232A },
   { 0x23E9, 0x23EC }, { 0x23F0, 0x23F0 }, { 0x23F3, 0x23F3 },
@@ -16,8 +16,8 @@
   { 0x3040, 0x321E }, { 0x3220, 0x3247 }, { 0x3250, 0x4DBF },
   { 0x4E00, 0xA4CF }, { 0xA960, 0xA97F }, { 0xAC00, 0xD7AF },
   { 0xF900, 0xFAFF }, { 0xFE10, 0xFE1F }, { 0xFE30, 0xFE6F },
-  { 0xFF01, 0xFF60 }, { 0xFFE0, 0xFFE6 }, { 0x16FE0, 0x18D8F },
-  { 0x1B000, 0x1B2FF }, { 0x1F004, 0x1F004 }, { 0x1F0CF, 0x1F0CF },
+  { 0xFF01, 0xFF60 }, { 0xFFE0, 0xFFE6 }, { 0x16FE0, 0x18D7F },
+  { 0x1AFF0, 0x1B2FF }, { 0x1F004, 0x1F004 }, { 0x1F0CF, 0x1F0CF },
   { 0x1F18E, 0x1F18E }, { 0x1F191, 0x1F19A }, { 0x1F200, 0x1F320 },
   { 0x1F32D, 0x1F335 }, { 0x1F337, 0x1F37C }, { 0x1F37E, 0x1F393 },
   { 0x1F3A0, 0x1F3CA }, { 0x1F3CF, 0x1F3D3 }, { 0x1F3E0, 0x1F3F0 },
@@ -26,8 +26,8 @@
   { 0x1F550, 0x1F567 }, { 0x1F57A, 0x1F57A }, { 0x1F595, 0x1F596 },
   { 0x1F5A4, 0x1F5A4 }, { 0x1F5FB, 0x1F64F }, { 0x1F680, 0x1F6C5 },
   { 0x1F6CC, 0x1F6CC }, { 0x1F6D0, 0x1F6D2 }, { 0x1F6D5, 0x1F6D7 },
-  { 0x1F6EB, 0x1F6EC }, { 0x1F6F4, 0x1F6FC }, { 0x1F7E0, 0x1F7EB },
-  { 0x1F90C, 0x1F93A }, { 0x1F93C, 0x1F945 }, { 0x1F947, 0x1F978 },
-  { 0x1F97A, 0x1F9CB }, { 0x1F9CD, 0x1F9FF }, { 0x1FA70, 0x1FAFF },
+  { 0x1F6DD, 0x1F6DF }, { 0x1F6EB, 0x1F6EC }, { 0x1F6F4, 0x1F6FC },
+  { 0x1F7E0, 0x1F7EB }, { 0x1F7F0, 0x1F7F0 }, { 0x1F90C, 0x1F93A },
+  { 0x1F93C, 0x1F945 }, { 0x1F947, 0x1F9FF }, { 0x1FA70, 0x1FAFF },
   { 0x20000, 0x2FFFD }, { 0x30000, 0x3FFFD }
 };
-- 
2.33.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] update to Unicode 14.0
  2021-11-11 20:32 [PATCH] update to Unicode 14.0 Thomas Wolff
@ 2021-11-15 13:06 ` Corinna Vinschen
  2021-11-15 14:22   ` Thomas Wolff
  0 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2021-11-15 13:06 UTC (permalink / raw)
  To: newlib

On Nov 11 21:32, Thomas Wolff wrote:
> Unicode update patch attached.
> Responses to previous comments:
> > wouldn't it make sense to remove the temporary downloaded files like
> > libc/ctype/UnicodeData.txt, etc?
> > Either automatically after creating the generated files
> Maybe. I didn't implement it, like in my other projects (mintty, mined), as
> it causes redundant multiple downloads during development.
> > or in a matching MAINTAINERCLEANFILES variable in Makefile.am?
> I had looked into it but there isn't such a variable yet and I'm not
> familiar with automake/conv stuff, so feel free to add if suitable.
> > Also, maybe it makes sense to add these temporary files to the .gitignore file?
> I'm not in favour of the .gitignore idea as its only purpose seems to be to
> smooth out effects of `git add *`-like check-ins, which I think shouldn't be
> done anyway; I feel the concept encourages sloppy repository management.
> But again, this isn't my project so feel free to adjust the build.

It's not my project either, it's a collaborative effort.  So you don't
have any other idea to fix this issue?


Corinna


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] update to Unicode 14.0
  2021-11-15 13:06 ` Corinna Vinschen
@ 2021-11-15 14:22   ` Thomas Wolff
  2021-11-15 16:12     ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Wolff @ 2021-11-15 14:22 UTC (permalink / raw)
  To: newlib


Am 15.11.2021 um 14:06 schrieb Corinna Vinschen:
> On Nov 11 21:32, Thomas Wolff wrote:
>> Unicode update patch attached.
>> Responses to previous comments:
>>> wouldn't it make sense to remove the temporary downloaded files like
>>> libc/ctype/UnicodeData.txt, etc?
>>> Either automatically after creating the generated files
>> Maybe. I didn't implement it, like in my other projects (mintty, mined), as
>> it causes redundant multiple downloads during development.
>>> or in a matching MAINTAINERCLEANFILES variable in Makefile.am?
>> I had looked into it but there isn't such a variable yet and I'm not
>> familiar with automake/conv stuff, so feel free to add if suitable.
>>> Also, maybe it makes sense to add these temporary files to the .gitignore file?
>> I'm not in favour of the .gitignore idea as its only purpose seems to be to
>> smooth out effects of `git add *`-like check-ins, which I think shouldn't be
>> done anyway; I feel the concept encourages sloppy repository management.
>> But again, this isn't my project so feel free to adjust the build.
> It's not my project either, it's a collaborative effort.  So you don't have any other idea to fix this issue?
To be honest, I don't really understand the issue. So the files stay 
hanging around for someone who builds the update. What's the problem? 
I'm willing to fix whatever doesn't fit.
Thomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] update to Unicode 14.0
  2021-11-15 14:22   ` Thomas Wolff
@ 2021-11-15 16:12     ` Corinna Vinschen
  2021-11-15 20:45       ` Thomas Wolff
  0 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2021-11-15 16:12 UTC (permalink / raw)
  To: newlib

On Nov 15 15:22, Thomas Wolff wrote:
> 
> Am 15.11.2021 um 14:06 schrieb Corinna Vinschen:
> > On Nov 11 21:32, Thomas Wolff wrote:
> > > Unicode update patch attached.
> > > Responses to previous comments:
> > > > wouldn't it make sense to remove the temporary downloaded files like
> > > > libc/ctype/UnicodeData.txt, etc?
> > > > Either automatically after creating the generated files
> > > Maybe. I didn't implement it, like in my other projects (mintty, mined), as
> > > it causes redundant multiple downloads during development.
> > > > or in a matching MAINTAINERCLEANFILES variable in Makefile.am?
> > > I had looked into it but there isn't such a variable yet and I'm not
> > > familiar with automake/conv stuff, so feel free to add if suitable.
> > > > Also, maybe it makes sense to add these temporary files to the .gitignore file?
> > > I'm not in favour of the .gitignore idea as its only purpose seems to be to
> > > smooth out effects of `git add *`-like check-ins, which I think shouldn't be
> > > done anyway; I feel the concept encourages sloppy repository management.
> > > But again, this isn't my project so feel free to adjust the build.
> > It's not my project either, it's a collaborative effort.  So you don't have any other idea to fix this issue?
> To be honest, I don't really understand the issue. So the files stay hanging
> around for someone who builds the update. What's the problem?

git status, git rebase etc. will list them as untracked files, which is
annoying.  So either there's a simple way to remove the files or they
should go to .gitignore.

> I'm willing to
> fix whatever doesn't fit.
> Thomas

Thanks,
Corinna


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] update to Unicode 14.0
  2021-11-15 16:12     ` Corinna Vinschen
@ 2021-11-15 20:45       ` Thomas Wolff
  2021-11-16 10:40         ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Wolff @ 2021-11-15 20:45 UTC (permalink / raw)
  To: newlib

[-- Attachment #1: Type: text/plain, Size: 1730 bytes --]


Am 15.11.2021 um 17:12 schrieb Corinna Vinschen:
> On Nov 15 15:22, Thomas Wolff wrote:
>> Am 15.11.2021 um 14:06 schrieb Corinna Vinschen:
>>> On Nov 11 21:32, Thomas Wolff wrote:
>>>> Unicode update patch attached.
>>>> Responses to previous comments:
>>>>> wouldn't it make sense to remove the temporary downloaded files like
>>>>> libc/ctype/UnicodeData.txt, etc?
>>>>> Either automatically after creating the generated files
>>>> Maybe. I didn't implement it, like in my other projects (mintty, mined), as
>>>> it causes redundant multiple downloads during development.
>>>>> or in a matching MAINTAINERCLEANFILES variable in Makefile.am?
>>>> I had looked into it but there isn't such a variable yet and I'm not
>>>> familiar with automake/conv stuff, so feel free to add if suitable.
>>>>> Also, maybe it makes sense to add these temporary files to the .gitignore file?
>>>> I'm not in favour of the .gitignore idea as its only purpose seems to be to
>>>> smooth out effects of `git add *`-like check-ins, which I think shouldn't be
>>>> done anyway; I feel the concept encourages sloppy repository management.
>>>> But again, this isn't my project so feel free to adjust the build.
>>> It's not my project either, it's a collaborative effort.  So you don't have any other idea to fix this issue?
>> To be honest, I don't really understand the issue. So the files stay hanging
>> around for someone who builds the update. What's the problem?
> git status, git rebase etc. will list them as untracked files, which is
> annoying.  So either there's a simple way to remove the files or they
> should go to .gitignore.
OK, patch attached.
Thomas

>> I'm willing to
>> fix whatever doesn't fit.
>> Thomas
> Thanks,
> Corinna
>

[-- Attachment #2: 0001-cleanup-Unicode-data-files-after-generating-updated-.patch --]
[-- Type: text/plain, Size: 1525 bytes --]

From c47695f330e7baf5200d10e5043884a70fc17743 Mon Sep 17 00:00:00 2001
From: Thomas Wolff <towo@towo.net>
Date: Mon, 15 Nov 2021 00:00:00 +0100
Subject: [PATCH] cleanup Unicode data files after generating updated tables

---
 newlib/libc/Makefile.unidata | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/newlib/libc/Makefile.unidata b/newlib/libc/Makefile.unidata
index c85c428f2..d0590a75b 100644
--- a/newlib/libc/Makefile.unidata
+++ b/newlib/libc/Makefile.unidata
@@ -1,11 +1,31 @@
+#############################################################################
 # Generate Unicode data tables for string/wcwidth and ctype/??w*
+
+unicode-update: unidata cleanup
+
+#############################################################################
+# Clean up downloaded files
+
+cleanup:
+	rm ctype/UnicodeData.txt
+	rm string/Blocks.txt
+	rm string/EastAsianWidth.txt
+	rm string/UnicodeData.txt
+	rm string/uniset.tar.gz
+
+#############################################################################
 # Download Unicode data files
+
 unidata:
 	cd string; ./mkunidata -u
 	cd ctype; ./mkunidata -u
 
-# Generate Unicode data tables for string/wcwidth and ctype/??w*
+#############################################################################
 # Use installed Unicode data files from package unicode-ucd
+
 unidata-local:
 	cd string; ./mkunidata -i
 	cd ctype; ./mkunidata -i
+
+#############################################################################
+# end
-- 
2.33.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] update to Unicode 14.0
  2021-11-15 20:45       ` Thomas Wolff
@ 2021-11-16 10:40         ` Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2021-11-16 10:40 UTC (permalink / raw)
  To: newlib

On Nov 15 21:45, Thomas Wolff wrote:
> From c47695f330e7baf5200d10e5043884a70fc17743 Mon Sep 17 00:00:00 2001
> From: Thomas Wolff <towo@towo.net>
> Date: Mon, 15 Nov 2021 00:00:00 +0100
> Subject: [PATCH] cleanup Unicode data files after generating updated tables
> 
> ---
>  newlib/libc/Makefile.unidata | 22 +++++++++++++++++++++-
>  1 file changed, 21 insertions(+), 1 deletion(-)

Both patches pushed.


Thanks,
Corinna


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-16 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 20:32 [PATCH] update to Unicode 14.0 Thomas Wolff
2021-11-15 13:06 ` Corinna Vinschen
2021-11-15 14:22   ` Thomas Wolff
2021-11-15 16:12     ` Corinna Vinschen
2021-11-15 20:45       ` Thomas Wolff
2021-11-16 10:40         ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).