ICU-5575 Update to version 3.8.
X-SVN-Rev: 22197
This commit is contained in:
parent
d13bbadcae
commit
fa57cb2544
@ -71,10 +71,10 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icuuc37.dll"
|
||||
OutputFile="..\..\bin\icuuc38.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuuc37.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuuc38.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4a800000"
|
||||
ImportLibrary="..\..\lib\icuuc.lib"
|
||||
@ -165,11 +165,11 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icuuc37d.dll"
|
||||
OutputFile="..\..\bin\icuuc38d.dll"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuuc37d.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuuc38d.pdb"
|
||||
BaseAddress="0x4a800000"
|
||||
ImportLibrary="..\..\lib\icuucd.lib"
|
||||
/>
|
||||
|
@ -67,32 +67,32 @@
|
||||
* This value will change in the subsequent releases of ICU
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
#define U_ICU_VERSION_MINOR_NUM 7
|
||||
#define U_ICU_VERSION_MINOR_NUM 8
|
||||
|
||||
/** The current ICU patchlevel version as an integer.
|
||||
* This value will change in the subsequent releases of ICU
|
||||
* @stable ICU 2.4
|
||||
*/
|
||||
#define U_ICU_VERSION_PATCHLEVEL_NUM 2
|
||||
#define U_ICU_VERSION_PATCHLEVEL_NUM 0
|
||||
|
||||
/** Glued version suffix for renamers
|
||||
* This value will change in the subsequent releases of ICU
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
#define U_ICU_VERSION_SUFFIX _3_7
|
||||
#define U_ICU_VERSION_SUFFIX _3_8
|
||||
|
||||
/** The current ICU library version as a dotted-decimal string. The patchlevel
|
||||
* only appears in this string if it non-zero.
|
||||
* This value will change in the subsequent releases of ICU
|
||||
* @stable ICU 2.4
|
||||
*/
|
||||
#define U_ICU_VERSION "3.7.2"
|
||||
#define U_ICU_VERSION "3.8"
|
||||
|
||||
/** The current ICU library major/minor version as a string without dots, for library name suffixes.
|
||||
* This value will change in the subsequent releases of ICU
|
||||
* @stable ICU 2.6
|
||||
*/
|
||||
#define U_ICU_VERSION_SHORT "37"
|
||||
#define U_ICU_VERSION_SHORT "38"
|
||||
|
||||
/** An ICU version consists of up to 4 numbers from 0..255.
|
||||
* @stable ICU 2.4
|
||||
@ -154,7 +154,7 @@ typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH];
|
||||
# define U_ICU_NAMESPACE icu
|
||||
namespace U_ICU_NAMESPACE { }
|
||||
# else
|
||||
# define U_ICU_NAMESPACE icu_3_7
|
||||
# define U_ICU_NAMESPACE icu_3_8
|
||||
namespace U_ICU_NAMESPACE { }
|
||||
namespace icu = U_ICU_NAMESPACE;
|
||||
# endif
|
||||
@ -257,16 +257,6 @@ u_getVersion(UVersionInfo versionArray);
|
||||
*/
|
||||
#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
|
||||
* Version 1 was in ICU 1.8.1. Version two contains canonical closure for
|
||||
* supplementary code points
|
||||
* Version 4 in ICU 2.2, following UCA=3.1.1d6, UCD=3.2.0
|
||||
* This value may change in the subsequent releases of ICU
|
||||
* @stable ICU 2.4
|
||||
*/
|
||||
/*#define UCOL_FRACTIONAL_UCA_VERSION 4*/
|
||||
|
||||
/** This is the version of the tailorings
|
||||
* This value may change in the subsequent releases of ICU
|
||||
* @stable ICU 2.4
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
##############################################################################
|
||||
# Keep the following in sync with the version - see common/unicode/uversion.h
|
||||
U_ICUDATA_NAME=icudt37
|
||||
U_ICUDATA_NAME=icudt38
|
||||
##############################################################################
|
||||
U_ICUDATA_ENDIAN_SUFFIX=l
|
||||
UNICODE_VERSION=5.0
|
||||
|
@ -74,10 +74,10 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icuin37.dll"
|
||||
OutputFile="..\..\bin\icuin38.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuin37.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuin38.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4a900000"
|
||||
ImportLibrary="..\..\lib\icuin.lib"
|
||||
@ -171,11 +171,11 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icuin37d.dll"
|
||||
OutputFile="..\..\bin\icuin38d.dll"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuin37d.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuin38d.pdb"
|
||||
BaseAddress="0x4a900000"
|
||||
ImportLibrary="..\..\lib\icuind.lib"
|
||||
/>
|
||||
|
@ -74,10 +74,10 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icuio37.dll"
|
||||
OutputFile="..\..\bin\icuio38.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuio37.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuio38.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4ab00000"
|
||||
ImportLibrary="..\..\lib\icuio.lib"
|
||||
@ -171,11 +171,11 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icuio37d.dll"
|
||||
OutputFile="..\..\bin\icuio38d.dll"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuio37d.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuio38d.pdb"
|
||||
BaseAddress="0x4ab00000"
|
||||
ImportLibrary="..\..\lib\icuiod.lib"
|
||||
/>
|
||||
|
@ -77,11 +77,11 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icule37d.dll"
|
||||
OutputFile="..\..\bin\icule38d.dll"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\icule37d.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\icule38d.pdb"
|
||||
BaseAddress="0x4ac00000"
|
||||
ImportLibrary="..\..\lib\iculed.lib"
|
||||
/>
|
||||
@ -172,10 +172,10 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icule37.dll"
|
||||
OutputFile="..\..\bin\icule38.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\icule37.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\icule38.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4ac00000"
|
||||
ImportLibrary="..\..\lib\icule.lib"
|
||||
|
@ -74,10 +74,10 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\iculx37.dll"
|
||||
OutputFile="..\..\bin\iculx38.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\iculx37.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\iculx38.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4ac80000"
|
||||
ImportLibrary="..\..\lib\iculx.lib"
|
||||
@ -170,11 +170,11 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\iculx37d.dll"
|
||||
OutputFile="..\..\bin\iculx38d.dll"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\..\..\lib\iculx37d.pdb"
|
||||
ProgramDatabaseFile=".\..\..\lib\iculx38d.pdb"
|
||||
BaseAddress="0x4ac80000"
|
||||
ImportLibrary="..\..\lib\iculxd.lib"
|
||||
/>
|
||||
|
@ -74,12 +74,12 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icudt37.dll"
|
||||
OutputFile="..\..\bin\icudt38.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateManifest="false"
|
||||
IgnoreAllDefaultLibraries="true"
|
||||
ProgramDatabaseFile=".\Release/icudt37.pdb"
|
||||
ProgramDatabaseFile=".\Release/icudt38.pdb"
|
||||
ResourceOnlyDLL="true"
|
||||
SetChecksum="true"
|
||||
BaseAddress="0x4ad00000"
|
||||
@ -173,10 +173,10 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\bin\icudt37.dll"
|
||||
OutputFile="..\..\bin\icudt38.dll"
|
||||
SuppressStartupBanner="true"
|
||||
GenerateManifest="false"
|
||||
ProgramDatabaseFile=".\Debug/icudt37.pdb"
|
||||
ProgramDatabaseFile=".\Debug/icudt38.pdb"
|
||||
ResourceOnlyDLL="true"
|
||||
SetChecksum="true"
|
||||
BaseAddress="0x4ad00000"
|
||||
|
@ -83,7 +83,7 @@ TransliteratorRoundTripTest::runIndexedTest(int32_t index, UBool exec,
|
||||
// Time bomb - allows temporary behavior that expires at a given
|
||||
// release
|
||||
//--------------------------------------------------------------------
|
||||
static const UVersionInfo ICU_37 = {3,7,3,0};
|
||||
static const UVersionInfo ICU_39 = {3,9,0,0};
|
||||
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
@ -1140,7 +1140,7 @@ void TransliteratorRoundTripTest::TestHan() {
|
||||
|
||||
void TransliteratorRoundTripTest::TestGreek() {
|
||||
|
||||
if (isICUVersionAtLeast(ICU_37)) {
|
||||
if (isICUVersionAtLeast(ICU_39)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||
@ -1172,7 +1172,7 @@ void TransliteratorRoundTripTest::TestGreek() {
|
||||
|
||||
void TransliteratorRoundTripTest::TestGreekUNGEGN() {
|
||||
|
||||
if (isICUVersionAtLeast(ICU_37)) {
|
||||
if (isICUVersionAtLeast(ICU_39)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||
@ -1201,7 +1201,7 @@ void TransliteratorRoundTripTest::TestGreekUNGEGN() {
|
||||
|
||||
void TransliteratorRoundTripTest::Testel() {
|
||||
|
||||
if (isICUVersionAtLeast(ICU_37)) {
|
||||
if (isICUVersionAtLeast(ICU_39)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||
@ -1269,7 +1269,7 @@ UBool LegalHebrew::is(const UnicodeString& sourceString)const{
|
||||
return TRUE;
|
||||
}
|
||||
void TransliteratorRoundTripTest::TestHebrew() {
|
||||
if (isICUVersionAtLeast(ICU_37)) {
|
||||
if (isICUVersionAtLeast(ICU_39)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestHebrew needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||
@ -1392,7 +1392,7 @@ void TransliteratorRoundTripTest::TestDevanagariLatin() {
|
||||
}
|
||||
RTTest test("Latin-Devanagari");
|
||||
Legal *legal = new LegalIndic();
|
||||
if (isICUVersionAtLeast(ICU_37)) {
|
||||
if (isICUVersionAtLeast(ICU_39)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestDevanagariLatin needs to be updated to remove delete the [:Age=4.1:] filter ");
|
||||
@ -1668,7 +1668,7 @@ void TransliteratorRoundTripTest::TestInterIndic() {
|
||||
logln("Testing only 5 of %i. Skipping rest (use -e for exhaustive)",num);
|
||||
num = 5;
|
||||
}
|
||||
if (isICUVersionAtLeast(ICU_37)) {
|
||||
if (isICUVersionAtLeast(ICU_39)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestInterIndic needs to be updated to remove delete the [:Age=4.1:] filter ");
|
||||
|
@ -192,7 +192,7 @@ TransliteratorTest::runIndexedTest(int32_t index, UBool exec,
|
||||
}
|
||||
}
|
||||
|
||||
static const UVersionInfo ICU_37 = {3,7,3,0};
|
||||
static const UVersionInfo ICU_39 = {3,9,0,0};
|
||||
/**
|
||||
* Make sure every system transliterator can be instantiated.
|
||||
*
|
||||
@ -227,7 +227,7 @@ void TransliteratorTest::TestInstantiation() {
|
||||
i + ") != getAvailableIDs().snext()");
|
||||
continue;
|
||||
}
|
||||
if(id2.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_37)){
|
||||
if(id2.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_39)){
|
||||
/* The Thai-Latin transliterator doesn't exist in ICU4C yet */
|
||||
continue;
|
||||
}
|
||||
@ -3554,7 +3554,7 @@ void TransliteratorTest::TestIncrementalProgress(void) {
|
||||
Transliterator::getAvailableVariant(k, source, target, variant);
|
||||
UnicodeString id = source + "-" + target + "/" + variant;
|
||||
|
||||
if(id.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_37)){
|
||||
if(id.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_39)){
|
||||
/* The Thai-Latin transliterator doesn't exist in ICU4C yet */
|
||||
continue;
|
||||
}
|
||||
|
@ -914,7 +914,7 @@ void TimeZoneTest::TestCustomParse()
|
||||
}
|
||||
}
|
||||
|
||||
static const UVersionInfo ICU_37 = {3,7,3,0};
|
||||
static const UVersionInfo ICU_39 = {3,9,0,0};
|
||||
|
||||
void
|
||||
TimeZoneTest::TestAliasedNames()
|
||||
@ -1047,7 +1047,7 @@ TimeZoneTest::TestAliasedNames()
|
||||
UBool useDst[] = { FALSE, TRUE };
|
||||
int32_t noLoc = uloc_countAvailable();
|
||||
|
||||
if(isICUVersionAtLeast(ICU_37)) {
|
||||
if(isICUVersionAtLeast(ICU_39)) {
|
||||
errln("This test needs to be fixed. This test fails in exhaustive mode because we need to implement generic timezones.\n");
|
||||
}
|
||||
|
||||
@ -1060,7 +1060,7 @@ TimeZoneTest::TestAliasedNames()
|
||||
if(!from->hasSameRules(*to)) {
|
||||
errln("different at %i\n", i);
|
||||
}
|
||||
if(!quick && isICUVersionAtLeast(ICU_37)) {
|
||||
if(!quick && isICUVersionAtLeast(ICU_39)) {
|
||||
errln("This test needs to be fixed. This test fails in exhaustive mode because we need to implement generic timezones.\n");
|
||||
for(loc = 0; loc < noLoc; loc++) {
|
||||
const char* locale = uloc_getAvailable(loc);
|
||||
|
@ -74,11 +74,11 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\..\bin\icutu37.dll"
|
||||
OutputFile="..\..\..\bin\icutu38.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
AdditionalLibraryDirectories="..\..\..\lib"
|
||||
ProgramDatabaseFile=".\..\..\..\lib\icutu37.pdb"
|
||||
ProgramDatabaseFile=".\..\..\..\lib\icutu38.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="1"
|
||||
@ -172,12 +172,12 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="..\..\..\bin\icutu37d.dll"
|
||||
OutputFile="..\..\..\bin\icutu38d.dll"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
AdditionalLibraryDirectories="..\..\..\lib"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\..\..\..\lib\icutu37d.pdb"
|
||||
ProgramDatabaseFile=".\..\..\..\lib\icutu38d.pdb"
|
||||
BaseAddress="0x4ac00000"
|
||||
ImportLibrary="..\..\..\lib\icutud.lib"
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user