]> Savannah Git Hosting - gnulib.git/commit
Implement 3 new properties, added by Unicode 15.1.0.
authorBruno Haible <bruno@clisp.org>
Wed, 31 Jan 2024 15:43:45 +0000 (16:43 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Jan 2024 15:43:45 +0000 (16:43 +0100)
commit7bc53cd0bc2f3097e48f3dd99d00647535767b6a
tree9e6054331fc0ff93ec5715b88ab5ae21a547c8ca
parenta93e0da1d9fb13b6340ebd73eb36841bda0ebc0d
Implement 3 new properties, added by Unicode 15.1.0.

* lib/gen-uni-tables.c (is_property_id_compat_math_start,
is_property_id_compat_math_continue, is_property_ids_unary_operator):
New functions.
(output_properties): Output also the properties id_compat_math_start,
id_compat_math_continue, ids_unary_operator.
* lib/unictype.in.h (UC_PROPERTY_ID_COMPAT_MATH_START,
UC_PROPERTY_ID_COMPAT_MATH_CONTINUE, UC_PROPERTY_IDS_UNARY_OPERATOR,
uc_is_property_id_compat_math_start,
uc_is_property_id_compat_math_continue,
uc_is_property_ids_unary_operator): New declarations.
* m4/unictype_h.m4 (gl_UNICTYPE_H_REQUIRE_DEFAULTS): Initialize
GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE,
GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE,
GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE.
* modules/unictype/base (Makefile.am): Substitute
GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE,
GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE,
GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE.
* lib/unictype/pr_id_compat_math_continue.c: New file.
* lib/unictype/pr_id_compat_math_continue.h: New generated file.
* lib/unictype/pr_id_compat_math_start.c: New file.
* lib/unictype/pr_id_compat_math_start.h: New generated file.
* lib/unictype/pr_ids_unary_operator.c: New file.
* modules/unictype/property-id-compat-math-continue: New file.
* modules/unictype/property-id-compat-math-start: New file.
* modules/unictype/property-ids-unary-operator: New file.
* tests/unictype/test-pr_id_compat_math_continue.c: New generated file.
* tests/unictype/test-pr_id_compat_math_start.c: New generated file.
* tests/unictype/test-pr_ids_unary_operator.c: New generated file.
* modules/unictype/property-id-compat-math-continue-tests: New file.
* modules/unictype/property-id-compat-math-start-tests: New file.
* modules/unictype/property-ids-unary-operator-tests: New file.
* lib/unictype/pr_byname.gperf: Add id_compat_math_start,
id_compat_math_continue, ids_unary_operator.
* lib/unictype/pr_byname.c (UC_PROPERTY_INDEX_ID_COMPAT_MATH_START,
UC_PROPERTY_INDEX_ID_COMPAT_MATH_CONTINUE,
UC_PROPERTY_INDEX_IDS_UNARY_OPERATOR): New enum items.
(uc_property_byname): Handle them.
* modules/unictype/property-byname (Depends-on): Add
unictype/property-id-compat-math-continue,
unictype/property-id-compat-math-start,
unictype/property-ids-unary-operator.
* modules/unictype/property-all (Depends-on): Likewise.
* MODULES.html.sh (func_all_modules): Add
unictype/property-id-compat-math-continue,
unictype/property-id-compat-math-start,
unictype/property-ids-unary-operator.
24 files changed:
ChangeLog
MODULES.html.sh
lib/gen-uni-tables.c
lib/unictype.in.h
lib/unictype/pr_byname.c
lib/unictype/pr_byname.gperf
lib/unictype/pr_id_compat_math_continue.c [new file with mode: 0644]
lib/unictype/pr_id_compat_math_continue.h [new file with mode: 0644]
lib/unictype/pr_id_compat_math_start.c [new file with mode: 0644]
lib/unictype/pr_id_compat_math_start.h [new file with mode: 0644]
lib/unictype/pr_ids_unary_operator.c [new file with mode: 0644]
m4/unictype_h.m4
modules/unictype/base
modules/unictype/property-all
modules/unictype/property-byname
modules/unictype/property-id-compat-math-continue [new file with mode: 0644]
modules/unictype/property-id-compat-math-continue-tests [new file with mode: 0644]
modules/unictype/property-id-compat-math-start [new file with mode: 0644]
modules/unictype/property-id-compat-math-start-tests [new file with mode: 0644]
modules/unictype/property-ids-unary-operator [new file with mode: 0644]
modules/unictype/property-ids-unary-operator-tests [new file with mode: 0644]
tests/unictype/test-pr_id_compat_math_continue.c [new file with mode: 0644]
tests/unictype/test-pr_id_compat_math_start.c [new file with mode: 0644]
tests/unictype/test-pr_ids_unary_operator.c [new file with mode: 0644]