Commit Graph

65 Commits

Author SHA1 Message Date
Shane Carr
afab3f992c ICU-13780 Removing DecimalFormat_ICU58 (finally). 2019-08-12 14:59:45 -07:00
Shane Carr
c8c3fbca28 ICU-20616 Allow bidi marks around the sign in exponent parsing. 2019-05-27 22:39:18 -07:00
Shane Carr
aa898cc042 ICU-11511 Adding tests for CLDR-10103 scientific notation spec changes. 2018-10-23 17:46:33 -07:00
Peter Edberg
7e3068b207
ICU-20119 63rc BRS, update ICU4C numberformattestspecification.txt for J versions 2018-09-27 14:27:41 -07:00
Peter Edberg
f5defe757b
ICU-20119 63rc BRS, merge current unicode-icu master into cldr34a-integration branch 2018-09-27 14:27:41 -07:00
Peter Edberg
b6074fe044
ICU-20119 63rc BRS, integrate cldr 34-alpha2, part 1 icu4c 2018-09-27 14:27:41 -07:00
Victor Chang
b62200061c
ICU-20058 Fix mimimum significant digits in engineering notation
- Follow the spec to calculate the mimimum significant digits in engineering notation
- The bug is regression since ICU 58. The new test still passes on
ICU58-based DecimalFormat
- Maximum significant digits is not changed
2018-09-27 14:27:40 -07:00
Shane
8cad57b56c
ICU-13696 Parse local currency ISO codes as case-insensitive. (#62) 2018-09-27 14:27:38 -07:00
Shane Carr
8e1dc1f3b1 ICU-13736 Change number parsing to require locale currency when using non-currency parse function.
X-SVN-Rev: 41450
2018-05-24 04:35:16 +00:00
Shane Carr
33a0fa7172 ICU-13783 Re-writing grouping parsing logic. Same behavior but passes more corner cases.
X-SVN-Rev: 41427
2018-05-22 02:46:49 +00:00
Shane Carr
b1508d753b ICU-11230 Change number parsing to require at least 2 digits in a group after the first group.
X-SVN-Rev: 41407
2018-05-18 00:52:43 +00:00
Shane Carr
54a48fffc3 ICU-13740 Flipping test expectations for some currency parsing cases. ICU4C is the one with unusual behavior, not the others.
X-SVN-Rev: 41403
2018-05-17 06:48:14 +00:00
Shane Carr
12413cde6d ICU-13740 Require "breaks" column to be last; allows for easier searching of the file since all IDs are guaranteed to be at the end of a line.
X-SVN-Rev: 41402
2018-05-17 06:28:27 +00:00
Shane Carr
8ce0b6812b ICU-13740 Merging P, Q, and S into a single case called P.
X-SVN-Rev: 41401
2018-05-17 06:20:43 +00:00
Shane Carr
afa3cb0819 ICU-13740 Enabling proper ICU4J test.
X-SVN-Rev: 41400
2018-05-17 05:54:12 +00:00
Shane Carr
63d22d242f ICU-13740 Refactoring ICU4J test file; adding boilerplate for proper ICU4J test.
X-SVN-Rev: 41399
2018-05-17 05:41:36 +00:00
Shane Carr
a897686732 ICU-13740 Changing ID char for ICU58 test from J to H; frees up J for the new proper ICU4J test.
X-SVN-Rev: 41398
2018-05-17 03:29:37 +00:00
Shane Carr
8eeb57cf98 ICU-13740 Updating expectations in numberformattestspecification.txt
X-SVN-Rev: 41395
2018-05-17 02:37:04 +00:00
Shane Carr
faa334fcee ICU-13740 Syncing numberformattestspecification.txt between C and J
X-SVN-Rev: 41394
2018-05-17 02:26:09 +00:00
Shane Carr
955e0d9319 ICU-11897 Changing kPatternSeparatorSymbol to be a constant ";" and not loaded from data.
X-SVN-Rev: 41380
2018-05-16 01:01:22 +00:00
Shane Carr
cb34c90168 ICU-13737 Backpedaling on strict mode scientific parsing behavior change (do NOT require an exponent when parsing).
X-SVN-Rev: 41378
2018-05-15 21:14:09 +00:00
Shane Carr
63cade69a6 ICU-11230 Updating "9 9" test in numberformattestspecification.txt
X-SVN-Rev: 41288
2018-04-28 05:23:38 +00:00
Shane Carr
faa2897561 ICU-13634 Changes from pre-merge code light-review.
X-SVN-Rev: 41267
2018-04-24 01:19:44 +00:00
Shane Carr
3c9b343282 ICU-13634 Adding "formatFailIfMoreThanMaxDigits" property to C++ NumberFormatter. Changing getSecondaryGroupingSize() for backwards compatibility. Other assorted test changes.
X-SVN-Rev: 41239
2018-04-18 03:59:39 +00:00
Shane Carr
af0f8e62e4 ICU-13634 In accordance with ICU-TC meeting, changing percent parsing behavior to be closer to that of ICU 60.
X-SVN-Rev: 41222
2018-04-12 06:49:24 +00:00
Shane Carr
6c1714870f ICU-13634 Updating test expectations for strict currency position in strict mode. Other minor changes. All but one test is now passing in numfmtst.cpp.
X-SVN-Rev: 41220
2018-04-12 05:15:19 +00:00
Shane Carr
2c6bf0d77e ICU-13634 Refactoring affix-getting code to avoid the need to save the micro-props. Other assorted minor changes.
X-SVN-Rev: 41216
2018-04-11 11:10:52 +00:00
Shane Carr
7f9de6f1db ICU-13634 Fixing resolution of negative and percent signs in parsing; adding custom sign support to ScientificMatcher; and other minor fixes.
X-SVN-Rev: 41180
2018-03-31 03:10:44 +00:00
Shane Carr
e5bda1eb0e ICU-13634 Various fixes to fix remaining compatibility issues in data-driven test. Includes fix for a memory sanitizer issue.
X-SVN-Rev: 41174
2018-03-30 04:28:53 +00:00
Shane Carr
e3180662e2 ICU-13634 Parsing wrapper is working; data-driven file is updated and passing. The C++ and Java implementations have almost identical behavior according to the data-driven test file, with the only differences seeming to involve overflow and extremely large numbers.
X-SVN-Rev: 41134
2018-03-21 09:48:55 +00:00
Shane Carr
2edb4ec82a ICU-13634 Formatting section of data-driven test file is passing.
X-SVN-Rev: 41120
2018-03-17 07:23:08 +00:00
Markus Scherer
66eb21ec58 ICU-13567 make Arabic number formatting tests work with both native & ASCII digits
X-SVN-Rev: 40988
2018-02-26 23:32:05 +00:00
Shane Carr
fc3c904559 ICU-13513 Synchronizing C and J copies of numberformattestspecification.txt
X-SVN-Rev: 40909
2018-02-13 19:10:07 +00:00
Shane Carr
e6987fbfd8 ICU-13391 Change ICU4C parsing to count digits instead of UTF-16 code units for grouping sizes.
X-SVN-Rev: 40573
2017-10-05 21:41:46 +00:00
Shane Carr
15d177ad35 ICU-13177 Syncing icu4c numberformattestspecification.txt with icu4j
X-SVN-Rev: 40526
2017-10-03 01:38:52 +00:00
Shane Carr
131f416755 ICU-13177 Merging NumberFormatter to trunk for ICU 60
X-SVN-Rev: 40492
2017-09-27 23:46:15 +00:00
Peter Edberg
3bfe134a86 ICU-13359 Integrate CLDR 32 alpha data into ICU for ICU 60rc; known issues #13366,#13368
X-SVN-Rev: 40463
2017-09-26 21:20:01 +00:00
Shane Carr
8b625eda51 ICU-13177 Merging trunk to branch
X-SVN-Rev: 40350
2017-08-24 05:56: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
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
cf6c47d6b7 ICU-13149 Minor review feedback for #13149
X-SVN-Rev: 40187
2017-06-21 01:08:18 +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
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
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
29490300c1 ICU-13149 Adding test cases for ICU 59 gray area bugs to numberformattestspecification.txt.
X-SVN-Rev: 40058
2017-04-15 08:09:15 +00:00
Shane Carr
8016edea2a ICU-13149 Updating numberformattestspecification.txt with ICU4C behaviors and bringing the two copies of the file into sync.
X-SVN-Rev: 40057
2017-04-15 06:30:05 +00:00
Peter Edberg
f82d62a85c ICU-12729 CLDR release-30-d02 integration, merge icu4c branch into trunk
X-SVN-Rev: 39273
2016-09-19 05:09:40 +00:00
Steven R. Loomis
0c5b2b597d ICU-12455 BRS - BOM fix
X-SVN-Rev: 38915
2016-07-01 16:59:16 +00:00