bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update to Unicode 15.0.0


From: Bruno Haible
Subject: Update to Unicode 15.0.0
Date: Sun, 16 Oct 2022 00:54:20 +0200

With these two patches, the Unicode support is updated to Unicode 15.0.0.

The first patch makes it possible again to compile gen-uni-tables.c
with the usual tools (GCC 11) on my usual dev environment. I don't like
to be forced to use a compiler such as gcc-experimental or clang 15
in order to compile gen-uni-tables.c.

The second patch is the update proper.


2022-10-15  Bruno Haible  <bruno@clisp.org>

        gen-uni-tables: Temporarily revert last change.
        * lib/gen-uni-tables.c: Include <stdbool.h>, unless the C compiler
        advertises compliance to ISO C 23.

diff --git a/lib/gen-uni-tables.c b/lib/gen-uni-tables.c
index 2c5dbd462..622b51dfd 100644
--- a/lib/gen-uni-tables.c
+++ b/lib/gen-uni-tables.c
@@ -37,6 +37,9 @@
  */
 
 #include <assert.h>
+#if __STDC_VERSION__ < 202311L
+# include <stdbool.h>
+#endif
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>


2022-10-15  Bruno Haible  <bruno@clisp.org>

        Update to Unicode 15.0.0.

        * lib/gen-uni-tables.c (is_property_default_ignorable_code_point):
        Exclude 0x13439..0x1343F.
        (get_lbp): Update such that unilbrk/lbrkprop.txt comes out as expected.

        * All generated files under lib/uni* and tests/uni*: Regenerate.
        * tests/uniname/NameAliases.txt: Update.
        * tests/uniname/UnicodeData.txt: Update.
        * tests/uninorm/NormalizationTest.txt: Update.
        * tests/unigbrk/GraphemeBreakTest.txt: Update.
        * tests/uniwbrk/WordBreakTest.txt: Update.

        * tests/uniwidth/test-uc_width2.sh: Expect width 0 for the characters
        0x0ECE, 0x10EFD..0x10EFF, 0x11241, 0x11F00..0x11F01, 0x11F36..0x11F3A,
        0x11F40, 0x11F42, 0x13439..0x13440, 0x13447..0x13455, 0x1E08F,
        0x1E4EC..0x1E4EF.

        * All the affected modules: Bump required libunistring version.

https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=2118e7cf12997850652002b3af3c44511c98f4bc






reply via email to

[Prev in Thread] Current Thread [Next in Thread]