Commit Graph

7179 Commits

Author SHA1 Message Date
Yoshito Umaoka
9a3c2ba437 ICU-11861 Fixed compiler warnings introduced in the previous commit.
X-SVN-Rev: 37989
2015-09-22 17:06:11 +00:00
Scott Russell
990774fbd4 ICU-11918 ICU4J API promotion from draft to stable
X-SVN-Rev: 37985
2015-09-22 13:52:13 +00:00
Mark Davis
09b798d757 ICU-11861 Added immutable lists of skeletons for iteration, as @internal. Also added test to make sure that they are aligned with what is tested. Note that I reordered and added items to DateFormatTest to verify coverage and order.
X-SVN-Rev: 37984
2015-09-22 12:01:44 +00:00
Mark Davis
72e1610789 ICU-11898 fixed assertion and added test.
X-SVN-Rev: 37983
2015-09-22 11:23:13 +00:00
Scott Russell
f57dc2ac03 ICU-11572 review updates
X-SVN-Rev: 37982
2015-09-22 04:17:27 +00:00
Yoshito Umaoka
6097a70d4b ICU-11918 Fixed an eclipse warning in icu4j-build-tools.
X-SVN-Rev: 37980
2015-09-22 01:05:51 +00:00
Yoshito Umaoka
bd78494175 ICU-11918 Updated eclipse project for icu4j-build-tools to use a user library JDK8_TOOLS, referecing to JDK's tools.jar
X-SVN-Rev: 37979
2015-09-22 00:54:47 +00:00
Yoshito Umaoka
121c209819 ICU-11918 Reverted accidentally modified ICUTagletAdapter.java in the previous commit.
X-SVN-Rev: 37978
2015-09-22 00:51:19 +00:00
Yoshito Umaoka
e5105c7f84 ICU-11918 Fixed compiler warnings.
X-SVN-Rev: 37977
2015-09-22 00:32:25 +00:00
Scott Russell
4a0beedc03 ICU-11918 ICU4J version updates
X-SVN-Rev: 37973
2015-09-18 19:39:08 +00:00
Peter Edberg
abc86a3ec9 ICU-11918 Update icudata.jar, icutzdata.jar, testdata.jar from ICU4C
X-SVN-Rev: 37967
2015-09-16 21:26:27 +00:00
Scott Russell
bdc5ce07b3 ICU-11572 API proposal updates for approved constants
X-SVN-Rev: 37963
2015-09-16 04:00:08 +00:00
Scott Russell
d671fbb0c4 ICU-11572 API proposal updates for approved constants
X-SVN-Rev: 37962
2015-09-16 02:36:11 +00:00
Markus Scherer
8c5d68a7e0 ICU-11750 defer & simplify fetching code points from CharacterIterator, test normalization boundaries from both sides
X-SVN-Rev: 37958
2015-09-15 20:46:25 +00:00
Markus Scherer
c776894097 ICU-11738 minor fixes
X-SVN-Rev: 37957
2015-09-15 19:55:36 +00:00
Markus Scherer
6d31a2bfa2 ICU-11493 document Charset.name() not unique for mapping table variants
X-SVN-Rev: 37955
2015-09-15 16:08:15 +00:00
Peter Edberg
24d0d779d2 ICU-11750 For Indic search: Allow match end at normalization boundary in middle of grapheme cluster (J)
X-SVN-Rev: 37952
2015-09-13 19:01:29 +00:00
Mark Davis
003c9da518 ICU-11738 Updated to handle string ranges.
X-SVN-Rev: 37943
2015-09-10 14:30:28 +00:00
Mark Davis
1f9540cce1 ICU-11803 added 'main', simplified code for easier debugging
X-SVN-Rev: 37942
2015-09-10 12:14:46 +00:00
Peter Edberg
eef3e8f0f7 ICU-11787 Add support for STANDARDCURRENCYSTYLE and locale u-ext key -cf- (J)
X-SVN-Rev: 37941
2015-09-10 07:01:41 +00:00
Travis Keep
9c2626faa9 ICU-11887 Deprecate DurationFormat.
X-SVN-Rev: 37926
2015-09-09 20:53:18 +00:00
Craig Cornelius
266f4e8b67 ICU-11805 DecimalFormat missing negative sign in US locale formatToCharacterIterator
X-SVN-Rev: 37925
2015-09-09 20:52:52 +00:00
Markus Scherer
ea8111fe25 ICU-11447 better SpoofChecker.CheckResult.toString()
X-SVN-Rev: 37923
2015-09-09 19:29:17 +00:00
Fredrik Roubert
d8a1859b6e ICU-11783 Remove use of class loaders in resource loading caches.
There is currently no known use-case where this code that is being
removed solves a real problem, but it causes problems in Android when
ICU4J is being initialized using one class loader but then called using
another class loader.

R=markus.icu@gmail.com, yoshito_umaoka@us.ibm.com

Review URL: https://codereview.appspot.com/260600044 .

X-SVN-Rev: 37920
2015-09-09 18:42:45 +00:00
Mark Davis
ac4466583f ICU-11721 small fixes
X-SVN-Rev: 37919
2015-09-09 13:27:10 +00:00
Mark Davis
1fc1ceab55 ICU-11447 add toString. Just an override of existing API, so not an API change.
X-SVN-Rev: 37918
2015-09-09 13:14:46 +00:00
Mark Davis
2c7e3cfe4d ICU-11803 fixed (but see comments)
X-SVN-Rev: 37917
2015-09-09 13:04:56 +00:00
Mark Davis
c5396b67a2 ICU-8288 Looks like the code was fixed some time in the past, so just added test.
X-SVN-Rev: 37916
2015-09-09 12:45:06 +00:00
Mark Davis
d81ee368f0 ICU-11544 Made the main changes to bring it up to snuff with the CLDR data.
X-SVN-Rev: 37915
2015-09-09 12:30:26 +00:00
Markus Scherer
36ef10c2df ICU-11900 UCharacter use java.lang.Character code point constants & methods, not ICU UTF16
X-SVN-Rev: 37912
2015-09-09 00:13:06 +00:00
Travis Keep
16c1b96f5a ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37911
2015-09-09 00:10:38 +00:00
Craig Cornelius
1a6b2975d1 ICU-11808 Missing ArithmeticException when using ICU4J DecimalFormat
X-SVN-Rev: 37909
2015-09-08 23:39:59 +00:00
Michael Ow
1af9647af1 ICU-11869 Update ICU4J test data jar
X-SVN-Rev: 37908
2015-09-08 22:40:45 +00:00
Michael Ow
906223c6b1 ICU-11869 Update charset pref list for jis8 in icu4j
X-SVN-Rev: 37906
2015-09-08 22:36:40 +00:00
Peter Edberg
5dc7ebe25b ICU-11773 Withdraw COLON as pattern char, leave support for TIME_SEPARATOR_FIELD (J)
X-SVN-Rev: 37899
2015-09-08 02:21:22 +00:00
Craig Cornelius
2dfa676385 ICU-11784 Fix DecimalFormat FieldPosition for Field.CURRENCY
X-SVN-Rev: 37887
2015-09-04 21:58:03 +00:00
Markus Scherer
1310bace9c ICU-11890 remove some unused non-public ICU4J classes; add TODOs to others that are not used in library code
X-SVN-Rev: 37878
2015-09-03 21:34:50 +00:00
Markus Scherer
1cc38f16e7 ICU-11879 ZoneNamesImpl.find() add zone names already loaded for formatting into parsing trie, and try to match again, before loading every known zone name
X-SVN-Rev: 37877
2015-09-03 20:08:18 +00:00
Markus Scherer
8b65d47b8b ICU-11879 DateFormatSymbols.getZoneStrings() use new, fast, public-@internal TimeZoneNames methods for getting multiple display names
X-SVN-Rev: 37876
2015-09-03 18:08:16 +00:00
Markus Scherer
8b0e7bfea2 ICU-11842 RBC: lazy-init the rules string
X-SVN-Rev: 37875
2015-09-03 16:24:55 +00:00
Markus Scherer
bbfc880575 ICU-7303 align Normalizer deprecation notice with pre-existing C/C++ notice
X-SVN-Rev: 37874
2015-09-03 16:12:57 +00:00
Markus Scherer
57c257c62a ICU-7303 deprecate old normalization APIs that have Normalizer2 replacements
X-SVN-Rev: 37872
2015-09-02 23:48:25 +00:00
John Emmons
924239aef3 ICU-11846 CLDR 28 data integration (d05)
X-SVN-Rev: 37869
2015-09-02 22:59:20 +00:00
Markus Scherer
fc9931c979 ICU-11875 make class UFormat @stable
X-SVN-Rev: 37867
2015-09-02 22:28:49 +00:00
Scott Russell
f169e1d936 ICU-10988 Support v8 JavaDoc API
X-SVN-Rev: 37866
2015-09-02 15:31:55 +00:00
Markus Scherer
3b7d1aa8aa ICU-11879 change to child-first resource enumeration: avoid deserializing overridden resource values
X-SVN-Rev: 37865
2015-09-02 02:08:44 +00:00
Markus Scherer
e035b4f857 ICU-11879 change new @internal TimeZoneNames.getDisplayNames() from returning String[] to writing to String[] with offset; also mark as @deprecated as well
X-SVN-Rev: 37863
2015-09-01 22:55:46 +00:00
Markus Scherer
71ee34ed74 ICU-11879 efficient enumeration of time zone names rather than fetching each name with fallback; build most of time zone names trie only when needed for parsing
X-SVN-Rev: 37859
2015-09-01 04:18:01 +00:00
John Emmons
2493b2ddac ICU-11846 CLDR 28 data integration (d04)
X-SVN-Rev: 37855
2015-08-31 21:32:17 +00:00
John Emmons
dd198e7c3e ICU-11846 CLDR 28 data integration (d03)
X-SVN-Rev: 37845
2015-08-28 20:53:10 +00:00
George Rhoten
252f2a14e9 ICU-11653 Add more test cases for rounding in RBNF.
X-SVN-Rev: 37842
2015-08-28 18:14:04 +00:00
John Emmons
c0a1914073 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37838
2015-08-27 21:04:13 +00:00
George Rhoten
be9d69bef6 ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37824
2015-08-26 10:42:45 +00:00
Yoshito Umaoka
633e6d1d7b ICU-11760 Fixed a build error with Java 5 runtime.
X-SVN-Rev: 37813
2015-08-25 19:37:01 +00:00
George Rhoten
9a011771da ICU-11653 Override roundingMode API from the NumberFormat superclass so that it doesn't throw an exception.
X-SVN-Rev: 37812
2015-08-25 19:33:18 +00:00
Markus Scherer
056237d6db ICU-11004 bulk-read data from ByteBuffer; read .res key strings up front into byte[] for faster lookup
X-SVN-Rev: 37806
2015-08-24 20:30:44 +00:00
Markus Scherer
0f0c27a025 ICU-11537 fix .res formatVersion check
X-SVN-Rev: 37796
2015-08-21 21:06:38 +00:00
George Rhoten
8653b95982 ICU-11760 Add rule syntax for NaN, infinity and alternate decimal points.
Some performance enhancements were added for good measure too.  Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing.
 Also I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad.

X-SVN-Rev: 37778
2015-08-17 08:38:34 +00:00
Yoshito Umaoka
60618537be ICU-11630 tzdata2015f to ICU4J
X-SVN-Rev: 37764
2015-08-12 20:25:20 +00:00
Fredrik Roubert
1b61660ea6 ICU-11789 Always specify class loader when loading test data.
X-SVN-Rev: 37758
2015-08-12 15:24:01 +00:00
Markus Scherer
9e0d7d9554 ICU-11537 move shared resource bundle string values to pool.res, .res formatVersion 3
X-SVN-Rev: 37732
2015-08-07 18:46:21 +00:00
Steven R. Loomis
7c2cd2be1a ICU-11248 Improve SimpleFilteredSentenceBreakIterator.hashCode
X-SVN-Rev: 37680
2015-07-18 00:18:17 +00:00
Fredrik Roubert
e2d4e965d2 ICU-11753 Resource directory path must end with a slash
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/252750043.

X-SVN-Rev: 37639
2015-07-01 17:37:18 +00:00
Yoshito Umaoka
cac1e10605 ICU-11629 Updated ICU4J readme for 56m1
X-SVN-Rev: 37629
2015-06-29 04:12:07 +00:00
Yoshito Umaoka
2e9a8ca6d1 ICU-11629 Updated API change report for 56m1
X-SVN-Rev: 37628
2015-06-29 03:57:11 +00:00
Peter Edberg
4874d2eeaf ICU-11629 J, update MeasureUnit interfaces and tests for new units in CLDR 27/28
X-SVN-Rev: 37625
2015-06-28 01:41:07 +00:00
Yoshito Umaoka
18b3dfe72c ICU-11629
X-SVN-Rev: 37623
2015-06-26 20:15:08 +00:00
Peter Edberg
a1b8a08bf7 ICU-11706 (and #11726) Fix DateIntervalFormat handling of (1) skeletons with seconds, (2) FieldPosition (J)
X-SVN-Rev: 37615
2015-06-24 07:40:11 +00:00
Peter Edberg
f6d079eba2 ICU-11673 Add new Japanese name for Georgia to cjdict (J)
X-SVN-Rev: 37609
2015-06-23 02:16:43 +00:00
Peter Edberg
0a5fda54d1 ICU-11688 Add Thai words for "update" and "event" to dictionary (J)
X-SVN-Rev: 37607
2015-06-23 00:54:21 +00:00
Peter Edberg
a0ba3e423d ICU-11677 Fixed spelling of NUMEIRC_FORMAT_CHARS2, removed duplicate M from "ceLMMQq"
X-SVN-Rev: 37605
2015-06-22 22:18:31 +00:00
Michael Ow
27098218c3 ICU-11630 Update tzdata in ICU4J to 2015e
X-SVN-Rev: 37572
2015-06-15 23:17:37 +00:00
Markus Scherer
c37aa4a6ab ICU-11574 Unicode 8.0 final data
X-SVN-Rev: 37549
2015-06-12 11:10:47 +00:00
John Emmons
c9e710c42b ICU-11728 First cut CLDR 28 data integration
X-SVN-Rev: 37523
2015-06-10 18:20:27 +00:00
John Emmons
9485d0d907 ICU-11737 Prevent fallback to the wide form where it shouldn't. Short form should be the defualt per CLDR
X-SVN-Rev: 37516
2015-06-09 21:26:01 +00:00
Travis Keep
68597cddb7 ICU-10458 Add more data driven tests for parsing currency.
X-SVN-Rev: 37508
2015-06-09 18:02:40 +00:00
Yoshito Umaoka
ed1f16a6b7 ICU-11733 Check null for ICU DateFormatSymbols wrapped by DateFormatSymbolsICU. So DateFormatSymbols.clone() no longer cause NPE even an instance is not fully initialized.
X-SVN-Rev: 37501
2015-06-05 18:45:59 +00:00
Yoshito Umaoka
bcdb602582 ICU-11692 Fixed a compilation error with Java runtime version 5 - replacing String#isEmpty() with String#length() == 0
X-SVN-Rev: 37500
2015-06-05 16:35:12 +00:00
Travis Keep
a1dcd14c0d ICU-10458 More data driven tests for parsing.
X-SVN-Rev: 37494
2015-06-03 16:41:42 +00:00
Travis Keep
7b7a214307 ICU-11692 DecimalFormat data driven tests for JAVA.
X-SVN-Rev: 37484
2015-06-01 20:28:39 +00:00
Markus Scherer
88e2877fd6 ICU-11574 near-final Unicode 8 data with new block API constants, code adjustments & fixes; svn merge --reintegrate branches/markus/uni80; plus Java port of C++ r37450 spoof data d6 update
X-SVN-Rev: 37474
2015-05-28 23:17:23 +00:00
Yoshito Umaoka
475ba73f13 ICU-11697 SimpleCache thread safety - changed cacheRef to volatile.
X-SVN-Rev: 37468
2015-05-28 06:47:50 +00:00
Yoshito Umaoka
c6581d9c2f ICU-11677 Fixed numeric field detection method to return true for pattern Q up to two letters. The pattern letters constant were updated to match the corresponding C implementation (DateFormatSymbols:isNumericField(UDateFormatField,int32_t)). Uncommented TestQuarters which was commented previously for some reasons, and added the problematic abutting patterns - Qyy and QQyy in the test data.
X-SVN-Rev: 37452
2015-05-19 21:25:08 +00:00
Fredrik Roubert
4854bd6b67 ICU-11674 Make ULocale tests work better with Android.
ULocale has been updated to work with scripts and Unicode extensions in
the Android Locale, so the tests can be updated to expect this to behave
essentially like Java 7.

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/235430043

X-SVN-Rev: 37432
2015-05-12 18:38:39 +00:00
Fredrik Roubert
3229213046 ICU-11674 Make ULocale work better with Android.
Android supports scripts and Unicode extensions, but not locale
categories. Instead of identifying Java version to determine
capabilities, this change introduces two booleans in JDKLocaleHelper,
one that tells whether the implementation supports locale categories,
and another that tells whether scripts and extensions are supported.

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/238000043

X-SVN-Rev: 37430
2015-05-08 14:43:48 +00:00
Andy Heninger
b8a025a215 ICU-11635 Fix supplemental character handling bug in class IdentifierInfo.
X-SVN-Rev: 37427
2015-05-07 00:32:28 +00:00
Yoshito Umaoka
5cbba9e1f6 ICU-11630 tzdata2015d to ICU4J
X-SVN-Rev: 37400
2015-04-24 23:46:18 +00:00
George Rhoten
a423e7cb09 ICU-11564 Improve the thread safety of RBNF.
The recursion count is now a method argument instead of a data member.
Some data fields are now marked final to ensure thread safety, which caused reordering of some data initialization/parsing.
Setting the DecimalFormatSymbols no longer reparses the rules, but it just sets a new version of DecimalFormatSymbols instead.

X-SVN-Rev: 37383
2015-04-23 07:44:14 +00:00
Andy Heninger
fa38aa2c0b ICU-11608 remove lines with $ svn keywords
X-SVN-Rev: 37368
2015-04-20 20:50:26 +00:00
Andy Heninger
e599c1007e ICU-11609 set svn property eol-style native for more text files in icu4j.
X-SVN-Rev: 37365
2015-04-17 23:31:56 +00:00
Yoshito Umaoka
7daa0c8e78 ICU-11629 Updated ICU4J version to 56.0.1.
X-SVN-Rev: 37338
2015-04-15 16:41:47 +00:00
Michael Ow
997afd4ee2 ICU-11630 Update tzdata in ICU4J to 2015c
X-SVN-Rev: 37334
2015-04-14 21:23:40 +00:00
Travis Keep
2efcd46ee3 ICU-11580 Fix DateIntervalInfo descrepencies between C and J
X-SVN-Rev: 37325
2015-04-09 18:28:59 +00:00
Yoshito Umaoka
bc3b3a3916 ICU-11595 Merging locale matcher's fix from the work branch emmons/t11595 to trunk, with ICU4J data jar files regenerated from the ICU4C trunk.
X-SVN-Rev: 37295
2015-03-27 17:57:18 +00:00
Yoshito Umaoka
b72bd763eb ICU-11315 tzdata2015b updates in ICU4J.
X-SVN-Rev: 37267
2015-03-24 22:34:57 +00:00
Mark Davis
7887f56097 ICU-11583 fix bug that travis found in review. See comments in the bug report for details
X-SVN-Rev: 37239
2015-03-17 08:17:40 +00:00
John Emmons
a5f260cbd8 ICU-11586 Fixes for en_CA date formats
X-SVN-Rev: 37236
2015-03-16 21:14:23 +00:00
Yoshito Umaoka
4a303c4af9 ICU-11565 Updated ICU4J readme for ICU4J 55RC.
X-SVN-Rev: 37233
2015-03-13 21:52:29 +00:00
Yoshito Umaoka
fc82df36a1 ICU-11565 Removed the link to icu4c.css to fix HTML validation error. The same file was already checked into ICU4C repo.
X-SVN-Rev: 37232
2015-03-13 21:29:28 +00:00
Yoshito Umaoka
32271b5e29 ICU-11583 Fixed several issues in the previous commits. See #11583 comment:7 for the details.
X-SVN-Rev: 37230
2015-03-13 20:18:09 +00:00