Commit Graph

2049 Commits

Author SHA1 Message Date
Jugu Dannie Sundar
2a5df236f5 ICU-11632 icu4j changes for integer overflow in calendar support
X-SVN-Rev: 40370
2017-09-05 22:22:46 +00:00
Shane Carr
a4905a73c0 ICU-13177 Changing more names of classes and moving code around. No behavior changes.
X-SVN-Rev: 40368
2017-09-02 04:53:46 +00:00
Steven R. Loomis
8866e097b3 ICU-11909 work in progress on FilteredBreakJ
X-SVN-Rev: 40367
2017-09-01 19:32:35 +00:00
Shane Carr
c0f2ca5177 ICU-13177 Renaming classes and moving things around. No or very few behavior changes.
X-SVN-Rev: 40364
2017-09-01 08:30:17 +00:00
Shane Carr
20e5b7b910 ICU-13177 Simplifying the Modifier interface by removing getPrefix() and getSuffix() and replacing it with getPrefixLength(), which exposes the same information.
X-SVN-Rev: 40358
2017-08-26 07:22:38 +00:00
Shane Carr
b60d81e668 ICU-13177 Moving around a lot of code for better C++ portability. The only behavior change is that -1 is stored instead of Integer.MAX_VALUE internally in most places.
X-SVN-Rev: 40357
2017-08-26 06:56:41 +00:00
Markus Scherer
3e9530c048 ICU-13332 CaseMapImpl.isFollowedByCasedLetter() must increment the string index while looping
X-SVN-Rev: 40353
2017-08-24 20:36:19 +00:00
Shane Carr
388288b819 ICU-13177 Removes old (ICU 59) number formatting middleware since it has been wholly replaced by the property mapper function. This change also removes the IProperties polymorphism and makes all remaining classes reference Properties directly.
X-SVN-Rev: 40352
2017-08-24 08:18:22 +00:00
Shane Carr
41d811b716 ICU-13177 Assorted cleanup and minor changes. Preparation for C++.
X-SVN-Rev: 40351
2017-08-24 06:03:12 +00:00
Shane Carr
8b625eda51 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40350
2017-08-24 05:56:16 +00:00
Markus Scherer
d362b18924 ICU-13307 Java Edits.mergedAndAppend(ab, bc); map indexes only from inside spans not empty deletions/insertions
X-SVN-Rev: 40348
2017-08-23 20:42:30 +00:00
Shane Carr
d9056b1f32 ICU-13285 Adding NumberingSystem constructor methods to DecimalFormatSymbols (J and C).
X-SVN-Rev: 40345
2017-08-17 23:49:00 +00:00
George Rhoten
221c076ac2 ICU-13293 RuleBasedNumberFormat should not throw an exception when mixing rounding and unreal numbers
X-SVN-Rev: 40344
2017-08-17 23:25:38 +00:00
Markus Scherer
a919ea14e1 ICU-6591 make ccc=x work for all integers 0..255
X-SVN-Rev: 40328
2017-08-11 23:42:02 +00:00
Shane Carr
f5af411b7f ICU-13177 Adding new number formatting code to repository.
X-SVN-Rev: 40315
2017-08-05 01:02:35 +00:00
Shane Carr
8540468f28 ICU-13177 Changes to existing API for number formatting overhaul.
X-SVN-Rev: 40314
2017-08-05 00:28:16 +00:00
Shane Carr
ca30fb66ec ICU-13177 Pointing DecimalFormat.java and CompactDecimalFormat.java at the new API. All tests are passing.
X-SVN-Rev: 40313
2017-08-04 22:43:34 +00:00
Shane Carr
ea6b6a46b1 ICU-13289 Fixing engineering notation discrepancy with the LDML spec.
X-SVN-Rev: 40304
2017-08-01 18:12:59 +00:00
Shane Carr
8cf6752ecb ICU-13177 Assorted minor internal changes.
X-SVN-Rev: 40294
2017-07-28 05:55:06 +00:00
Shane Carr
6996d12710 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40289
2017-07-27 03:23:15 +00:00
Shane Carr
3f881632f4 ICU-13286 Fixing ICU4J numbering systems with supplemental-range code point digits.
X-SVN-Rev: 40288
2017-07-27 03:08:22 +00:00
Markus Scherer
9a3a03c417 ICU-13270 icu::Edits add numberOfChanges(); Edits::Iterator add findDestinationIndex(), destinationIndexFromSourceIndex(), sourceIndexFromDestinationIndex()
X-SVN-Rev: 40286
2017-07-24 22:43:53 +00:00
Markus Scherer
aa6d5e3e76 ICU-13271 add Normalizer2::isNormalizedUTF8()
X-SVN-Rev: 40280
2017-07-20 22:08:30 +00:00
Shane Carr
e3928d4fbf ICU-13177 Merging trunk to branch
X-SVN-Rev: 40273
2017-07-20 04:10:01 +00:00
Shane Carr
5e5a9a84c5 ICU-13177 Assorted internal data type changes. Should not change behavior.
X-SVN-Rev: 40272
2017-07-20 04:06:29 +00:00
Andy Heninger
1292197198 ICU-12507 rbbi, switch impl from UTrie to UTrie2.
X-SVN-Rev: 40270
2017-07-19 22:31:12 +00:00
Markus Scherer
e6748afd82 ICU-13197 improved normalization data structure and code; .nrm formatVersion 3; merged from branches/markus/normv3 except for cherry-picks from trunk to there
X-SVN-Rev: 40265
2017-07-14 22:38:40 +00:00
Shane Carr
e9755b9774 ICU-11903 Always propagate zero digit in DecimalFormatSymbols#setZeroDigit().
X-SVN-Rev: 40255
2017-07-12 10:17:57 +00:00
Shane Carr
fc823505ae ICU-12690 Adding convenience overloads for java.util.Currency.
X-SVN-Rev: 40253
2017-07-11 17:24:34 +00:00
Yoshito Umaoka
363bb5523c ICU-13159 Suppress unused warnings.
X-SVN-Rev: 40209
2017-06-26 04:10:32 +00:00
Shane Carr
b492e597f0 ICU-13177 Reverting changes that were accidentally committed to branch in r40120
X-SVN-Rev: 40201
2017-06-23 07:29:54 +00:00
Shane Carr
0c193f20f5 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40200
2017-06-23 07:21:33 +00:00
Shane Carr
95e854506a ICU-13151 Removing obsolete assertion from PluralFormat.java
X-SVN-Rev: 40199
2017-06-23 06:51:04 +00:00
Peter Edberg
2cea868e02 ICU-13006 DateFormat.setNumberFormat should clone the NumberFormat and also call setGroupingUsed(false)
X-SVN-Rev: 40198
2017-06-23 06:26:30 +00:00
Peter Edberg
d515102c5a ICU-13215 DayPeriodRules.getInstance should ignore keywords to get correct data and not hang
X-SVN-Rev: 40196
2017-06-23 05:02:12 +00:00
Shane Carr
5f631570eb ICU-13177 Merging trunk to branch
X-SVN-Rev: 40195
2017-06-23 00:08:34 +00:00
Shane Carr
acd53b0c18 ICU-13129 Changing default Parse MathContext to 34 digits instead of 16 digits.
X-SVN-Rev: 40194
2017-06-22 23:26:48 +00:00
Shane Carr
c25183efdd ICU-13231 Changing DecimalFormat min/max setters to use the most recent setting instead of always preferring the minimum for backwards compatibility.
X-SVN-Rev: 40186
2017-06-21 00:44:47 +00:00
Shane Carr
e9c5e5631b ICU-13228 Adding more symbols to localized notation mapper function, including support for multi-char symbols.
X-SVN-Rev: 40185
2017-06-21 00:38:25 +00:00
Andy Heninger
a9cedfb775 ICU-12507 bump rbbi data version for change to UTrie2; consolidate version checking.
X-SVN-Rev: 40183
2017-06-20 22:11:08 +00:00
Shane Carr
0a19183f1b ICU-13230 Fixing DecimalFormat parser to ignore grouping separators when there is no grouping separator in the pattern OR when setGroupingUsed(false) is explicitly called.
X-SVN-Rev: 40181
2017-06-19 21:03:07 +00:00
Andy Heninger
6735aadcbc ICU-12982 add BreakIterator.setText(CharSequence) overload
X-SVN-Rev: 40179
2017-06-19 20:28:41 +00:00
Shane Carr
64cb86e425 ICU-13229 Extending range for returning a Long from DecimalFormat#parse(), and changing API descriptions to be more informative when discussing return types.
X-SVN-Rev: 40175
2017-06-17 01:22:41 +00:00
Shane Carr
8b95db7157 ICU-13227 Throwing NullPointerException on string methods in DecimalFormat
X-SVN-Rev: 40170
2017-06-15 01:45:12 +00:00
Shane Carr
d177e8b645 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40168
2017-06-13 20:42:33 +00:00
Markus Scherer
cfef2fb339 ICU-9198 add titlecasing options: wholeString, sentences, adjustToCased
X-SVN-Rev: 40164
2017-06-09 23:04:03 +00:00
Markus Scherer
e05c15a02c ICU-13197 fix indexesLength check while loading data, more readable duplicate elimination of noNo mappings
X-SVN-Rev: 40157
2017-06-07 18:22:44 +00:00
Yoshito Umaoka
694142470e ICU-13159 Updating ICU version in trunk to 60.0.1 (60m1) - merging changes from my work branch.
X-SVN-Rev: 40145
2017-05-31 16:50:38 +00:00
Shane Carr
d0d0b173b4 ICU-13205 Prevent exception from being thrown when parsing numbers with very large exponents.
X-SVN-Rev: 40141
2017-05-26 23:59:13 +00:00
Peter Edberg
e2e48c9dce ICU-13183 for compatibility, get(Base)Skeleton should not include 'a' added by DateTimeMatcher; add tests
X-SVN-Rev: 40133
2017-05-24 06:57:45 +00:00
Jugu Dannie Sundar
6e8c655270 ICU-13080 missing parameter added
X-SVN-Rev: 40131
2017-05-23 22:13:55 +00:00
Markus Scherer
b2ead3e2e1 ICU-8130 UTS 46 conformance test using Unicode IdnaTest.txt
X-SVN-Rev: 40130
2017-05-23 04:44:58 +00:00
Peter Edberg
56e884e22e ICU-13183 on branch - Handle different field lengths for skeleton metachars j,C
X-SVN-Rev: 40126
2017-05-22 22:24:39 +00:00
Peter Edberg
7dd19b65ab ICU-13183 on branch - Handle abB as normal fields but force add/remove depending on hour field; other fixes
X-SVN-Rev: 40124
2017-05-22 06:16:11 +00:00
Shane Carr
c705ad40b3 ICU-13073 Exposing PluralRules as a setter on the number format property bag.
X-SVN-Rev: 40122
2017-05-18 21:57:13 +00:00
Shane Carr
2bb31cb63f ICU-13177 Merging trunk to branch
X-SVN-Rev: 40120
2017-05-12 22:22:09 +00:00
Shane Carr
36c6e6c6a2 ICU-13073 Adding API for setting custom compact data, for CLDR Survey Tool.
X-SVN-Rev: 40117
2017-05-12 21:50:31 +00:00
Shane Carr
b9f7feaf26 ICU-12985 Bringing SpoofChecker documentation back in sync with unit test.
X-SVN-Rev: 40115
2017-05-06 02:39:49 +00:00
Markus Scherer
89c546d69f ICU-12635 fix ranges overrun in collation weight allocator
X-SVN-Rev: 40113
2017-05-05 19:36:48 +00:00
Andy Heninger
9d12b335cc ICU-12507 ICU4J RBBI, switch to UTrie2
X-SVN-Rev: 40112
2017-05-04 22:30:40 +00:00
Markus Scherer
61b0f07f39 ICU-12985 fix compiler warnings from now-unused ASPIRATIONAL script usage
X-SVN-Rev: 40111
2017-05-04 20:27:25 +00:00
Markus Scherer
c741167e3e ICU-12985 Unicode 10 data from 20170503; new properties Emoji_Component, Regional_Indicator, Prepended_Concatenation_Mark; merged from ^/branches/markus/uni10@40107
X-SVN-Rev: 40109
2017-05-04 20:13:29 +00:00
Markus Scherer
28c3a82fc0 ICU-12985 fix VersionInfo.UNICODE_10_0 @stable tag
X-SVN-Rev: 40103
2017-05-03 20:43:55 +00:00
Shane Carr
e3e9bbaffb ICU-13177 Minor parse-debugging changes.
X-SVN-Rev: 40095
2017-05-02 00:10:45 +00:00
Shane Carr
b10a17be24 ICU-13162 Tweaking ignorables handling to round-trip new fa percent pattern.
X-SVN-Rev: 40093
2017-05-02 00:02:43 +00:00
Shane Carr
3a6c706388 ICU-13177 Moving "codePointZero" optimization from PositiveDecimalFormat.java to DecimalFormatSymbols.java.
X-SVN-Rev: 40091
2017-04-29 01:33:06 +00:00
Shane Carr
03eae5bec0 ICU-13177 Moving CompactType to public CompactDecimalFormat.java
X-SVN-Rev: 40088
2017-04-28 23:47:51 +00:00
Markus Scherer
eb57bf7c90 ICU-12985 implement the binary Prepended_Concatenation_Mark property
X-SVN-Rev: 40084
2017-04-27 21:11:01 +00:00
Markus Scherer
b0ad84012f ICU-12985 implement the binary Regional_Indicator property with a single hardcoded range
X-SVN-Rev: 40083
2017-04-27 18:29:07 +00:00
Markus Scherer
6ce7f348a3 ICU-12985 implement the binary Emoji_Component property for emoji 5
X-SVN-Rev: 40082
2017-04-26 23:58:36 +00:00
Markus Scherer
edce2be62c ICU-12985 Unicode 10 data 20170418, new property values, adjust tools & tests
X-SVN-Rev: 40079
2017-04-26 21:17:13 +00:00
Andy Heninger
205568ddc5 ICU-13031 revise BreakIterator JavaDoc example.
X-SVN-Rev: 40069
2017-04-20 21:43:58 +00:00
Shane Carr
66c49f8887 ICU-13115 Reject decimal format patterns that have a trailing ','
X-SVN-Rev: 40068
2017-04-19 23:42:18 +00:00
Shane Carr
1b0ce88028 ICU-13117 Ignore trailing semicolon in decimal format patterns.
X-SVN-Rev: 40067
2017-04-19 22:29:28 +00:00
Shane Carr
33b124a95d ICU-13156 Fixing ArithmeticException when formatting small numbers with CompactDecimalFormat.
X-SVN-Rev: 40066
2017-04-19 21:26:44 +00:00
Shane Carr
56f713b519 ICU-13113 Fixing unintentional test failure from r40027
X-SVN-Rev: 40029
2017-04-11 02:16:59 +00:00
Shane Carr
39184c68c2 ICU-13113 Changing decimal format exceptions to always contain the string "Malformed pattern" for better backwards and forwards compatibility.
X-SVN-Rev: 40027
2017-04-10 23:35:22 +00:00
Shane Carr
990a7b0c62 ICU-13118 Fixing Out-Of-Memory error in scientific number formatter.
X-SVN-Rev: 40026
2017-04-10 22:36:04 +00:00
Yoshito Umaoka
728feb5d1a ICU-13120 Updated Specification/Implementation/Bundle vendor and copyright in manifest files from IBM to Unicode.
X-SVN-Rev: 40023
2017-04-10 18:39:10 +00:00
Fredrik Roubert
f05aa069f7 ICU-13109 Public API: RelativeDateTimeUnit must be @stable ICU 57
X-SVN-Rev: 40018
2017-04-10 10:14:21 +00:00
Fredrik Roubert
1ab20c7d99 ICU-13108 Javadoc: Use @inheritDoc not @inheritDocs
X-SVN-Rev: 40017
2017-04-10 10:14:01 +00:00
Fredrik Roubert
20ff893552 ICU-13107 Javadoc: @link must use curly brackets
X-SVN-Rev: 40016
2017-04-10 10:13:42 +00:00
Yoshito Umaoka
6d0489d82c ICU-13099 Deprecated UniversalTimeScale.MAX_SCALE to match the API status change in ICU4C 59. Updated API signature file and API change report.
X-SVN-Rev: 40001
2017-04-07 08:17:49 +00:00
Shane Carr
773683046a ICU-13088 Fixing number parsing when a minus sign is is preceded by ignorables in a pattern string.
X-SVN-Rev: 39977
2017-03-31 21:45:46 +00:00
Yoshito Umaoka
3f6feba353 ICU-13060 Fixed a javadoc warning introduced by the last commit.
X-SVN-Rev: 39971
2017-03-31 15:12:31 +00:00
Shane Carr
b48e0ac226 ICU-13060 Incorporating feedback from reviews. Overhauling whitespace handling in parsing for better ICU 58 compatibility. Adding "grouping mode" for #13071 to code but not yet in public API.
X-SVN-Rev: 39970
2017-03-31 05:49:14 +00:00
Shane Carr
4f862748cf ICU-13060 Fixing pre-59 deserialization test failures.
X-SVN-Rev: 39957
2017-03-29 21:06:16 +00:00
Shane Carr
6616bebf9f ICU-13060 One more tweak to CurrencyUsage override for backwards compatibility.
X-SVN-Rev: 39955
2017-03-29 07:37:12 +00:00
Shane Carr
bd7655a38e ICU-13060 Minor tweak to CurrencyUsage override; allows CurrencyUsage without a currency pattern.
X-SVN-Rev: 39954
2017-03-29 06:33:41 +00:00
Shane Carr
08dcc7e82e ICU-13060 Documentation and parsing whitespace/bidi tweaks.
X-SVN-Rev: 39951
2017-03-29 02:31:49 +00:00
Shane Carr
dd47bbc596 ICU-13060 Fixing tags in DecimalFormat.java
X-SVN-Rev: 39950
2017-03-28 16:30:57 +00:00
Shane Carr
dd892f9e2b ICU-13060 Adding file-level documentation back to DecimalFormat.
X-SVN-Rev: 39949
2017-03-28 04:33:32 +00:00
Shane Carr
626ee51728 ICU-13060 Addressing comments from #11649 and #11816
X-SVN-Rev: 39947
2017-03-27 23:06:56 +00:00
Yoshito Umaoka
059c0d04e1 ICU-12812 Fixed a Javadoc syntax issue in the API comment for method distance(ULocale,ULocale).
X-SVN-Rev: 39945
2017-03-27 19:26:57 +00:00
Yoshito Umaoka
c0007833e1 ICU-7467 Added @internal NumberFormat#getPatternForStyle and reverted API signature of NumberFormat#getPattern, so we don't need to change API signature of existing @stable API.
X-SVN-Rev: 39944
2017-03-27 19:13:58 +00:00
Shane Carr
320df6aa71 ICU-13060 Moving ShanesDataDrivenTestUtility.java into NumberFormatDataDrivenTest.java and fixing small parsing bug.
X-SVN-Rev: 39938
2017-03-25 08:06:48 +00:00
Shane Carr
7cfbb489bd ICU-13060 Fixing hash code iteration order issues (#13065) and signAlwaysShown parsing.
X-SVN-Rev: 39937
2017-03-25 07:41:42 +00:00
Shane Carr
3998c8780f ICU-13060 Adding tech preview for setSignAlwaysShown() and moving SignificantDigitsMode from internal class to public DecimalFormat (as @internal tech preview).
X-SVN-Rev: 39933
2017-03-24 22:04:22 +00:00
Shane Carr
2e887df8b8 ICU-13060 Adding tech preview for setSignAlwaysShown() and moving SignificantDigitsMode from internal class to public DecimalFormat (as @internal tech preview).
X-SVN-Rev: 39932
2017-03-24 22:03:50 +00:00
Andy Heninger
da410e89ee ICU-13060 Remove random 200B in a URL
X-SVN-Rev: 39930
2017-03-24 20:40:12 +00:00
Shane Carr
b8bd58ee7f ICU-13060 Additional Coverity fixes for DecimalFormat.
X-SVN-Rev: 39924
2017-03-24 03:47:27 +00:00
Shane Carr
3d1d6e5103 ICU-13060 Assorted FindBugs fixes for DecimalFormat. Moving old implementation to core-tests project.
X-SVN-Rev: 39923
2017-03-24 02:43:54 +00:00
Mark Davis
82babe3c16 ICU-12812 clean up equals()
X-SVN-Rev: 39918
2017-03-23 15:16:26 +00:00
Yoshito Umaoka
f8add014b1 ICU-12812 Fixed javac compiler warnings, Eclipse complier warnings, javadoc warnings and issues found by FindBugs.
X-SVN-Rev: 39917
2017-03-23 06:50:00 +00:00
Shane Carr
a47756d190 ICU-13060 Assorted test cases, @internal tags, and fixes for DecimalFormat.
X-SVN-Rev: 39908
2017-03-22 23:30:42 +00:00
Craig Cornelius
e5ea539acf ICU-13002 Resolve ErrorProne warnings with MissingCasesInEnumSwitch
X-SVN-Rev: 39907
2017-03-22 23:13:23 +00:00
Craig Cornelius
8884844cab ICU-13059 Resolve missing import in SignificantDigiesRounder.java, revealed by ErrorProne.
X-SVN-Rev: 39905
2017-03-22 22:16:29 +00:00
Yoshito Umaoka
74fa5c71cd ICU-12922 Fixed javadoc warnings (empty <p> tags)
X-SVN-Rev: 39904
2017-03-22 21:28:35 +00:00
Yoshito Umaoka
9f5338a6c0 ICU-13052 Updated the API status of Date format fields AM_PM_MIDNIGHT_NOON and FLEXIBLE_DAY_PERIOD.
X-SVN-Rev: 39902
2017-03-22 20:49:24 +00:00
Yoshito Umaoka
2879c80793 ICU-13052 ICU4J 59 API promotion draft.
X-SVN-Rev: 39886
2017-03-20 20:23:23 +00:00
Yoshito Umaoka
634c4a2023 ICU-12812 Fixed some build and test issues introduced by LoicaleMatcher changes (and DecimalFormat changes done by #7467)
X-SVN-Rev: 39883
2017-03-20 16:09:08 +00:00
Mark Davis
1492fbd84c ICU-12812 add remove() for old Java
X-SVN-Rev: 39880
2017-03-19 06:43:24 +00:00
Mark Davis
0532404ce9 ICU-12812 remove dependency on Predicate
X-SVN-Rev: 39879
2017-03-19 05:53:16 +00:00
Shane Carr
dbcae565a2 ICU-7467 Merging ICU4J decimal format overhaul from branch to trunk.
X-SVN-Rev: 39877
2017-03-18 03:32:40 +00:00
Andy Heninger
6fc65490f2 ICU-7467 Revert failing merge of new decimal format.
X-SVN-Rev: 39869
2017-03-18 00:27:51 +00:00
Shane Carr
7849d4bd06 ICU-7467 Merging branch to trunk 4
X-SVN-Rev: 39866
2017-03-17 23:54:23 +00:00
Mark Davis
3a18873d2c ICU-12812 Add new implementation, but only expose a limited API as tech preview. Note the XCldrStub class to help migration from CLDR to ICU environment.
X-SVN-Rev: 39849
2017-03-17 12:48:31 +00:00
Markus Scherer
2928392042 ICU-12922 improve docs
X-SVN-Rev: 39828
2017-03-15 22:26:18 +00:00
Yoshito Umaoka
8afd3f9b68 ICU-12555 Fixed ArrayIndexOutOfBoundsException problem in StringSearch constructor caused by incorrect ce table length.
X-SVN-Rev: 39816
2017-03-15 07:20:13 +00:00
Yoshito Umaoka
76d9f7e502 ICU-12562 Applied the fix equivalent to the android patch to resolve TimeZone#getDefault() threading issue.
X-SVN-Rev: 39809
2017-03-15 01:27:58 +00:00
Yoshito Umaoka
8263cc5d75 ICU-12615 LocaleValidityChecker to handle the special case '-u-va-posix'
X-SVN-Rev: 39806
2017-03-15 00:32:31 +00:00
Yoshito Umaoka
10ae498198 ICU-12722 Added default case in a switch statement to resolve an ErrorProne and other static code analysis tool's warning.
X-SVN-Rev: 39804
2017-03-14 21:53:32 +00:00
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