Commit Graph

844 Commits

Author SHA1 Message Date
Abhinav Gupta
9794f1727b ICU-8854 unchecked/unconfirmed cast.
X-SVN-Rev: 30853
2011-10-24 19:13:57 +00:00
Mark Davis
0e05f5d9d6 ICU-8898 Checked in (since shifting systems) but can retract if not approved.
X-SVN-Rev: 30851
2011-10-23 22:27:11 +00:00
Yoshito Umaoka
02bf9dd68a ICU-8649 Integrating JCite and embedding coding example in the ICU4J API reference doc.
X-SVN-Rev: 30841
2011-10-17 21:10:07 +00:00
Abhinav Gupta
728bdac7fa ICU-8854 possible null pointer dereference.
X-SVN-Rev: 30839
2011-10-17 20:24:17 +00:00
Abhinav Gupta
9c83ba6e64 ICU-8854 Unclosed streams.
X-SVN-Rev: 30838
2011-10-17 20:24:09 +00:00
Abhinav Gupta
0c1d2e9452 ICU-8854 Result of integer multiplication cast to long after
multiplication. Casting should be done before multiplication to avoid
overflow.

X-SVN-Rev: 30837
2011-10-17 20:23:59 +00:00
Abhinav Gupta
7a58e117d9 ICU-8854 Inefficient use of number constructors. Use valueOf instead.
X-SVN-Rev: 30836
2011-10-17 20:23:48 +00:00
Yoshito Umaoka
a5edd10c64 ICU-8446 System property user.script to initialize ULocale's script field on Java 6 or older JREs.
X-SVN-Rev: 30824
2011-10-14 22:11:56 +00:00
Abhinav Gupta
037aa7865a ICU-8876 disabled Clover where necessary.
Disabled for parts of  PluralRules, RBBIDataWrapper, RBBISetBuilder,
TimeZoneNames, Calendar.

X-SVN-Rev: 30811
2011-10-12 15:31:19 +00:00
Yoshito Umaoka
ed2c135303 ICU-8856 Explicit private constructor to prevent MessagePatternUtil instatiation. This change fixed unwanted javadoc/api report for MessagePatternUtil constructor.
X-SVN-Rev: 30791
2011-10-04 15:59:21 +00:00
Yoshito Umaoka
53eb6fa62f ICU-8856 Fixed a javac compiler warning.
X-SVN-Rev: 30790
2011-10-04 15:45:25 +00:00
Yoshito Umaoka
504e04477a ICU-8856 Organized import statements
X-SVN-Rev: 30788
2011-10-04 14:38:02 +00:00
Michael Ow
46fc0ce9da ICU-8864 Use fallback mechanism for empty string in ICUResourceTableAccess get method
X-SVN-Rev: 30782
2011-10-03 19:17:07 +00:00
Peter Edberg
69bb199a1b ICU-8753 Replace confusing use of dst variable with prevOffset / newOffset
X-SVN-Rev: 30772
2011-09-30 21:32:41 +00:00
Yoshito Umaoka
a87cae4ff8 ICU-8518 Corrected spelling found by Markus's review
X-SVN-Rev: 30769
2011-09-30 20:52:56 +00:00
Abhinav Gupta
33f9e7e935 ICU-8856 copyright info on com.ibm.icu.text.SourceTargetUtility.
X-SVN-Rev: 30768
2011-09-30 20:28:27 +00:00
Michael Ow
6903a27947 ICU-8515 Add missing provisional tag to draft API CharsetEncoderICU.getMaxBytesForString
X-SVN-Rev: 30760
2011-09-30 19:16:20 +00:00
Abhinav Gupta
2dde8091b2 ICU-8268 fixed problems found in code review.
X-SVN-Rev: 30759
2011-09-30 19:01:29 +00:00
Steven R. Loomis
f2dea4dba1 ICU-8855 undo bad commit r30752
X-SVN-Rev: 30753
2011-09-29 20:18:13 +00:00
Abhinav Gupta
27cdc577c8 ICU-8855 utf-8 file properties for icu4j (with copyright updates).
X-SVN-Rev: 30752
2011-09-29 19:44:32 +00:00
Abhinav Gupta
00d87011fd ICU-8268 Unitialized read of field in constructor.
X-SVN-Rev: 30738
2011-09-28 20:30:19 +00:00
Abhinav Gupta
dc1f5c5a80 ICU-8268 Fixed use of & instead of &&.
X-SVN-Rev: 30737
2011-09-28 20:30:12 +00:00
Abhinav Gupta
7048d48b6e ICU-8268 equals(Object o) methods assume that o is the correct type.
X-SVN-Rev: 30736
2011-09-28 20:30:06 +00:00
Abhinav Gupta
6916271396 ICU-8268 computation of average could overflow.
The (a+b)/2 or (a+b)>>1 could cause an overflow. Use unsigned bit shift (>>>).

X-SVN-Rev: 30735
2011-09-28 20:29:59 +00:00
Abhinav Gupta
24f423c0f8 ICU-8268 inefficient use of Long, Integer, Character constructors.
X-SVN-Rev: 30734
2011-09-28 20:29:47 +00:00
Abhinav Gupta
79287fc66b ICU-8268 Inefficient use of new String(...) constructor.
X-SVN-Rev: 30733
2011-09-28 20:29:28 +00:00
Abhinav Gupta
7e90359b1a ICU-8268 null check of value previously dereferenced.
A value is null-checked after it has already been dereferenced. If it was
null, it would never get to the check because of NullPointerException.

X-SVN-Rev: 30732
2011-09-28 20:29:19 +00:00
Markus Scherer
077d3a16e0 ICU-8779 add UNKNOWN_ZONE & GMT_ZONE
X-SVN-Rev: 30728
2011-09-27 23:52:04 +00:00
Abhinav Gupta
c2769af599 ICU-8268 return value was ignored.
Return value of string concatenation was ignored. Results in invalid data.

X-SVN-Rev: 30726
2011-09-27 19:50:26 +00:00
Abhinav Gupta
c9b90e11db ICU-8268 dead store to local variable.
A value is assigned to a local variable but never read again.

Signed-off-by: Abhinav Gupta <abhinavg@ca.ibm.com>

X-SVN-Rev: 30725
2011-09-27 19:50:19 +00:00
Abhinav Gupta
b58534a609 ICU-8268 impossible cast from double[] to int[].
Java doesn't allow casting array of type A to array of type B. The elements
have to be manually casted.

X-SVN-Rev: 30723
2011-09-27 19:49:59 +00:00
Abhinav Gupta
55e9ba2738 ICU-8268 Inefficient use of Map.keySet. Use entrySet instead.
X-SVN-Rev: 30721
2011-09-27 19:49:44 +00:00
Abhinav Gupta
b8f1bb9223 ICU-8268 concatenation of strings using + in a loop is inefficient. Use StringBuilder.
X-SVN-Rev: 30720
2011-09-27 18:15:21 +00:00
Abhinav Gupta
811b9905c8 ICU-8268 toString on array doesn't produce anything useful. Use Arrays.toString.
X-SVN-Rev: 30719
2011-09-27 18:15:12 +00:00
Abhinav Gupta
a65971645c ICU-8268 repeated conditional test
X-SVN-Rev: 30718
2011-09-27 18:15:03 +00:00
Abhinav Gupta
d96782f661 ICU-8268 update copyrights of previously touched files
X-SVN-Rev: 30717
2011-09-27 18:14:53 +00:00
Abhinav Gupta
d00e5b14fb ICU-8328 switched to separate icudata.jar and icutzdata.jar
X-SVN-Rev: 30710
2011-09-26 15:30:39 +00:00
Angshuman Deb
aab73b3bb7 ICU-8796 fixed Javadoc with {@icuenhanced} tag
X-SVN-Rev: 30694
2011-09-20 01:40:44 +00:00
John Emmons
adc6836918 ICU-8821 Handle no inheritance marker in ICU4J
X-SVN-Rev: 30683
2011-09-19 16:10:48 +00:00
Markus Scherer
28e4515617 ICU-8788 deprecate ChoiceFormat
X-SVN-Rev: 30674
2011-09-16 00:24:27 +00:00
Peter Edberg
99fa6505ef ICU-8753 Fix ICU4J Calendar.add() to handle change in ZONE_OFFSET
X-SVN-Rev: 30660
2011-09-15 04:22:55 +00:00
Yoshito Umaoka
684bbcecfe ICU-8512 Prmoting previously tech preview TimeZoneNames/TimeZoneFormat APIs to draft. Implementing explicit serialization. Removed the logic for commonlyUsed flag for short names (#8811). Let TimeZoneNameImpl fail when it cannot load necessary data.
X-SVN-Rev: 30659
2011-09-15 01:57:16 +00:00
Mark Davis
acf033775b ICU-8816 Fix missing code to utilize fast frozen data structure.
X-SVN-Rev: 30654
2011-09-13 22:13:48 +00:00
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
666e129847 ICU-8807 Fix constant that can't be changed until U6.1
X-SVN-Rev: 30641
2011-09-09 18:16:53 +00:00
Mark Davis
5b237cf6bb ICU-8807 cleanup warnings
X-SVN-Rev: 30640
2011-09-08 23:07:29 +00:00
Mark Davis
c47d4fdbd7 ICU-8808 add access to punctuation characters
X-SVN-Rev: 30639
2011-09-08 22:38:05 +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
693640fd13 ICU-8805 fix some MessagePattern API comments
X-SVN-Rev: 30636
2011-09-08 19:27:48 +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
Yoshito Umaoka
27b6a943bc ICU-8769 Reverted the previous change because of loading status issue. Move the cache to ICUResourceBundleReader that actually hold the resource data. Moved pool key bundle initialization to ICUResourceBundle to prevent cached instances modified by other classes.
X-SVN-Rev: 30633
2011-09-07 22:47:55 +00:00
Yoshito Umaoka
3959df3834 ICU-8769 Brought back ICUResourceBundle cache with improved cache logic.
X-SVN-Rev: 30627
2011-09-07 04:45:20 +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
John Emmons
d3f81bfa50 ICU-8611 Allow number patterns to be looked up by numbering system
X-SVN-Rev: 30576
2011-08-24 22:33:08 +00:00
Michael Ow
dd8732a309 ICU-7365 Promote approved data version API to draft 49 in ICU4J
X-SVN-Rev: 30571
2011-08-23 17:24:11 +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
d895f91300 ICU-8630 A few more API doc updates explaining default locale type to be used
X-SVN-Rev: 30496
2011-08-12 15:31:37 +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
5037790845 ICU-8734 ULocale.getDefault to return ULocale.ROOT when it is called when default ULocale is being initialized.
X-SVN-Rev: 30440
2011-07-28 17:55:33 +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
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
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
Peter Edberg
6323e8b1aa ICU-8583 make ICU4J parseCurrency methods public @internal
X-SVN-Rev: 30314
2011-07-12 03:33:00 +00:00
Michael Ow
834901f20c ICU-8660 Skip the current source char when searching for the next escape character
X-SVN-Rev: 30297
2011-07-08 17:22:34 +00:00
Michael Ow
d71f5096b1 ICU-8664 Use the custom CharsetDecoder's replacement character if one is specified
X-SVN-Rev: 30284
2011-07-06 17:42:56 +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
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
a99e6dc48f ICU-8634 Assertion Failures in spoof checker.
X-SVN-Rev: 30264
2011-07-01 00:12:29 +00:00
Markus Scherer
05cff4e761 ICU-8606 forgot to switch the second getCombiningClass(c) in UTS46.java; also switching to lower-level UBiDiProps functions
X-SVN-Rev: 30262
2011-06-30 23:10:11 +00:00
Markus Scherer
e95274d0a4 ICU-8606 add Normalizer2.getCombiningClass(c)
X-SVN-Rev: 30261
2011-06-30 22:07:22 +00:00
Markus Scherer
ea2123175f ICU-8637 fix MessagePattern Part iteration when a plural style contains other followed by a different keyword, and the PluralRules return other
X-SVN-Rev: 30259
2011-06-30 18:33:32 +00:00
Michael Ow
a2b657a9a3 ICU-8612 Remove exception usage in normal code path of CharsetASCII and Charset88591
X-SVN-Rev: 30238
2011-06-27 18:06:05 +00:00
Michael Ow
cfe479cd47 ICU-8515 Add getMaxBytesForString to CharsetEncoderICU
X-SVN-Rev: 30237
2011-06-27 17:03:06 +00:00
Mark Davis
38a2ac09cc ICU-8662 exposed some API (as @internal)
X-SVN-Rev: 30225
2011-06-23 17:29:16 +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
233f71bedf ICU-8528 Enabled Java assertions in build target check and exhaustiveCheck. Commented out assert statement returning errors. These issues are reported in ticket#8634 and #8637.
X-SVN-Rev: 30199
2011-06-09 21:20:05 +00:00
Yoshito Umaoka
b1d06a7eab ICU-8627 Lazily instantiate TimeZoneGenericNames also in J to improve the initial invocation peformance for default format patterns.
X-SVN-Rev: 30198
2011-06-09 19:15:09 +00:00
Yoshito Umaoka
3fafa85a60 ICU-8626 Set time zone ID in the OlsonTimeZone constructor, not via setID after creation.
X-SVN-Rev: 30197
2011-06-08 22:32:24 +00:00
Doug Felt
9dc733ed7d ICU-8620 remove static ICUResourceBundle.cache
X-SVN-Rev: 30195
2011-06-03 23:17:53 +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
Yoshito Umaoka
5ef5a3bed2 ICU-8488 Use explicit locale in String#toLowerCase / #toUpperCase.
X-SVN-Rev: 30156
2011-05-27 19:25:11 +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
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
Markus Scherer
bcfcfcbd18 ICU-8563 do not right-shift a 32-bit integer by 32 bits
X-SVN-Rev: 30127
2011-05-16 23:18:47 +00:00
Yoshito Umaoka
e99c922c0b ICU-8429 Degrade Region API status which did not get official final approval.
X-SVN-Rev: 30110
2011-05-13 16:40:54 +00:00
Yoshito Umaoka
d56cac5040 ICU-8429 Corrected a minor documentation error Currency#LONG_NAME.
X-SVN-Rev: 30092
2011-05-11 02:32:02 +00:00
Yoshito Umaoka
a0bb717524 ICU-8473 Supplied missing API docs.
X-SVN-Rev: 30091
2011-05-11 02:29:39 +00:00
Stuart Gill
77ae8b924e ICU-8295 fix method visibility - public to private
X-SVN-Rev: 30087
2011-05-10 21:37:01 +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
Yoshito Umaoka
47e3d0c0de ICU-8429 Forgot to update ICU4J data version.. updating to 4.8.
X-SVN-Rev: 30080
2011-05-10 18:39:51 +00:00
Stuart Gill
256fbc6f64 ICU-8295 changes based on code review
X-SVN-Rev: 30076
2011-05-10 00:14:12 +00:00
Markus Scherer
3de464a1e7 ICU-3660 use String not char[]
X-SVN-Rev: 30071
2011-05-09 23:00:17 +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
Michael Ow
a640b41fab ICU-8429 Remove unused import in CharsetICU
X-SVN-Rev: 30065
2011-05-09 17:22:23 +00:00
John Emmons
74652a0d57 ICU-8347 Update javadoc for Region class to use paragraph separators
X-SVN-Rev: 30063
2011-05-09 16:55:24 +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
c7e54c059a ICU-8429 ICU data version to 4.8
X-SVN-Rev: 30050
2011-05-06 20:45:53 +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
Markus Scherer
78174d2eca ICU-8319 remove redundant cast
X-SVN-Rev: 30025
2011-05-04 22:06:09 +00:00
Yoshito Umaoka
093d42a0df ICU-8342 Fixed fallthrough warnings in the new code. For some reasons, Eclipse thing @SuppressWarnings(fallthrough) is redandunt. To make javac quiet, I just removed the fallthrough part.
X-SVN-Rev: 30024
2011-05-04 19:50:30 +00:00
Michael Ow
752c70d6e0 ICU-7226 Set maxBytesPerChar of UnicodeBig and UnicodeLittle differently when using Java 5
X-SVN-Rev: 30011
2011-05-04 02:44:44 +00:00
Markus Scherer
a28fd207f5 ICU-8173 fix the Normalizer2.getDecomposition(int c) docs
X-SVN-Rev: 30002
2011-05-03 23:58:40 +00:00
Michael Ow
80ffe66b09 ICU-7226 Fix maxBytesPerChar value for UTF-16LE,version=1 and UTF-16BE,version=1 in ICU4J
X-SVN-Rev: 29998
2011-05-03 22:15:36 +00:00
Markus Scherer
742de93fb5 ICU-7413 switch Java UCaseProps to use StringBuilder not StringBuffer
X-SVN-Rev: 29995
2011-05-03 21:34:26 +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
Doug Felt
cfeec2a79a ICU-8448 update docs per Mark's request
X-SVN-Rev: 29991
2011-05-03 20:31:44 +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
1594d0eff0 ICU-8506 fix problem with G in CLDR.
X-SVN-Rev: 29961
2011-05-02 22:07:51 +00:00
Mark Davis
c6bd9357a9 ICU-8506 fix small errors needed for CLDR date interval testing
X-SVN-Rev: 29933
2011-04-30 01:07:01 +00:00
Andy Heninger
022e2f80d4 ICU-7083 make RBBI.getInstanceFromCompiledRules() public
X-SVN-Rev: 29929
2011-04-29 18:05:42 +00:00
Markus Scherer
283f4dec75 ICU-8053 add link to the LDML spec, C.11 Language Plural Rules
X-SVN-Rev: 29927
2011-04-29 18:04:30 +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
6ecb5efc59 ICU-8491 remove Utility.skipWhitespace(c)
X-SVN-Rev: 29899
2011-04-26 06:03:21 +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
Michael Ow
9df2f93160 ICU-8427 Update gb18030 range in CharsetMBCS
X-SVN-Rev: 29859
2011-04-22 23:06:40 +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
d63d812f6d ICU-7913 Remove javadoc verbage about leading zeroes
X-SVN-Rev: 29796
2011-04-14 16:55:06 +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
1432dbdf3b ICU-8093 Filter out non-tender currencies
X-SVN-Rev: 29773
2011-04-11 21:06:31 +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
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
Michael Ow
7b4c5e5246 ICU-8006 Update isFixedWidth API doc in ICU4J
X-SVN-Rev: 29705
2011-03-29 04:21:17 +00:00
Stuart Gill
24eda0204f ICU-8243 collation freezing
X-SVN-Rev: 29698
2011-03-25 22:58:01 +00:00
John Emmons
b3c66b754f ICU-7970 Add cache for getting currency code for a locale
X-SVN-Rev: 29690
2011-03-23 20:10:15 +00:00
John Emmons
6bc896956f ICU-8393 Reuse currency object in DecimalFormatSymbols initialization
X-SVN-Rev: 29689
2011-03-23 20:02:41 +00:00
John Emmons
6b98037d5d ICU-7427 Fix to normalize month/year values in Islamic calendar when doing an add in the calendar
X-SVN-Rev: 29688
2011-03-23 19:48:37 +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
fa21d8ab18 ICU-8419 Fixed the problem with months out of range in Indian Calendar
X-SVN-Rev: 29662
2011-03-17 19:47:03 +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
66e22eaea3 ICU-8432 clean up whitespace, base implementation of getUniqueKeywordValue on getAllKeywordValues
X-SVN-Rev: 29656
2011-03-15 18:28:26 +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
Yoshito Umaoka
a9ee9c8c01 ICU-8422 Fixed missing narrow era handling code. This is a blocker for CLDR data integration for ICU 4.8M1. We may also want to merge this back to older ICU4J releases.
X-SVN-Rev: 29638
2011-03-13 03:57:44 +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
Mark Davis
72a8e6a14b ICU-8416 add 'l' so that CLDR TestBasic works.
X-SVN-Rev: 29586
2011-03-09 22:36:33 +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
7f2d2c510e ICU-8210 Fixed an API status tag problem.
X-SVN-Rev: 29574
2011-03-09 00:14:25 +00:00
Yoshito Umaoka
ff32a2f2b1 ICU-8167 Fixed API status tag issues.
X-SVN-Rev: 29573
2011-03-09 00:10:36 +00:00
Yoshito Umaoka
324fc8a70b ICU-8412 Changed DecimalFormat implementation to use ULocale to access CurrencyPluralInfo. Previously, it used JDK Locale, which ends up undesired roundtrip results.
X-SVN-Rev: 29565
2011-03-07 23:55:00 +00:00
Markus Scherer
b05089cd04 ICU-8167 mark protected non-APIs as @internal
X-SVN-Rev: 29547
2011-03-05 00:12:34 +00:00
Mark Davis
b55bbd25a9 ICU-8175 Added note to clarify that j-1 is safe.
X-SVN-Rev: 29546
2011-03-04 23:56:24 +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
c2616a41fd ICU-8391 StringSearch() constructors ensure the FCD data is initialized
X-SVN-Rev: 29534
2011-03-03 23:37:41 +00:00
Markus Scherer
32ca14d226 ICU-8167 add @draft ICU 4.8 to string trie APIs
X-SVN-Rev: 29530
2011-03-03 21:53:40 +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
513023fbc5 ICU-8158 deal with sync issue, clean whitespace
X-SVN-Rev: 29512
2011-03-02 20:03:29 +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
2eb7c3a577 ICU-8304 DateFormat.MILLISECOND_FIELD was marked as @deprecated. The field name is used by JDK, so we cannot deprecate the field in ICU. Removing @deprecated.
X-SVN-Rev: 29496
2011-03-01 07:19:08 +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
9d855beaf8 ICU-8307 add fix for test
X-SVN-Rev: 29466
2011-02-23 21:57:16 +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
48f462c307 ICU-8158 fix misspelled tag, remove unwanted stub method, clean up whitespace a bit
X-SVN-Rev: 29458
2011-02-18 01:55:19 +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
Yoshito Umaoka
b3c4411fe3 ICU-8270 Calling readFully to read string pool data and copy to char[] instead of repeating readChar to improve performance.
X-SVN-Rev: 29399
2011-02-04 22:33:27 +00:00
Yoshito Umaoka
0300c5a799 ICU-8266 Clarify the behavior of TimeZone.useDaylightTime() in the API doc.
X-SVN-Rev: 29397
2011-02-04 04:14:35 +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
Andy Heninger
23657a9fd9 ICU-8315 Fix bad markup in SpoofChecker JavaDoc.
X-SVN-Rev: 29383
2011-01-29 00:17:36 +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
45cc22a01c ICU-8175 added some comparisons
X-SVN-Rev: 29353
2011-01-24 22:52:57 +00:00
Markus Scherer
666dc30f0c ICU-8167 keep fast/small and update comments accordingly
X-SVN-Rev: 29352
2011-01-24 20:42:14 +00:00
Markus Scherer
f90dd0a0a7 ICU-8167 restore fast/small trie build option
X-SVN-Rev: 29351
2011-01-24 17:13:56 +00:00
Markus Scherer
f9b8fd9ad8 ICU-8167 faster, smaller trie builder; adds to dynamic trie rather than list of (string, value) pairs
X-SVN-Rev: 29350
2011-01-24 06:15:31 +00:00
Yoshito Umaoka
e99eaf0aca ICU-8283 Use varargs in MessageFormat#format to match JDK.
X-SVN-Rev: 29347
2011-01-20 20:46:05 +00:00
Markus Scherer
0dc4eba9e8 ICU-8167 doc fix
X-SVN-Rev: 29346
2011-01-20 19:21:19 +00:00
Markus Scherer
cf9e2b4a9d ICU-8167 reduce number of object allocations in the trie builders
X-SVN-Rev: 29345
2011-01-20 18:55:46 +00:00
Markus Scherer
26161daaab ICU-8167 doc fixes
X-SVN-Rev: 29344
2011-01-20 06:07:42 +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
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
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
Yoshito Umaoka
1d6dad2796 ICU-8258 Changed UnicodeSet constructor to use int code points instead of String pattern in StrnigTokenizer
X-SVN-Rev: 29328
2011-01-17 19:28:30 +00:00
John Emmons
fd2cdc676e ICU-7755 Fix bad fallback
X-SVN-Rev: 29327
2011-01-17 19:24:22 +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
Yoshito Umaoka
79216529f6 ICU-8259 Use JDK StringTokenizer in ICUResourceBundle and VTimeZone
X-SVN-Rev: 29324
2011-01-17 16:50:22 +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
Yoshito Umaoka
26ef64e0b4 ICU-8275 Minor style fix
X-SVN-Rev: 29308
2011-01-14 22:15:49 +00:00
Yoshito Umaoka
19266897b3 ICU-8275 Build script to add full locale name list file in each resource path. The file name was changed from res_index.txt to fullLocaleNames.lst to avoid confusion (not quite matching res_index.res). Added a config property for disabling resource file scan to build full name locale list, which allow us to test the code path easily.
X-SVN-Rev: 29307
2011-01-14 21:35:42 +00:00
Markus Scherer
352b462d47 ICU-8167 fix BytesTrieBuilder strings array growth
X-SVN-Rev: 29306
2011-01-14 20:01:56 +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
Markus Scherer
14700ed27c ICU-8271 keep UCOL_RUNTIME_VERSION and UCOL_BUILDER_VERSION in sync with ICU4C
X-SVN-Rev: 29291
2011-01-12 22:20:51 +00:00
Mark Davis
7e67c6ed63 ICU-8226 fixed sign on comparison
X-SVN-Rev: 29289
2011-01-11 23:43:54 +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
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
Markus Scherer
4737659651 ICU-8167 port UCharsTrieBuilder to Java
X-SVN-Rev: 29278
2011-01-07 23:12:08 +00:00
Markus Scherer
9a43f08e82 ICU-8167 port UCharsTrie and BytesTrie::next(string) to Java
X-SVN-Rev: 29276
2011-01-07 05:25:40 +00:00
Markus Scherer
f9815a912b ICU-8167 port BytesTrie::Iterator to Java
X-SVN-Rev: 29274
2011-01-06 22:26:16 +00:00
Markus Scherer
3518ad81e3 ICU-8167 small bug fixes
X-SVN-Rev: 29271
2011-01-06 05:35:02 +00:00
Markus Scherer
be02e1d497 ICU-8167 port BytesTrieBuilder to Java
X-SVN-Rev: 29268
2011-01-06 00:51:39 +00:00
Markus Scherer
3c48ea5432 ICU-8167 rename ByteTrie to BytesTrie, DictTrie to StringTrie, etc.
X-SVN-Rev: 29267
2011-01-05 21:07:31 +00:00
Markus Scherer
beb1e5718e ICU-8105 new data structure for Unicode property names data (pnames.icu formatVersion 2); includes new dictionary-type tries (only ByteTrie runtime for now, see ticket #8167); merge branches/markus/pnames2 -r 29097:29250
X-SVN-Rev: 29253
2010-12-31 18:36:37 +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
839c21fdad ICU-8227 Changed the internal filter to be a UnicodeSet, making it no longer externally modifiable.
X-SVN-Rev: 29232
2010-12-20 19:53:28 +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
Mark Davis
6873ac1d7c ICU-8175 Speedup on codepoints(...)
X-SVN-Rev: 29219
2010-12-16 23:51:08 +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
Mark Davis
e0872406eb ICU-8175 Add some utilities for working with CharSequences. @internal for now.
X-SVN-Rev: 29206
2010-12-14 07:33:40 +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
Michael Ow
6400b375c6 ICU-7089 Recalculate time stamp array if stamp value is going to exceed limit in ICU4J calendar class.
X-SVN-Rev: 29163
2010-12-07 17:30:04 +00:00
Michael Ow
821d71dd85 ICU-7089 Ensure that the time stamp used by ICU4J Calendar class does not exceed the documented limit.
X-SVN-Rev: 29155
2010-12-03 19:31:41 +00:00
Yoshito Umaoka
3357036c2e ICU-8022 Removed readme.html for ICU4J locale SPI. Moved the contents to a new ICU user guide page - http://userguide.icu-project.org/icu4j-locale-service-provider. Updated the old link to locale SPI readme to the new user guide page in the master readme.html.
X-SVN-Rev: 29126
2010-12-01 18:46:48 +00:00
Mark Davis
e1413aed6d ICU-8169 Check the length to prevent exception.
X-SVN-Rev: 29065
2010-11-17 20:29:34 +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
Markus Scherer
a7db2b76be ICU-7641 do not refer to a particular (old) version of Unicode
X-SVN-Rev: 29057
2010-11-16 22:03:55 +00:00
Yoshito Umaoka
10fdc15d5d ICU-8022 Replace TAB with SPs
X-SVN-Rev: 29027
2010-11-11 06:38:10 +00:00
Yoshito Umaoka
33e107f735 ICU-8022 API status promotion for 4.6 release. Update APIChangeReport.html.
X-SVN-Rev: 29026
2010-11-11 06:26:13 +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
Andy Heninger
1158571db7 ICU-8147 SpoofChecker.CheckResult, add default constructor
X-SVN-Rev: 29023
2010-11-10 23:24:19 +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
Stuart Gill
bae3e7a74a ICU-3984 update the data - generated with recent ICU4C
X-SVN-Rev: 29016
2010-11-08 21:33:11 +00:00