Commit Graph

1281 Commits

Author SHA1 Message Date
Shane Carr
0f293044a0 ICU-13461 Fixing build error in Java 6.
X-SVN-Rev: 40899
2018-02-12 23:21:27 +00:00
Shane Carr
ae263452f6 ICU-13400 Change name of Grouping strategy from WESTERN to THOUSANDS.
X-SVN-Rev: 40887
2018-02-09 22:55:36 +00:00
Peter Edberg
64aa4beb28 ICU-13538 in ICU4C Islamic cal, use int64_t math for one operation to avoid overflow; add tests in C and J
X-SVN-Rev: 40882
2018-02-09 19:31:12 +00:00
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
9d9471e586 ICU-13453 Fixing DecimalFormat getPositivePrefix backwards compatibility.
X-SVN-Rev: 40847
2018-02-07 06:26:44 +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
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
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
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
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
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
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
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
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
Shane Carr
8a232528c1 ICU-13513 Continuing down the data-driven test file. Mainly currency improvements.
X-SVN-Rev: 40735
2017-12-14 10:24:35 +00:00
Shane Carr
68340c8464 ICU-13513 Down to line 916 in the data-driven test file.
X-SVN-Rev: 40734
2017-12-14 07:04:41 +00:00
Shane Carr
a0de8d89c5 ICU-13513 Starting to tie in with existing code. Working through the data-driven test file first.
X-SVN-Rev: 40726
2017-12-13 10:04:56 +00:00
Shane Carr
47d7ebe968 ICU-13513 Initial modular framework for number parsing.
X-SVN-Rev: 40725
2017-12-13 05:03:28 +00:00
Fredrik Roubert
64e5a7ecc2 ICU-13505 XLocaleDistanceTest.testTiming() should be @Ignore
X-SVN-Rev: 40703
2017-12-06 14:54:22 +00:00
Fredrik Roubert
9ef908e366 ICU-13504 LanguageTestFmwk.setUp() should be private
X-SVN-Rev: 40702
2017-12-06 14:54:09 +00:00
Markus Scherer
cf4cb10c3d ICU-13462 fix Script_Extensions for 5 characters: data generator needs to revert them from block scx to sc (merged from maint-60 r40667)
X-SVN-Rev: 40699
2017-12-05 20:53:14 +00:00
Andy Heninger
9a542da329 ICU-13388 remove unused code in break iterator tests.
X-SVN-Rev: 40697
2017-12-05 18:45:53 +00:00