Commit Graph

29521 Commits

Author SHA1 Message Date
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
Peter Edberg
ba8b599ab5 ICU-12907 UReplaceableCallbacks* should have const in C transliterate API
X-SVN-Rev: 40879
2018-02-09 06:43:50 +00:00
Shane Carr
e8e0cdf41d ICU-13568 Fixing memory leak in test.
X-SVN-Rev: 40875
2018-02-09 00:57:30 +00:00
Shane Carr
7626d9e846 ICU-13551 Updating documentation of UNumberSignDisplay enum in ICU4C.
X-SVN-Rev: 40874
2018-02-09 00:05:24 +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
4eff55cc31 ICU-13574 Adding additional logic and tests for ICU4C codePointZero.
X-SVN-Rev: 40862
2018-02-08 04:04:50 +00:00
Shane Carr
8c2576ee68 ICU-13574 Adding missing const qualified to getConstDigitSymbol().
X-SVN-Rev: 40860
2018-02-08 03:22:44 +00:00
Shane Carr
f4a623e94b ICU-13574 Adding getConstDigitSymbol to ICU4C, right now as @internal. Follow-up for promoting to @draft in ICU-13580
X-SVN-Rev: 40858
2018-02-08 03:18:00 +00:00
Shane Carr
b18e037531 ICU-13574 Adding codePointZero logic to ICU4C, added to ICU4J in r40091.
X-SVN-Rev: 40856
2018-02-08 01:51:09 +00:00
Shane Carr
0d83273be9 ICU-13461 Removing doxygen comment that was obsoleted by ICU-7724 .
X-SVN-Rev: 40854
2018-02-08 01:07:57 +00:00
Steven R. Loomis
a16ecdad92 ICU-13083 cleanup unescaper, use portable calls
X-SVN-Rev: 40853
2018-02-07 23:31:40 +00:00
Shane Carr
61191ffda3 ICU-13568 Adding assertSuccess in test function.
X-SVN-Rev: 40852
2018-02-07 23:28:56 +00:00
Shane Carr
023af04592 ICU-13568 Fixing uninitialized memory in test code.
X-SVN-Rev: 40851
2018-02-07 22:56:38 +00:00
Steven R. Loomis
4b36c0ad9c ICU-13568 Fix crasher introduced in r40839 (bad test code)
Root cause (why the construction failed) unknown.

X-SVN-Rev: 40850
2018-02-07 22:49:43 +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
Andy Heninger
be54542b86 ICU-12677 clean up extra trailing spaces.
X-SVN-Rev: 40844
2018-02-06 21:28:05 +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
ccedf54223 ICU-13513 Merging new ICU4J number parsing implementation from branch to trunk.
X-SVN-Rev: 40830
2018-01-30 06:16:18 +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
d81e56debe ICU-13513 Merging trunk to branch
X-SVN-Rev: 40823
2018-01-30 01:23:24 +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
Steven R. Loomis
a7c4b0a3a8 ICU-13392 move IcuCodeTools to separate repo
- two readmes, because users typically have the 0.11 and 0.12 directories checked out.

X-SVN-Rev: 40821
2018-01-30 01:12:31 +00:00
Shane Carr
8d366b982d ICU-13513 Merging trunk to branch
X-SVN-Rev: 40819
2018-01-30 00:59:52 +00:00
Steven R. Loomis
75e8fbd71c ICU-11660 allow commits in design/reviewfeedback state
X-SVN-Rev: 40817
2018-01-30 00:51:30 +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
Andy Heninger
628ec44872 ICU-13541 RBBI patch #2 from grhoten. Optimize object layout.
X-SVN-Rev: 40812
2018-01-27 01:07:26 +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
Markus Scherer
0dc85d2408 ICU-13560 make some toUnicode converter check toULength not toUnicodeStatus for continuing after partial sequences; ucnv.cpp framework code only resets toULength after an error
X-SVN-Rev: 40793
2018-01-23 21:32:36 +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
Andy Heninger
ac0972f12c ICU-13541 Improve RuleBasedBreakIterator construction time, patch from grhoten.
X-SVN-Rev: 40789
2018-01-19 22:30:56 +00:00