ICU-12669 draft Emoji 4.0 properties data

X-SVN-Rev: 39067
This commit is contained in:
Markus Scherer 2016-08-18 21:08:23 +00:00
parent 3959b30d02
commit 962c595814
21 changed files with 572 additions and 595 deletions

View file

@ -1,13 +1,13 @@
// Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
* Copyright (C) 1999-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
* file name: propname_data.h
*
* machine-generated by: icu/tools/unicode/c/genprops/pnamesbuilder.cpp
*/
//
// Copyright (C) 1999-2016, International Business Machines
// Corporation and others. All Rights Reserved.
//
// file name: propname_data.h
//
// machine-generated by: icu/tools/unicode/c/genprops/pnamesbuilder.cpp
#ifdef INCLUDED_FROM_PROPNAME_CPP

View file

@ -1,13 +1,13 @@
// Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
* Copyright (C) 1999-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
* file name: ubidi_props_data.h
*
* machine-generated by: icu/tools/unicode/c/genprops/bidipropsbuilder.cpp
*/
//
// Copyright (C) 1999-2016, International Business Machines
// Corporation and others. All Rights Reserved.
//
// file name: ubidi_props_data.h
//
// machine-generated by: icu/tools/unicode/c/genprops/bidipropsbuilder.cpp
#ifdef INCLUDED_FROM_UBIDI_PROPS_C

View file

@ -1,13 +1,13 @@
// Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
* Copyright (C) 1999-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
* file name: ucase_props_data.h
*
* machine-generated by: icu/tools/unicode/c/genprops/casepropsbuilder.cpp
*/
//
// Copyright (C) 1999-2016, International Business Machines
// Corporation and others. All Rights Reserved.
//
// file name: ucase_props_data.h
//
// machine-generated by: icu/tools/unicode/c/genprops/casepropsbuilder.cpp
#ifdef INCLUDED_FROM_UCASE_CPP

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# CaseFolding-9.0.0.txt
# Date: 2016-03-02, 18:54:54 GMT
# © 2016 Unicode®, Inc.

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# DerivedCoreProperties-9.0.0.txt
# Date: 2016-06-01, 10:34:24 GMT
# © 2016 Unicode®, Inc.

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# DerivedNormalizationProps-9.0.0.txt
# Date: 2016-03-02, 18:54:59 GMT
# © 2016 Unicode®, Inc.

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# NormalizationCorrections-9.0.0.txt
# Date: 2016-01-21, 22:00:00 GMT [KW, LI]
# © 2016 Unicode®, Inc.

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# NormalizationTest-9.0.0.txt
# Date: 2016-04-04, 11:41:55 GMT
# © 2016 Unicode®, Inc.

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# SpecialCasing-9.0.0.txt
# Date: 2016-03-02, 18:55:13 GMT
# © 2016 Unicode®, Inc.

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# Copyright (C) 1999-2016, International Business Machines
# Corporation and others. All Rights Reserved.
#

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# Copyright (C) 1999-2016, International Business Machines
# Corporation and others. All Rights Reserved.
#

View file

@ -1,5 +1,3 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# Unicode Character Database
# Copyright (c) 1991-2016 Unicode, Inc.
# For terms of use, see http://www.unicode.org/terms_of_use.html

View file

@ -1,8 +1,6 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# Original file:
# IdnaMappingTable-9.0.0.txt
# Date: 2016-03-11, 09:01:52 GMT
# Date: 2016-06-16, 13:35:01 GMT
# © 2016 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use, see http://www.unicode.org/terms_of_use.html

View file

@ -1,6 +1,4 @@
# Preparsed UCD generated by ICU preparseucd.py
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# Copyright (c) 1991-2016 Unicode, Inc.
# For terms of use, see http://www.unicode.org/terms_of_use.html
ucd;9.0.0
@ -1351,9 +1349,11 @@ cp;00B8;-Alpha;bc=ON;-Cased;CI;CWKCF;Dia;dm=0020 0327;dt=Com;ea=A;gc=Sk;-IDC;-ID
cp;00B9;-Alpha;bc=EN;-Cased;CWKCF;dm=0031;dt=Sup;ea=A;gc=No;-IDC;-IDS;lb=AI;na=SUPERSCRIPT ONE;NFKC_CF=0031;NFKC_QC=N;nt=Di;nv=1;WB=XX;-XIDC;-XIDS
cp;00BA;CWKCF;dm=006F;dt=Sup;ea=A;gc=Lo;lb=AI;Lower;na=MASCULINE ORDINAL INDICATOR;NFKC_CF=006F;NFKC_QC=N;SB=LO;sc=Latn
cp;00BB;-Alpha;bc=ON;Bidi_M;bmg=00AB;-Cased;gc=Pf;-IDC;-IDS;lb=QU;na=RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK;NFKD_QC=Y;Pat_Syn;QMark;SB=CL;WB=XX;-XIDC;-XIDS
# Vulgar fractions
cp;00BC;-Alpha;bc=ON;-Cased;CWKCF;dm=0031 2044 0034;dt=Fra;ea=A;gc=No;-IDC;-IDS;lb=AI;na=VULGAR FRACTION ONE QUARTER;NFKC_CF=0031 2044 0034;NFKC_QC=N;nt=Nu;nv=1/4;WB=XX;-XIDC;-XIDS
cp;00BD;-Alpha;bc=ON;-Cased;CWKCF;dm=0031 2044 0032;dt=Fra;ea=A;gc=No;-IDC;-IDS;lb=AI;na=VULGAR FRACTION ONE HALF;NFKC_CF=0031 2044 0032;NFKC_QC=N;nt=Nu;nv=1/2;WB=XX;-XIDC;-XIDS
cp;00BE;-Alpha;bc=ON;-Cased;CWKCF;dm=0033 2044 0034;dt=Fra;ea=A;gc=No;-IDC;-IDS;lb=AI;na=VULGAR FRACTION THREE QUARTERS;NFKC_CF=0033 2044 0034;NFKC_QC=N;nt=Nu;nv=3/4;WB=XX;-XIDC;-XIDS
# Punctuation
cp;00BF;-Alpha;bc=ON;-Cased;ea=A;gc=Po;-IDC;-IDS;lb=OP;na=INVERTED QUESTION MARK;NFKD_QC=Y;Pat_Syn;WB=XX;-XIDC;-XIDS
# Letters
cp;00C0;cf=00E0;CWCF;CWCM;CWKCF;CWL;dm=0041 0300;dt=Can;gc=Lu;na=LATIN CAPITAL LETTER A WITH GRAVE;NFD_QC=N;NFKC_CF=00E0;SB=UP;sc=Latn;scf=00E0;slc=00E0;Upper
@ -2945,7 +2945,7 @@ cp;066D;-Alpha;gc=Po;-IDC;-IDS;jt=U;na=ARABIC FIVE POINTED STAR;SB=XX;WB=XX;-XID
# Archaic letters
cp;066E;age=3.2;jg=Beh;na=ARABIC LETTER DOTLESS BEH
cp;066F;age=3.2;jg=Qaf;na=ARABIC LETTER DOTLESS QAF
# Point
# Tashkil
cp;0670;bc=NSM;ccc=35;CI;gc=Mn;GCB=EX;-Gr_Base;Gr_Ext;-IDS;jt=T;lb=CM;na=ARABIC LETTER SUPERSCRIPT ALEF;SB=EX;sc=Zinh;scx=Arab Syrc;WB=Extend;-XIDS
# Extended Arabic letters
cp;0671;jg=Alef;jt=R;na=ARABIC LETTER ALEF WASLA
@ -11158,9 +11158,9 @@ cp;263C;na=WHITE SUN WITH RAYS
cp;263D;na=FIRST QUARTER MOON
cp;263E;na=LAST QUARTER MOON
cp;263F;na=MERCURY
cp;2640;ea=A;lb=AI;Math;na=FEMALE SIGN
cp;2640;ea=A;Emoji;lb=AI;Math;na=FEMALE SIGN
cp;2641;na=EARTH
cp;2642;ea=A;lb=AI;Math;na=MALE SIGN
cp;2642;ea=A;Emoji;lb=AI;Math;na=MALE SIGN
cp;2643;na=JUPITER
cp;2644;na=SATURN
cp;2645;na=URANUS
@ -11255,7 +11255,7 @@ cp;2691;age=4.0;na=BLACK FLAG
cp;2692;age=4.1;Emoji;na=HAMMER AND PICK
cp;2693;age=4.1;ea=W;Emoji;Emoji_Presentation;na=ANCHOR
cp;2694;age=4.1;Emoji;na=CROSSED SWORDS
cp;2695;age=4.1;na=STAFF OF AESCULAPIUS
cp;2695;age=4.1;Emoji;na=STAFF OF AESCULAPIUS
cp;2696;age=4.1;Emoji;na=SCALES
cp;2697;age=4.1;Emoji;na=ALEMBIC
cp;2698;age=4.1;na=FLOWER
@ -33356,17 +33356,17 @@ cp;1F3BE;na=TENNIS RACQUET AND BALL
cp;1F3BF;na=SKI AND SKI BOOT
cp;1F3C0;na=BASKETBALL AND HOOP
cp;1F3C1;na=CHEQUERED FLAG
cp;1F3C2;na=SNOWBOARDER
cp;1F3C2;Emoji_Modifier_Base;na=SNOWBOARDER
cp;1F3C3;Emoji_Modifier_Base;GCB=EB;lb=EB;na=RUNNER;WB=EB
cp;1F3C4;Emoji_Modifier_Base;GCB=EB;lb=EB;na=SURFER;WB=EB
cp;1F3C5;age=7.0;na=SPORTS MEDAL
cp;1F3C6;na=TROPHY
cp;1F3C7;na=HORSE RACING
cp;1F3C7;Emoji_Modifier_Base;na=HORSE RACING
cp;1F3C8;na=AMERICAN FOOTBALL
cp;1F3C9;na=RUGBY FOOTBALL
cp;1F3CA;Emoji_Modifier_Base;GCB=EB;lb=EB;na=SWIMMER;WB=EB
cp;1F3CB;age=7.0;ea=N;Emoji_Modifier_Base;-Emoji_Presentation;GCB=EB;lb=EB;na=WEIGHT LIFTER;WB=EB
cp;1F3CC;age=7.0;ea=N;-Emoji_Presentation;na=GOLFER
cp;1F3CC;age=7.0;ea=N;Emoji_Modifier_Base;-Emoji_Presentation;na=GOLFER
cp;1F3CD;age=7.0;ea=N;-Emoji_Presentation;na=RACING MOTORCYCLE
cp;1F3CE;age=7.0;ea=N;-Emoji_Presentation;na=RACING CAR
cp;1F3CF;age=8.0;na=CRICKET BAT AND BALL
@ -33538,12 +33538,12 @@ cp;1F466;Emoji_Modifier_Base;GCB=EBG;lb=EB;na=BOY;WB=EBG
cp;1F467;Emoji_Modifier_Base;GCB=EBG;lb=EB;na=GIRL;WB=EBG
cp;1F468;Emoji_Modifier_Base;GCB=EBG;lb=EB;na=MAN;WB=EBG
cp;1F469;Emoji_Modifier_Base;GCB=EBG;lb=EB;na=WOMAN;WB=EBG
cp;1F46A;na=FAMILY
cp;1F46B;na=MAN AND WOMAN HOLDING HANDS
cp;1F46C;na=TWO MEN HOLDING HANDS
cp;1F46D;na=TWO WOMEN HOLDING HANDS
cp;1F46A;Emoji_Modifier_Base;na=FAMILY
cp;1F46B;Emoji_Modifier_Base;na=MAN AND WOMAN HOLDING HANDS
cp;1F46C;Emoji_Modifier_Base;na=TWO MEN HOLDING HANDS
cp;1F46D;Emoji_Modifier_Base;na=TWO WOMEN HOLDING HANDS
cp;1F46E;Emoji_Modifier_Base;GCB=EB;lb=EB;na=POLICE OFFICER;WB=EB
cp;1F46F;na=WOMAN WITH BUNNY EARS
cp;1F46F;Emoji_Modifier_Base;na=WOMAN WITH BUNNY EARS
cp;1F470;Emoji_Modifier_Base;GCB=EB;lb=EB;na=BRIDE WITH VEIL;WB=EB
cp;1F471;Emoji_Modifier_Base;GCB=EB;lb=EB;na=PERSON WITH BLOND HAIR;WB=EB
cp;1F472;Emoji_Modifier_Base;GCB=EB;lb=EB;na=MAN WITH GUA PI MAO;WB=EB
@ -33831,7 +33831,7 @@ cp;1F570;age=7.0;ea=N;-Emoji_Presentation;na=MANTELPIECE CLOCK
cp;1F571;age=7.0;ea=N;-Emoji;-Emoji_Presentation;na=BLACK SKULL AND CROSSBONES
cp;1F572;age=7.0;ea=N;-Emoji;-Emoji_Presentation;na=NO PIRACY
cp;1F573;age=7.0;ea=N;-Emoji_Presentation;na=HOLE
cp;1F574;age=7.0;ea=N;-Emoji_Presentation;na=MAN IN BUSINESS SUIT LEVITATING
cp;1F574;age=7.0;ea=N;Emoji_Modifier_Base;-Emoji_Presentation;na=MAN IN BUSINESS SUIT LEVITATING
cp;1F575;age=7.0;ea=N;Emoji_Modifier_Base;-Emoji_Presentation;GCB=EB;lb=EB;na=SLEUTH OR SPY;WB=EB
cp;1F576;age=7.0;ea=N;-Emoji_Presentation;na=DARK SUNGLASSES
# Animal symbols
@ -34214,7 +34214,7 @@ cp;1F6C9;age=7.0;ea=N;-Emoji;-Emoji_Presentation;na=BOYS SYMBOL
cp;1F6CA;age=7.0;ea=N;-Emoji;-Emoji_Presentation;na=GIRLS SYMBOL
# Accommodation symbols
cp;1F6CB;age=7.0;ea=N;-Emoji_Presentation;na=COUCH AND LAMP
cp;1F6CC;age=7.0;na=SLEEPING ACCOMMODATION
cp;1F6CC;age=7.0;Emoji_Modifier_Base;na=SLEEPING ACCOMMODATION
cp;1F6CD;age=7.0;ea=N;-Emoji_Presentation;na=SHOPPING BAGS
cp;1F6CE;age=7.0;ea=N;-Emoji_Presentation;na=BELLHOP BELL
cp;1F6CF;age=7.0;ea=N;-Emoji_Presentation;na=BED
@ -34687,7 +34687,7 @@ cp;1F91C;Emoji_Modifier_Base;GCB=EB;lb=EB;na=RIGHT-FACING FIST;WB=EB
cp;1F91D;Emoji_Modifier_Base;GCB=EB;lb=EB;na=HANDSHAKE;WB=EB
cp;1F91E;Emoji_Modifier_Base;GCB=EB;lb=EB;na=HAND WITH INDEX AND MIDDLE FINGERS CROSSED;WB=EB
cp;1F91F;age=NA;bc=L;ea=N;-Emoji;-Emoji_Presentation;gc=Cn;-Gr_Base;sc=Zzzz
# Faces
# Emoticon faces
cp;1F920;na=FACE WITH COWBOY HAT
cp;1F921;na=CLOWN FACE
cp;1F922;na=NAUSEATED FACE

View file

@ -1,7 +1,5 @@
# BidiTest-9.0.0.txt
# Date: 2016-03-02, 18:54:52 GMT
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# © 2016 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use, see http://www.unicode.org/terms_of_use.html

View file

@ -1,7 +1,5 @@
# GraphemeBreakTest-9.0.0.txt
# Date: 2016-06-02, 18:28:17 GMT
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# © 2016 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use, see http://www.unicode.org/terms_of_use.html

View file

@ -1,7 +1,5 @@
# SentenceBreakTest-9.0.0.txt
# Date: 2016-06-02, 18:28:30 GMT
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# © 2016 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use, see http://www.unicode.org/terms_of_use.html

View file

@ -1,7 +1,5 @@
# WordBreakTest-9.0.0.txt
# Date: 2016-06-02, 18:28:31 GMT
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# © 2016 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use, see http://www.unicode.org/terms_of_use.html

View file

@ -50,18 +50,16 @@ usrc_createWithHeader(const char *path, const char *filename,
f=fopen(p, "w");
if(f!=NULL) {
char year[8];
const struct tm *lt;
time_t t;
time(&t);
lt=localtime(&t);
strftime(year, sizeof(year), "%Y", lt);
if(generator==NULL) {
strftime(buffer, sizeof(buffer), "%Y-%m-%d", lt);
fprintf(f, header, year, filename, buffer);
fprintf(f, header, filename, buffer);
} else {
fprintf(f, header, year, filename, generator);
fprintf(f, header, filename, generator);
}
} else {
fprintf(
@ -74,28 +72,34 @@ usrc_createWithHeader(const char *path, const char *filename,
U_CAPI FILE * U_EXPORT2
usrc_create(const char *path, const char *filename, const char *generator) {
// TODO: Add parameter for the first year this file was generated, not before 2016.
static const char *header=
"/*\n"
" * Copyright (C) 1999-%s, International Business Machines\n"
" * Corporation and others. All Rights Reserved.\n"
" *\n"
" * file name: %s\n"
" *\n"
" * machine-generated by: %s\n"
" */\n\n";
"// Copyright (C) 2016 and later: Unicode, Inc. and others.\n"
"// License & terms of use: http://www.unicode.org/copyright.html\n"
"//\n"
"// Copyright (C) 1999-2016, International Business Machines\n"
"// Corporation and others. All Rights Reserved.\n"
"//\n"
"// file name: %s\n"
"//\n"
"// machine-generated by: %s\n"
"\n\n";
return usrc_createWithHeader(path, filename, generator, header);
}
U_CAPI FILE * U_EXPORT2
usrc_createTextData(const char *path, const char *filename, const char *generator) {
// TODO: Add parameter for the first year this file was generated, not before 2016.
static const char *header=
"# Copyright (C) 1999-%s, International Business Machines\n"
"# Copyright (C) 2016 and later: Unicode, Inc. and others.\n"
"# License & terms of use: http://www.unicode.org/copyright.html\n"
"# Copyright (C) 1999-2016, International Business Machines\n"
"# Corporation and others. All Rights Reserved.\n"
"#\n"
"# file name: %s\n"
"#\n"
"# machine-generated by: %s\n"
"#\n\n";
"\n\n";
return usrc_createWithHeader(path, filename, generator, header);
}