Commit Graph

21697 Commits

Author SHA1 Message Date
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
Andy Heninger
d39d4c7401 ICU-13765 double free in icu/source/common/serv.cpp
X-SVN-Rev: 41406
2018-05-17 23:06:54 +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
649ce80f42 ICU-13740 Moving ICU4C data-driven number test to its own file, like in Java. De-clutters numfmtst.cpp. No behavior changes.
X-SVN-Rev: 41397
2018-05-17 03:04:41 +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
d7f3471733 ICU-13757 Renaming skeleton methods fromSkeleton -> forSkeleton
X-SVN-Rev: 41393
2018-05-17 00:43:12 +00:00
Shane Carr
2e2805df9a ICU-13697 Renaming numparse_unisets.h to static_unicode_sets.h and refactoring to guarantee safety in no-data builds.
X-SVN-Rev: 41389
2018-05-16 22:46:40 +00:00
Shane Carr
a89550fd7a ICU-11897 Fixing testNumberingSystem in C and J.
X-SVN-Rev: 41387
2018-05-16 21:48:35 +00:00
Jeff Genovy
523cbcd1dc ICU-13773 Double free in uspoof_openFromSerialized, plus other memory related fixes.
X-SVN-Rev: 41386
2018-05-16 20:38:05 +00:00
Yoshito Umaoka
97318b70ee ICU-13744 Enabled the test case added in previous commit in ICU4C DateFormatTest
X-SVN-Rev: 41384
2018-05-16 20:13:50 +00:00
Yoshito Umaoka
cbc23942a7 ICU-13744 Fixed an ICU4J date parsing regression issue causing IndexOutOfBoundsException when pattern has more fields than input date string.
X-SVN-Rev: 41383
2018-05-16 18:59:22 +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
b347a140ec ICU-13742 Implementing number skeletons in MessageFormat.
X-SVN-Rev: 41377
2018-05-15 00:05:04 +00:00
Shane Carr
c3fa4e91b5 ICU-12931 Removing erroneous #ifdef U_HIDE_INTERNAL_API in numfmt.h
X-SVN-Rev: 41376
2018-05-14 23:38:13 +00:00
Jeff Genovy
fd1b5db09c ICU-13725 Fix whitespace (tabs to spaces).
X-SVN-Rev: 41374
2018-05-13 22:25:06 +00:00
Andy Heninger
0f64f94ed6 ICU-11647 Windows failure with Test11647_PatternCurrencySymbols()
X-SVN-Rev: 41373
2018-05-13 02:02:07 +00:00
Andy Heninger
b2c77dc391 ICU-11020 Test11020(), port from Java. Rounding in Scientific Format.
X-SVN-Rev: 41372
2018-05-13 01:26:42 +00:00
Andy Heninger
a6da272f2d ICU-11913 Port Test11913() from Java. Big Decimal formatting w more than 309 digits.
X-SVN-Rev: 41371
2018-05-13 01:07:24 +00:00
Andy Heninger
a1c0ac5b14 ICU-11647 Port Test11647() from Java - pattern w four currency symbols.
X-SVN-Rev: 41370
2018-05-12 22:37:33 +00:00
Shane Carr
035a2aae0e ICU-13661 IcuTestErrorCode code review feedback.
X-SVN-Rev: 41369
2018-05-10 17:23:03 +00:00
Jeff Genovy
31ead7f739 ICU-13725 Fix a few more MSVC warnings.
X-SVN-Rev: 41368
2018-05-09 07:51:43 +00:00
Shane Carr
f86a35be55 ICU-13644 Returning bogus string when toSkeleton() fails.
X-SVN-Rev: 41367
2018-05-09 02:26:14 +00:00
Shane Carr
3eb414943e ICU-13662 Minor fixes after r41365.
X-SVN-Rev: 41366
2018-05-09 02:04:21 +00:00
Shane Carr
fb94a3eb76 ICU-13662 Replying to code review feedback.
X-SVN-Rev: 41365
2018-05-09 02:00:22 +00:00
Shane Carr
03f6b1cf92 ICU-13629 Adding comments in replacementIndex getters.
X-SVN-Rev: 41364
2018-05-09 00:14:36 +00:00
Shane Carr
5c969e791f ICU-13629 Improving API docs for Edits and Edits.Iterator.
X-SVN-Rev: 41363
2018-05-09 00:06:53 +00:00
Shane Carr
1fe1497d88 ICU-13661 Renaming logIfFailureAndReset to errIfFailureAndReset.
X-SVN-Rev: 41362
2018-05-08 23:55:47 +00:00
Shane Carr
3275a9c5d3 ICU-13437 Adding makeBogusString() utility function and returning bogus strings on failed FormattedNumber toString() calls.
X-SVN-Rev: 41361
2018-05-08 21:52:26 +00:00
Shane Carr
3afec22e3a ICU-13677 Fixing typo in numberformatter.h documentation.
X-SVN-Rev: 41360
2018-05-08 21:48:18 +00:00
Shane Carr
d123e65632 ICU-10584 Changing CompactDecimal DefaultSignificantDigits test in ICU4C to be consistent with ICU4J.
X-SVN-Rev: 41359
2018-05-08 08:06:20 +00:00
Shane Carr
71baac1713 ICU-12572 Fixing some undefined behavior warnings in number code.
X-SVN-Rev: 41358
2018-05-08 07:59:41 +00:00
Shane Carr
8db1bee493 ICU-10354 Adding infinite loop check to test.
X-SVN-Rev: 41357
2018-05-08 04:26:01 +00:00
Shane Carr
fe80cdba39 ICU-11649 Minor test tweaks.
X-SVN-Rev: 41355
2018-05-08 04:07:00 +00:00
Shane Carr
13b7b40097 ICU-11648 Minor tweaks to test.
X-SVN-Rev: 41354
2018-05-08 04:02:02 +00:00
Craig Cornelius
01c86126de ICU-13148 Add test for parsing grouping separators
X-SVN-Rev: 41353
2018-05-08 01:21:56 +00:00
Andy Heninger
d71db01650 ICU-13055 Fix memory leak in Test13055_PercentageRounding()
X-SVN-Rev: 41352
2018-05-08 00:35:56 +00:00
Andy Heninger
f30f4b7ceb ICU-11739 fix memory leak in Test11739_ParseLongCurrency().
X-SVN-Rev: 41351
2018-05-08 00:31:26 +00:00
Andy Heninger
5fe126b793 ICU-12753 Add PatternDecimalPoint() test.
X-SVN-Rev: 41350
2018-05-08 00:14:27 +00:00
Markus Scherer
9be84eb03c ICU-11626 port NumberFormatTest.TestCurrencyPluralInfoAndCustomPluralRules to C++
X-SVN-Rev: 41349
2018-05-07 23:54:36 +00:00
Andy Heninger
e53fdc14a6 ICU-11025 Add Test11025_CurrencyPadding()
X-SVN-Rev: 41348
2018-05-07 23:45:11 +00:00
Craig Cornelius
16472502b5 ICU-11649 Add test for Decimal Format of Currencies
X-SVN-Rev: 41347
2018-05-07 23:40:14 +00:00
Craig Cornelius
aeaeb8397b ICU-11648 Re-add test for DecimalFormat::toPattern
X-SVN-Rev: 41346
2018-05-07 23:29:05 +00:00
Craig Cornelius
614a3441db ICU-11648 Reverting commit r11336
X-SVN-Rev: 41345
2018-05-07 23:20:37 +00:00