Commit Graph

472 Commits

Author SHA1 Message Date
Mark Davis
d56fad92d0 ICU-8522 Now using the new special labels, tests passing.
X-SVN-Rev: 30325
2011-07-13 04:12:10 +00:00
John Emmons
9ca075df31 ICU-8696 Merge CLDR 2.0.1
X-SVN-Rev: 30317
2011-07-12 20:00:25 +00:00
Peter Edberg
3803ce751d ICU-8583 J, Only parse arbitrary currency for calls that can return the found currency (e.g. parseCurrency)
X-SVN-Rev: 30315
2011-07-12 06:58:44 +00:00
Yoshito Umaoka
231a784d6c ICU-8596 Fixed the actual maximum week problem.
X-SVN-Rev: 30275
2011-07-05 22:41:45 +00:00
Markus Scherer
ab842070fd ICU-8676 remove the range check and Exception throwing from getCombiningClass()
X-SVN-Rev: 30270
2011-07-01 22:39:23 +00:00
Andy Heninger
a57589b70d ICU-8677 code cleanup
X-SVN-Rev: 30269
2011-07-01 22:31:44 +00:00
Markus Scherer
3044b39615 ICU-8615 implement optional IDNA2008 CONTEXTO check in UTS46
X-SVN-Rev: 30267
2011-07-01 22:17:53 +00:00
Andy Heninger
c997b7a1f9 ICU-8634 Add a little testing for spoof checkers built from source rules.
X-SVN-Rev: 30265
2011-07-01 05:42:23 +00:00
Markus Scherer
e95274d0a4 ICU-8606 add Normalizer2.getCombiningClass(c)
X-SVN-Rev: 30261
2011-06-30 22:07:22 +00:00
Michael Ow
cfe479cd47 ICU-8515 Add getMaxBytesForString to CharsetEncoderICU
X-SVN-Rev: 30237
2011-06-27 17:03:06 +00:00
Yoshito Umaoka
346a693268 ICU-8624 Updated the test case in the previous change to show the current case first mode in the error message.
X-SVN-Rev: 30221
2011-06-20 17:19:35 +00:00
Yoshito Umaoka
53aae67b42 ICU-8624 Fixed a collation key copression problem. A tertiary key value was incorrect with a long string when case first option is enabled.
X-SVN-Rev: 30219
2011-06-20 14:39:30 +00:00
Michael Ow
a2ff52af8e ICU-8636 Update ICU4J data to 49.0.1
X-SVN-Rev: 30217
2011-06-14 04:39:47 +00:00
Yoshito Umaoka
7f68601ad9 ICU-8636 Updated the version to 49.0.1 (49M1) except data path (requiring C update).
X-SVN-Rev: 30215
2011-06-13 20:45:44 +00:00
Yoshito Umaoka
9acc678a3a ICU-8642 Reverting the previous change that was a mis-commit.
X-SVN-Rev: 30212
2011-06-13 19:39:28 +00:00
Yoshito Umaoka
7726aff490 ICU-8642 Add the API signature data file generated by release-4-8 into the trunk.
X-SVN-Rev: 30211
2011-06-13 19:22:06 +00:00
Yoshito Umaoka
a1cf9f19a5 ICU-8641 Added the serialization compatibility test data created by ICU4J 4.8. Added a build target serialTestData to invoke the code creating the serialization test data in build.xml
X-SVN-Rev: 30210
2011-06-13 19:13:24 +00:00
Yoshito Umaoka
caa4327cd2 ICU-8640 Adding ICU4.6 serialization test data.
X-SVN-Rev: 30208
2011-06-13 17:05:20 +00:00
Dragan Besevic
b22717a642 ICU-8484 fix the problem with infinite loop with surrogates for collation
X-SVN-Rev: 30184
2011-06-02 19:56:42 +00:00
Michael Ow
7078702c9f ICU-8569 Terminate the UTF-7 byte buffer with MINUS when flushing
X-SVN-Rev: 30176
2011-06-01 16:26:45 +00:00
Michael Ow
7225bff0c5 ICU-8549 UTF-7 error consumption fix to ICU4J
X-SVN-Rev: 30152
2011-05-27 17:08:14 +00:00
Yoshito Umaoka
2de18c1d21 ICU-8589 TestTimeZoneDisplayName test date parser to force GMT to be used.
X-SVN-Rev: 30150
2011-05-26 21:04:36 +00:00
Yoshito Umaoka
356c5f4528 ICU-8589 Corrected the condition for using country display name in a time zone partial location name.
X-SVN-Rev: 30147
2011-05-26 19:42:16 +00:00
Steven R. Loomis
94526646de ICU-8577 J test for collator weight bug
X-SVN-Rev: 30126
2011-05-16 23:13:43 +00:00
John Emmons
7fd95e4fb3 ICU-8556 Merge CLDR release-2-0-d02 data
X-SVN-Rev: 30102
2011-05-12 02:21:04 +00:00
Yoshito Umaoka
0290110513 ICU-8557 Skipping a couple of spoof checker test cases on IBM Java 5 because of UTF-8 converter bug in the version.
X-SVN-Rev: 30090
2011-05-11 02:11:17 +00:00
Markus Scherer
874fc97fdf ICU-8555 add nine new ISO 15924 script codes from 2010-12-21
X-SVN-Rev: 30086
2011-05-10 20:57:26 +00:00
Stuart Gill
256fbc6f64 ICU-8295 changes based on code review
X-SVN-Rev: 30076
2011-05-10 00:14:12 +00:00
Andy Heninger
44d6182048 ICU-8542 Line endings and svn property cleanup of ICU4J
X-SVN-Rev: 30067
2011-05-09 21:34:09 +00:00
John Emmons
e833477ed6 ICU-7427 Add testcase to cover leap year incrementing
X-SVN-Rev: 30064
2011-05-09 17:15:27 +00:00
Michael Ow
2e86fffaca ICU-8006 Update isFixedWidth implementation in ICU4J
X-SVN-Rev: 30053
2011-05-06 21:30:49 +00:00
Yoshito Umaoka
94747c670f ICU-8429 Cleaned up import statements (all projects under main)
X-SVN-Rev: 30051
2011-05-06 21:17:48 +00:00
Yoshito Umaoka
63bb1c6e6f ICU-8429 Update ICU4J version to 4.8 / 4.8RC except data version.
X-SVN-Rev: 30047
2011-05-06 18:39:47 +00:00
John Emmons
62c42b499f ICU-8489 Merge CLDR release-2-0-d01 into ICU4J
X-SVN-Rev: 30039
2011-05-05 22:44:41 +00:00
Markus Scherer
4e76b946e4 ICU-7873 remove the range check and Exception throwing from hasBinaryProperty()
X-SVN-Rev: 29993
2011-05-03 21:16:48 +00:00
Yoshito Umaoka
49c4bc01ff ICU-8342 TimeZoneNames/TimeZoneFormat APIs as 4.8 technology preview. Also, including Output<T> (#8475), GMT zero format support, fallback region format support.
X-SVN-Rev: 29982
2011-05-03 13:36:47 +00:00
Mark Davis
8f19d6e019 ICU-8509 fixed warning message
X-SVN-Rev: 29962
2011-05-02 22:12:49 +00:00
Markus Scherer
b4bb28897d ICU-8095 make MessageFormat methods public: getArgumentNames() & getFormatByArgumentName()
X-SVN-Rev: 29917
2011-04-28 17:06:16 +00:00
Andy Heninger
781139c501 ICU-8368 rename SpoofChecker.check()
X-SVN-Rev: 29912
2011-04-28 00:17:33 +00:00
Markus Scherer
1f6e7fb0a6 ICU-8491 remove UCharacterProperty.isRuleWhiteSpace(c)
X-SVN-Rev: 29890
2011-04-26 00:13:48 +00:00
Markus Scherer
fb5332c296 ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu4j/branches/markus/msg48 -r 29385:29881
X-SVN-Rev: 29885
2011-04-25 20:13:39 +00:00
John Emmons
3060c3c83e ICU-8473 Updated territory containment APIs to use grouping parameter
X-SVN-Rev: 29874
2011-04-23 23:52:06 +00:00
Yoshito Umaoka
f2062a313f ICU-8366 Added ISO8601 calendar type support in ICU4J.
X-SVN-Rev: 29869
2011-04-23 16:36:08 +00:00
John Emmons
20112d92bd ICU-8093 Remove unnecessary import
X-SVN-Rev: 29835
2011-04-20 18:40:14 +00:00
Doug Felt
b6db2cf8d5 ICU-6408 rounding mode affects display of bigdecimal
X-SVN-Rev: 29797
2011-04-14 17:22:18 +00:00
John Emmons
495ca07b6f ICU-8465 Allow DecimalFormat to parse digits from supplemental planes correctly
X-SVN-Rev: 29795
2011-04-14 16:52:48 +00:00
Dragan Besevic
59eb689592 ICU-8093 Filter out non-tender currencies
X-SVN-Rev: 29774
2011-04-11 21:07:26 +00:00
John Emmons
86004a8f8b ICU-7913 Allow leading zeroes in strict parse in J per PMC agreement
X-SVN-Rev: 29772
2011-04-11 18:56:34 +00:00
Stuart Gill
68a2af94ca ICU-8243 make frozen collator be threadsafe, some javadoc changes, and tests
X-SVN-Rev: 29770
2011-04-11 17:39:44 +00:00
John Emmons
3a9736f2e8 ICU-8347 New Region class - territory containment APIs
X-SVN-Rev: 29769
2011-04-11 16:26:57 +00:00
John Emmons
f342885935 ICU-8093 Put time bomb into CurrencyTest to dodge problem created by data change on the C side of this ticket
X-SVN-Rev: 29767
2011-04-11 03:48:47 +00:00
Doug Felt
767a3d6371 ICU-8448 add list syntax to PluralRules for ICU4J
X-SVN-Rev: 29748
2011-04-06 21:13:08 +00:00
Peter Edberg
8d9eadb142 ICU-8407 Use a case-insensitive compare when matching the exponent symbol (J)
X-SVN-Rev: 29740
2011-04-05 19:03:53 +00:00
Stuart Gill
24eda0204f ICU-8243 collation freezing
X-SVN-Rev: 29698
2011-03-25 22:58:01 +00:00
Matitiahu Allouche
18cf8134b5 ICU-3660 add support for prologue and epilogue
X-SVN-Rev: 29687
2011-03-23 17:39:01 +00:00
Yoshito Umaoka
de15fc869d ICU-8399 Rmoved Currecny.getLocale()/setLocale() as planned (long time ago).
X-SVN-Rev: 29684
2011-03-22 17:38:46 +00:00
Stuart Gill
45dd32ab8a ICU-8295 API for collation reordering
X-SVN-Rev: 29672
2011-03-18 23:12:00 +00:00
Dragan Besevic
f65e57ac42 ICU-8419 Fixed the problem with months out of range in Indian Calendar
X-SVN-Rev: 29663
2011-03-17 19:47:47 +00:00
Michael Ow
ec73e56a76 ICU-8411 Remove non-ascii character from ICU4J source files.
X-SVN-Rev: 29660
2011-03-16 01:51:30 +00:00
Doug Felt
7c03ac10e6 ICU-8432 remove String.isEmpty so we remain jdk5 compatible
X-SVN-Rev: 29658
2011-03-15 20:37:59 +00:00
Doug Felt
fb13fe42b7 ICU-8432 add PluralFormat.getAllKeywordValues
X-SVN-Rev: 29655
2011-03-15 18:17:15 +00:00
Yoshito Umaoka
60be8c7f9e ICU-8424 Patched CLDR trunk data with necessary fixes. I locally modified %%Parent problem addressed in ticket#8425 and made sure all tests ran without errors. I'm going to generate CLDR trunk data after fixing LDML2ICUConverter and merge the output to ICU4C/J later, before 4.8M1.
X-SVN-Rev: 29639
2011-03-13 04:05:01 +00:00
Mark Davis
96899538da ICU-8416 fix the test by adding 'l'
X-SVN-Rev: 29604
2011-03-10 20:18:17 +00:00
Michael Ow
6e3e759345 ICU-3660 Revert 29597 until after 4.7.1
X-SVN-Rev: 29602
2011-03-10 18:29:18 +00:00
Matitiahu Allouche
6e87a6e7e7 ICU-3660 add support for prologue and epilogue
X-SVN-Rev: 29597
2011-03-10 13:11:01 +00:00
Michael Ow
1a76d74ec6 ICU-8006 Update isFixedWidth API doc in ICU4J
X-SVN-Rev: 29577
2011-03-09 04:35:57 +00:00
Yoshito Umaoka
8f2a1ed97c ICU-8210 Fixed compiler warnings and JavaDoc warnings.
X-SVN-Rev: 29544
2011-03-04 23:10:55 +00:00
Markus Scherer
1997f5bee2 ICU-8167 move string tries to public packages
X-SVN-Rev: 29527
2011-03-03 16:57:36 +00:00
Doug Felt
1eaa9583ea ICU-8317 generate fraction samples correctly, remove special case code in test
X-SVN-Rev: 29513
2011-03-02 21:31:24 +00:00
Doug Felt
968f5827c2 ICU-8317 remove unneeded imports from test
X-SVN-Rev: 29507
2011-03-02 01:31:22 +00:00
Doug Felt
ebd7c4dbd8 ICU-8317 change getSamples API slightly and make public, change impl, add test
X-SVN-Rev: 29506
2011-03-02 01:29:59 +00:00
Yoshito Umaoka
084688bd14 ICU-8278 Added another TimeZone.getAvailableIDs to support canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29499
2011-03-01 18:31:43 +00:00
Yoshito Umaoka
82e0351c46 ICU-8383 Fixed the locale field truncation problem in ULocale.forLocale(Locale).
X-SVN-Rev: 29495
2011-03-01 07:07:20 +00:00
Peter Edberg
6b7bfaa8cc ICU-8290 (1) in CollationElementIterator next/previous, add iteration when an
ignorable element is produced from Hangul expansion so it loops again to process
the first jamo from the expansion before returning; (2) in nextHangul/previousHangul,
test m_isJamoSpecial_ for the CE Iterator's collator, not the UCA collator (which
alays has it false, so we never got jamo tailoring); set up m_bufferOffset_ for the
Hangul expansion so we get correct offsets for it.

X-SVN-Rev: 29494
2011-03-01 06:21:34 +00:00
Andy Heninger
0e2bf7da98 ICU-8341 Spoof check normalizes to NFD, not NFKD.
X-SVN-Rev: 29476
2011-02-24 23:58:35 +00:00
Michael Ow
d0670255e8 ICU-8006 Add new API for CharsetDecoderICU and CharsetEncoderICU
X-SVN-Rev: 29474
2011-02-24 20:58:37 +00:00
Andy Heninger
d6d16cf2e3 ICU-8367 spoof check, treat CJK as a single script.
X-SVN-Rev: 29471
2011-02-24 00:16:24 +00:00
Doug Felt
807b2b4367 ICU-8307 fix glaring bug, add test just to be thorough
X-SVN-Rev: 29464
2011-02-23 20:16:06 +00:00
Yoshito Umaoka
80237b4a8c ICU-8346 ICU4J TimeZone.getTimeZone to return Etc/Unknown when the given ID is unknown/unparsable. Also added the constant UNKNOWN_ZONE_ID.
X-SVN-Rev: 29461
2011-02-19 06:02:15 +00:00
Doug Felt
449ad53d7c ICU-8158 change implementation, add some tests, make serialization compatible with previous
X-SVN-Rev: 29457
2011-02-18 01:42:10 +00:00
Yoshito Umaoka
9750ceb7f2 ICU-8279 TimeZone API - getRegion
X-SVN-Rev: 29456
2011-02-17 22:37:52 +00:00
Doug Felt
c9bcfd3177 ICU-8158 add plural rules support for getting unique keyword value
X-SVN-Rev: 29447
2011-02-16 19:43:24 +00:00
John Emmons
9e2ef1c35b ICU-8031 Support for parent locales
X-SVN-Rev: 29444
2011-02-16 13:52:02 +00:00
Peter Edberg
3497b51daf ICU-8330 Add ICU4J test for handling of 'S' (fractional seconds) in skeleton
X-SVN-Rev: 29422
2011-02-10 05:06:13 +00:00
Yoshito Umaoka
66f9f5a1d2 ICU-8303 Do not add language und in toLanguageTag() when a locale has only private use.
X-SVN-Rev: 29391
2011-02-03 16:41:06 +00:00
Stuart Gill
ff2821ca77 ICU-8284 fix for root locale with modifier falling back to platform default
X-SVN-Rev: 29366
2011-01-27 21:09:03 +00:00
Stuart Gill
ff9448fe98 ICU-8277 change interpretation of Zzzz in the collation reordering codes
X-SVN-Rev: 29365
2011-01-27 20:56:28 +00:00
Mark Davis
c1ceb846a6 ICU-8167 minor formatting
X-SVN-Rev: 29361
2011-01-25 19:44:06 +00:00
Mark Davis
a2e6470823 ICU-8167 Refined the timing a bit.
X-SVN-Rev: 29360
2011-01-25 17:53:00 +00:00
Mark Davis
d2ef184687 ICU-8167 minor fix to message
X-SVN-Rev: 29355
2011-01-25 00:10:55 +00:00
Mark Davis
cb56b43cf3 ICU-8167 Revised the timing to have a warmup and bound by time. More should be done, but that can wait.
X-SVN-Rev: 29354
2011-01-24 22:53:46 +00:00
Markus Scherer
fe2355b1a1 ICU-8167 CharsTrieBuilder: change buildCharBuffer() to buildCharSequence(); and test fixes
X-SVN-Rev: 29342
2011-01-20 05:04:29 +00:00
Mark Davis
5bbf7c685b ICU-8167 check exhaustive mode
X-SVN-Rev: 29340
2011-01-20 01:55:51 +00:00
Markus Scherer
4a71f08a6f ICU-8167 CharsTrie and builder improvements parallel with BytesTrie
X-SVN-Rev: 29339
2011-01-20 01:18:26 +00:00
Yoshito Umaoka
c711b870c8 ICU-8057 Skip validating fields internally set by add method in non-leninent mode.
X-SVN-Rev: 29337
2011-01-19 22:40:25 +00:00
Mark Davis
11fadaf5c4 ICU-8167 added hash to test, strings not in map.
X-SVN-Rev: 29336
2011-01-19 22:31:27 +00:00
Markus Scherer
6ccba41d20 ICU-8167 BytesTrie.next(int) handles negative byte values, and the builder does not share the byte array across clear()
X-SVN-Rev: 29335
2011-01-19 22:05:28 +00:00
Mark Davis
29cab18119 ICU-8167 small updates, fixed "" case
X-SVN-Rev: 29334
2011-01-19 19:18:12 +00:00
John Emmons
d0a2188c95 ICU-7755 Data changes to support removal of hard fallbacks to Gregorian calendar
X-SVN-Rev: 29325
2011-01-17 17:20:52 +00:00
Mark Davis
cab45fcd2a ICU-8167 added tests for CharsTrie, separated out FAST and SMALL.
X-SVN-Rev: 29322
2011-01-17 07:35:20 +00:00