Commit Graph

2027 Commits

Author SHA1 Message Date
Yoshito Umaoka
4868776250 ICU-12724 Do not lazily initialize CANONICAL_MAP / variantsToKeywords with potentially problematic initialization code.
X-SVN-Rev: 39802
2017-03-14 21:11:57 +00:00
Yoshito Umaoka
7d82980d9a ICU-12882 Removed a section explaining calendar subclass resource data from DateFormatSymbols constructor's API doc.
X-SVN-Rev: 39792
2017-03-14 14:15:29 +00:00
Markus Scherer
782e4ff95e ICU-12922 bidi explicit level 0: lift it up to resolved paragraph level except leave it at 0 for paragraph separators
X-SVN-Rev: 39741
2017-03-07 22:57:46 +00:00
Peter Edberg
b3045d787d ICU-13005 update release version to 59.1 rc
X-SVN-Rev: 39736
2017-03-05 04:57:45 +00:00
Yoshito Umaoka
5817a8c964 ICU-12945 Removed redundant IBM copyright embedded in API comments. Also updated API doc footer copyright statement from IBM's to Unicode's.
X-SVN-Rev: 39696
2017-02-22 20:39:40 +00:00
Markus Scherer
4c2fad3e36 ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
X-SVN-Rev: 39684
2017-02-17 21:03:35 +00:00
Markus Scherer
bd7130998d ICU-12410 TestCaseMapWithEdits()
X-SVN-Rev: 39670
2017-02-14 00:21:31 +00:00
Markus Scherer
4207d7fc26 ICU-12410 test & fix Edits
X-SVN-Rev: 39660
2017-02-10 04:44:37 +00:00
Markus Scherer
91cb8bf24e ICU-12410 bug fixes
X-SVN-Rev: 39657
2017-02-09 23:09:08 +00:00
Markus Scherer
1c2a1da83b ICU-12410 move/re-port case folding, support Edits
X-SVN-Rev: 39651
2017-02-09 00:12:54 +00:00
Markus Scherer
4805866163 ICU-12410 move/re-port titlecasing, support Edits
X-SVN-Rev: 39647
2017-02-07 00:58:52 +00:00
Markus Scherer
2798a5aa3e ICU-12410 toUpper() with Edits
X-SVN-Rev: 39646
2017-02-06 22:31:15 +00:00
Markus Scherer
8543833fd7 ICU-12410 rename impl.CaseMap to impl.CaseMapImpl, avoid name collision with new text.CaseMap
X-SVN-Rev: 39645
2017-02-06 21:44:01 +00:00
Markus Scherer
96ad7e4a09 ICU-12410 minor API docs fixes
X-SVN-Rev: 39644
2017-02-06 21:21:52 +00:00
Markus Scherer
22702a020d ICU-12410 back to non-static CaseMap with options but no locale; immutable class with setters that return new/other objects
X-SVN-Rev: 39636
2017-02-02 22:54:31 +00:00
Markus Scherer
f735836e1e ICU-12410 switch CaseMap from ULocale to Locale (only)
X-SVN-Rev: 39634
2017-02-02 19:38:50 +00:00
Craig Cornelius
c21c41ac03 ICU-12824 Update escape sequences for JavaDoc
X-SVN-Rev: 39610
2017-01-28 00:31:16 +00:00
Peter Edberg
1e63072ce8 ICU-12948 Pass two preliminary integration of CLDR 31 @13194
X-SVN-Rev: 39604
2017-01-27 05:21:21 +00:00
Markus Scherer
2fe503c981 ICU-12410 start to port class CaseMap to Java; make case mapping impl code work with CharSequence & Appendable
X-SVN-Rev: 39603
2017-01-25 23:52:55 +00:00
Peter Edberg
e0f3d87e99 ICU-12948 First-pass preliminary integration of CLDR 31 @13174
X-SVN-Rev: 39601
2017-01-24 08:22:23 +00:00
Peter Edberg
7b33e586f5 ICU-12937 Withdraw MeasureUnit interfaces for coordinate units, and related data loading
X-SVN-Rev: 39599
2017-01-23 16:20:59 +00:00
Peter Edberg
8e2a943ae8 ICU-12948 Handle new KeyType values, codes
X-SVN-Rev: 39595
2017-01-22 09:21:04 +00:00
Markus Scherer
8e6641fb3c ICU-12410 port class Edits to Java
X-SVN-Rev: 39590
2017-01-21 00:53:52 +00:00
Peter Edberg
183b124712 ICU-12940 Add "ars" as alias to "ar_SA" locale, to "ar" for coll/rbnf
X-SVN-Rev: 39587
2017-01-20 20:07:27 +00:00
Andy Heninger
82dfd8b26e ICU-12873 Race Conditions in RuleBasedBreakIterator.
X-SVN-Rev: 39572
2017-01-17 23:13:25 +00:00
Peter Edberg
a238722264 ICU-12895 update release version to 59.0.1 for m1
X-SVN-Rev: 39562
2017-01-16 00:42:22 +00:00
George Rhoten
72280fb152 ICU-12713 Port fix for handling large magnitude numbers from ICU4J to ICU4C
X-SVN-Rev: 39560
2017-01-14 16:29:40 +00:00
George Rhoten
0b24b6a633 ICU-12874 Don't truncate small numbers with CompactDecimalFormat style rules represented in RBNF
X-SVN-Rev: 39557
2017-01-13 19:06:54 +00:00
Fredrik Roubert
48989879a8 ICU-12869 Don't use ordinal() to define public constants.
Review URL: https://codereview.appspot.com/317990043 .

X-SVN-Rev: 39525
2016-12-05 20:49:33 +00:00
Andy Heninger
ee80ecf6a7 ICU-12723 Remove double-checked locking in ICUNotifier.
X-SVN-Rev: 39503
2016-11-10 22:32:56 +00:00
Yoshito Umaoka
a8e45e3d32 ICU-12780 Unicode copyright and SVN property fixes.
X-SVN-Rev: 39463
2016-10-17 22:40:40 +00:00
Andy Heninger
4e22ce5dc8 ICU-12797 RBBI rule compiler fix.
X-SVN-Rev: 39431
2016-10-10 21:46:04 +00:00
Yoshito Umaoka
c97eed26e6 ICU-12716 Corrected API comment for newly added hashCode() methods, added a test case for VersionInfo#hashCode() and updated coverage-exclusion.txt. Also updated the API change report and API signature file.
X-SVN-Rev: 39394
2016-09-29 10:50:23 +00:00
Norbert Runge
acbe642cbb ICU-12761 Adds Unicode copyright notice.
X-SVN-Rev: 39389
2016-09-28 22:16:43 +00:00
Yoshito Umaoka
6ef22595ed ICU-12585 Merging Stuart's work branch changes for re-enabling serialization tests. The change set also contains ICU 58 serialization test data for future releases (BRS).
X-SVN-Rev: 39377
2016-09-28 04:56:57 +00:00
Craig Cornelius
e13317152d ICU-12716 Add hashCode to avoid compiler warnings
X-SVN-Rev: 39372
2016-09-28 01:13:19 +00:00
Craig Cornelius
f6e18517b1 ICU-12716 Fixes to remove ReferenceEquality warnings on compile
X-SVN-Rev: 39371
2016-09-28 00:39:19 +00:00
Markus Scherer
ecfeb4ac29 ICU-5456 minor changes for review feedback
X-SVN-Rev: 39364
2016-09-27 21:38:03 +00:00
Shane Carr
cd47bd50e6 ICU-12646 Handling out-of-bounds confusable entries in icu4j; see r39360 for icu4c.
X-SVN-Rev: 39363
2016-09-27 20:10:47 +00:00
Shane Carr
a1b7d39c3b ICU-12646 Syncing spoof data binary file format description with icu4c.
X-SVN-Rev: 39361
2016-09-27 17:52:29 +00:00
Yoshito Umaoka
fd1fb653a9 ICU-12739 Fixed svn properties.
X-SVN-Rev: 39355
2016-09-26 21:45:06 +00:00
Yoshito Umaoka
bea0b2961d ICU-12748 Removed @Override from a couple of methods added after Java 6.
X-SVN-Rev: 39347
2016-09-26 14:21:59 +00:00
Shane Carr
83bbd931ef ICU-12549 Minor revisions to SpoofChecker comments and documentation.
X-SVN-Rev: 39344
2016-09-23 21:44:06 +00:00
Norbert Runge
8e8676c652 ICU-12706 unit test coverage for CompactDecimalFormat, CurrencyMetaINfo, DigitList.
One unreachable method removed in DigitList.

X-SVN-Rev: 39343
2016-09-23 21:36:04 +00:00
Craig Cornelius
a2e5325ea3 ICU-12748 Remove override that does not work with Java 1.6
X-SVN-Rev: 39337
2016-09-22 23:29:23 +00:00
Craig Cornelius
f7e4a8f205 ICU-12716 Resolved StringEquality issues reported by ErrorProne (Android)
X-SVN-Rev: 39334
2016-09-22 22:49:46 +00:00
Shane Carr
602c875b31 ICU-12549 Small documentation and comment fixes in Java SpoofChecker
X-SVN-Rev: 39327
2016-09-22 01:35:48 +00:00
Markus Scherer
588f393cec ICU-12746 avoid checking for possibly-interned String; instead store the no-inheritance-marker as itself, and check for that later
X-SVN-Rev: 39316
2016-09-21 20:21:09 +00:00
Craig Cornelius
c1425af28f ICU-12748 Add @Overrides and fix whitespace, thanks to Eclipse
X-SVN-Rev: 39313
2016-09-21 19:55:37 +00:00
Yoshito Umaoka
96df443f84 ICU-12735 Merged ICU4J API promotion draft from the work branch to trunk, and updated the API change report with them.
X-SVN-Rev: 39312
2016-09-21 19:44:11 +00:00
Shane Carr
0004d39c91 ICU-12549 Changing deprecated SpoofChecker.getSkeleton API back to String instead of CharSequence
X-SVN-Rev: 39305
2016-09-21 00:24:05 +00:00
Yoshito Umaoka
8ebcc0b6d9 ICU-12739 Fixed a compiler warning and issues reported by Find Bugs.
X-SVN-Rev: 39302
2016-09-20 23:02:20 +00:00
Peter Edberg
7827611586 ICU-12739 ICU4J BRS, update measurement unit constants & code
X-SVN-Rev: 39299
2016-09-20 21:17:41 +00:00
Norbert Runge
d4d3c8f42b ICU-12706 Merges files from the ICU4J unit test coverage fix-it branch into trunk.
X-SVN-Rev: 39291
2016-09-20 17:00:07 +00:00
Yoshito Umaoka
37e2574283 ICU-12739 Fixed some API doc issues and eased doclint option with Java 8.
X-SVN-Rev: 39290
2016-09-20 16:48:49 +00:00
Shane Carr
7209575d36 ICU-12670 Fix for #12670 and #12672
X-SVN-Rev: 39264
2016-09-16 19:54:32 +00:00
Peter Edberg
f46a0abfac ICU-10368 Minor fix to headerdoc comments
X-SVN-Rev: 39256
2016-09-16 00:52:01 +00:00
Markus Scherer
691744c120 ICU-5456 minor fixes parallel with C++, and no code coverage for implicit default constructors of all-static classes
X-SVN-Rev: 39252
2016-09-15 23:54:13 +00:00
Peter Edberg
9534ad1cf8 ICU-12047 Minor wording adjustment in toLocalizedPattern() headerdoc
X-SVN-Rev: 39245
2016-09-15 17:32:24 +00:00
Shane Carr
f8620a567b ICU-12029 Measure unit display names, Java version.
X-SVN-Rev: 39242
2016-09-15 08:37:24 +00:00
Steven R. Loomis
ab8da082c7 ICU-12515 J fix - first() should just call delegate
there won't be a suppressed break at position 0. first() should just call into the delegate.

X-SVN-Rev: 39238
2016-09-15 04:29:23 +00:00
Yoshito Umaoka
4e29392bdd ICU-12739 Update ICU4J version to 58.1 / 58rc.
X-SVN-Rev: 39235
2016-09-15 03:04:15 +00:00
Yoshito Umaoka
3af8fe0e81 ICU-11679 Fixed incorrect Java Doc comments and import (Direction)
X-SVN-Rev: 39233
2016-09-15 01:30:54 +00:00
Shane Carr
bdd4180fe1 ICU-12549 Actually removing IdentifierInfo class.
X-SVN-Rev: 39226
2016-09-14 22:05:34 +00:00
Yoshito Umaoka
6fa604826e ICU-11679 Merging BidiTransform work from Lina's work branch.
X-SVN-Rev: 39223
2016-09-14 20:58:05 +00:00
Shane Carr
8d59026fd4 ICU-12549 Updating SpoofChecker to latest Unicode specification (Java version).
X-SVN-Rev: 39219
2016-09-13 22:16:02 +00:00
Steven R. Loomis
12b103f98a ICU-12515 fix errors in J filtered brk, enable @ss=
* fix errors in the filtered break implementation, sync with C
* sync rbbitst.txt with C
* enable 'en@ss=standard' syntax to enable filtered break

X-SVN-Rev: 39213
2016-09-13 20:08:10 +00:00
Shane Carr
b2b4154a9d ICU-12422 Fixing affixes for CompactDecimalFormat for locales with different positive/negative formats
X-SVN-Rev: 39208
2016-09-13 19:01:56 +00:00
Felipe Balbontín
7429cff9c7 ICU-12700 Implement DisplayContext.Type.SUBSTITUTE_HANDLING on LocaleDisplayNames.
X-SVN-Rev: 39206
2016-09-13 15:56:04 +00:00
Yoshito Umaoka
72e1644c07 ICU-10368 String digit/symbol support in DecimalFormatSymbols - merged from the work branch.
X-SVN-Rev: 39202
2016-09-13 08:41:57 +00:00
Markus Scherer
5d9b98cbc3 ICU-5456 modern Greek toUpperCase(), remove most diacritics
X-SVN-Rev: 39178
2016-09-09 22:30:55 +00:00
George Rhoten
d77bd4cec6 ICU-12611 Fix some issues found through static analysis.
X-SVN-Rev: 39168
2016-09-09 14:58:06 +00:00
Markus Scherer
433f663108 ICU-12420 deprecate COUNT/LIMIT constants whose value may change
X-SVN-Rev: 39167
2016-09-09 03:43:28 +00:00
Craig Cornelius
4bf12725a1 ICU-12716 FindBugs fixes & comments for false-positive warnings
X-SVN-Rev: 39163
2016-09-08 20:47:47 +00:00
George Rhoten
08c37f83f0 ICU-12462 Slightly improve the power function performance.
X-SVN-Rev: 39161
2016-09-08 18:35:21 +00:00
George Rhoten
4bd854a73c ICU-12462 Fix for large magnitude numbers. Prevent rounding errors when converting between long and double. Fallback to DecimalFormat behavior when outside of the positive 64 bit signed range instead of providing inaccurate results or exceptions.
X-SVN-Rev: 39159
2016-09-08 18:06:08 +00:00
Felipe Balbontín
5595faed12 ICU-12634 Remove type check left over from previous enumeration mechanism.
X-SVN-Rev: 39156
2016-09-08 01:06:49 +00:00
Felipe Balbontín
33dd922f4d ICU-12676 Add substitute handling enum values to ICU4J.
X-SVN-Rev: 39152
2016-09-07 18:18:18 +00:00
George Rhoten
cfcd20f0f4 ICU-12611 Fix some issues found through static analysis.
X-SVN-Rev: 39151
2016-09-07 17:58:15 +00:00
Andy Heninger
510a7919a7 ICU-12502 remove obsolete comment re Script Extension is Provisional.
X-SVN-Rev: 39140
2016-09-06 22:42:24 +00:00
Markus Scherer
be2b7dc92e ICU-12634 remove UResource.TableSink and ICUResourceBundle.getAllTableItems()
X-SVN-Rev: 39097
2016-08-30 20:58:54 +00:00
Felipe Balbontín
c1b7c99189 ICU-12591 Remove CalendarData.java and all the remaining references to the CalendarData class.
X-SVN-Rev: 39094
2016-08-29 20:53:20 +00:00
Craig Cornelius
74449b2e0c ICU-12617 Revise loading of calendar data to consider arraytype and missing default
X-SVN-Rev: 39093
2016-08-29 16:40:15 +00:00
Craig Cornelius
45b5a2ec8a ICU-12666 Update to use new sink methods for data loading. Remove use of CalendarData class
X-SVN-Rev: 39092
2016-08-29 16:19:07 +00:00
Felipe Balbontín
a64c50c570 ICU-12591 Remove CalendarData references from:
- DateIntervalFormat.java
- Calendar.java

X-SVN-Rev: 39081
2016-08-23 00:58:29 +00:00
Craig Cornelius
e864010e9a ICU-12617 Removed use of CalendarData class
X-SVN-Rev: 39072
2016-08-19 01:18:44 +00:00
Craig Cornelius
f01381d093 ICU-12419 Remove unused variable
X-SVN-Rev: 39050
2016-08-12 23:28:51 +00:00
Peter Edberg
9f86c49c46 ICU-12667 Resture version of DateTimePatternGenerator.getAppendFormatNumber that takes String (used by CLDR)
X-SVN-Rev: 39029
2016-08-09 22:41:36 +00:00
Craig Cornelius
25bcac3c50 ICU-12149 Check in fixes, reviewed.
X-SVN-Rev: 39000
2016-07-20 01:35:01 +00:00
Yoshito Umaoka
534eeba09e ICU-12047 Added a note in SimpleDateForamt#toLocalizedPattern() API doc.
X-SVN-Rev: 38975
2016-07-18 17:12:57 +00:00
Shane Carr
49809b7559 ICU-11912 Removing unused method in TimeZoneNamesImpl.
X-SVN-Rev: 38966
2016-07-12 22:37:06 +00:00
Shane Carr
28ed27b463 ICU-11912 Updating Java TimeZoneNames data loading to new data sink API and preparing for port to C++.
X-SVN-Rev: 38959
2016-07-08 18:15:36 +00:00
Markus Scherer
9a0d14b2dc ICU-12621 VersionInfo.UNICODE_VERSION add comment pointing to UCharacter.getUnicodeVersion()
X-SVN-Rev: 38957
2016-07-07 16:00:53 +00:00
George Rhoten
d303483ed5 ICU-12611 Remove dead code.
X-SVN-Rev: 38956
2016-07-07 14:38:11 +00:00
George Rhoten
485812384e ICU-12611 Silence some issues found through static analysis.
X-SVN-Rev: 38955
2016-07-07 14:10:09 +00:00
George Rhoten
c3fc04f0e2 ICU-12611 Remove dead code.
X-SVN-Rev: 38954
2016-07-07 08:18:16 +00:00
George Rhoten
10407c6184 ICU-12611 Fix some issues found through static analysis.
X-SVN-Rev: 38953
2016-07-07 04:28:08 +00:00
Markus Scherer
3f6aa90cdb ICU-12634 remove UResource.TableSink.enter() & leave()
X-SVN-Rev: 38952
2016-07-06 23:25:53 +00:00
Markus Scherer
9c875e067a ICU-12634 remove UResource.ArraySink
X-SVN-Rev: 38951
2016-07-06 23:05:46 +00:00
Markus Scherer
ef25688440 ICU-12634 remove TableSink.getOrCreateArraySink()
X-SVN-Rev: 38950
2016-07-06 22:32:10 +00:00
Felipe Balbontín
e486897ced ICU-12616 Update DateIntervalInfo to new version of ResourceSink.
X-SVN-Rev: 38945
2016-07-06 15:53:03 +00:00
George Rhoten
1234c9e54d ICU-12611 Fix some issues found through static analysis.
X-SVN-Rev: 38939
2016-07-05 13:10:46 +00:00
George Rhoten
b592f5bfb7 ICU-12611 Fix some issues found through static analysis.
X-SVN-Rev: 38938
2016-07-03 17:20:51 +00:00
George Rhoten
5bb1e71bca ICU-12611 Fix some issues found through static analysis.
X-SVN-Rev: 38937
2016-07-03 07:56:36 +00:00
George Rhoten
e6fc703918 ICU-12611 Improve code coverage
X-SVN-Rev: 38936
2016-07-02 17:10:14 +00:00
George Rhoten
3fe7709485 ICU-12611 Fix some issues found through static analysis.
X-SVN-Rev: 38935
2016-07-02 14:47:35 +00:00
Yoshito Umaoka
9365eef28f ICU-12456 Fixed incorrect assert condition which caused jdktzCheck test failure.
X-SVN-Rev: 38892
2016-06-29 16:18:32 +00:00
Yoshito Umaoka
7e54878b26 ICU-12456 Fixed compiler warnings.
X-SVN-Rev: 38891
2016-06-29 15:19:27 +00:00
Yoshito Umaoka
688cbee0ce ICU-12456 Organized imports. Updated save action to organize imports and remove trailing spaces. Updated copyright comment template.
X-SVN-Rev: 38890
2016-06-29 14:58:07 +00:00
kazède king
e489a8b318 ICU-12605 convert data enumeration to resource sink for TimeUnitFormat, Java
X-SVN-Rev: 38879
2016-06-24 00:59:03 +00:00
Craig Cornelius
d597a30abe ICU-12413 Check in revised data loading
X-SVN-Rev: 38877
2016-06-24 00:25:45 +00:00
Michael Ow
7ef631ba4f ICU-12564 Update copyright notice in ICU4J
X-SVN-Rev: 38875
2016-06-22 22:12:16 +00:00
Shane Carr
8a19894b81 ICU-12576 Small changes to Java DateTimePatternGenerator for C++ consistency.
X-SVN-Rev: 38863
2016-06-17 23:40:09 +00:00
Yoshito Umaoka
b5b35e4640 ICU-12595 Updated SimpleDateRule class to create a calendar per intance, instead of creating a static calendar instance shared across all SimpleDateRule instances. This change fixes the JUnit test execution issue.
X-SVN-Rev: 38851
2016-06-16 15:35:44 +00:00
Markus Scherer
ba843c9aa9 ICU-7434 switch DateFormatSymbols from SimpleCache to SoftCache
X-SVN-Rev: 38827
2016-06-10 22:51:24 +00:00
Shane Carr
e49518937c ICU-12579 Updating MeasureFormat Java data sink to new API.
X-SVN-Rev: 38822
2016-06-10 20:31:21 +00:00
Craig Cornelius
aa0e0a8a9d ICU-12527 Check in updated version.
X-SVN-Rev: 38804
2016-06-07 00:49:54 +00:00
kazède king
a99e0e389f ICU-12569 Use new sinks for Java.
X-SVN-Rev: 38803
2016-06-06 23:41:18 +00:00
Shane Carr
77fc1e4f5d ICU-12576 Updating Java DateTimePatternGenerator to use data sinks for data loading.
X-SVN-Rev: 38801
2016-06-06 23:25:13 +00:00
Felipe Balbontín
f937e63126 ICU-12414 Updated DateFormatSymbols to load data using ResourceSink on ICU4J.
X-SVN-Rev: 38774
2016-05-31 17:52:07 +00:00
Shane Carr
4316e50619 ICU-12528 Updating CompactDecimalDataCache data loading logic for Java/C++ consistency.
X-SVN-Rev: 38773
2016-05-31 17:35:22 +00:00
Shane Carr
d03ad991d9 ICU-12534 Optimizing currency spacing data loading in ICUCurrencyDisplayInfoProvider using data sink.
X-SVN-Rev: 38772
2016-05-31 16:34:58 +00:00
Shane Carr
f2cf8cd5ac ICU-12533 Loading capitilization context for LocaleDisplayNames using data sink.
X-SVN-Rev: 38771
2016-05-29 23:44:49 +00:00
Shane Carr
3fe541e843 ICU-11782 Optimizing storage of skeleton field strings in DateTimePatternGenerator. Adding unit tests for 'canonical skeleton' code pathways.
X-SVN-Rev: 38758
2016-05-21 01:00:29 +00:00
Markus Scherer
b06630af77 ICU-12526 integrate Unicode 9 beta
X-SVN-Rev: 38754
2016-05-19 22:51:14 +00:00
Markus Scherer
8cf118d150 ICU-7434 ICUService direct references to its cache Maps not SoftReferences
X-SVN-Rev: 38752
2016-05-18 20:58:20 +00:00
Markus Scherer
37701877e3 ICU-7434 switch UResourceBundle.BUNDLE_CACHE from SimpleCache to SoftCache, move/split BUNDLE_CACHE into impl subclasses to avoid protected @internal hacks
X-SVN-Rev: 38751
2016-05-18 20:29:26 +00:00
Markus Scherer
1824b6f66c ICU-12551 replace state-changing ICUResourceBundle.loadingStatus with isRoot() and OpenType.LOCALE_ONLY
X-SVN-Rev: 38750
2016-05-18 06:59:08 +00:00
Markus Scherer
0c24a0abdf ICU-7434 UResourceBundle ROOT_CACHE direct reference not SoftReference, change RootType from int to enum, remove hacky & obsolete resetBundleCache()
X-SVN-Rev: 38747
2016-05-16 22:37:52 +00:00
Markus Scherer
6cc82d7089 ICU-7434 switch RelativeDateTimeFormatter from SimpleCache to SoftCache
X-SVN-Rev: 38745
2016-05-16 21:46:11 +00:00
Markus Scherer
11ddfe3376 ICU-7434 switch DecimalFormatSymbols from SimpleCache to SoftCache
X-SVN-Rev: 38744
2016-05-16 17:23:18 +00:00
Markus Scherer
3d7536e60b ICU-7434 switch NumberingSystem from SimpleCache to SoftCache
X-SVN-Rev: 38743
2016-05-16 16:36:31 +00:00
Andy Heninger
04e3a43806 ICU-7547 Prohibit RuleBasedBreakIterator construction from empty rules.
X-SVN-Rev: 38741
2016-05-14 00:30:46 +00:00
Markus Scherer
33e71967fc ICU-7434 switch ULocale from SimpleCache to SoftCache
X-SVN-Rev: 38740
2016-05-14 00:05:52 +00:00
Markus Scherer
fec331c017 ICU-7434 cache region-to-Currency via SoftCache
X-SVN-Rev: 38739
2016-05-13 23:31:36 +00:00
Markus Scherer
220e261f82 ICU-7434 CalendarUtil cache all non-trivial calendarPreferenceData at once (currently only 4 entries), no need for complex cache
X-SVN-Rev: 38738
2016-05-13 22:29:11 +00:00
Markus Scherer
fa28f03bf6 ICU-7434 switch BreakIterator.iterCache from SoftReference to CacheValue
X-SVN-Rev: 38737
2016-05-13 21:23:20 +00:00
Markus Scherer
37c12c5961 ICU-7434 ICU4J SoftCache with CacheValue that can be null (which were not cached before) or hold a direct reference or hold a resettable Reference; CacheValue strength can be set for cache warm-up
X-SVN-Rev: 38734
2016-05-12 22:59:11 +00:00
Michael Ow
aa226394dd ICU-12456 Update version number to 58.0.1 in ICU4J
X-SVN-Rev: 38712
2016-05-06 21:07:05 +00:00
Shane Carr
36eb56695c ICU-12529 Committing Java version of MeasureUnit data sink.
X-SVN-Rev: 38697
2016-05-04 21:14:30 +00:00
Shane Carr
4544a84509 ICU-12528 Committing Java version of CompactDecimalDataCache data sink.
X-SVN-Rev: 38696
2016-05-04 21:12:46 +00:00
Markus Scherer
1e70c176bf ICU-12450 move com.ibm.icu.impl.duration.impl.YMDDateFormatter to org.unicode.unused
X-SVN-Rev: 38688
2016-05-03 21:06:24 +00:00
Markus Scherer
470a1f7ff5 ICU-12450 move com.ibm.icu.text.TransformTransliterator to org.unicode.unused
X-SVN-Rev: 38687
2016-05-03 20:57:17 +00:00
Markus Scherer
a97bd99a2e ICU-12450 move com.ibm.icu.text.TransformTransliterator to org.unicode.unused
X-SVN-Rev: 38686
2016-05-03 20:40:47 +00:00
Markus Scherer
1cb09a85a3 ICU-12440 replace old ICUResourceBundle constants with lower-level ICUData constants
X-SVN-Rev: 38685
2016-05-02 22:24:30 +00:00
Shane Carr
ac7474e79f ICU-12521 Updating DecimalFormatSymbols to data sink
X-SVN-Rev: 38676
2016-04-29 23:22:17 +00:00
Andy Heninger
456857b494 ICU-11996 CJKBreakEngine divideUpDictionaryRange failing to divide long Japanese sentences.
X-SVN-Rev: 38675
2016-04-29 23:09:35 +00:00
Markus Scherer
fef70d16f0 ICU-12520 Collator.getKeywordValuesForLocale() resource data enumeration
X-SVN-Rev: 38671
2016-04-29 22:54:29 +00:00
Andy Heninger
b5be040dd0 ICU-11999 BreakIterator, UnhandledBreakEngine consuming too many characters.
X-SVN-Rev: 38669
2016-04-29 21:30:27 +00:00
Markus Scherer
14c2ede1d8 ICU-12450 move com.ibm.icu.impl.MultiComparator to org.unicode.cldr.util
X-SVN-Rev: 38660
2016-04-27 23:48:14 +00:00
Markus Scherer
8f7dd3149c ICU-12510 set the UResource.Sink.put() Key more simply from the key field of the bundle
X-SVN-Rev: 38654
2016-04-27 16:17:11 +00:00
Markus Scherer
87a89d4df0 ICU-12510 set the UResource.Sink.put() Key for the enumeration-start resource
X-SVN-Rev: 38652
2016-04-26 22:46:01 +00:00
Markus Scherer
0157724f4a ICU-12510 resource data enumeration: get array/table objects from Value, iterate with nested code & functions not by returning nested sinks; use this in DateTimePatternGenerator.DayPeriodAllowedHoursSink
X-SVN-Rev: 38646
2016-04-25 21:34:36 +00:00
Markus Scherer
70edfed042 ICU-12450 remove unused StringUCharacterIterator
X-SVN-Rev: 38640
2016-04-22 17:30:52 +00:00
Markus Scherer
56421e3958 ICU-12450 move com.ibm.icu.impl.Differ to org.unicode.cldr.util.Differ; fork off com.ibm.icu.dev.demo.translit.IntDiffer for use in the translit.Demo
X-SVN-Rev: 38634
2016-04-19 22:15:27 +00:00
Markus Scherer
0c679d6a00 ICU-11764 8 new script codes for Unicode 9 & CLDR 29
X-SVN-Rev: 38609
2016-04-08 22:24:34 +00:00
Markus Scherer
bc785127a3 ICU-12446 fix typo
X-SVN-Rev: 38605
2016-04-07 00:17:35 +00:00
Markus Scherer
f4376e1e6f ICU-12446 UResource sink size: move into new enter(size) method
X-SVN-Rev: 38604
2016-04-06 23:40:59 +00:00
Markus Scherer
62c1d90b17 ICU-12423 merge in coverage tests for several classes from branches/fabalbon/56-1-test-coverage
X-SVN-Rev: 38601
2016-04-05 20:43:46 +00:00
kazède king
18268b8bae ICU-12275 use the new enumeration mechanism
X-SVN-Rev: 38595
2016-03-31 21:23:50 +00:00
Stuart Gill
aeff22719e ICU-11621 Changes in response to code review
X-SVN-Rev: 38594
2016-03-31 21:06:49 +00:00
Stuart Gill
1e38653868 ICU-11621 Changes in response to code review
X-SVN-Rev: 38592
2016-03-29 22:21:43 +00:00
Craig Cornelius
16557dbe12 ICU-12351 Add missing field position data in DecimalFormat
X-SVN-Rev: 38544
2016-03-21 17:18:32 +00:00
Stuart Gill
21d60734f6 ICU-11621 Fix for decimal not showing when no fraction but always show decimal separator set
X-SVN-Rev: 38535
2016-03-17 23:22:32 +00:00
Yoshito Umaoka
f486f67188 ICU-12186 Changed SimpleDateFormat#matchDayPeriodString from @internal protected to private, so it won't show up in the API reference doc.
X-SVN-Rev: 38505
2016-03-08 18:24:17 +00:00
Yoshito Umaoka
111a79ab31 ICU-12186 Fixed a couple of API status problems and regenerated API change report. Updated/corrected version and year strings in some files.
X-SVN-Rev: 38501
2016-03-08 00:16:56 +00:00
Yoshito Umaoka
3af51fe196 ICU-12186 Fixed Eclipse compiler warnings - mostly javadoc warnings.
X-SVN-Rev: 38496
2016-03-05 01:31:16 +00:00
Peter Edberg
bbf481e0c3 ICU-12072 J, tabs -> spaces
X-SVN-Rev: 38494
2016-03-04 22:39:03 +00:00
kazède king
c5fba6be2b ICU-11872 suppress output of "midnight" in formatting (Java)
X-SVN-Rev: 38488
2016-03-04 18:35:26 +00:00
Peter Edberg
b9759e7cce ICU-12072 J, Updates per review comments
X-SVN-Rev: 38483
2016-03-04 06:40:50 +00:00
Scott Russell
6d565a1d0c ICU-12186 organize imports
X-SVN-Rev: 38475
2016-03-03 16:14:06 +00:00
Scott Russell
b4319fbd64 ICU-12186 update ICU4J version number
X-SVN-Rev: 38474
2016-03-03 15:51:43 +00:00
Scott Russell
3fb3162cce ICU-12186 merge API promotion branch and update APIChangeReport
X-SVN-Rev: 38473
2016-03-03 04:17:43 +00:00
Markus Scherer
54ca0ab18c ICU-11952 match whole select part string, not just prefix
X-SVN-Rev: 38456
2016-03-01 23:47:06 +00:00
Markus Scherer
cbf6464079 ICU-12067 withdraw getter & setter for TIME_SEPARATOR date/time field
X-SVN-Rev: 38450
2016-03-01 18:49:43 +00:00
Yoshito Umaoka
a48cbfd993 ICU-12005 Fixed doc build problem with JDK 8. Added a build target 'docsStrict' which does all jlint check. Changed numeric character references in API doc with raw code points, so javadoc does not invalidate them in doclint.
X-SVN-Rev: 38444
2016-03-01 05:14:36 +00:00
Markus Scherer
93256d3f9e ICU-12067 withdraw TIME_SEPARATOR date/time field
X-SVN-Rev: 38441
2016-02-29 22:18:03 +00:00
Peter Edberg
d6562226e7 ICU-12154 J, update test & API doc for LocaleDisplayNames handling of bad locale IDs
X-SVN-Rev: 38428
2016-02-28 23:50:12 +00:00
Peter Edberg
d40857eaed ICU-12156 J, for locale disp name trailing parts, use internal methods that don't adjust for context
X-SVN-Rev: 38424
2016-02-28 20:14:07 +00:00
Andy Heninger
b552700cc6 ICU-12081 RBBI extensions & Emoji rules. Import rule data to Java from C++, port code changes.
X-SVN-Rev: 38422
2016-02-28 19:14:48 +00:00
John Emmons
d24c540196 ICU-10910 Compact currency formatting support
X-SVN-Rev: 38414
2016-02-27 02:47:37 +00:00
Scott Russell
8f598f6746 ICU-12005 Fix numerous warnings / errors from Javadoc generation
X-SVN-Rev: 38385
2016-02-26 21:14:36 +00:00
Craig Cornelius
54d140d51c ICU-11735 Fix to return null in currency parsing when no currency symbol is present.
X-SVN-Rev: 38375
2016-02-25 23:22:08 +00:00
kazède king
63aa3ea44f ICU-11872 fix build errors
X-SVN-Rev: 38374
2016-02-25 21:42:52 +00:00
kazède king
de148065c2 ICU-11872 new time formatting pattern chars b/B
Merging from the branch.

X-SVN-Rev: 38371
2016-02-25 19:53:49 +00:00
Mark Davis
633a219737 ICU-11872 Added code to do the pattern generation part of the new day periods.
X-SVN-Rev: 38363
2016-02-25 16:03:26 +00:00
Steven R. Loomis
e0ab17b728 ICU-12055 remove NPE from FilteredBreakIteratorBuilder
X-SVN-Rev: 38361
2016-02-25 01:39:48 +00:00
Felipe Balbontín
c08ea1df96 ICU-12013 Refactor DateIntervalFormat resource data loading using the sink on ICU4J.
X-SVN-Rev: 38357
2016-02-24 23:45:42 +00:00
Yoshito Umaoka
82801c4b0a ICU-12003 User more links to actual Java classes in ICU API doc.
X-SVN-Rev: 38348
2016-02-24 22:01:37 +00:00
Mark Davis
cc2ee5c6e6 ICU-4229 update to use new CLDR data, and to work with v28 data during transition.
X-SVN-Rev: 38321
2016-02-18 11:39:40 +00:00
Peter Edberg
c9d3995332 ICU-12072 RelativeDateTimeFormatter: improve J format API
X-SVN-Rev: 38320
2016-02-17 07:29:48 +00:00
Peter Edberg
abe480ef9e ICU-12085 Implement J support for new CLDR locale key "rg"
X-SVN-Rev: 38313
2016-02-16 07:11:10 +00:00
Yoshito Umaoka
f74ad54c81 ICU-12170 Regenerated ICU4J data with ICU4C/r38309. Revereted the patch for transform extension x0 which was temporarily made for 57m1.
X-SVN-Rev: 38310
2016-02-15 17:28:47 +00:00
John Emmons
3376c4a0b7 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38277
2016-02-05 02:28:56 +00:00
Peter Edberg
3bbe499ec2 ICU-12133 (J) Change proportion-karat to concentr-karat, add 5 new units in CLDR 29
X-SVN-Rev: 38248
2016-02-02 00:36:47 +00:00
Yoshito Umaoka
7bd3bee5d6 ICU-12084 Fixed javadoc warnings and updated API change report for 57m1.
X-SVN-Rev: 38238
2016-01-30 06:42:15 +00:00
Yoshito Umaoka
3cbb178df4 ICU-12084 Fixed Eclipse compiler warnings.
X-SVN-Rev: 38230
2016-01-30 01:11:30 +00:00
Yoshito Umaoka
1a28b453fc ICU-12084 Clean up import statements.
X-SVN-Rev: 38229
2016-01-30 01:01:17 +00:00
Fredrik Roubert
932aa99948 ICU-12018 Add missing * in Javadoc syntax.
X-SVN-Rev: 38216
2016-01-28 19:51:38 +00:00
Craig Cornelius
813980f620 ICU-11989 API doc fix
X-SVN-Rev: 38214
2016-01-28 19:45:33 +00:00
Peter Edberg
3c2bc322c2 ICU-12016 Correct author tags in some ICU4J files
X-SVN-Rev: 38201
2016-01-27 00:02:14 +00:00
Markus Scherer
dcb76aab72 ICU-7618 replace MessageFormat with SimpleFormatterImpl where easy; remove obsolete ChoiceFormat handling of currency names
X-SVN-Rev: 38199
2016-01-26 22:52:45 +00:00
Markus Scherer
00122edbf6 ICU-10896 split SimplePatternFormatter into public SimpleFormatter and all-static SimpleFormatterImpl
X-SVN-Rev: 38194
2016-01-23 05:17:18 +00:00
Michael Ow
7151f52fc8 ICU-12084 Update version number to 57m1 in ICU4J
X-SVN-Rev: 38187
2016-01-21 20:08:17 +00:00
Markus Scherer
cbc1e34b7f ICU-11802 add 4 Emoji properties from emoji-data.txt 2.0
X-SVN-Rev: 38184
2016-01-21 04:41:55 +00:00
Craig Cornelius
0013251fcb ICU-12018 Overhaul RelativeDateTimeFormatter data loading
X-SVN-Rev: 38176
2016-01-15 23:50:25 +00:00
Andy Heninger
09819eab73 ICU-11669 Thread safety of DateIntervalFormat::format()
X-SVN-Rev: 38157
2016-01-07 21:15:19 +00:00
Markus Scherer
0183cad1d7 ICU-12032 remove SimplePatternFormatter wrapper objects from MeasureFormat range formatting, too
X-SVN-Rev: 38156
2016-01-07 00:45:28 +00:00
Markus Scherer
a7119fa972 ICU-12032 SimplePatternFormatter allow values=null, some better API docs, some changes parallel with C++
X-SVN-Rev: 38154
2016-01-07 00:18:30 +00:00
Andy Heninger
ec1aaee041 ICU-12034 Fix MeasureUnit static initialization race.
X-SVN-Rev: 38150
2016-01-04 21:25:47 +00:00
Markus Scherer
e13ef30930 ICU-12032 rewrite SimplePatternFormatter: quoting like MessageFormat, shorter, create fewer objects; callers avoid wrapper objects
X-SVN-Rev: 38149
2016-01-02 01:12:37 +00:00
Markus Scherer
f6296491cc ICU-12041 check that per-unit patterns have one placeholder, fix patterns
X-SVN-Rev: 38140
2015-12-16 22:29:44 +00:00
Mark Davis
1d5b1fbb6f ICU-4229 Check for that zzzz is treated as duplicate of "others"; only allow regular scripts + zzzz.
X-SVN-Rev: 38138
2015-12-16 09:26:36 +00:00
Markus Scherer
cab8879780 ICU-12030 move some code to QuantityFormatter so that PluralRules does not depend on NumberFormat and to be more parallel with C++
X-SVN-Rev: 38135
2015-12-16 04:30:48 +00:00
Mark Davis
c3d49f32fc ICU-4229 Check for duplicate reorder codes
X-SVN-Rev: 38132
2015-12-15 20:21:08 +00:00
Mark Davis
565abe4808 ICU-4229 Enhanced the checking further.
X-SVN-Rev: 38128
2015-12-14 16:14:40 +00:00
Mark Davis
bdfe1a68cf ICU-4229 Enhanced the checking further.
X-SVN-Rev: 38125
2015-12-13 21:37:37 +00:00
Markus Scherer
fcd9bcbe71 ICU-12031 text.PluralRules.StandardPluralCategories -> impl.StandardPlural with new names for constants & methods
X-SVN-Rev: 38124
2015-12-11 22:27:18 +00:00
Markus Scherer
fa027da0f7 ICU-12030 MeasureFormat handle by-plural-form sideways-aliasing, by not bundling plural forms into a QuantityFormatter, reintegrate from ^/icu4j/branches/markus/sideways
X-SVN-Rev: 38122
2015-12-11 21:02:02 +00:00
Mark Davis
ad6035c5c2 ICU-4229 Initial cut at reading the CLDR from the resources, for use in validation. The main() has some quick check that will be separated into a test class.
X-SVN-Rev: 38118
2015-12-10 17:40:58 +00:00
Markus Scherer
3d76dd93d2 ICU-11986 optimize UnitPatternSink a bit; add MeasureUnitTest.testIndividualPluralFallback()
X-SVN-Rev: 38101
2015-12-02 22:18:50 +00:00
Yoshito Umaoka
670241f8d6 ICU-12010 Fixed a typo @returns in the previous commit.
X-SVN-Rev: 38100
2015-12-01 05:36:12 +00:00
Yoshito Umaoka
7c43d7d3f5 ICU-12022 Updated the minimum JRE version to Java 6.
X-SVN-Rev: 38099
2015-12-01 05:29:28 +00:00
Markus Scherer
7ac5360664 ICU-11986 MeasureFormat unit display patterns need to fall back to the parent locales per plural form, not as a set
X-SVN-Rev: 38098
2015-11-30 22:44:04 +00:00
Yoshito Umaoka
f387438e17 ICU-12010 Fixed some minor API doc issues.
X-SVN-Rev: 38097
2015-11-30 17:08:04 +00:00
Markus Scherer
6c1ba0d58e ICU-11986 slightly nicer QuantityFormatter.getPluralIndex(), avoid key.toString() for it
X-SVN-Rev: 38096
2015-11-20 17:36:23 +00:00
Markus Scherer
3f4f8032d1 ICU-11986 UResource.Value.getAliasString(), sink.leave(), MeasureFormat use resource enumeration, store one data reference not pieces of that data
X-SVN-Rev: 38095
2015-11-19 22:56:12 +00:00
Markus Scherer
d1b77c4e66 ICU-11986 rename ICUResource to UResource, consistent with UResourceBundle, in case we want to make the resource enumeration public
X-SVN-Rev: 38088
2015-11-18 00:19:31 +00:00
Michael Ow
e4126a0fb6 ICU-11979 Fix max char size for iso-2022-kr in icu4j
X-SVN-Rev: 38085
2015-11-17 23:05:18 +00:00
Andy Heninger
11da2bc073 ICU-11619 VTimeZone throws a ClassCastException when Zone ID unknown; move fixes from branch to trunk.
X-SVN-Rev: 38039
2015-10-07 00:32:46 +00:00
Scott Russell
f3f355943b ICU-11918 refresh API change report & API sig, fix for missing file for formatTests module test, and cleanup LocaleMatcher API change
X-SVN-Rev: 38017
2015-09-23 22:01:29 +00:00
Michael Ow
953f033293 ICU-11869 Update 2022 code in ICU4J
X-SVN-Rev: 38013
2015-09-23 20:47:33 +00:00
Peter Edberg
6b23d8ac58 ICU-11929 (J) Rename MeasureUnit constants GENERIC, REVOLUTION
X-SVN-Rev: 38010
2015-09-23 18:37:20 +00:00
Michael Ow
7ecac51d1c ICU-11869 Port ICU4C fix to ICU4J
X-SVN-Rev: 38007
2015-09-23 17:29:48 +00:00
Scott Russell
99f4e9be82 ICU-11918 LocaleMatcher API change reverted back to public but marked @internal as per Mark
X-SVN-Rev: 38006
2015-09-23 17:21:42 +00:00
Scott Russell
406f9aef1a ICU-11918 clean-up LocaleMatcher API and turn off doclint html check if V8
X-SVN-Rev: 38004
2015-09-23 13:25:42 +00:00
Yoshito Umaoka
bbf7a2da42 ICU-11918 Removed @author tag in a couple of methods in TimeZoneNames.java. @author cannot be used in method documentation.
X-SVN-Rev: 38000
2015-09-23 04:11:08 +00:00
Yoshito Umaoka
79d8e92f14 ICU-11918 BRS - Clean up import statements
X-SVN-Rev: 37991
2015-09-22 20:56:14 +00:00
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
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
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
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
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
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
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
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
Markus Scherer
fc9931c979 ICU-11875 make class UFormat @stable
X-SVN-Rev: 37867
2015-09-02 22:28:49 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Mark Davis
152bcd92c8 ICU-11583 fix resource loading for interval formats, plus add tests. There are some internal APIs for use by the tests also.
X-SVN-Rev: 37227
2015-03-13 07:09:17 +00:00
Yoshito Umaoka
14e95860a8 ICU-11565 BRS - Updated the API change report, fixed some JavaDoc tag problems.
X-SVN-Rev: 37216
2015-03-11 20:19:46 +00:00
Yoshito Umaoka
f9cf01598c ICU-11567 Promote draft APIs to stable in ICU 55.
X-SVN-Rev: 37214
2015-03-11 19:45:26 +00:00
Yoshito Umaoka
22dd5c9096 ICU-11565 Fixed Eclipse compiler warnings. Updated ICU4J project settings to detect [potentail] resource leak as warning, except icu-demos, icu-build-tools and icu-tools.
X-SVN-Rev: 37213
2015-03-11 18:54:31 +00:00
Yoshito Umaoka
d2598ad888 ICU-11565 BRS - organize import statements
X-SVN-Rev: 37207
2015-03-11 15:25:50 +00:00
Yoshito Umaoka
fad6881394 ICU-10488 Added @provisional to draft APIs, and supplied missing java doc commment/status to java.lang.Object method overrides.
X-SVN-Rev: 37206
2015-03-10 22:27:08 +00:00
Scott Russell
6c4df64d1f ICU-11565 BRS - svnprops check
X-SVN-Rev: 37195
2015-03-09 21:11:14 +00:00
Mark Davis
1c46811b4d ICU-10488 fixes for review comments. See comment:10
X-SVN-Rev: 37191
2015-03-08 10:06:22 +00:00
John Emmons
1bf3215b3f ICU-11555 Integrate CLDR 27 data
X-SVN-Rev: 37170
2015-03-06 23:05:45 +00:00
Yoshito Umaoka
0ac0d23f9a ICU-11565 ICU4J version number to 55.1
X-SVN-Rev: 37158
2015-03-06 20:21:01 +00:00
Yoshito Umaoka
a2a9fba351 ICU-11532 Fixed a minor JavaDoc comment problem found during code review. The warning is gone now.
X-SVN-Rev: 37154
2015-03-06 04:11:24 +00:00
Markus Scherer
9f30cd935f ICU-11265 T not A for generic Appendable type name
X-SVN-Rev: 37153
2015-03-06 03:45:03 +00:00
Peter Edberg
f28e3cf98b ICU-10936 J umalqura: Speedup for IslamicCalendar.yearStart, add conversion accuracy tests
X-SVN-Rev: 37141
2015-03-05 04:10:35 +00:00
Markus Scherer
980e3f32de ICU-11562 improve script code API docs
X-SVN-Rev: 37136
2015-03-04 22:24:12 +00:00
Scott Russell
5f81c8793b ICU-10426 rename IslamicCalendar#setType() to IslamicCalendar#setCalculationType()
X-SVN-Rev: 37134
2015-03-04 22:16:24 +00:00
Fredrik Roubert
617841ff20 ICU-11395 Add @SuppressWarnings for parameterized vararg warnings.
R=yoshito_umaoka@us.ibm.com

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

X-SVN-Rev: 37129
2015-03-04 17:55:34 +00:00
Peter Edberg
3765b3d130 ICU-11510 J: Support narrow AM/PM "aaaaa" for date format and parse
X-SVN-Rev: 37125
2015-03-04 06:27:56 +00:00
Markus Scherer
31bc4daf4c ICU-11265 UnicodeSet: Replace StringBuffer with StringBuilder
X-SVN-Rev: 37116
2015-03-03 22:46:32 +00:00
George Rhoten
883d0628bf ICU-11532 Small performance improvement when iterating over rule sets
X-SVN-Rev: 37107
2015-03-02 07:26:07 +00:00
George Rhoten
52f0fc8a17 ICU-11532 Infinite loop while parsing an RBNF rule with plural format
X-SVN-Rev: 37106
2015-03-02 03:27:18 +00:00
Mark Davis
7b66f26a10 ICU-10488 Add api for locale display list
X-SVN-Rev: 37103
2015-02-28 15:06:42 +00:00
Mark Davis
d8dbf52acc ICU-11099 Add @internal API for now.
X-SVN-Rev: 37102
2015-02-28 14:16:06 +00:00
Markus Scherer
e1cf3a582f ICU-11346 separate Iterable vs. Iterator classes
X-SVN-Rev: 37092
2015-02-27 16:53:43 +00:00
Peter Edberg
f695444816 ICU-11539 J: Delete Calendar fields TIME_SEPARATOR, RELATED_YEAR; adjust accordingly
X-SVN-Rev: 37090
2015-02-27 08:59:59 +00:00
Yoshito Umaoka
6216dfc0c1 ICU-11273 Transliterator initializer to load IDs from root.res, instead of non-existing index.res.
X-SVN-Rev: 37075
2015-02-26 08:25:37 +00:00
Yoshito Umaoka
a4b1199d60 ICU-11321 Prevent crash even when ICU4J classes are initialized by a bootstrap class loader.
X-SVN-Rev: 37074
2015-02-26 07:58:45 +00:00
Andy Heninger
56459a99d9 ICU-11446 Spoof Checker data update: use MA table only.
X-SVN-Rev: 37072
2015-02-26 02:04:11 +00:00
Peter Edberg
33de7d60b8 ICU-9379 J: Update BreakIterator createInstance to handle linebreak variant files; update tests
X-SVN-Rev: 37060
2015-02-24 22:38:03 +00:00
Yoshito Umaoka
df67b1a7d0 ICU-11540 The previous fix broke the CoverageTest execution on Eclipse IDE (file: protocol). I reverted the change, and reverted #11521, and fixed the original issue in a different way.
X-SVN-Rev: 37051
2015-02-23 13:03:38 +00:00
Peter Edberg
6ed790341e ICU-10761 J: DateTimePatternGenerator should allow r and U in same pattern
X-SVN-Rev: 37048
2015-02-22 10:11:25 +00:00
Peter Edberg
154ad1a4bd ICU-10761 J: Basic support for date pattern character 'r', date field RELATED_YEAR
X-SVN-Rev: 37047
2015-02-22 08:20:18 +00:00
Fredrik Roubert
8a943fafe4 ICU-11467 Promote time separator interfaces to public API.
R=markus.icu@gmail.com

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

X-SVN-Rev: 37042
2015-02-19 12:01:33 +00:00
Fredrik Roubert
d8b9e7ecaa ICU-11463 ICU4J ought to always close() resources
R=yoshito_umaoka@us.ibm.com

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

X-SVN-Rev: 37034
2015-02-13 20:16:22 +00:00
Fredrik Roubert
9aadd6b1e9 ICU-11467 Define the 'r' pattern char and the RELATED_YEAR field.
For compatibility with ICU4C, the RELATED_YEAR field should be defined
as the field preceding the TIME_SEPARATOR field but by mistake support
for the TIME_SEPARATOR field has already been implemented in ICU4J
without first defining the RELATED_YEAR field.

This change therefore reorders the existing TIME_SEPARATOR field and
adds definitions (without any underlying implementation) for the 'r'
pattern char and the RELATED_YEAR field.

R=markus.icu@gmail.com,pedberg@apple.com

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

X-SVN-Rev: 37032
2015-02-13 18:20:21 +00:00
Markus Scherer
5ceb402827 ICU-11521 fix JarURLHandler prefix so that the file basename does not start with a slash
X-SVN-Rev: 37022
2015-02-11 18:54:48 +00:00
Markus Scherer
bb4101274a ICU-11496 enumerate ICU resources from both jar file and file system
X-SVN-Rev: 37012
2015-02-05 16:22:43 +00:00
Fredrik Roubert
774a23e4a7 ICU-11039 optionally build ICU4J jar without ICU runtime data
Make all Ant targets for copying data conditional on a new property
named icu4c.data.path which, if set, inhibits all data copying and
updates the ICUConfig.properties file to use this path.

Use in this way:
$ ant -Dicu4c.data.path=/tmp/icu/build/data/out/tmp check

R=markus.icu@gmail.com

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

X-SVN-Rev: 36996
2015-01-30 16:59:20 +00:00
Fredrik Roubert
081b54e280 ICU-11483 Canonicalize IDs for java.util.TimeZone.getTimeZone().
Review URL: https://codereview.appspot.com/194240043

X-SVN-Rev: 36988
2015-01-27 10:55:16 +00:00
Markus Scherer
0acf60d3e0 ICU-11479 do not ask the Java system what the canonical name should be, just figure it out from ICU data
X-SVN-Rev: 36982
2015-01-22 20:40:30 +00:00
Yoshito Umaoka
2e44f6274f ICU-11487 Fixed lookup trie initialization problem in TZDBTimeZoneNames.
X-SVN-Rev: 36977
2015-01-21 19:51:06 +00:00
Markus Scherer
1604e1772d ICU-11479 precompute Java canonical names for not-only-ICU Charsets, make CharsetProviderICU all-static again (see ticket #9973), simplify some test code
X-SVN-Rev: 36966
2015-01-16 17:35:52 +00:00
Markus Scherer
e65a679a26 ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36925
2015-01-07 03:49:20 +00:00
Markus Scherer
6c0fcd7a64 ICU-11448 collation common tertiary weights for normal Hiragana, change builder to cope with below-common tertiary weights
X-SVN-Rev: 36907
2014-12-27 00:39:08 +00:00
Fredrik Roubert
c47bac8255 ICU-11018 Refactor date format string mapping code (ICU4J)
To make this code more maintainable: Make mapping tables zero based, add
a table to tell if a character can be used to define a field in a format
string (instead of now rather long-winded character range expressions)
and make all lookup tables accessed through helper functions.

R=rocketman@google.com

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

X-SVN-Rev: 36900
2014-12-19 07:28:19 +00:00
Fredrik Roubert
a897801e80 ICU-11018 Support CLDR time separator (ICU4J)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

R=rocketman@google.com

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

X-SVN-Rev: 36898
2014-12-19 07:20:14 +00:00
John Emmons
9d67693f3f ICU-11430 Make genPatternInfo method public (for CLDR)
X-SVN-Rev: 36888
2014-12-18 18:06:07 +00:00
John Emmons
f4fcba39d9 ICU-11060 Fix naming convention for @alt values from CLDR
X-SVN-Rev: 36887
2014-12-17 23:26:00 +00:00
Travis Keep
4cbb21d8b5 ICU-11445 Bring per unit formatting in MeasureFormat out of tech preview.
X-SVN-Rev: 36885
2014-12-17 22:19:45 +00:00