Age | Commit message (Collapse) | Author |
|
This change was introduced in Android by the ICU 53 upgrade:
https://android.googlesource.com/platform/external/icu/+/fceb398
Suppression of ICU4J test errors was added for ICU 55:
https://android.googlesource.com/platform/external/icu/+/7b913b1
(cherry picked from commit d9fc98087b091be81a9a50fbff9c0e22855d8dac)
Updated from upstream some "avail" flags for commented-out cases
Test: n/a
Change-Id: I043dc5e35aa2a75175dce2e497a9d9b30c4c0c6a
|
|
This change was introduced in Android by the ICU 54.1 upgrade:
https://android.googlesource.com/platform/external/icu/+/f9878a2
Changing ICU4J test errors into warnings was introduced for ICU 55:
https://android.googlesource.com/platform/external/icu/+/0543b35
Changing ICU4C test errors into log messages is new for ICU 57.
https://android.googlesource.com/platform/external/icu/+/805390a
In ICU 64 build system has changed, migrating from Makefile to
python script when performing various data transformations, so that patch now
patches BUILDRULES.py and adds '--omitCollationRules' option there.
Test: n/a
Change-Id: I8d11e2a3949f69637624985dca9e3765e83d1541
|
|
libcore bridge
Add Calendar.getDateTimeFormatString needed by java.time.
It tends to expose functionality that most end user code
will not need, but allows access to ICU internal data or functionality
that should be shared between ICU and java.time.
- Add method to Calendar to get localized pattern string.
This change was introduced in Android for the O release:
https://android.googlesource.com/platform/external/icu/+/22b47ef
It was then amended to remove DateFormatSymbols(ULocale, String)
constructor in ICU 69, because no one is using it.
https://r.android.com/q/I1d65bca1c301b5e13e265062c9eeab1196edb516
The implementation of Calendar.getDateTimeFormatString() is updated
to match the new upstream internal changes.
https://r.android.com/2292158
Test: n/a
Change-Id: I346e2212d7a3340a0070aa1d39092419c039a87e
|
|
Copy the files with the following commands:
find icu4j/ -type f,d ! -regex ".*/\(Android.mk\|Android.bp\|adjust_icudt_path.mk\|liblayout-jarjar-rules.txt\|.gitignore\|AndroidTest.xml\)" -delete
find icu4c/ -type f,d ! -regex ".*/\(Android.mk\|Android.bp\|.gitignore\|AndroidTest.xml\)" -delete
cp -r ${UPSTREAM_ICU_GIT}/icu4j .
cp -r ${UPSTREAM_ICU_GIT}/icu4c .
git checkout HEAD -- icu4c/.gitignore icu4j/.gitignore
rm -r tools/cldr
cp -r ${UPSTREAM_ICU_GIT}/tools/cldr tools/cldr
Change-Id: Ib4cc472068aca595503f67147f2aa968cb2b14c1
|
|
Upstream commmit: https://github.com/unicode-org/icu/commit/05dc2ac924a0acd3f9a7ca65e8a6078f8f62d299
brkitr/ko.txt is created to use line_*_.cj.txt for both
lw=phrase and lw != phrase cases for Korean. This is the simplest
way to fix ICU-22119 taking advantage of the fact that ICU
does not have a Korean dictionary so we don't have to worry about
adding the list of Korean particles to keep them attached to the
preceeding word.
The downside is that it only works when the locale is ko or ja while
it should work in any locale. Another is it makes ICU deviate from
CSS3 by using the same CJ (conditonal Japanese) rules for Korean as
well. However, CSS3 spec is wrong on that point and should be changed.
See https://unicode-org.atlassian.net/browse/CLDR-4931 .
(cherry picked from commit 05dc2ac924a0acd3f9a7ca65e8a6078f8f62d299)
Bug: 244777768
Test: CtsIcuTestCases
Test: CtsIcu4cTestCases
Change-Id: Ic61256f4f30c2f1c2a5dab19384bbe726f3e8bd4
|
|
Bug: 246410688
Test: CtsIcuTestCases
Test: CtsIcu4cTestCases
Change-Id: Iaaab7bcde6ac50f7a0351590c314ea8fbca9d26f
|
|
Also, added test
Bug: 246410688
Test: CtsIcuTestCases
Test: CtsIcu4cTestCases
Change-Id: I0043ad2c817fb26ddc8820857ffa00a8177ade4b
|
|
This change is associated with tzdb 2022f changes in system/timezone.
testdata.jar change is due to MANIFEST: it was changed from
"Created-By: 17.0.2 (N/A)" to "Created-By: 17.0.4.1 (N/A)".
Bug: 256576558
Test: see system/timezone
(cherry picked from commit 8316af5e844a69e8beb484e2b9be1707e357f28b)
Change-Id: If01c64d6c5708e32b98330663d915db1bf92c571
Merged-In: If01c64d6c5708e32b98330663d915db1bf92c571
|
|
|
|
This commit is part of a large scale change to fix errorprone
errors that have been downgraded to warnings in the android
source tree, so that they can be promoted to errors again.
The full list of changes include the following, but not all
will be present in any one individual commit:
BadAnnotationImplementation
BadShiftAmount
BanJNDI
BoxedPrimitiveEquality
ComparableType
ComplexBooleanConstant
CollectionToArraySafeParameter
ConditionalExpressionNumericPromotion
DangerousLiteralNull
DoubleBraceInitialization
DurationFrom
DurationTemporalUnit
EmptyTopLevelDeclaration
EqualsNull
EqualsReference
FormatString
FromTemporalAccessor
GetClassOnAnnotation
GetClassOnClass
HashtableContains
IdentityBinaryExpression
IdentityHashMapBoxing
InstantTemporalUnit
InvalidTimeZoneID
InvalidZoneId
IsInstanceIncompatibleType
JUnitParameterMethodNotFound
LockOnBoxedPrimitive
MathRoundIntLong
MislabeledAndroidString
MisusedDayOfYear
MissingSuperCall
MisusedWeekYear
ModifyingCollectionWithItself
NoCanIgnoreReturnValueOnClasses
NonRuntimeAnnotation
NullableOnContainingClass
NullTernary
OverridesJavaxInjectableMethod
ParcelableCreator
PeriodFrom
PreconditionsInvalidPlaceholder
ProtoBuilderReturnValueIgnored
ProtoFieldNullComparison
RandomModInteger
RectIntersectReturnValueIgnored
ReturnValueIgnored
SelfAssignment
SelfComparison
SelfEquals
SizeGreaterThanOrEqualsZero
StringBuilderInitWithChar
TreeToString
TryFailThrowable
UnnecessaryCheckNotNull
UnusedCollectionModifiedInPlace
XorPower
See https://errorprone.info/bugpatterns for more
information on the checks.
Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: Ic06ab4c606b06331a72372425cb94415e93f138a
|
|
This change is associated with tzdb 2022d changes in system/timezone.
testdata.jar change is not due to time zone updates, but due to
tooling changes: OpenJDK 17 was used in this update hence MANIFEST
changed from:
"Created-By: 11.0.15 (Oracle Corporation)"
to
"Created-By: 17.0.2 (N/A)"
ICU-22178 Update ICU tzdata to 2022e
Bug: 251793102
Test: see system/timezone
(cherry picked from commit 1e9845fac6fc3e4ba43039788ca41c97b11f9846)
Change-Id: I770c3ad0677a37b05d0b1c9fe7a2e8c968a5d98f
Merged-In: I770c3ad0677a37b05d0b1c9fe7a2e8c968a5d98f
|
|
|
|
This change is associated with tzdb 2022a changes in system/timezone.
In 2022a2 ICU/CLDR were not updated, so there are more commits than
usually.
More alike-since-1970 time zones were merged, so there might be app
compat issues. ICU APIs like TimeZone::getCanonicalID might return
different answer after this update. See TimeZoneTest for the list of
affected time zones.
ICU-22118 tzdata2022b updates in icu code
ICU-22151 Update timezone-region supplementation mapping data for Jan Mayen and some others
ICU-22165 Update ICU tzdata to 2022d
Bug: 247050718
(cherry picked from commit 27d579c69041bfcf6e137a963f9fc15d3f688d80)
(cherry picked from commit 5e3cee90d9dea758cdc7d2943995da7b6a285cac)
(cherry picked from commit ef45c767550c48b44086c58dd59fc706ac94fb31)
Test: see system/timezone CL
Change-Id: I9883795d99700e8c2b9d8ec24f2dd7260be7e1f0
Merged-In: I9883795d99700e8c2b9d8ec24f2dd7260be7e1f0
|
|
It's similiar to https://r.android.com/1924418, but this change was
lost after ICU 71 upgrade.
Bug: 250538979
Test: tools/updateicudata.py
Change-Id: I6315c5d5fb5e4a923825776855b00bde79b29e3e
|
|
Test: mma in /external/robolectric
Bug: 244627502
Change-Id: I5c1275f73120ace4b5ce4e34a20c3c407217cc2f
|
|
The ArrayEquals, ArrayHashCode, ArrayToString, and
ArraysAsListPrimitiveArray errorprone findings were
demoted from errors to warnings. Fix existing
occurrences of them so they can be made errors again.
Bug: 242630963
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: I7a27f679ddf9734d6a13b2f9d14c04fd6be8e04c
|
|
This change is associated with TZDB 2022a rev. 2 changes in
system/timezone.
Bug: 233032914
Test: see tests in system/timezone
Change-Id: I379545abe20b9f68b7bfe01a4e75f427e40ecf26
|
|
Bug: 197815029
Change-Id: Ic6ea998d188c92d4a4806fbe2f3d9fa749011b1a
Test: Manual
|
|
of ICU 71
Upstream commit: https://github.com/unicode-org/icu/commit/bdcec144b9f627c8f96261a6afeebb52e4d81ab0#
Upstream bug: https://unicode-org.atlassian.net/browse/ICU-22012
Bug: 232473401
Test: atest CtsIcu4cTestCases
Change-Id: I170b0917f70d3812568b92adbc2fff5b3450325c
|
|
Bug: 236431222
Test: Presubmits
Change-Id: I4f7406917da6300ac77c9ca091d49d04b821f626
|
|
|
|
Bug: 148144561
Test: see system/timezone
Change-Id: I8d8efd705b03f3ec185530ee9dcc9127b41278c9
Merged-In: I8d8efd705b03f3ec185530ee9dcc9127b41278c9
|
|
Data files updated using:
system/timezone/update-tzdata.py
Test: n/a
Change-Id: Iedb8c9061fce3e701c6255f3593f754ccc7d60a6
|
|
Binary data files updated using:
tools/updateicudata.py
Test: n/a
Change-Id: I6970d16c2a46bb4102b9e2954edb749aaff3050e
|
|
Source data files updated using:
tools/updatecldrdata.py
Test: n/a
Change-Id: I4ebef8cb7fe41e0e710ce347078881f054236241
|
|
Upstream commit: https://github.com/unicode-org/icu/commit/ae3f2ae7ca12ca316827b6973f7360bf3044f1e2
ICU 70 made UnicodeSetIterator final. However, it breaks the ABI
stability on Android. Thus, we revert the change on Android.
Bug: 202948901
Test: m droid
Change-Id: Ic90eec6a98614b87ec5c7c6df9ec0792cdcec07a
|
|
Context: https://unicode-org.atlassian.net/browse/ICU-21655
ICU 70 widened the 5 UCharacter methods from char to int and
removed the char version. Android has to be ABI stable
and keep existing Android app working without re-compilation.
Thus, we add the methods back as an Android patch.
Bug: 202948901
Test: m droid
Change-Id: I121679f7188e6b2f143b26546c00b32be21c1243
|
|
DateTimePatternGenerator#getBestPattern
Bug: 184018008
Change-Id: Ib83cff95638d5a8f0f02067f7a012c38be3ea08d
|
|
The original patch can be found at
https://r.android.com/1458480
A skeleton, e.g. "jmma", is mapped into "ahmma" internally
by #mapSkeletonMetacharacters, and thus the internal skeleton
has duplicated fields "a".
This is a regression when we moved the implementation of
android.text.format.DateFormat#getBestPattern() from
udatpg_getBestPattern in ICU4C to ICU4j DateTimePatternGenerator
in the CL https://r.android.com/1355735.
The expected pattern generated from skeleton of "jmma" is
"h:mm a".
Bug: 170233598
Change-Id: Ie30823c94c23c803e720fcf27fdc9e090f081b09
|
|
libcore.icu.LocaleData
The original patch can be found:
https://r.android.com/1250480
Bug: 138994281
Test: m droid
Change-Id: Idca99bc73d29ebd77a08397ba78b81ff7e6fd139
|
|
android.icu.impl.ICUBinary.dataPath property
This CL alone does not remove the property yet, because it provides
the replacement to set ICU4J data directories. The prebuilts and
libcore need to be updated to remove the property.
Pros:
1. The data directories are currently visible to app, but it's not
intended, because the data files and file format are the internal
implementation details.
2. having a recursive dependency between the ART module and the I18N
module can be avoided, and the relationship simplified, by no longer
relying on system properties to initialize ICU4J. Otherwise,
ART modules needs to ask the I18N module where the files are,
so it can set a system property, which tells the I18N module how
to initialize.
Instead, lazily generate the list of data directories when
ICUBinary class is initialized.
3. Can remove the @IntraCoreApi TimeZoneDataFiles.generateIcuDataPath()
in the CL after the ART prebuilts is updated.
Cons:
1. Maintain a large patch in ICU4J.
Note:
- TimeZoneDataFiles is removed from timezone-host target because
it's not used, and avoid new dependency on AndroidDataFiles.
The original CL was introduced in Android S:
https://r.android.com/1481478
The CL title was amended in ICU 69 upgrade.
Bug: 171979766
Bug: 139480281
Test: ant core (using the upstream icu4j build system)
Test: ./updatecldrdata.py
Test: m droid cts
Test: CtsIcuTestCases
Change-Id: If128aec883b7efb157632d64b48aa0c7c2570b9e
|
|
Resource alias wasn't handled correctly in the old implementation
in DateTimeTextProvider, for example, the wide standalone quarter
for Q1 in the locale *agq* should be localized to "kɨbâ kɨ 1",
instead of "Q1" provided by the ROOT resources.
And it replaces the ICUResourceBundle usage with the new APIs,
because ICUResourceBundle should not exposed as @IntraCoreApi.
Bug: 139480281
Bug: 170717042
Test: ExtendedDateFormatSymbolsTest
Test: atest CtsLibcoreOjTestCases
Change-Id: I7d5de0a4cc5bf822ce53a41c295330fa72007f02
|
|
libcore bridge
The patch was modified in ICU 70 to increase the index.
The patch for ICU 69 can be found at https://r.android.com/c/1802386/1
Bug: 144560585
Test: m droid
Change-Id: I926b5e155b3ce951a7554d0ebde760715df3d85a
|
|
Cherry-picked from http://r.android.com/954859
Test: n/a
Change-Id: If2d05aca064a652957c5b6b5a9528547a6d914ff
|
|
This is a temporary workaround until the issue has been fixed upstream:
https://unicode-org.atlassian.net/browse/ICU-13295
This change was introduced in Android for ICU 59:
https://android.googlesource.com/platform/external/icu/+/6f91254
https://android.googlesource.com/platform/external/icu/+/a765635
https://android.googlesource.com/platform/external/icu/+/c98207c
(cherry picked from commit 9b607c4e580bebd23ad9c2873227c5de7afc5279)
Test: n/a
Change-Id: I531609fbac7ed92d4efd0b1144224be22769e34d
|
|
This change was introduced in Android by this patch:
https://android.googlesource.com/platform/external/icu/+/b844b3e
And then amended by the ICU 52 upgrade:
https://android.googlesource.com/platform/external/icu/+/59d709d
And then amended for ICU 55:
https://android.googlesource.com/platform/external/icu/+/fafa8ad
And then amended for ICU 58:
https://android.googlesource.com/platform/external/icu/+/047edd2
And then amended for ICU 64, updating test expectaiotns for
DateIntervalFormatTest and removing obsolete th_TH_TRADIOTIONAL locale
from IBMCalendarTest since it is now equivalent to th_TH.
Amended in ICU 69 by adding a new patch on ICU4C tests from Android S:
https://r.android.com/1640799
Amended in ICU 70 to update the formatted string in dtfmtst.cpp
The patch in ICU 69 can be found at https://r.android.com/1802266
Test: n/a
Change-Id: Ib3c25e0d443ea2ad5d06eeb91c0f9d0a0261b792
|
|
In ICU 68, icu4c/source/data/icu-config.xml is removed.
This CL adds pseudo locales used in some tests and excludes them from
com.ibm.icu.dev.test.format.DateTimeGeneratorTest#testJjMapping because
they are not real locales.
https://android.googlesource.com/platform/external/icu/+/338b5d35fdb86a9c4cb0ed59a67416693a0fe1e4
Test: n/a
Change-Id: Ide8fb0413f28d5da03ae27a1ccf7ec8e8bcc1175
|
|
This change was introduced in Android by the ICU51.1 upgrade:
https://android.googlesource.com/platform/external/icu/+/8393335
And then amended for ICU 57:
https://android.googlesource.com/platform/external/icu/+/7dbcff1
And then amended for ICU 68:
Amend the test data in cloctst.c
These changes have been proposed, but not yet made, to CLDR:
https://unicode.org/cldr/trac/ticket/2698
Test: n/a
Change-Id: Ibbde334ce7d79d3285b4546a048957794032bd96
|
|
Suppression of ICU4C test failures was added by the ICU 51 upgrade:
https://android.googlesource.com/platform/external/icu/+/8393335
Suppression of ICU4J test failures was added for ICU 55:
https://android.googlesource.com/platform/external/icu/+/3db47ed
It was then partially reverted for the O release:
https://android.googlesource.com/platform/external/icu/+/b48a108
(cherry picked from commit 630aab079a3a1393e8535367ec7ec86822646437)
Test: n/a
Change-Id: I472189b196fa1baedb7b05893c9d92618290b3b5
|
|
This change was introduced in Android by the ICU 53 upgrade:
https://android.googlesource.com/platform/external/icu/+/fceb398
Suppression of ICU4J test errors was added for ICU 55:
https://android.googlesource.com/platform/external/icu/+/7b913b1
(cherry picked from commit d9fc98087b091be81a9a50fbff9c0e22855d8dac)
Updated from upstream some "avail" flags for commented-out cases
Test: n/a
Change-Id: I043dc5e35aa2a75175dce2e497a9d9b30c4c0c6a
|
|
This change was introduced in Android by the ICU 54.1 upgrade:
https://android.googlesource.com/platform/external/icu/+/f9878a2
Changing ICU4J test errors into warnings was introduced for ICU 55:
https://android.googlesource.com/platform/external/icu/+/0543b35
Changing ICU4C test errors into log messages is new for ICU 57.
https://android.googlesource.com/platform/external/icu/+/805390a
In ICU 64 build system has changed, migrating from Makefile to
python script when performing various data transformations, so that patch now
patches BUILDRULES.py and adds '--omitCollationRules' option there.
Test: n/a
Change-Id: I8d11e2a3949f69637624985dca9e3765e83d1541
|
|
libcore bridge
Add Calendar.getDateTimeFormatString needed by java.time.
It tends to expose functionality that most end user code
will not need, but allows access to ICU internal data or functionality
that should be shared between ICU and java.time.
- Add method to Calendar to get localized pattern string.
This change was introduced in Android for the O release:
https://android.googlesource.com/platform/external/icu/+/22b47ef
It was then amended to remove DateFormatSymbols(ULocale, String)
constructor in ICU 69, because no one is using it.
https://r.android.com/q/I1d65bca1c301b5e13e265062c9eeab1196edb516
Test: n/a
Change-Id: I346e2212d7a3340a0070aa1d39092419c039a87e
|
|
Copy the files with the following commands:
find icu4j/ -type f,d ! -regex ".*/\(Android.mk\|Android.bp\|adjust_icudt_path.mk\|liblayout-jarjar-rules.txt\|.gitignore\|AndroidTest.xml\)" -delete
find icu4c/ -type f,d ! -regex ".*/\(Android.mk\|Android.bp\|.gitignore\|AndroidTest.xml\)" -delete
cp -r ${UPSTREAM_ICU_GIT}/icu4j .
cp -r ${UPSTREAM_ICU_GIT}/icu4c .
git checkout HEAD -- icu4c/.gitignore icu4j/.gitignore
rm -r tools/cldr
cp -r ${UPSTREAM_ICU_GIT}/tools/cldr tools/cldr
Test: n/a
Change-Id: I0b5ecebfc9cc06e8c2d7a5e975f4d97fb6051081
|
|
Upstream commit: https://github.com/unicode-org/icu/commit/bdcec144b9f627c8f96261a6afeebb52e4d81ab0#
Upstream bug: https://unicode-org.atlassian.net/browse/ICU-22012
Bug: 232473401
Test: atest CtsIcu4cTestCases
Change-Id: I664e211932c1914a68abc8e8dbd857724843d8a8
|
|
a6bfa8bc73
Original change: https://android-review.googlesource.com/c/platform/external/icu/+/2063829
Change-Id: Ifaf4c40a483a1798796aa22b1921cc6ca56482b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/icu/+/2063829
Change-Id: Idf042a20075936973eb03d96b754a7391ee57eff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Test is part of CTS, so it should pass both on old builds (with 2021a3
and old tzdata) and 2022a. To achieve that subset of excluded2 list
needs to be commented out and non-obvious exemption list needs to be
introduced to check some common part of 2022a and 2021a3.
Bug: 228944103
Bug: 228807416
Test: atest CtsIcuTestCases:TimeZoneTest on ToT and ab/7679548 build
Change-Id: I5bb2fe5088725fa209177c7c87d01bc134866083
|
|
This change is associated with tzdb 2022a changes in system/timezone.
In this update we include controversial pre-1970 time zone merges [1].
This updates time zone canonicalization rules and adds more
cross-country ones, so there might be app compat issues.
[1] https://github.com/eggert/tz/commit/1edbb16e933a6ba6dceefd2bd7057b5ce00dd13c
Only test changes are kept, binary and text files left as they were.
Bug: 227178175
Test: see tests in system/timezone CL
Change-Id: Idc6a2daca06dbf0aba6069b39922470a573de62a
Merged-In: Idc6a2daca06dbf0aba6069b39922470a573de62a
|
|
This change is associated with tzdb 2022a changes in system/timezone.
In this update we include controversial pre-1970 time zone merges [1].
This updates time zone canonicalization rules and adds more
cross-country ones, so there might be app compat issues.
[1] https://github.com/eggert/tz/commit/1edbb16e933a6ba6dceefd2bd7057b5ce00dd13c
Fixed: 204533494
Bug: 210414123
Test: see tests in system/timezone CL
Change-Id: Idc6a2daca06dbf0aba6069b39922470a573de62a
|
|
|