Commit Graph

635 Commits

Author SHA1 Message Date
Michael Ow
844d3c5e1f ICU-8795 Remove suffix when CharsetMatch is creating a new string
X-SVN-Rev: 30648
2011-09-13 18:10:10 +00:00
Mark Davis
e3546c39d6 ICU-8807 Add internal changes for use in unicode tools. Adds internal API, but doesn't change behavior if that is not called.
X-SVN-Rev: 30638
2011-09-08 22:28:40 +00:00
Markus Scherer
49407c6a1e ICU-8806 fix MessageFormat plural # formatting: fix offset lookup
X-SVN-Rev: 30634
2011-09-07 23:02:21 +00:00
John Emmons
2abb6e6d3b ICU-8423 Use stand-alone form of script name if possible in getDisplayScript() APIs
X-SVN-Rev: 30621
2011-09-06 20:28:21 +00:00
Yoshito Umaoka
02375bb109 ICU-8630 Follow up fix - ULocale#setDefault(ULocale) to synchronize default Locale properly.
X-SVN-Rev: 30549
2011-08-19 20:44:12 +00:00
Markus Scherer
6a3384cfa2 ICU-8745 docs & comments from code review
X-SVN-Rev: 30533
2011-08-16 23:04:09 +00:00
Yoshito Umaoka
1487205b1a ICU-8766 Fixed a regression bug - wrong parse position with RFC822 time zone format.
X-SVN-Rev: 30514
2011-08-16 16:35:02 +00:00
Markus Scherer
69c0605df2 ICU-8745 merge MessagePatternUtil into trunk, from merge --reintegrate branches/markus/msgnodes from r30506
X-SVN-Rev: 30510
2011-08-15 21:09:39 +00:00
Yoshito Umaoka
2ae8b05602 ICU-8630 Category locale support for Java 7 conformance.
X-SVN-Rev: 30487
2011-08-11 19:53:36 +00:00
Yoshito Umaoka
09ac0d986b ICU-8518 Fixed a potential bug (toLowerCase, Calendar class name/type mismatch) in the DateFormatSymbols constructor taking a Calendar class as an argument.
X-SVN-Rev: 30439
2011-07-28 16:40:37 +00:00
Michael Ow
ddaa367fa9 ICU-8729 Fix source buffer's array offset handling error
X-SVN-Rev: 30420
2011-07-25 22:18:42 +00:00
Yoshito Umaoka
b9500da3b5 ICU-8710 One more Java compiler warning fix for ICU4J 4.8.1
X-SVN-Rev: 30359
2011-07-14 22:50:51 +00:00
Yoshito Umaoka
05a386320e ICU-8710 Fix Eclipse Java compiler warnings relevant to ICU4J 4.8.1
X-SVN-Rev: 30358
2011-07-14 22:35:58 +00:00
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
Mark Davis
6c1064bb42 ICU-8228 Minor tweaks after feedback from Markus
X-SVN-Rev: 29319
2011-01-15 23:24:26 +00:00
Mark Davis
0cce6961a6 ICU-8167 added another unit test for BytesTrie with more extensive example of usage
X-SVN-Rev: 29318
2011-01-15 23:20:39 +00:00
Yoshito Umaoka
5444245432 ICU-7919 Updated ICU eclipse plug-in build script. These changes will be back merged to 4.4/4.6 stream for Eclipse 3.7 release.
X-SVN-Rev: 29315
2011-01-15 03:38:28 +00:00
Michael Ow
d84ada43c8 ICU-8183 Improve Curreny and CharsetDetection code coverage in ICU4J
X-SVN-Rev: 29305
2011-01-14 18:34:17 +00:00
Markus Scherer
269a3ccecb ICU-8167 simplify & document BytesTrieBuilder API
X-SVN-Rev: 29300
2011-01-14 00:04:51 +00:00
Mark Davis
8f2666924e ICU-8226 Temporary patch for errln explosion.
X-SVN-Rev: 29288
2011-01-11 22:25:22 +00:00
Mark Davis
881d727e96 ICU-8226 Update utilities for cldr.
X-SVN-Rev: 29286
2011-01-11 21:57:03 +00:00
Markus Scherer
9b0208f933 ICU-8167 String.isEmpty() is new in Java 6, do not use it yet
X-SVN-Rev: 29283
2011-01-11 00:26:05 +00:00
Markus Scherer
339ca27b17 ICU-8167 port UCharsTrieTest to Java
X-SVN-Rev: 29281
2011-01-10 23:53:47 +00:00
Markus Scherer
045c005304 ICU-8167 port BytesTrieTest to Java
X-SVN-Rev: 29279
2011-01-10 21:23:38 +00:00
Yoshito Umaoka
95d0b6a8f9 ICU-8227 Fixed some test failures introduced by earlier changes.
X-SVN-Rev: 29233
2010-12-20 20:25:17 +00:00
Mark Davis
cb1a45d9da ICU-8228 Added the constants. Done before the end of the design review period, but don't anticipate any problems (can back out if needed).
X-SVN-Rev: 29222
2010-12-17 02:38:19 +00:00
Mark Davis
9eac5fb126 ICU-8227 Added another filter test, and fixed problems it exposed
X-SVN-Rev: 29221
2010-12-17 02:22:33 +00:00
Michael Ow
4c14bbd6aa ICU-8240 Update ICU4J compound text charset for handling continuous buffers
X-SVN-Rev: 29218
2010-12-16 23:36:15 +00:00
Mark Davis
9ffcb85ba1 ICU-8227 Whew, there were lots of problems in the way the old code was done. Now working much better.
X-SVN-Rev: 29207
2010-12-14 07:51:00 +00:00
Yoshito Umaoka
3037e36662 ICU-8210 Updated ICU4J versions and data. Moved some timebombs.
X-SVN-Rev: 29187
2010-12-10 21:11:35 +00:00
Yoshito Umaoka
1e3205b869 ICU-8078 Better ULocale/Locale mapping on JRE 7+ using the new Locale APIs.
X-SVN-Rev: 29181
2010-12-09 21:55:20 +00:00
Mark Davis
7ddf792330 ICU-8226 Update tests
X-SVN-Rev: 29177
2010-12-09 18:09:48 +00:00
Michael Ow
65efbb87d7 ICU-7089 Add test for Calendar class time stamp recalculation in ICU4J
X-SVN-Rev: 29165
2010-12-07 23:51:28 +00:00
Steven R. Loomis
ada54ef5d2 ICU-8207 re-enable a skipped test which had caught the swap issue..
X-SVN-Rev: 29146
2010-12-02 19:56:54 +00:00
Yoshito Umaoka
8566e3907d ICU-8022 #7316 is also reproduced with OpenJDK 6. Updated the test case to make it work on OpenJDK 6.
X-SVN-Rev: 29127
2010-12-01 22:37:53 +00:00
Yoshito Umaoka
c07690facb ICU-8022 Minor updates in readme.html for RC2. Deleted ucdterms.txt because we have unicode-license.txt.
X-SVN-Rev: 29086
2010-11-19 19:29:00 +00:00
Yoshito Umaoka
42a621afdb ICU-8022 Fixed test code problems with jdktzCheck.
X-SVN-Rev: 29067
2010-11-17 22:10:26 +00:00
Yoshito Umaoka
4961d60ef4 ICU-8022 BRS: organize imports
X-SVN-Rev: 29064
2010-11-17 15:55:01 +00:00
Peter Edberg
44330039cc ICU-8131 remove unihan collations, adjust tests
X-SVN-Rev: 29063
2010-11-17 05:35:28 +00:00
Markus Scherer
d92c186953 ICU-8149 Document what getPropertyValueEnum() returns for an unknown value alias
X-SVN-Rev: 29058
2010-11-16 22:17:52 +00:00
Yoshito Umaoka
10fdc15d5d ICU-8022 Replace TAB with SPs
X-SVN-Rev: 29027
2010-11-11 06:38:10 +00:00
Stuart Gill
469d4035bd ICU-3984 changes in response to code review
X-SVN-Rev: 29024
2010-11-11 02:11:46 +00:00
Mark Davis
4f230023d0 ICU-8142 fix the synchronization
X-SVN-Rev: 29021
2010-11-10 21:43:35 +00:00
Stuart Gill
0e5b74b849 ICU-3984 collation reordering complete
X-SVN-Rev: 29020
2010-11-10 02:35:21 +00:00
Stuart Gill
0e27c3ea13 ICU-3984 collation reordering checkpoint - still needs more tests and name change from script to reorder
X-SVN-Rev: 29018
2010-11-09 02:58:38 +00:00
Yoshito Umaoka
4954ca812f ICU-8120 Updated build scripts and eclipse workspace settings to use UTF-8 for java source files.
X-SVN-Rev: 29013
2010-11-08 15:11:14 +00:00
Umesh Nair
86ce28acfb ICU-7023 Supporting collation import syntax in ICU4J
X-SVN-Rev: 28970
2010-11-01 23:54:10 +00:00
Yoshito Umaoka
27d3ca72c3 ICU-7954 Add a new API checking availability of currency in the specified date range.
X-SVN-Rev: 28939
2010-10-28 18:28:09 +00:00
Markus Scherer
d442cc1556 ICU-7264 update layout engine script data
X-SVN-Rev: 28923
2010-10-26 23:40:36 +00:00
Markus Scherer
f6fb60ff6f ICU-7264 fix weight allocation and align sort key constants with C++
X-SVN-Rev: 28908
2010-10-25 23:02:08 +00:00
Mark Davis
4f9ae7991e ICU-7869 Added test that first script characters are actually the first ones.
X-SVN-Rev: 28905
2010-10-25 21:40:48 +00:00
Peter Edberg
583f5ab6ee ICU-8046 CLDR 1.9 integration pass 2 (J)
X-SVN-Rev: 28902
2010-10-25 06:46:33 +00:00
Markus Scherer
acafffb5d9 ICU-7264 Latin-1 special can result in CE_NOT_FOUND_; fall back to UCA, leave TODO to avoid this in the builder
X-SVN-Rev: 28897
2010-10-24 18:45:46 +00:00
Markus Scherer
d9de6496a8 ICU-7264 disable two failing string search test cases
X-SVN-Rev: 28896
2010-10-22 22:07:53 +00:00
Markus Scherer
3658544cc1 ICU-7264 unpaired surrogates are not ignorable any more; fix code for discontiguous contractions to look at combining classes of code *points*
X-SVN-Rev: 28895
2010-10-22 21:53:45 +00:00
Markus Scherer
8ebdd745da ICU-7264 adjust AlphabeticIndex.getFirstScriptCharacters() for Unicode 6.0: add first characters for Batak, Brahmi, Mandaic; see http://unicode.org/charts/collation/
X-SVN-Rev: 28894
2010-10-21 23:59:18 +00:00
Peter Edberg
926ba7847d ICU-8046 update TestOrdering timebomb, update TestMeasurementSystem
X-SVN-Rev: 28893
2010-10-21 22:25:43 +00:00
Markus Scherer
2947362274 ICU-7264 adjust TestRuleOptions data for FractionalUCA 6.0
X-SVN-Rev: 28892
2010-10-21 21:59:51 +00:00
Markus Scherer
c12d06e349 ICU-7264 noncharacters are not ignorable any more -- adapt TestNonChars()
X-SVN-Rev: 28891
2010-10-21 21:40:23 +00:00
Yoshito Umaoka
67531428ab ICU-8022 Revmoed unused import
X-SVN-Rev: 28889
2010-10-21 16:27:40 +00:00
Yoshito Umaoka
65decad384 ICU-8022 Fixed compiler warnings and source code format.
X-SVN-Rev: 28888
2010-10-21 16:26:09 +00:00
Peter Edberg
ec60bed6d5 ICU-7992 J DateTimePatternGenerator, fix matching for weekday name
X-SVN-Rev: 28886
2010-10-20 23:18:55 +00:00
Yoshito Umaoka
faca047508 ICU-7518 Workaround for 24:00 on a transition day problem. Use 23:59:59.999 as the transition time. iCal VTIMEZONE is not capable to handle such rule. Also a minor bug fix in BasicTimeZone.hasEquivalentTransitions which was found while updating the test case.
X-SVN-Rev: 28879
2010-10-20 06:19:12 +00:00
Markus Scherer
ac89f9ed5b ICU-7264 UCA 6.0 data & test data
X-SVN-Rev: 28876
2010-10-19 21:52:34 +00:00
Peter Edberg
1c7566e3db ICU-8046 CLDR 1.9 integration pass 1, update J tests
X-SVN-Rev: 28874
2010-10-19 19:26:22 +00:00
Jie J. Yang
8f55656334 ICU-7902 TimeUnitFormat uses unlocalized short time units for Greek, icu4j part
X-SVN-Rev: 28871
2010-10-19 08:11:35 +00:00
Andy Heninger
9474226f53 ICU-8044 Spoof check updates for the latest data.
X-SVN-Rev: 28863
2010-10-19 01:15:51 +00:00
Andy Heninger
a4a774bc57 ICU-8022 ICU4J data refreshed from ICU4C
X-SVN-Rev: 28862
2010-10-19 01:14:51 +00:00
Claire Ho
1d26b82ea8 ICU-7223 invlide range for handling expansions in CollationParsedRuleBuilder.
X-SVN-Rev: 28841
2010-10-15 22:25:56 +00:00
Michael Ow
228172d527 ICU-6959 Improve code coverage in ICU4J for com.ibm.icu.util.
X-SVN-Rev: 28829
2010-10-14 17:06:37 +00:00
Andy Heninger
24da281d4e ICU-7201 Transliterator threading fixes.
X-SVN-Rev: 28825
2010-10-14 00:28:44 +00:00
Michael Ow
0637aa7e4a ICU-8038 Fix BOM check in ICU4J TestConversion code.
X-SVN-Rev: 28821
2010-10-13 23:01:23 +00:00
Yoshito Umaoka
69866a3d5d ICU-8022 Fixing some compiler warnings.
X-SVN-Rev: 28811
2010-10-13 15:18:01 +00:00
Mark Davis
42bb7ee26b ICU-7264 add timebombs temporarily until collation files are updated.
X-SVN-Rev: 28808
2010-10-13 06:38:17 +00:00
Mark Davis
bf2f20ffe9 ICU-8037 added utilities
X-SVN-Rev: 28807
2010-10-13 06:09:18 +00:00
Yoshito Umaoka
f0aa65c877 ICU-7996 Fixed resource bundle alias resolution problems. Also restored resource alias test cases accidentally disabled before.
X-SVN-Rev: 28749
2010-10-04 19:42:01 +00:00
Andy Heninger
b38c190914 ICU-7989 Remove non-ASCII chars from ICU4J sources.
X-SVN-Rev: 28712
2010-09-27 23:13:38 +00:00
Yoshito Umaoka
40d22aabc1 ICU-7793 Clean up import statements.
X-SVN-Rev: 28682
2010-09-22 17:45:36 +00:00
Yoshito Umaoka
4d0bdec81e ICU-7968 Add a timebomb to TestFirstCharacters.
X-SVN-Rev: 28668
2010-09-21 20:56:07 +00:00
Jie J. Yang
6200d5808f ICU-7772 Fast string direction detection
X-SVN-Rev: 28666
2010-09-21 07:30:19 +00:00
Peter Edberg
52d02d3a55 ICU-7965 update icudata.jar for new th grapheme break iterator; remove J test timebomb
X-SVN-Rev: 28664
2010-09-21 04:04:24 +00:00
Markus Scherer
114432eec8 ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28341:28656
X-SVN-Rev: 28662
2010-09-21 00:32:21 +00:00
John Emmons
3c7ba0c2e4 ICU-7652 Get correct week data from territory based locale
X-SVN-Rev: 28660
2010-09-20 21:26:13 +00:00
Michael Ow
e22c2c9ed4 ICU-7926 Add compound text charset and update data in ICU4J
X-SVN-Rev: 28638
2010-09-17 05:07:40 +00:00
Yoshito Umaoka
755b0f2a56 ICU-7950 Clean up test code for SelectFormat.
X-SVN-Rev: 28623
2010-09-15 20:21:34 +00:00
Yoshito Umaoka
0316093289 ICU-7190 Updated ULocale#acceptLanguage to allow default script match. A input language tag zh-TW now matches the available locale zh-Hant-TW.
X-SVN-Rev: 28618
2010-09-14 17:50:20 +00:00
Yoshito Umaoka
dbb03414d4 ICU-7941 Improved CopticTest/Test6379.
X-SVN-Rev: 28613
2010-09-14 01:33:01 +00:00
Peter Edberg
64a2586663 ICU-7928 Update tests for CLDR 1.9m2 data
X-SVN-Rev: 28609
2010-09-13 19:42:34 +00:00
Steven R. Loomis
5fe7a82bae ICU-7937 fix ElapsedTimer to use whole number seconds, work around #7936
X-SVN-Rev: 28602
2010-09-10 20:25:21 +00:00
Yoshito Umaoka
d234932deb ICU-7793 Fixed all compiler warnings on JDK6 and Eclipse 3.6.
X-SVN-Rev: 28600
2010-09-09 22:29:17 +00:00
Yoshito Umaoka
8ea9d68eb1 ICU-7793 Update ICU4J version to 4.5.2
X-SVN-Rev: 28597
2010-09-09 16:45:37 +00:00
Mark Davis
b40fd1a2eb ICU-7869 add convenience method with Locale
X-SVN-Rev: 28568
2010-09-01 18:18:10 +00:00
Mark Davis
38eaa30361 ICU-7869 made name changes as per discussions with Andy, Markus
X-SVN-Rev: 28556
2010-08-30 20:28:15 +00:00
Mark Davis
d6213d77c7 ICU-7869 figured out how to do the pinyin buckets with complete sync to the getIndex bucket. Many deadends along the way, but it now works. Also added more comments.
X-SVN-Rev: 28541
2010-08-29 01:10:49 +00:00
Mark Davis
fe40416511 ICU-7869 added getBucketIndex and a test. It doesn't quite work right yet, but checking in so that Andy can look at it.
X-SVN-Rev: 28540
2010-08-28 01:15:48 +00:00
Mark Davis
c91d109999 ICU-7869 fixed labels to match buckets; fixed names to align with Andy's code; added tests for expected flow labels.
X-SVN-Rev: 28538
2010-08-27 23:46:45 +00:00
Mark Davis
8717b90914 ICU-7869 Escaped the unicode; moved hacks to the end of the file; some minor cleanup
X-SVN-Rev: 28529
2010-08-25 21:20:07 +00:00
Mark Davis
29d25d47c7 ICU-7869 Added utility class for testing (originally in CLDR)
X-SVN-Rev: 28518
2010-08-24 03:36:26 +00:00
Mark Davis
0d8df23f3b ICU-7869 Made the value not be comparable. Added hack for pinyin support. Minor change to Differ for type-safety.
X-SVN-Rev: 28517
2010-08-24 03:34:55 +00:00
Yoshito Umaoka
82c89e9950 ICU-7869 Fixed test name problem introduced by the previous change AGAIN!.
X-SVN-Rev: 28511
2010-08-23 06:31:40 +00:00
Mark Davis
0f19b5ee8c ICU-7869 Cleaned up names according to discussion.
X-SVN-Rev: 28509
2010-08-22 00:43:36 +00:00
Mark Davis
000d3bbf9d ICU-7869 Made lazy-evaluated arguments; still a bit more cleanup to come.
X-SVN-Rev: 28507
2010-08-21 01:15:43 +00:00
Michael Ow
e9ef072967 ICU-7882 Enable BCP47 ids and update a few test cases in ICU4J.
X-SVN-Rev: 28502
2010-08-20 19:35:16 +00:00
Yoshito Umaoka
5ec2372386 ICU-7880 Fixed VersionInfo treading problem. Changed HashMap to ConcurrentHashMap for supporting thread safe access to the internal cache.
X-SVN-Rev: 28493
2010-08-18 21:27:47 +00:00
Yoshito Umaoka
f09139d86e ICU-7777 Merging ULocale API and implementation updates from the work branch.
X-SVN-Rev: 28486
2010-08-18 16:32:02 +00:00
John Emmons
c86940b784 ICU-7724 Merge support for non-contiguous numbering systems
X-SVN-Rev: 28469
2010-08-13 22:17:10 +00:00
Yoshito Umaoka
8fd81d1a6b ICU-7568 2010k to icu4j trunk
X-SVN-Rev: 28467
2010-08-13 21:35:52 +00:00
Yoshito Umaoka
668b6e8cf4 ICU-7869 Fixed test name problem in the previous change.
X-SVN-Rev: 28465
2010-08-13 20:53:09 +00:00
Jason Spieth
93a8105a51 ICU-7609 Allow rounding to negative zero - test case cleanup.
X-SVN-Rev: 28462
2010-08-13 19:21:30 +00:00
Mark Davis
8b0fd59d96 ICU-7869 Changed name, javadocs in response to feedback
X-SVN-Rev: 28460
2010-08-13 16:30:28 +00:00
Mark Davis
acb23c4a13 ICU-7869 Revised the API based on discussions.
X-SVN-Rev: 28451
2010-08-12 03:25:53 +00:00
Mark Davis
7778b300d7 ICU-7869 Expanded tests and fixed problems found.
X-SVN-Rev: 28426
2010-08-06 23:05:24 +00:00
Mark Davis
1a23022dfb ICU-7869 Fixed test and code to speed up: test only checks main locales for now, code takes shortcut for first chars in script.
X-SVN-Rev: 28424
2010-08-06 16:22:11 +00:00
Umesh Nair
f519d51352 ICU-7865 Wiring up IndexCharacters class with CLDR data; part of this is merged from the branch umesh/index-characters-100730
X-SVN-Rev: 28409
2010-08-04 16:42:37 +00:00
Andy Heninger
1360486f9e ICU-7853 Fix Windows-only spoof check test failure.
X-SVN-Rev: 28375
2010-07-27 20:07:22 +00:00
Jason Spieth
a07c6d0ebe ICU-7609 Allow rounding to negative zero.
X-SVN-Rev: 28329
2010-07-19 21:12:13 +00:00
Markus Scherer
a3d88afb60 ICU-7746 port UTS #46 to Java
X-SVN-Rev: 28307
2010-07-14 20:11:29 +00:00
Andy Heninger
9fa040e389 ICU-7094 Set encoding to UTF-8 for reading Unicode spoof data files.
X-SVN-Rev: 28304
2010-07-13 19:47:46 +00:00
Andy Heninger
2294d0c998 ICU-7094 Spoof detector port from C to Java
X-SVN-Rev: 28294
2010-07-12 14:59:31 +00:00
Markus Scherer
13e8abd068 ICU-7237 port BidiTest.txt BiDi conformance test to Java; fix Bidi.java bug parallel to ICU4C source/common/ubidi.c change 26898 (missing NoContextRTL())
X-SVN-Rev: 28287
2010-07-08 10:05:34 +00:00
John Emmons
8f4fdeb4a4 ICU-6816 Just fixed some tab/space formatting
X-SVN-Rev: 28279
2010-07-01 17:58:06 +00:00
John Emmons
4532bd86f3 ICU-6816 Force calendar and number format to respect territory specific data
X-SVN-Rev: 28278
2010-07-01 17:47:40 +00:00
Yoshito Umaoka
2f2cd0b5d0 ICU-7785 Workaround for Java TimeZoneNameProvider behavior problem in TimeZoneNameTest.
X-SVN-Rev: 28262
2010-06-23 23:02:30 +00:00
Umesh Nair
3e24713df1 ICU-7015 Compact collation syntax (lists and ranges): svn merge -r 27727:28181 icu4j/branches/umesh/collation
X-SVN-Rev: 28192
2010-06-14 23:39:34 +00:00
John Emmons
5f545450a0 ICU-7734 Merge last minute 1.9M1 changes to ICU
X-SVN-Rev: 28187
2010-06-14 21:12:51 +00:00
Yoshito Umaoka
c6ccb8d251 ICU-6994 The previous change removed copy-test-data target from packaging-tests project. We need to update Eclipse project to remove the builder for copy-test-data as well.
X-SVN-Rev: 28183
2010-06-14 15:26:11 +00:00
Yoshito Umaoka
014a18e855 ICU-6994 ICU4J build targets to generate *-src.jar which contain only .java source files as well as ICU4J source package archive in .tgz. Also some updates in release target: new target 'release' to build all download files with version string. Old target 'releaseJar' was deleted.
X-SVN-Rev: 28174
2010-06-11 17:02:51 +00:00
John Emmons
aef7b19644 ICU-7734 Merge CLDR 1.9M1 data into ICU
X-SVN-Rev: 28166
2010-06-09 18:33:07 +00:00
Markus Scherer
ea1a61a42a ICU-7736 add Normalizer2.getDecomposition(c)
X-SVN-Rev: 28162
2010-06-09 05:59:39 +00:00
Mark Davis
258d19db7b ICU-7737 Small fixes to UnicodeProperty
X-SVN-Rev: 28148
2010-06-05 00:07:14 +00:00
John Emmons
2b3b71ec57 ICU-7599 Add support for alternate number symbols per numberinig system
X-SVN-Rev: 28135
2010-06-04 18:30:15 +00:00
Peter Edberg
79d1fa387f ICU-7728 Time format using 'S' (fractional seconds) should truncate, not round.
X-SVN-Rev: 28131
2010-06-04 03:01:29 +00:00
Yoshito Umaoka
8719f0c410 ICU-7282 Set maximum/minimum fraction digits and rounding increment by currency in the DecimalFormat initialization code. Added a test case for the problem and updated an existing test case which did not consider these settings are depending on the currency used by DecimalFormat.
X-SVN-Rev: 28111
2010-05-27 22:05:42 +00:00
Yoshito Umaoka
6f4a599df6 ICU-7690 Updated OlsonTimeZone#hashCode() to check if typeMapData array is null. Also updated toString to include typeMapData.
X-SVN-Rev: 28106
2010-05-26 21:15:42 +00:00
Jason Spieth
6dce030d93 ICU-7602 Add era to ChineseCalendar constructors. ICU4J
X-SVN-Rev: 28074
2010-05-19 16:25:14 +00:00
John Emmons
70fa16f19f ICU-7438 Add handling of POSIX variant as u-va-posix language tag
X-SVN-Rev: 28031
2010-05-06 21:47:16 +00:00
Michael Ow
ab0a766468 ICU-7592 Remove timebomb in data-driven conversion test. Fix a few bugs in charset code. Update testdata.jar.
X-SVN-Rev: 28022
2010-05-05 20:45:21 +00:00
Jason Spieth
2fa7270cf5 ICU-7357 Allow date format parsing to handle ISO format. Properly parse the era and allow negative years to derive the era. ICU4J
X-SVN-Rev: 28010
2010-05-04 17:34:29 +00:00
Peter Edberg
a2b3717e07 ICU-7644 (J) Enable non-Gregorian calendars for DateIntervalFormat
X-SVN-Rev: 27978
2010-04-23 19:39:50 +00:00
John Emmons
882a896939 ICU-7607 CLDR 1.8.1 integration
X-SVN-Rev: 27971
2010-04-22 17:55:39 +00:00
Yoshito Umaoka
a9d071ce6d ICU-7480 Limit maximum integer parsed by DateNumberFormat to prevent overflow. Setting the limit is safe for this usage, because maximum number used by SimpleDateFormat is int and the limit is almost max long.
X-SVN-Rev: 27945
2010-04-16 20:53:24 +00:00
Yoshito Umaoka
6c77748d81 ICU-7568 2010h to ICU4J trunk. Also updated the data path to 45b.
X-SVN-Rev: 27911
2010-04-09 01:32:55 +00:00
Yoshito Umaoka
8251996bb7 ICU-7603 Migrating Hashtable to HashMap.
X-SVN-Rev: 27906
2010-04-06 22:44:04 +00:00
Yoshito Umaoka
3b456d2c67 ICU-7603 Migrating Vector to List.
X-SVN-Rev: 27905
2010-04-06 19:08:45 +00:00
Yoshito Umaoka
2c620b0da6 ICU-7595 Fixed a bug in the leading zero padding code in SimpleDateFormat.
X-SVN-Rev: 27899
2010-04-02 21:39:33 +00:00
Yoshito Umaoka
100fd7d486 ICU-7585 Added ICU4J 4.4 serialization compatibility test data. The data was generated by maint-4-4 r27895 (release-4-4 had a problem generating the data. see ticket#7594).
X-SVN-Rev: 27898
2010-04-02 19:24:47 +00:00
Yoshito Umaoka
841e1b537f ICU-7594 Fixed serialization CoverageTest problem.
X-SVN-Rev: 27894
2010-04-02 18:27:07 +00:00
Yoshito Umaoka
fa43a480ef ICU-7585 Changed ICU4J version number to 4.5.1. Updated some timebombs.
X-SVN-Rev: 27891
2010-04-01 21:16:51 +00:00
John Emmons
58af853b0b ICU-7431 CLDR 1.8 integration
X-SVN-Rev: 27777
2010-03-04 05:46:44 +00:00
Yoshito Umaoka
1403fac095 ICU-7444 Removed System.out.println in SelectFormatAPITest.
X-SVN-Rev: 27762
2010-03-03 09:21:54 +00:00
Yoshito Umaoka
877401e404 ICU-7356 Updated serialization test case for PluralRules. Use canned rules instead of locale, so the result won't be affected by locale data changes.
X-SVN-Rev: 27760
2010-03-03 08:56:54 +00:00