ICU-4350 Update collation builder and runtime version (changes due to UCA 4.1)

X-SVN-Rev: 18043
This commit is contained in:
Vladimir Weinstein 2005-06-24 23:09:31 +00:00
parent fe9ef78f6d
commit 1b99fba442
3 changed files with 9 additions and 4 deletions

View file

@ -186,10 +186,11 @@ u_getVersion(UVersionInfo versionArray);
* version 4 - ICU 2.2 - tracking UCA changes, ignore completely ignorables
* in contractions, ignore primary ignorables after shifted
* version 5 - ICU 2.8 - changed implicit generation code
* version 6 - ICU 3.4 - with the UCA 4.1, Thai tag is no longer generated or used
* This value may change in the subsequent releases of ICU
* @stable ICU 2.4
*/
#define UCOL_RUNTIME_VERSION 5
#define UCOL_RUNTIME_VERSION 6
/** Builder code version. When this is different, same tailoring might result
* in assigning different collation elements to code points
@ -197,11 +198,13 @@ u_getVersion(UVersionInfo versionArray);
* closure. However, the tailorings should probably get same CEs assigned
* version 5 - ICU 2.2 - fixed some bugs, renamed some indirect values.
* version 6 - ICU 2.8 - fixed bug in builder that allowed 0xFF in primary values
* version 7 - ICU 3.4 - with the UCA 4.1 Thai tag is no longer processed, complete ignorables
* now break contractions
* Backward compatible with the old rules.
* This value may change in the subsequent releases of ICU
* @stable ICU 2.4
*/
#define UCOL_BUILDER_VERSION 6
#define UCOL_BUILDER_VERSION 7
/** *** Removed *** Instead we use the data we read from FractionalUCA.txt
* This is the version of FractionalUCA.txt tailoring rules

View file

@ -278,8 +278,9 @@ void TestProperty()
ICU 2.2 currVersionArray = {0x21, 0x40, 0x04, 0x04};
ICU 2.4 currVersionArray = {0x21, 0x40, 0x04, 0x04};
ICU 2.6 currVersionArray = {0x21, 0x40, 0x03, 0x03};
ICU 2.8 currVersionArray = {0x29, 0x80, 0x00, 0x04};
*/
UVersionInfo currVersionArray = {0x29, 0x80, 0x00, 0x04};
UVersionInfo currVersionArray = {0x31, 0xC0, 0x00, 0x04};
UVersionInfo currUCAVersionArray = {4, 1, 0, 0};
UVersionInfo versionArray = {0, 0, 0, 0};
UVersionInfo versionUCAArray = {0, 0, 0, 0};

View file

@ -100,8 +100,9 @@ CollationAPITest::TestProperty(/* char* par */)
ICU 2.2 currVersionArray = {0x21, 0x40, 0x04, 0x04};
ICU 2.4 currVersionArray = {0x21, 0x40, 0x04, 0x04};
ICU 2.6 currVersionArray = {0x21, 0x40, 0x03, 0x03};
ICU 2.8 currVersionArray = {0x29, 0x80, 0x00, 0x04};
*/
UVersionInfo currVersionArray = {0x29, 0x80, 0x00, 0x04};
UVersionInfo currVersionArray = {0x31, 0xC0, 0x00, 0x04};
UVersionInfo versionArray;
int i = 0;