]> granicus.if.org Git - icu/commit
ICU-21652 add emoji properties of strings
authorMarkus Scherer <markus.icu@gmail.com>
Fri, 3 Sep 2021 21:53:25 +0000 (14:53 -0700)
committerMarkus Scherer <markus.icu@gmail.com>
Wed, 8 Sep 2021 19:15:50 +0000 (12:15 -0700)
commitf9beb616a8a51d73c93cd7add6775ed0ae069bb1
treede921447096aadab72590c14ad433b8547bb0b3e
parent6244d57559790eedf1ca88082c5baa1be6e638d9
ICU-21652 add emoji properties of strings
- 7 new properties: API constants & property names
- u_stringHasBinaryProperty(s, property) & UCharacter.hasBinaryProperty(s, property)
- two additional source data files
- new genprops part for writing new binary data file uemoji.icu
- data for existing emoji properties moved from uprops.icu (hardcoded in C++) to uemoji.icu (always loaded)
- new EmojiProps implementation
49 files changed:
docs/userguide/icu_data/index.md
docs/userguide/strings/properties.md
icu4c/source/common/BUILD
icu4c/source/common/characterproperties.cpp
icu4c/source/common/common.vcxproj
icu4c/source/common/common.vcxproj.filters
icu4c/source/common/common_uwp.vcxproj
icu4c/source/common/emojiprops.cpp [new file with mode: 0644]
icu4c/source/common/emojiprops.h [new file with mode: 0644]
icu4c/source/common/propname_data.h
icu4c/source/common/sources.txt
icu4c/source/common/uchar_props_data.h
icu4c/source/common/ucln_cmn.h
icu4c/source/common/unicode/uchar.h
icu4c/source/common/uprops.cpp
icu4c/source/common/uprops.h
icu4c/source/data/BUILDRULES.py
icu4c/source/data/in/pnames.icu
icu4c/source/data/in/uemoji.icu [new file with mode: 0644]
icu4c/source/data/in/uprops.icu
icu4c/source/data/unidata/changes.txt
icu4c/source/data/unidata/emoji-sequences.txt [new file with mode: 0644]
icu4c/source/data/unidata/emoji-zwj-sequences.txt [new file with mode: 0644]
icu4c/source/data/unidata/generate.sh
icu4c/source/data/unidata/ppucd.txt
icu4c/source/test/cintltst/cucdtst.c
icu4c/source/test/depstest/dependencies.txt
icu4c/source/test/depstest/depstest.py
icu4c/source/test/intltest/intltest.cpp
icu4c/source/test/intltest/rbbitst.cpp
icu4c/source/test/intltest/ucdtest.cpp
icu4c/source/test/intltest/ucdtest.h
icu4c/source/tools/toolutil/swapimpl.cpp
icu4j/main/classes/core/src/com/ibm/icu/impl/CharacterPropertiesImpl.java
icu4j/main/classes/core/src/com/ibm/icu/impl/EmojiProps.java [new file with mode: 0644]
icu4j/main/classes/core/src/com/ibm/icu/impl/UCharacterProperty.java
icu4j/main/classes/core/src/com/ibm/icu/lang/CharacterProperties.java
icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacter.java
icu4j/main/classes/core/src/com/ibm/icu/lang/UProperty.java
icu4j/main/shared/data/icudata.jar
icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/UCharacterTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/UnicodeSetTest.java
tools/unicode/c/genprops/BUILD
tools/unicode/c/genprops/corepropsbuilder.cpp
tools/unicode/c/genprops/emojipropsbuilder.cpp [new file with mode: 0644]
tools/unicode/c/genprops/genprops.cpp
tools/unicode/c/genprops/genprops.h
tools/unicode/c/genprops/pnames_data.h
tools/unicode/py/preparseucd.py