mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-22922 Merge maint/maint-76 to main (#3258)
This commit is contained in:
commit
700c5e36a1
26 changed files with 82 additions and 58 deletions
33
KEYS
33
KEYS
|
@ -1312,3 +1312,36 @@ buAuLkKKI35T4Lz2U41GMVIMZ7drlhbfDGugk1qT1cXJPZbPnHt+uFNUY0pTJaf3
|
|||
WapxBp2/lKhgsIE=
|
||||
=ZWln
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
pub ed25519 2024-08-19 [SC] [expires: 2027-08-19]
|
||||
E52F07877A5805F9AF4AB0ACD46C5610D06E7001
|
||||
uid [ultimate] ICU Release Robot <icu-robot@unicode.org>
|
||||
sig 3 D46C5610D06E7001 2024-08-19 ICU Release Robot <icu-robot@unicode.org>
|
||||
sig 3 9B432B27D1BA20D7 2024-10-01 Fredrik Roubert <fredrik@roubert.name>
|
||||
sub cv25519 2024-08-19 [E] [expires: 2027-08-19]
|
||||
sig D46C5610D06E7001 2024-08-19 ICU Release Robot <icu-robot@unicode.org>
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mDMEZsO4fRYJKwYBBAHaRw8BAQdAcxaiyqFbaECpSz7mhsXzopzN9Cxwv80WlWGN
|
||||
gM3qpOi0KUlDVSBSZWxlYXNlIFJvYm90IDxpY3Utcm9ib3RAdW5pY29kZS5vcmc+
|
||||
iJkEExYKAEEWIQTlLweHelgF+a9KsKzUbFYQ0G5wAQUCZsO4fQIbAwUJBaOagAUL
|
||||
CQgHAgIiAgYVCgkICwIEFgIDAQIeBwIXgAAKCRDUbFYQ0G5wAQOWAQDs628TYI+F
|
||||
oTaJ1jzqC3ObL6we4tmrW7yHL1KFR5xrhwD/ZioLjdrIUQZhcjV9rNt7mYZm/Ttl
|
||||
hn06bx06eyjf0QyJAjMEEwEIAB0WIQT/qRKaGA12W3pb6hybQysn0bog1wUCZvwt
|
||||
VgAKCRCbQysn0bog11wED/0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6 +2020,7 @@ static const struct CurrencyList {
|
|||
{"ZRN", UCURR_COMMON|UCURR_DEPRECATED},
|
||||
{"ZRZ", UCURR_COMMON|UCURR_DEPRECATED},
|
||||
{"ZWD", UCURR_COMMON|UCURR_DEPRECATED},
|
||||
{"ZWG", UCURR_COMMON|UCURR_NON_DEPRECATED},
|
||||
{"ZWL", UCURR_COMMON|UCURR_DEPRECATED},
|
||||
{"ZWR", UCURR_COMMON|UCURR_DEPRECATED},
|
||||
{ nullptr, 0 } // Leave here to denote the end of the list.
|
||||
|
|
|
@ -1820,7 +1820,6 @@
|
|||
#define usnum_setMinimumIntegerDigits U_ICU_ENTRY_POINT_RENAME(usnum_setMinimumIntegerDigits)
|
||||
#define usnum_setSign U_ICU_ENTRY_POINT_RENAME(usnum_setSign)
|
||||
#define usnum_setToInt64 U_ICU_ENTRY_POINT_RENAME(usnum_setToInt64)
|
||||
#define usnum_truncateStart U_ICU_ENTRY_POINT_RENAME(usnum_truncateStart)
|
||||
#define usnumf_close U_ICU_ENTRY_POINT_RENAME(usnumf_close)
|
||||
#define usnumf_format U_ICU_ENTRY_POINT_RENAME(usnumf_format)
|
||||
#define usnumf_formatInt64 U_ICU_ENTRY_POINT_RENAME(usnumf_formatInt64)
|
||||
|
|
|
@ -116,6 +116,9 @@ static void TestEnumList(void) {
|
|||
|
||||
// CLDR 45 and ICU-22726
|
||||
expectInList("XCG", UCURR_ALL, true);
|
||||
|
||||
// CLDR 46 and ICU-22935
|
||||
expectInList("ZWG", UCURR_ALL, true);
|
||||
}
|
||||
|
||||
static void TestEnumListReset(void) {
|
||||
|
|
|
@ -3518,8 +3518,8 @@ LocaleTest::TestAddLikelyAndMinimizeSubtags() {
|
|||
"zh_TW"
|
||||
}, {
|
||||
"und_Hant_CN",
|
||||
"zh_Hant_CN",
|
||||
"zh_Hant_CN"
|
||||
"yue_Hant_CN",
|
||||
"yue_Hant_CN"
|
||||
}, {
|
||||
"und_Hant_TW",
|
||||
"zh_Hant_TW",
|
||||
|
@ -4139,10 +4139,6 @@ LocaleTest::TestAddLikelyAndMinimizeSubtags() {
|
|||
for (const auto& item : full_data) {
|
||||
const char* const org = item.from;
|
||||
const char* const exp = item.add;
|
||||
if (uprv_strcmp(org,"und_Hant_CN") == 0 &&
|
||||
logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
|
||||
continue;
|
||||
}
|
||||
Locale res(org);
|
||||
res.addLikelySubtags(status);
|
||||
status.errIfFailureAndReset("\"%s\"", org);
|
||||
|
@ -4156,10 +4152,6 @@ LocaleTest::TestAddLikelyAndMinimizeSubtags() {
|
|||
for (const auto& item : full_data) {
|
||||
const char* const org = item.from;
|
||||
const char* const exp = item.remove;
|
||||
if (uprv_strcmp(org,"und_Hant_CN") == 0 &&
|
||||
logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
|
||||
continue;
|
||||
}
|
||||
Locale res(org);
|
||||
res.minimizeSubtags(status);
|
||||
status.errIfFailureAndReset("\"%s\"", org);
|
||||
|
@ -5727,10 +5719,6 @@ void LocaleTest::TestIsRightToLeft() {
|
|||
assertTrue("ckb RTL", Locale("ckb").isRightToLeft(), false, true); // Sorani Kurdish
|
||||
assertFalse("fil LTR", Locale("fil").isRightToLeft());
|
||||
assertFalse("he-Zyxw LTR", Locale("he-Zyxw").isRightToLeft());
|
||||
|
||||
if (logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void LocaleTest::TestBug11421() {
|
||||
|
@ -5934,14 +5922,6 @@ testLikelySubtagsLineFn(void *context,
|
|||
*pErrorCode = U_ZERO_ERROR;
|
||||
return;
|
||||
}
|
||||
|
||||
if ( (uprv_strcmp(source.c_str(), "und-Latn-MU") == 0 || uprv_strcmp(source.c_str(), "und-Latn-RS") == 0 || uprv_strcmp(source.c_str(), "und-Latn-SL") == 0
|
||||
|| uprv_strcmp(source.c_str(), "und-Latn-TK") == 0 || uprv_strcmp(source.c_str(), "und-Latn-ZM") == 0 )
|
||||
&& THIS->logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Locale actualMax(l);
|
||||
actualMax.addLikelySubtags(*pErrorCode);
|
||||
|
|
12
icu4c/source/test/testdata/structLocale.txt
vendored
12
icu4c/source/test/testdata/structLocale.txt
vendored
|
@ -1545,6 +1545,10 @@ structLocale:table(nofallback){
|
|||
"",
|
||||
"",
|
||||
}
|
||||
ZWG{
|
||||
"",
|
||||
"",
|
||||
}
|
||||
ZWL{
|
||||
"",
|
||||
"",
|
||||
|
@ -4039,6 +4043,14 @@ structLocale:table(nofallback){
|
|||
many{""}
|
||||
other{""}
|
||||
}
|
||||
ZWG{
|
||||
zero{""}
|
||||
one{""}
|
||||
two{""}
|
||||
few{""}
|
||||
many{""}
|
||||
other{""}
|
||||
}
|
||||
ZWL{
|
||||
zero{""}
|
||||
one{""}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>demos</artifactId>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -3659,9 +3659,9 @@ public class ULocaleTest extends CoreTestFmwk {
|
|||
"zh_Hant_TW",
|
||||
"zh_TW"
|
||||
}, {
|
||||
"und_Hant_CN",
|
||||
"zh_Hant_CN",
|
||||
"zh_Hant_CN"
|
||||
"und_Hant_CN",
|
||||
"yue_Hant_CN",
|
||||
"yue_Hant_CN"
|
||||
}, {
|
||||
"und_Hant_TW",
|
||||
"zh_Hant_TW",
|
||||
|
@ -4174,10 +4174,6 @@ public class ULocaleTest extends CoreTestFmwk {
|
|||
};
|
||||
|
||||
for (int i = 0; i < full_data.length; i++) {
|
||||
if (full_data[i][0].equals("und_Hant_CN") &&
|
||||
logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
|
||||
continue;
|
||||
}
|
||||
ULocale org = new ULocale(full_data[i][0]);
|
||||
ULocale res = ULocale.addLikelySubtags(org);
|
||||
String exp = full_data[i][1];
|
||||
|
@ -5726,14 +5722,14 @@ public class ULocaleTest extends CoreTestFmwk {
|
|||
assertEquals("addLikelySubtags(" + test.source + ") should be unchanged",
|
||||
l, ULocale.addLikelySubtags(l));
|
||||
} else {
|
||||
if ( ( test.source.equals("und-Latn-MU") || test.source.equals("und-Latn-RS") || test.source.equals("und-Latn-SL")
|
||||
|| test.source.equals("und-Latn-TK") || test.source.equals("und-Latn-ZM") )
|
||||
&& logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags") ) {
|
||||
return;
|
||||
}
|
||||
assertEquals("addLikelySubtags(" + test.source + ")",
|
||||
test.addLikely, ULocale.addLikelySubtags(l).toLanguageTag());
|
||||
}
|
||||
if ( ( test.source.equals("und-Latn-MU") || test.source.equals("und-Latn-RS") || test.source.equals("und-Latn-SL")
|
||||
|| test.source.equals("und-Latn-TK") || test.source.equals("und-Latn-ZM") )
|
||||
&& logKnownIssue("CLDR-18002", "Incorrect Likely Subtags for some entries modified in CLDR 46") ) {
|
||||
return;
|
||||
}
|
||||
assertEquals("addLikelySubtags(" + test.source + ")",
|
||||
test.addLikely, ULocale.addLikelySubtags(l).toLanguageTag());
|
||||
}
|
||||
if (test.removeFavorRegion.equals("FAIL")) {
|
||||
assertEquals("minimizeSubtags(" + test.source + ") should be unchanged",
|
||||
l, ULocale.minimizeSubtags(l));
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>perf-tests</artifactId>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>${proj-title} (${project.artifactId})</name>
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
export MAVEN_ARGS='--no-transfer-progress'
|
||||
|
||||
# Version update!
|
||||
export artifact_version='76.1-SNAPSHOT'
|
||||
export github_rel_version='76rc'
|
||||
export artifact_version='76.1'
|
||||
export github_rel_version='76_1'
|
||||
export api_report_version='76'
|
||||
export api_report_prev_version='75'
|
||||
export out_dir=target
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>samples</artifactId>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<parent>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j-root</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
<dependency>
|
||||
<groupId>com.ibm.icu</groupId>
|
||||
<artifactId>icu4j</artifactId>
|
||||
<version>76.1-SNAPSHOT</version>
|
||||
<version>76.1</version>
|
||||
<!-- Note: see https://github.com/unicode-org/icu/packages/1954682/versions
|
||||
for the icu4j.version tag to use. In general we should just use the latest
|
||||
SNAPSHOT for the ICU version that we want, so this should only need updating
|
||||
|
|
Loading…
Add table
Reference in a new issue