Commit Graph

621 Commits

Author SHA1 Message Date
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