Commit Graph

7874 Commits

Author SHA1 Message Date
Shane Carr
398b17f2b5 ICU-13571 Switching number parsing code back to incremental code point case folding.
X-SVN-Rev: 40868
2018-02-08 08:43:12 +00:00
Shane Carr
ad348faca9 ICU-13443 Change digit width types to int16_t and change maximum setting to 999. Adds test for this behavior in ICU4C. Also adds the new error code for ICU-13577 .
X-SVN-Rev: 40866
2018-02-08 06:06:08 +00:00
Shane Carr
baca9ac330 ICU-13574 Adding copy and resource bundle tests to ICU4J (added to ICU4C in previous commit).
X-SVN-Rev: 40864
2018-02-08 04:09:25 +00:00
Shane Carr
195d9b256a ICU-13453 Removing obsolete test.
X-SVN-Rev: 40849
2018-02-07 06:51:59 +00:00
Shane Carr
181269a9b2 ICU-13453 Reformatting FormattedNumber.java
X-SVN-Rev: 40848
2018-02-07 06:27:13 +00:00
Shane Carr
9d9471e586 ICU-13453 Fixing DecimalFormat getPositivePrefix backwards compatibility.
X-SVN-Rev: 40847
2018-02-07 06:26:44 +00:00
Shane Carr
eca52aa122 ICU-13461 Fixing conditional in Grouper.java (this is J-only code, so an ICU4C fix is not necessary). Clarifying comments in MeasureFormat files.
X-SVN-Rev: 40846
2018-02-06 23:38:29 +00:00
Shane Carr
5315ad603e ICU-13568 ICU-13400 ICU-13389 ICU-13075 Merging fixes from branch to trunk.
X-SVN-Rev: 40839
2018-02-06 03:15:37 +00:00
Shane Carr
e5cc630590 ICU-13568 ICU-13400 ICU-13389 ICU-13075 NumberFormatter assorted fixes: Adding custom pattern support for currencies. Upgrading grouping API. Adding narrow currency symbol support to ICU4C and API. Fixing behavior when pattern does not have a number placeholder.
X-SVN-Rev: 40838
2018-02-06 03:08:17 +00:00
Andy Heninger
aaebaf90a3 ICU-12677 RBBI, fix incorrect stripping of comments from saved rules.
X-SVN-Rev: 40837
2018-02-03 19:10:50 +00:00
Shane Carr
f74b42f960 ICU-13571 Disabling failing test on trunk. Needs more time to investigate.
X-SVN-Rev: 40836
2018-02-03 10:16:43 +00:00
Shane Carr
4385fb0348 ICU-13526 Adding package-private getNumberFormatInternal() to reduce unnecessary object cloning.
X-SVN-Rev: 40835
2018-02-03 07:54:35 +00:00
Shane Carr
bf49bd2afc ICU-13461 Fixing coverity defects in new number parsing code.
X-SVN-Rev: 40834
2018-02-03 07:48:29 +00:00
Shane Carr
bfab81c260 ICU-13526 Refactoring MeasureFormat, CurrencyFormat, and TimeUnitFormat to more directly wrap NumberFormatter.
X-SVN-Rev: 40833
2018-02-03 03:40:09 +00:00
Shane Carr
82a8f8bc68 ICU-13513 A few more compatibility tweaks.
X-SVN-Rev: 40829
2018-01-30 06:08:15 +00:00
Shane Carr
73ac780512 ICU-13513 Conditionally disabling fraction grouping parsing.
X-SVN-Rev: 40827
2018-01-30 05:26:07 +00:00
Shane Carr
79014240bb ICU-13513 Refactoring MutablePatternModifier's LDML parsing logic into a more general place in the code. Adding proper support for sign-always-shown to strict parsing.
X-SVN-Rev: 40826
2018-01-30 03:50:12 +00:00
Shane Carr
10e7c07765 ICU-13513 Merging trunk to branch
X-SVN-Rev: 40825
2018-01-30 02:50:01 +00:00
Shane Carr
3dce9dcab9 ICU-13551 Adding EXCEPT_ZERO enum value to SignDisplay.
X-SVN-Rev: 40824
2018-01-30 02:49:07 +00:00
Shane Carr
da65d09dd5 ICU-13513 A few more minor fixes before merge.
X-SVN-Rev: 40822
2018-01-30 01:21:56 +00:00
Shane Carr
8d366b982d ICU-13513 Merging trunk to branch
X-SVN-Rev: 40819
2018-01-30 00:59:52 +00:00
Shane Carr
519d2a5a86 ICU-13513 Removing ICU 59 parsing code.
X-SVN-Rev: 40814
2018-01-27 11:45:00 +00:00
Shane Carr
f698c8814b ICU-13513 Fixing various issues uncovered by a full project test. Ant Check is now running clean.
X-SVN-Rev: 40813
2018-01-27 11:21:33 +00:00
Shane Carr
baaf9fea40 ICU-13513 Tweaks to currency matchers, including unit test changes.
X-SVN-Rev: 40802
2018-01-24 10:21:22 +00:00
Shane Carr
49d920d098 ICU-13513 Re-working separator logic to be most highly compatible with previous ICU.
X-SVN-Rev: 40801
2018-01-24 08:59:27 +00:00
Yoshito Umaoka
32ba591832 ICU-13552 tzdata2018c updates to ICU trunk. ICU override for Europe/Dublin was commented out in icuzones.
X-SVN-Rev: 40798
2018-01-24 03:20:50 +00:00
Shane Carr
a6a18243b1 ICU-13513 Assorted fixes to AffixPatternMatcher and other classes. Found and fixed exponential loop in non-greedy parser.
X-SVN-Rev: 40797
2018-01-24 02:32:03 +00:00
Yoshito Umaoka
a222a6fa25 ICU-13552 tzdata2018b updates to ICU trunk. Also fixed a few issues in the test code and script. tz2icu was also updated to support customized Links for ICU overide zones.
X-SVN-Rev: 40794
2018-01-24 01:37:07 +00:00
Shane Carr
77b084f6fa ICU-13513 Adding proper flexible parsing to AffixMatcher. Adding back the tests for this behavior. Tweaking the logic for strict grouping; it still does not entirely work.
X-SVN-Rev: 40791
2018-01-20 11:06:59 +00:00
Yoshito Umaoka
a3dca5a303 ICU-13552 tzdata2018a updates to ICU trunk. Zoneinfo data Europe/Dublin is modified to keep DST offset positive. The tz tool tz2icu was updated to replace zoneinfo imported from tz database with ICU local definition.
X-SVN-Rev: 40787
2018-01-19 05:13:00 +00:00
Shane Carr
b28712d52f ICU-13513 Generalizing UnicodeSetStaticCache to cover more locales.
X-SVN-Rev: 40786
2018-01-19 05:03:44 +00:00
Shane Carr
d0a75c667b ICU-13513 Integrating some of Andy's feedback. Moving code unit vs. code point logic out of the matchers and into the main loop. Moving case folding logic from run-time in StringSegment to build-time. Refactoring to replace booleans with flags at build-time. Further optimizing lead-code-point creation time by adding more fallbacks to the static cache.
X-SVN-Rev: 40784
2018-01-18 10:50:36 +00:00
Shane Carr
a0ed703c5e ICU-13513 Minor formatting changes.
X-SVN-Rev: 40782
2018-01-18 01:02:20 +00:00
Shane Carr
476d2690e8 ICU-13526 Running auto-formatter on MeasureFormat.java and dependencies in advance of upcoming refactor.
X-SVN-Rev: 40772
2018-01-11 00:50:24 +00:00
Shane Carr
0344ea5118 ICU-13525 Fixing NumberFormatter behavior when unit pattern does not contain an argument.
X-SVN-Rev: 40770
2018-01-10 02:44:23 +00:00
Shane Carr
a111b4ed90 ICU-13536 Moving the six test tree classes from public packages to "dev" packages.
X-SVN-Rev: 40765
2018-01-08 21:41:15 +00:00
Shane Carr
052408f943 ICU-13513 Finishing merge; fixing merge conflicts in DecimalQuantity_AbstractBCD.java.
X-SVN-Rev: 40752
2017-12-23 03:26:59 +00:00
Shane Carr
bdb19075f8 ICU-13513 Merging trunk to branch (includes the big reformatting commit).
X-SVN-Rev: 40751
2017-12-23 03:13:03 +00:00
Shane Carr
fcc198868e ICU-13524 Reformatting ICU4J number files with 4 spaces.
X-SVN-Rev: 40750
2017-12-23 01:20:31 +00:00
Shane Carr
56574d1042 ICU-13524 Reformatting ICU4J number files with 4 spaces.
X-SVN-Rev: 40749
2017-12-23 01:07:53 +00:00
Shane Carr
85d3cf4f2f ICU-13516 Defining behavior when an invalid code point is passed to foldCase.
X-SVN-Rev: 40748
2017-12-22 23:44:35 +00:00
Shane Carr
4d10bf03f5 ICU-13520 Adds compound unit support to NumberFormatter.
X-SVN-Rev: 40747
2017-12-22 00:02:01 +00:00
Shane Carr
73569e99bd ICU-13443 Making MAX_INT_FRAC_SIG checking consistent between inclusive and exclusive ranges. (Changing all comparisons to be inclusive.)
X-SVN-Rev: 40746
2017-12-20 01:41:08 +00:00
Shane Carr
e98b2e4c4a ICU-13513 Wrapping new number parsing code into DecimalFormat and marking known issues in the test suite.
X-SVN-Rev: 40745
2017-12-20 01:26:50 +00:00
Andy Heninger
fbaef1f3b6 ICU-13512 Fix problem with break iterator cloning.
X-SVN-Rev: 40743
2017-12-18 01:32:19 +00:00
Shane Carr
4a8b840e8f ICU-13513 Improving parser creation time via better static initialization. Finishing locale-sensitive symbols. Other refactoring.
X-SVN-Rev: 40742
2017-12-16 10:04:40 +00:00
Shane Carr
a85f1ba61d ICU-13513 Adding plumbing for "lead chars" smoke test. ~24% performance improvement on parsing (866ns to 656ns).
X-SVN-Rev: 40741
2017-12-16 06:50:35 +00:00
Shane Carr
76cba637ea ICU-13513 The data-driven test is green :)
X-SVN-Rev: 40740
2017-12-16 04:13:43 +00:00
Shane Carr
d63528f437 ICU-13513 More work on affix matchers. Refactoring code for grouping and decimal separators.
X-SVN-Rev: 40739
2017-12-16 02:54:58 +00:00
Shane Carr
788fdfb086 ICU-13513 Re-thinking affix matchers a bit. Affix matchers are to contain only regular characters, not symbols, and let the symbol matchers take care of all the symbols.
X-SVN-Rev: 40738
2017-12-15 00:13:12 +00:00