Commit Graph

5170 Commits

Author SHA1 Message Date
Shane Carr
12764fa082 ICU-13574 Adding more matchers derived from SymbolMatcher.
X-SVN-Rev: 40876
2018-02-09 02:35:02 +00:00
Shane Carr
8393405113 ICU-13574 Basic parsing tests are passing on the pieces of code written so far, DecimalMatcher and MinusSignMatcher.
X-SVN-Rev: 40872
2018-02-08 09:59:35 +00:00
Shane Carr
2ee42b9288 ICU-13574 Checkpoint commit. Basic NumberParseMatcher implementations in DecimalMatcher and SymbolMatcher. Cleanup in ICU4J.
X-SVN-Rev: 40869
2018-02-08 08:49:50 +00:00
Shane Carr
9337205a54 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40867
2018-02-08 06:07:18 +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
d5baa61bd2 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40863
2018-02-08 04:05:15 +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
93a83fbca2 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40861
2018-02-08 03:23:06 +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
535d82cfc0 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40859
2018-02-08 03:18:29 +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
e6c23b5d36 ICU-13574 Merging trunk to branch
X-SVN-Rev: 40857
2018-02-08 01:52:56 +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
Shane Carr
48a633f41f ICU-13574 Defining more fundamental parsing types.
X-SVN-Rev: 40843
2018-02-06 09:43:37 +00:00
Shane Carr
237acf183a ICU-13574 Porting the parsing utility classes StringSegment and UnicodeSetStaticCache to C++.
X-SVN-Rev: 40841
2018-02-06 07:52:58 +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
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
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
4d10bf03f5 ICU-13520 Adds compound unit support to NumberFormatter.
X-SVN-Rev: 40747
2017-12-22 00:02:01 +00:00
Markus Scherer
be3f0fdaaa ICU-13461 add switch break to avoid unannotated fall-through
X-SVN-Rev: 40737
2017-12-14 22:03:41 +00:00
Markus Scherer
27f8d70bcd ICU-13503 declare variable-length array at end of struct with length 1 to disable bounds checkers
X-SVN-Rev: 40736
2017-12-14 21:25:46 +00:00
Shane Carr
3bbf68ff4e ICU-13461 Adding break statement to silence Clang -Wimplicit-fallthrough warning
X-SVN-Rev: 40733
2017-12-14 01:01:19 +00:00
Shane Carr
5c054df085 ICU-13495 Optimizing chooseMultiplierAndApply method implementation.
X-SVN-Rev: 40732
2017-12-14 00:47:43 +00:00
Andy Heninger
6d9ed3698b ICU-13457 Adjust Calendar buffer overrun fix for compatibility with AIX compiler, and with older versions of gcc. Also incorporate Jungshik's review comment.
X-SVN-Rev: 40723
2017-12-12 21:49:51 +00:00
Andy Heninger
d2cf99c677 ICU-13457 Fix initialization & copying of Calendar::validLocale & actualLocale.
X-SVN-Rev: 40670
2017-11-12 02:53:40 +00:00
Peter Edberg
71dd84d4ff ICU-12504 in ICU4C Persian cal, use int64_t math for one operation to avoid overflow; add tests in C and J
X-SVN-Rev: 40654
2017-10-29 03:38:05 +00:00
Yoshito Umaoka
4b67416113 ICU-13446 Fixed Chakma date format fractional seconds parsing problem. Removed logKnownIssue from TestTimeZoneFormat.
X-SVN-Rev: 40647
2017-10-26 22:13:13 +00:00
Jeff Genovy
a799b3d3ff ICU-13448 Feedback from clang expert was that these should not be specific to MSVC, but rather they should be specific to the Windows platform.
X-SVN-Rev: 40643
2017-10-26 06:49:15 +00:00
Yoshito Umaoka
f6e3124e74 ICU-13445 Pattern space handling in localized GMT format parser. Applied a fix to ICU4J equivalent to the ICU4C fix done by #13374. Also made a small fix in the previous ICU4C change to prevent buffer overrun with unexpected input.
X-SVN-Rev: 40642
2017-10-25 23:41:57 +00:00
Jeff Genovy
225365d30a ICU-13411 Typo in fix.
X-SVN-Rev: 40636
2017-10-25 17:27:45 +00:00
Jeff Genovy
e83872364b ICU-13411 Additional fix for template exports.
X-SVN-Rev: 40635
2017-10-25 17:11:37 +00:00
Shane Carr
1ba7875371 ICU-13415 Setting error code in terminal NumberFormatter methods when applicable. Renaming unproposed error codes for consistency with existing error codes in utypes.h.
X-SVN-Rev: 40632
2017-10-25 01:26:48 +00:00
Shane Carr
1ec3a8c6bb ICU-13411 Making "using namespace" statements consistent across number formatting cpp files.
X-SVN-Rev: 40630
2017-10-25 00:25:04 +00:00
Jungshik Shin
811b30b9c2 ICU-13192 revert accidentally committed files
X-SVN-Rev: 40628
2017-10-23 23:06:43 +00:00
Jungshik Shin
050e62025a ICU-13192 gCorrectedPOSIXLocaleis changed to const char*
X-SVN-Rev: 40627
2017-10-23 23:01:58 +00:00
Shane Carr
de3c990b0b ICU-13415 Refactoring shadowed virtual method in IFixedDecimal.
X-SVN-Rev: 40626
2017-10-23 07:12:39 +00:00
Shane Carr
df08682680 ICU-13415 Adding virtual destructor to internal Interface-like type SymbolProvider.
X-SVN-Rev: 40624
2017-10-19 23:47:20 +00:00
Andy Heninger
1c794eb111 ICU-13394 nul-terminated buffer handling fixed from Chromium.
X-SVN-Rev: 40615
2017-10-11 22:22:45 +00:00
Shane Carr
3db8233029 ICU-13415 Fixing compiler warnings in GCC
X-SVN-Rev: 40614
2017-10-11 21:28:38 +00:00
Jeff Genovy
bb430ebdf1 ICU-13177 Fix some comments for the new NumberFormatter API.
X-SVN-Rev: 40606
2017-10-09 20:32:40 +00:00
Yoshito Umaoka
ddfc308603 ICU-13385 Fixed a build error with glibc 2.26. Checks xlocale.h availability by autoconf.
X-SVN-Rev: 40603
2017-10-09 14:18:53 +00:00
Peter Edberg
9ac09264c9 ICU-13313 Fix ucol_next/prev docs to use UCOL_NULLORDER, not NULLORDER
X-SVN-Rev: 40601
2017-10-09 06:40:55 +00:00
Norbert Runge
b96966a131 ICU-13358 No-data test fixes (cf. BRS task).
X-SVN-Rev: 40599
2017-10-06 23:11:11 +00:00
Jeff Genovy
328dd95b9c ICU-13177 Fix minor typos/spelling in comments.
X-SVN-Rev: 40596
2017-10-06 22:44:25 +00:00
Jeff Genovy
b1a2e40781 ICU-13177 Check if the other NullableValue object is null before trying to use its value.
X-SVN-Rev: 40594
2017-10-06 21:13:56 +00:00
Jeff Genovy
97901d274e ICU-13177 Fix warnings reintroduced by the NumberFormatting work.
X-SVN-Rev: 40593
2017-10-06 20:32:13 +00:00
Norbert Runge
d835c3aac4 ICU-13384 fixes issues found in public header checks and unconfig.h variation check.
X-SVN-Rev: 40592
2017-10-06 16:52:14 +00:00
Shane Carr
6a43ed9826 ICU-13177 Moving FixedDecimal and IFixedDecimal destructors to cpp file.
X-SVN-Rev: 40591
2017-10-06 09:02:10 +00:00
Jeff Genovy
3bb0274f43 ICU-13126 Allow UWP builds to reuse makedata by undoing the disabling of renaming.
X-SVN-Rev: 40590
2017-10-06 07:31:14 +00:00