ICU-6005 Add new scripts from Unicode 5.1, quick-fix @stable, @draft tags in headers.

X-SVN-Rev: 23833
This commit is contained in:
Eric Mader 2008-04-25 01:16:14 +00:00
parent 6d39fb1708
commit f94394b03c
6 changed files with 130 additions and 32 deletions

View File

@ -1,6 +1,6 @@
/*
*
* (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
* (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
*
*/
@ -392,7 +392,21 @@ static const IndicClassTable * const indicClassTables[scriptCodeCount] = {
NULL, /* 'sgnw' (SGNW) */
NULL, /* 'sund' (SUND) */
NULL, /* 'moon' (MOON) */
NULL /* 'mtei' (MTEI) */
NULL, /* 'mtei' (MTEI) */
NULL, /* 'armi' (ARMI) */
NULL, /* 'avst' (AVST) */
NULL, /* 'cakm' (CAKM) */
NULL, /* 'kore' (KORE) */
NULL, /* 'kthi' (KTHI) */
NULL, /* 'mani' (MANI) */
NULL, /* 'phli' (PHLI) */
NULL, /* 'phlp' (PHLP) */
NULL, /* 'phlv' (PHLV) */
NULL, /* 'prti' (PRTI) */
NULL, /* 'samr' (SAMR) */
NULL, /* 'tavt' (TAVT) */
NULL, /* 'zmth' (ZMTH) */
NULL /* 'zsym' (ZSYM) */
};
IndicClassTable::CharClass IndicClassTable::getCharClass(LEUnicode ch) const

View File

@ -5,7 +5,12 @@
* WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS
* YOU REALLY KNOW WHAT YOU'RE DOING.
*
* Generated on: 03/13/2008 05:37:32 PM HST
* *************************************************************
* Hand edited on 04/24/2008 to add correct @stable, @draft tags
* prior to updating the tool to track these.
* *************************************************************
*
* Generated on: 04/24/2008 10:19:13 AM HST
*/
#ifndef __LELANGUAGES_H
@ -25,7 +30,7 @@ U_NAMESPACE_BEGIN
* this is just a list of languages which the LayoutEngine
* supports.
*
* @draft ICU 3.9
* @stable ICU 2.6
*/
enum LanguageCodes {
@ -59,6 +64,8 @@ enum LanguageCodes {
zhpLanguageCode = 27,
zhsLanguageCode = 28,
zhtLanguageCode = 29,
/** New langauges codes added 03/13/2008 @draft ICU 4.0 */
afkLanguageCode = 30,
belLanguageCode = 31,
bgrLanguageCode = 32,

View File

@ -1,11 +1,16 @@
/*
*
* (C) Copyright IBM Corp. 1998-2007. All Rights Reserved.
* (C) Copyright IBM Corp. 1998-2008. All Rights Reserved.
*
* WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS
* YOU REALLY KNOW WHAT YOU'RE DOING.
*
* Generated on: 09/03/2007 08:58:55 AM HST
* *************************************************************
* Hand edited on 04/24/2008 to add correct @stable, @draft tags
* prior to updating the tool to track these.
* *************************************************************
*
* Generated on: 04/24/2008 10:19:12 AM HST
*/
#ifndef __LESCRIPTS_H
@ -24,7 +29,7 @@ U_NAMESPACE_BEGIN
* Constants for Unicode script values, generated using
* ICU4J's <code>UScript</code> class.
*
* @stable ICU 3.6
* @stable ICU 2.2
*/
enum ScriptCodes {
@ -68,12 +73,18 @@ enum ScriptCodes {
thaaScriptCode = 37,
thaiScriptCode = 38,
tibtScriptCode = 39,
/** Canadian_Aboriginal script. @stable ICU 2.6 */
cansScriptCode = 40,
yiiiScriptCode = 41,
tglgScriptCode = 42,
hanoScriptCode = 43,
buhdScriptCode = 44,
tagbScriptCode = 45,
/** New scripts in Unicode 4 @stable ICU 2.6 */
braiScriptCode = 46,
cprtScriptCode = 47,
limbScriptCode = 48,
@ -82,7 +93,11 @@ enum ScriptCodes {
shawScriptCode = 51,
taleScriptCode = 52,
ugarScriptCode = 53,
/** New script code in Unicode 4.0.1 @stable ICU 3.0 */
hrktScriptCode = 54,
/** New scripts in Unicode 4.1 @stable ICU 3.4 */
bugiScriptCode = 55,
glagScriptCode = 56,
kharScriptCode = 57,
@ -90,6 +105,8 @@ enum ScriptCodes {
taluScriptCode = 59,
tfngScriptCode = 60,
xpeoScriptCode = 61,
/** New script codes from ISO 15924 @stable ICU 3.6 */
baliScriptCode = 62,
batkScriptCode = 63,
blisScriptCode = 64,
@ -132,6 +149,8 @@ enum ScriptCodes {
xsuxScriptCode = 101,
zxxxScriptCode = 102,
zzzzScriptCode = 103,
/** New script codes from ISO 15924 @draft ICU 3.8 */
cariScriptCode = 104,
jpanScriptCode = 105,
lanaScriptCode = 106,
@ -145,7 +164,23 @@ enum ScriptCodes {
moonScriptCode = 114,
mteiScriptCode = 115,
scriptCodeCount = 116
/** New script codes from ISO 15924 @draft ICU 4.0 */
armiScriptCode = 116,
avstScriptCode = 117,
cakmScriptCode = 118,
koreScriptCode = 119,
kthiScriptCode = 120,
maniScriptCode = 121,
phliScriptCode = 122,
phlpScriptCode = 123,
phlvScriptCode = 124,
prtiScriptCode = 125,
samrScriptCode = 126,
tavtScriptCode = 127,
zmthScriptCode = 128,
zsymScriptCode = 129,
scriptCodeCount = 130
};
U_NAMESPACE_END

View File

@ -5,7 +5,7 @@
* WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS
* YOU REALLY KNOW WHAT YOU'RE DOING.
*
* Generated on: 03/13/2008 05:37:32 PM HST
* Generated on: 04/24/2008 10:19:13 AM HST
*/
#include "LETypes.h"
@ -94,10 +94,10 @@ const LETag OpenTypeLayoutEngine::scriptTags[] = {
hungScriptTag, /* 'hung' (HUNG) */
indsScriptTag, /* 'inds' (INDS) */
javaScriptTag, /* 'java' (JAVA) */
kaliScriptTag, /* 'kali' (KALI) */
kaliScriptTag, /* 'kali' (KAYAH_LI) */
latfScriptTag, /* 'latf' (LATF) */
latgScriptTag, /* 'latg' (LATG) */
lepcScriptTag, /* 'lepc' (LEPC) */
lepcScriptTag, /* 'lepc' (LEPCHA) */
linaScriptTag, /* 'lina' (LINA) */
mandScriptTag, /* 'mand' (MAND) */
mayaScriptTag, /* 'maya' (MAYA) */
@ -114,23 +114,37 @@ const LETag OpenTypeLayoutEngine::scriptTags[] = {
syrjScriptTag, /* 'syrj' (SYRJ) */
syrnScriptTag, /* 'syrn' (SYRN) */
tengScriptTag, /* 'teng' (TENG) */
vaiiScriptTag, /* 'vai ' (VAII) */
vaiiScriptTag, /* 'vai ' (VAI) */
vispScriptTag, /* 'visp' (VISP) */
xsuxScriptTag, /* 'xsux' (CUNEIFORM) */
zxxxScriptTag, /* 'zxxx' (ZXXX) */
zzzzScriptTag, /* 'zzzz' (UNKNOWN) */
cariScriptTag, /* 'cari' (CARI) */
cariScriptTag, /* 'cari' (CARIAN) */
jpanScriptTag, /* 'jpan' (JPAN) */
lanaScriptTag, /* 'lana' (LANA) */
lyciScriptTag, /* 'lyci' (LYCI) */
lydiScriptTag, /* 'lydi' (LYDI) */
olckScriptTag, /* 'olck' (OLCK) */
rjngScriptTag, /* 'rjng' (RJNG) */
saurScriptTag, /* 'saur' (SAUR) */
lyciScriptTag, /* 'lyci' (LYCIAN) */
lydiScriptTag, /* 'lydi' (LYDIAN) */
olckScriptTag, /* 'olck' (OL_CHIKI) */
rjngScriptTag, /* 'rjng' (REJANG) */
saurScriptTag, /* 'saur' (SAURASHTRA) */
sgnwScriptTag, /* 'sgnw' (SGNW) */
sundScriptTag, /* 'sund' (SUND) */
sundScriptTag, /* 'sund' (SUNDANESE) */
moonScriptTag, /* 'moon' (MOON) */
mteiScriptTag /* 'mtei' (MTEI) */
mteiScriptTag, /* 'mtei' (MTEI) */
armiScriptTag, /* 'armi' (ARMI) */
avstScriptTag, /* 'avst' (AVST) */
cakmScriptTag, /* 'cakm' (CAKM) */
koreScriptTag, /* 'kore' (KORE) */
kthiScriptTag, /* 'kthi' (KTHI) */
maniScriptTag, /* 'mani' (MANI) */
phliScriptTag, /* 'phli' (PHLI) */
phlpScriptTag, /* 'phlp' (PHLP) */
phlvScriptTag, /* 'phlv' (PHLV) */
prtiScriptTag, /* 'prti' (PRTI) */
samrScriptTag, /* 'samr' (SAMR) */
tavtScriptTag, /* 'tavt' (TAVT) */
zmthScriptTag, /* 'zmth' (ZMTH) */
zsymScriptTag /* 'zsym' (ZSYM) */
};
const LETag OpenTypeLayoutEngine::languageTags[] = {

View File

@ -5,7 +5,7 @@
* WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS
* YOU REALLY KNOW WHAT YOU'RE DOING.
*
* Generated on: 03/13/2008 05:37:32 PM HST
* Generated on: 04/24/2008 10:19:13 AM HST
*/
#ifndef __SCRIPTANDLANGUAGES_H
@ -99,10 +99,10 @@ const LETag hmngScriptTag = 0x686D6E67; /* 'hmng' (HMNG) */
const LETag hungScriptTag = 0x68756E67; /* 'hung' (HUNG) */
const LETag indsScriptTag = 0x696E6473; /* 'inds' (INDS) */
const LETag javaScriptTag = 0x6A617661; /* 'java' (JAVA) */
const LETag kaliScriptTag = 0x6B616C69; /* 'kali' (KALI) */
const LETag kaliScriptTag = 0x6B616C69; /* 'kali' (KAYAH_LI) */
const LETag latfScriptTag = 0x6C617466; /* 'latf' (LATF) */
const LETag latgScriptTag = 0x6C617467; /* 'latg' (LATG) */
const LETag lepcScriptTag = 0x6C657063; /* 'lepc' (LEPC) */
const LETag lepcScriptTag = 0x6C657063; /* 'lepc' (LEPCHA) */
const LETag linaScriptTag = 0x6C696E61; /* 'lina' (LINA) */
const LETag mandScriptTag = 0x6D616E64; /* 'mand' (MAND) */
const LETag mayaScriptTag = 0x6D617961; /* 'maya' (MAYA) */
@ -119,23 +119,37 @@ const LETag syreScriptTag = 0x73797265; /* 'syre' (SYRE) */
const LETag syrjScriptTag = 0x7379726A; /* 'syrj' (SYRJ) */
const LETag syrnScriptTag = 0x7379726E; /* 'syrn' (SYRN) */
const LETag tengScriptTag = 0x74656E67; /* 'teng' (TENG) */
const LETag vaiiScriptTag = 0x76616920; /* 'vai ' (VAII) */
const LETag vaiiScriptTag = 0x76616920; /* 'vai ' (VAI) */
const LETag vispScriptTag = 0x76697370; /* 'visp' (VISP) */
const LETag xsuxScriptTag = 0x78737578; /* 'xsux' (CUNEIFORM) */
const LETag zxxxScriptTag = 0x7A787878; /* 'zxxx' (ZXXX) */
const LETag zzzzScriptTag = 0x7A7A7A7A; /* 'zzzz' (UNKNOWN) */
const LETag cariScriptTag = 0x63617269; /* 'cari' (CARI) */
const LETag cariScriptTag = 0x63617269; /* 'cari' (CARIAN) */
const LETag jpanScriptTag = 0x6A70616E; /* 'jpan' (JPAN) */
const LETag lanaScriptTag = 0x6C616E61; /* 'lana' (LANA) */
const LETag lyciScriptTag = 0x6C796369; /* 'lyci' (LYCI) */
const LETag lydiScriptTag = 0x6C796469; /* 'lydi' (LYDI) */
const LETag olckScriptTag = 0x6F6C636B; /* 'olck' (OLCK) */
const LETag rjngScriptTag = 0x726A6E67; /* 'rjng' (RJNG) */
const LETag saurScriptTag = 0x73617572; /* 'saur' (SAUR) */
const LETag lyciScriptTag = 0x6C796369; /* 'lyci' (LYCIAN) */
const LETag lydiScriptTag = 0x6C796469; /* 'lydi' (LYDIAN) */
const LETag olckScriptTag = 0x6F6C636B; /* 'olck' (OL_CHIKI) */
const LETag rjngScriptTag = 0x726A6E67; /* 'rjng' (REJANG) */
const LETag saurScriptTag = 0x73617572; /* 'saur' (SAURASHTRA) */
const LETag sgnwScriptTag = 0x73676E77; /* 'sgnw' (SGNW) */
const LETag sundScriptTag = 0x73756E64; /* 'sund' (SUND) */
const LETag sundScriptTag = 0x73756E64; /* 'sund' (SUNDANESE) */
const LETag moonScriptTag = 0x6D6F6F6E; /* 'moon' (MOON) */
const LETag mteiScriptTag = 0x6D746569; /* 'mtei' (MTEI) */
const LETag armiScriptTag = 0x61726D69; /* 'armi' (ARMI) */
const LETag avstScriptTag = 0x61767374; /* 'avst' (AVST) */
const LETag cakmScriptTag = 0x63616B6D; /* 'cakm' (CAKM) */
const LETag koreScriptTag = 0x6B6F7265; /* 'kore' (KORE) */
const LETag kthiScriptTag = 0x6B746869; /* 'kthi' (KTHI) */
const LETag maniScriptTag = 0x6D616E69; /* 'mani' (MANI) */
const LETag phliScriptTag = 0x70686C69; /* 'phli' (PHLI) */
const LETag phlpScriptTag = 0x70686C70; /* 'phlp' (PHLP) */
const LETag phlvScriptTag = 0x70686C76; /* 'phlv' (PHLV) */
const LETag prtiScriptTag = 0x70727469; /* 'prti' (PRTI) */
const LETag samrScriptTag = 0x73616D72; /* 'samr' (SAMR) */
const LETag tavtScriptTag = 0x74617674; /* 'tavt' (TAVT) */
const LETag zmthScriptTag = 0x7A6D7468; /* 'zmth' (ZMTH) */
const LETag zsymScriptTag = 0x7A73796D; /* 'zsym' (ZSYM) */
const LETag nullScriptTag = 0x00000000; /* '' (NULL) */

View File

@ -251,7 +251,21 @@ static const le_bool complexTable[scriptCodeCount] = {
FALSE, /* Sgnw */
FALSE, /* Sund */
FALSE, /* Moon */
FALSE /* Mtei */
FALSE, /* Mtei */
FALSE, /* Armi */
FALSE, /* Avst */
FALSE, /* Cakm */
FALSE, /* Kore */
FALSE, /* Kthi */
FALSE, /* Mani */
FALSE, /* Phli */
FALSE, /* Phlp */
FALSE, /* Phlv */
FALSE, /* Prti */
FALSE, /* Samr */
FALSE, /* Tavt */
FALSE, /* Zmth */
FALSE /* Zsym */
};