Commit Graph

423 Commits

Author SHA1 Message Date
Claire Ho
1c68465ef7 ICU-7850 Replaced the ChoiceFormat example by PluralFormat in MessageFormat.java.
X-SVN-Rev: 28859
2010-10-19 00:36:08 +00:00
Claire Ho
0277fddcb6 ICU-7850 Replaced the ChoiceFormat example by PluralFormat in MessageFormat.java.
X-SVN-Rev: 28858
2010-10-19 00:12:39 +00:00
Michael Ow
9896c58604 ICU-8038 Fix maxBytesPerChar error for UnicodeBig and UnicodeLittle in ICU4J.
X-SVN-Rev: 28849
2010-10-18 16:29:25 +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
5714200c0d ICU-8038 Fix check for x-* names when getting the icu canonical name.
X-SVN-Rev: 28835
2010-10-14 22:21:16 +00:00
Yoshito Umaoka
8ec88d6f48 ICU-8017 Updated MANIFEST.MF in ICU runtime library jar files to make them OSGi bundles.
X-SVN-Rev: 28831
2010-10-14 19:15:38 +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
99102b01d2 ICU-8038 Implement UnicodeLittle and UnicodeBig in ICU4J.
X-SVN-Rev: 28818
2010-10-13 20:21:16 +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
bf2f20ffe9 ICU-8037 added utilities
X-SVN-Rev: 28807
2010-10-13 06:09:18 +00:00
Mark Davis
e83ac112e0 ICU-8036 Fixed supplementary issue.
X-SVN-Rev: 28806
2010-10-13 06:06:49 +00:00
Mark Davis
d10c798d62 ICU-7264 update the constant ranges for CJK, so that the code works correctly. This also handles the change in UCA that it is not CJK *blocks* but CJK *characters* (assigned in those blocks).
X-SVN-Rev: 28777
2010-10-08 17:22:13 +00:00
John Emmons
0b250fd02a ICU-7978 Add getDigitsLocal that returns reference to the digits directly
X-SVN-Rev: 28765
2010-10-06 15:50:16 +00:00
Yoshito Umaoka
f9339035e4 ICU-8010 Make Collator.getAvailableLocales work when the class is loaded by the system classloader.
X-SVN-Rev: 28754
2010-10-04 20:50:06 +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
Andy Heninger
33a8b6e5a7 ICU-7988 add svn properties to text files as appropriate.
X-SVN-Rev: 28711
2010-09-27 22:31:10 +00:00
Norbert Lindenberg
6c75d439b9 ICU-7772 Use UCharacterDirection instead of ECharacterDirection per Markus's review comments.
X-SVN-Rev: 28695
2010-09-24 22:35:43 +00:00
Yoshito Umaoka
2e1aee8d0a ICU-7724 Code review update - creating a defensive copy of char[] in getDigits().
X-SVN-Rev: 28689
2010-09-23 19:35:29 +00:00
Yoshito Umaoka
6beba077d3 ICU-6325 Removed synchronized keyowrd from _getDisplayName.
X-SVN-Rev: 28688
2010-09-23 18:49:45 +00:00
John Emmons
369c026ca2 ICU-7652 Use StringBuilder instead of StringBuffer
X-SVN-Rev: 28686
2010-09-22 21:45:19 +00:00
Yoshito Umaoka
40d22aabc1 ICU-7793 Clean up import statements.
X-SVN-Rev: 28682
2010-09-22 17:45:36 +00:00
Michael Ow
74c00c08b7 ICU-7882 Add method to get shortest subtag length
X-SVN-Rev: 28681
2010-09-22 05:48:26 +00:00
John Emmons
6130d62e99 ICU-7652 Fixed setWeekData not to use ULocale.Builder per Yoshito's review comments
X-SVN-Rev: 28679
2010-09-22 05:24:56 +00:00
John Emmons
38a48df94b ICU-7724 Fix Javadoc comment for new API
X-SVN-Rev: 28677
2010-09-22 03:33:26 +00:00
John Emmons
ec4cf1f1ab ICU-7724 Fix array compare/copy per Yoshito's review comments
X-SVN-Rev: 28676
2010-09-22 03:27:49 +00:00
Yoshito Umaoka
ed35e37223 ICU-7793 Fixed JavaDoc warnings in Bidi.java.
X-SVN-Rev: 28669
2010-09-21 21:47:34 +00:00
Jie J. Yang
6200d5808f ICU-7772 Fast string direction detection
X-SVN-Rev: 28666
2010-09-21 07:30:19 +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
4294bd0c36 ICU-7926 Add compound test charset class.
X-SVN-Rev: 28639
2010-09-17 05:47:16 +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
3220024a63 ICU-7944 Minor updates to the Locale enhancement project related code.
X-SVN-Rev: 28620
2010-09-14 19:53:19 +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
Michael Ow
3696c605a3 ICU-7935 Ensure java canonical name works in ICU.
X-SVN-Rev: 28612
2010-09-13 23:08:09 +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
Michael Ow
c59f535cd7 ICU-7926 Add ISO-2022-CN-CNS to ICU4J
X-SVN-Rev: 28588
2010-09-08 23:19:03 +00:00
John Emmons
f259b852b3 ICU-7923 Remove isExponent argument as it isn't used
X-SVN-Rev: 28585
2010-09-08 21:44:06 +00:00
Mark Davis
b40fd1a2eb ICU-7869 add convenience method with Locale
X-SVN-Rev: 28568
2010-09-01 18:18:10 +00:00
Yoshito Umaoka
573f451f67 ICU-7922 Converting a charset alias name data from byte[] to String by ICU's own code, instead of using new String(byte[], int, int).
X-SVN-Rev: 28566
2010-09-01 16:36:48 +00:00
Yoshito Umaoka
2347b7736e ICU-7777 Minor update, synchronize code with JDK copy.
X-SVN-Rev: 28559
2010-08-31 03:34:39 +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
804efbcf22 ICU-7869 Add Markus's fix
X-SVN-Rev: 28523
2010-08-25 18:22:58 +00:00
Mark Davis
c29b6e289f ICU-7869 Hard-code first characters in script.
X-SVN-Rev: 28519
2010-08-24 22:29:52 +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
0ceedde0c5 ICU-7777 Small updates based on Doug's review comment.
X-SVN-Rev: 28512
2010-08-23 06:39:24 +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
John Emmons
be123c47b5 ICU-6325 Clean up SimpleDateFormat - appendGMT function no longer needed
X-SVN-Rev: 28501
2010-08-20 18:24:45 +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
Yoshito Umaoka
a967e42071 ICU-7894 Fixed a typo in the icu4j-core build script to exclude cnvalias.icu from core jar.
X-SVN-Rev: 28476
2010-08-16 17:15:59 +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
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
John Emmons
de9c9b5284 ICU-6325 Create and use TimeZoneFormat class
X-SVN-Rev: 28447
2010-08-11 21:30:58 +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
Mark Davis
51a09b3be2 ICU-7869 Add API as per initial design
X-SVN-Rev: 28422
2010-08-05 22:26:27 +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
Jason Spieth
a07c6d0ebe ICU-7609 Allow rounding to negative zero.
X-SVN-Rev: 28329
2010-07-19 21:12:13 +00:00
John Emmons
a9e73eb65a ICU-6325 Break dependency between zone-string format and Calendar
X-SVN-Rev: 28324
2010-07-16 18:13:17 +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
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
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
7e5c0d23ed ICU-7585 Fixed API status comments.
X-SVN-Rev: 28256
2010-06-22 21:07:20 +00:00
Yoshito Umaoka
4b9a795621 ICU-7585 Suppress fallthrough warning in CollationRuleParser.java.
X-SVN-Rev: 28236
2010-06-21 16:01:23 +00:00
Yoshito Umaoka
52c2a5cbd2 ICU-7765 Merging the wsjar fix done in maint-4-4 stream to trunk.
X-SVN-Rev: 28234
2010-06-21 15:15:01 +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
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
Markus Scherer
ea1a61a42a ICU-7736 add Normalizer2.getDecomposition(c)
X-SVN-Rev: 28162
2010-06-09 05:59:39 +00:00
Markus Scherer
31a49c5b96 ICU-7442 make Normalizer2.normalize(to Appendable) public
X-SVN-Rev: 28146
2010-06-04 23:34:43 +00:00
Markus Scherer
64b9da144e ICU-7686 initialize FCD only when the collator needs it (Java)
X-SVN-Rev: 28138
2010-06-04 22:23:41 +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
Jason Spieth
7e73643a0f ICU-7621 Change mapping of display name constants SHORT to 'V' and SHORT_COMMONLY_USED to 'z' for JDK compatibility.
X-SVN-Rev: 28119
2010-06-01 16:06:13 +00:00
Markus Scherer
6f8e7a6c8f ICU-7722 fix comment parallel to C++ r28117
X-SVN-Rev: 28118
2010-06-01 06:11:32 +00:00
Markus Scherer
b3cff02501 ICU-7703 fix operator precedence like in C++ r28115
X-SVN-Rev: 28116
2010-05-31 17:42:01 +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
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
9d2abc788f ICU-7591 Aded main method in VersionInfo to print out ICU version information. Also, specify VersionInfo as the main class of icu4j.jar, so people can access installed ICU4J version information easily.
X-SVN-Rev: 27917
2010-04-09 18:59:48 +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