Commit Graph

21290 Commits

Author SHA1 Message Date
Shane Carr
4beed11456 ICU-13722 Removing obsolete constructs FmtStackData and UCONFIG_FORMAT_FASTPATHS_49.
X-SVN-Rev: 41457
2018-05-25 00:26:00 +00:00
Shane Carr
79b8248092 ICU-13677 Fixing up apidoc strings for precision setting.
X-SVN-Rev: 41456
2018-05-24 21:28:11 +00:00
Jeff Genovy
4fbaf8388d ICU-13698 Add "samplecheck.bat" script, similar to "icucheck.bat" to run the ICU4C samples.
X-SVN-Rev: 41454
2018-05-24 07:35:20 +00:00
Jeff Genovy
208d28ec1f ICU-13556 Add missing order-only prerequisite in data/Makefile.in
X-SVN-Rev: 41453
2018-05-24 05:59:09 +00:00
Jeff Genovy
da15efacf0 ICU-13785 Adding dependency information to uconv project to prevent "NMAKE : fatal error U1077" on Win/VS builds.
X-SVN-Rev: 41452
2018-05-24 05:54:49 +00:00
Peter Edberg
5b3c14c29d ICU-12936 Make RelativeDateTimeFormatter handle offset of -0
X-SVN-Rev: 41451
2018-05-24 05:52:01 +00: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
09a8f5609d ICU-11739 Replying to Andy code review comments.
X-SVN-Rev: 41449
2018-05-24 04:31:06 +00:00
Shane Carr
a9a2e5ff6d ICU-11645 Replying to Andy code review comments.
X-SVN-Rev: 41448
2018-05-24 04:26:26 +00:00
Shane Carr
58b1463158 ICU-13788 Fixing small memory leak in ucurr.cpp; always register the main currency_cleanup function, not the helper functions.
X-SVN-Rev: 41447
2018-05-24 04:19:28 +00:00
Shane Carr
58b7fe2e32 ICU-13777 Adding tests to make sure currency long names round-trip through parsing.
X-SVN-Rev: 41446
2018-05-24 04:16:35 +00:00
Peter Edberg
b1566cea43 ICU-13768 Update currency list for ucurr_openISOCurrencies
X-SVN-Rev: 41444
2018-05-24 03:30:20 +00:00
Shane Carr
6f50303084 ICU-13788 Fixing data types in numparse_decimal.cpp; should fix MSVC test failure.
X-SVN-Rev: 41443
2018-05-23 21:59:30 +00:00
Shane Carr
2af33b7796 ICU-13763 Makes FieldPositionIterator offset by input string length in DecimalFormat, restoring ICU 61 behavior.
X-SVN-Rev: 41442
2018-05-23 21:08:53 +00:00
Shane Carr
49960567e6 ICU-13717 Optimizing SimpleDateFormat's use of NumberFormat for new number formatting pipeline.
X-SVN-Rev: 41441
2018-05-23 04:34:41 +00:00
Shane Carr
0c8fed6bde ICU-13717 During SimpleDateFormat#parseInt, avoid cloning the DecimalFormat unless necessary.
X-SVN-Rev: 41440
2018-05-23 04:21:24 +00:00
Shane Carr
d0d8535066 ICU-13717 Adds fast path for RBNF, which is not affect by min/max integer digits.
X-SVN-Rev: 41439
2018-05-23 04:03:19 +00:00
Shane Carr
4931366afe ICU-13717 Adds "fast formatters" optimization to smpdtfmt.cpp to greatly improve the performance of SimpleDateFormat with the new number formatting pipeline.
X-SVN-Rev: 41438
2018-05-23 02:00:03 +00:00
Shane Carr
3e2bbc9834 ICU-13717 Fixes memory leak in date format parsing by moving cloning into the parseInt function.
X-SVN-Rev: 41437
2018-05-23 01:18:07 +00:00
Shane Carr
25d6d69068 ICU-13717 Moves NumberFormat cloning into the zeroPaddingNumber method. Also indirectly fixes a memory leak from the previous commit.
X-SVN-Rev: 41436
2018-05-23 01:04:17 +00:00
Markus Scherer
186cd0a4dc ICU-13630 Unicode 11 zh data, take 2
X-SVN-Rev: 41435
2018-05-22 23:57:25 +00:00
Shane Carr
eb1f330d3d ICU-13717 Removing SimpleDateFormatMutableNFs. Temporary performance regression.
X-SVN-Rev: 41434
2018-05-22 22:42:13 +00:00
Shane Carr
7d627ba160 ICU-13717 Refactoring UDAT_FRACTIONAL_SECOND_FIELD to use zeroPaddingNumber for consistency with all other number formatting call sites in smpdtfmt.cpp
X-SVN-Rev: 41433
2018-05-22 22:21:59 +00:00
Shane Carr
c2412adb1e ICU-11626 Fixes ICU4C CurrencyPluralInfo unit tests. Also fixes a memory leak in CurrencyPluralInfo implementation.
X-SVN-Rev: 41431
2018-05-22 20:47:19 +00:00
Markus Scherer
768f3f42a9 ICU-13630 IdnaTestV2.txt with bug fixes 20180522
X-SVN-Rev: 41430
2018-05-22 17:46:27 +00:00
Shane Carr
576fd85602 ICU-13788 Removing obsolete ICU4C NumberTest test fallback.
X-SVN-Rev: 41429
2018-05-22 02:50:58 +00:00
Shane Carr
0a2aeb017a ICU-13333 Adding combining dot spoof check.
X-SVN-Rev: 41428
2018-05-22 02:47:31 +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
Markus Scherer
ebca759ea1 ICU-13630 Unicode 11 update from near-final data 20180521
X-SVN-Rev: 41426
2018-05-22 01:56:20 +00:00
Andy Heninger
fc31932587 ICU-13770 Line Break update for Unicode 11 - revise rule LB8a.
X-SVN-Rev: 41425
2018-05-21 23:47:40 +00:00
Andy Heninger
a91445266d ICU-13770 Update Unicode LineBreakTest.txt test data file to the latest.
X-SVN-Rev: 41423
2018-05-21 18:02:49 +00:00
Yoshito Umaoka
c5437c6e00 ICU-13300 Added thread safety note to TimeZone::detectHostTimeZone().
X-SVN-Rev: 41421
2018-05-21 00:39:51 +00:00
Yoshito Umaoka
17ac0f4e61 ICU-13421 Force /tsformat/ccaltst/TestAmbiguousWallTime to use Gregorian calendar to fix test failure with locales not using Gregorian calnedar by default.
X-SVN-Rev: 41420
2018-05-21 00:18:25 +00:00
Andy Heninger
a617526fe3 ICU-11640 fix memory leak in Test11640_TripleCurrencySymbol()
X-SVN-Rev: 41417
2018-05-20 20:46:10 +00:00
Shane Carr
8265a37aa4 ICU-11640 Minor code cleanup
X-SVN-Rev: 41415
2018-05-19 08:04:15 +00:00
Yoshito Umaoka
9cc7d14b62 ICU-13602 Check error status for lazily instantiated TiemZoneFormat in SimpleDateFormat.
X-SVN-Rev: 41413
2018-05-19 00:18:25 +00:00
Norbert Runge
2627d76fbe ICU-11640 Add test for triple currency digit prefix.
X-SVN-Rev: 41412
2018-05-18 20:17:33 +00:00
Andy Heninger
23645f081b ICU-13554 Out of bounds array access in locale getPosixID.
X-SVN-Rev: 41411
2018-05-18 20:01:03 +00:00
Andy Heninger
50fc9ce878 ICU-13770 Line Break Rules for Unicode 11, tailorings updated.
X-SVN-Rev: 41410
2018-05-18 17:47:03 +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
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
Andy Heninger
6e40252eb3 ICU-13770 RBBI Line break rules update, work in progress.
X-SVN-Rev: 41404
2018-05-17 18:07: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
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
Andy Heninger
14cfaac98c ICU-13770 RBBI Line Break rules for Unicode 11. Root working; tailorings remain to do.
X-SVN-Rev: 41390
2018-05-16 23:26:58 +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
Andy Heninger
ac9d29eed6 ICU-11646 DecimalFormat equality test, add error check.
X-SVN-Rev: 41344
2018-05-07 23:16:16 +00:00
Andy Heninger
1e375dbbcc ICU-13056 NumberFormatTest Test GroupingSize
X-SVN-Rev: 41343
2018-05-07 23:05:50 +00:00
Shane Carr
553882f580 ICU-12975 Adding test for sub-thousand equality in ICU4C CompactDecimalFormat.
X-SVN-Rev: 41342
2018-05-07 23:05:21 +00:00
Markus Scherer
3f5950349a ICU-12961 port NumberFormatTest.TestLocalizedPatternSymbolCoverage to C++
X-SVN-Rev: 41341
2018-05-07 23:03:56 +00:00
Norbert Runge
51f4b85f7c ICU-13055 Fix percentage rounding.
X-SVN-Rev: 41340
2018-05-07 22:40:41 +00:00
Shane Carr
cc5fca2744 ICU-13035 Adding test to ICU4C for padding code point.
X-SVN-Rev: 41339
2018-05-07 22:37:02 +00:00
Andy Heninger
8f7040d418 ICU-11646 Add NumberFormatTest::Test11646_Equality()
X-SVN-Rev: 41338
2018-05-07 22:33:41 +00:00
Markus Scherer
cee964917a ICU-11839 port NumberFormatTest.Test11839 to C++
X-SVN-Rev: 41337
2018-05-07 22:32:05 +00:00
Craig Cornelius
80b94957c3 ICU-11648 Add test for DecimalFormat::toPattern
X-SVN-Rev: 41336
2018-05-07 22:19:10 +00:00
Markus Scherer
8b67b86c79 ICU-12567 port NumberFormatTest.Test12567 to C++
X-SVN-Rev: 41335
2018-05-07 22:07:43 +00:00
Shane Carr
66510b153f ICU-11739 Adding ICU4C test for parse long currency.
X-SVN-Rev: 41334
2018-05-07 21:47:09 +00:00
Shane Carr
076cee9ad6 ICU-11645 Adding C++ test for apply-pattern equality.
X-SVN-Rev: 41333
2018-05-07 21:30:33 +00:00
Markus Scherer
5cf4bdf6db ICU-10354 port NumberFormatTest.Test10354 to C++
X-SVN-Rev: 41332
2018-05-07 21:21:18 +00:00
Shane Carr
1b4baff50e ICU-13725 Fixing gcc compiler warning in cintltst file.
X-SVN-Rev: 41331
2018-05-07 20:01:09 +00:00
Shane Carr
e27cf9ce39 ICU-13677 Changing NumberFormatter rounding setting to precision and roundingMode.
X-SVN-Rev: 41330
2018-05-05 06:32:29 +00:00
Shane Carr
a4b1517e11 ICU-13328 Adding tests for mixed letter and combining mark.
X-SVN-Rev: 41329
2018-05-05 02:33:21 +00:00
Shane Carr
2f310a3fb1 ICU-13314 Adding tests for user-raised confusables cases.
X-SVN-Rev: 41328
2018-05-05 02:25:30 +00:00
Shane Carr
bc9710aa8b ICU-13738 Makes DecimalFormat#toNumberFormatter() return by const-reference.
X-SVN-Rev: 41327
2018-05-05 01:47:12 +00:00
Yoshito Umaoka
d6215a2f34 ICU-13666 Revised tzdata2018e in ICU trunk to replace negative DST (Europe/Prague) rules with updated icuzones override.
X-SVN-Rev: 41325
2018-05-04 22:05:27 +00:00
Yoshito Umaoka
7438138f1d ICU-13666 tzdata2018e updates to ICU4 trunk.
X-SVN-Rev: 41323
2018-05-04 08:19:01 +00:00
Shane Carr
a52fcd20f2 ICU-13597 Replying to UNumberFormatter code recatew comments.
X-SVN-Rev: 41321
2018-05-04 06:58:44 +00:00
Shane Carr
23bacf40c8 ICU-12572 Fixing undefined behavior in NullableValue assignment operator.
X-SVN-Rev: 41318
2018-05-03 09:26:15 +00:00
Shane Carr
f1e1a5c3f4 ICU-12572 Adding cpp-file definitions for all interface classes in number code, cleaning up an undefined behavior warning.
X-SVN-Rev: 41317
2018-05-03 09:13:46 +00:00
Shane Carr
ef26576a96 ICU-12572 Moving error code check one level deeper such that the constructor does not leave the NumberFormatterImpl in an undefined state for destruction later.
X-SVN-Rev: 41316
2018-05-03 09:02:39 +00:00
Shane Carr
a41f51ad5f ICU-12572 Undefined behavior fixes in number code.
X-SVN-Rev: 41315
2018-05-03 08:53:20 +00:00
Shane Carr
530bad0b79 ICU-13676 Enabling cleanup of default converter whenever the default converter is put back into the global singleton cache.
X-SVN-Rev: 41314
2018-05-03 06:50:50 +00:00
Shane Carr
0a0d99ebc8 ICU-13662 Improving NumberFormatter field position method names and behavior.
X-SVN-Rev: 41313
2018-05-03 01:34:19 +00:00
Shane Carr
c035e5bd04 ICU-13700 Removing obsolete TODO comment.
X-SVN-Rev: 41312
2018-05-03 01:32:03 +00:00
Jeff Genovy
37e2209f66 ICU-13749 Fix issue with tabs to spaces in previous commit.
X-SVN-Rev: 41311
2018-05-02 20:46:17 +00:00
Jeff Genovy
600afe90c4 ICU-13749 Prevent double-free of mzMappings in ZoneMeta::createMetazoneMappings.
X-SVN-Rev: 41310
2018-05-02 20:40:07 +00:00
Jeff Genovy
275580806f ICU-13739 ICU4C does not report Out-of-Memory when iterating over the TZEnumeration.
X-SVN-Rev: 41309
2018-05-02 19:55:58 +00:00
Jeff Genovy
2d5e369e78 ICU-13725 Fix last remaining C4251 warnings/errors by bringing back the CurrencyPluralInfoWrapper.
X-SVN-Rev: 41308
2018-05-02 08:18:00 +00:00
Jeff Genovy
6a5349eaae ICU-13725 Fix more of the C4251 warnings.
X-SVN-Rev: 41307
2018-05-02 07:51:55 +00:00
Jeff Genovy
f5082ad3a7 ICU-13725 Fix many of the C4251 warnings by DLL-exporting explicit template instantiations.
X-SVN-Rev: 41306
2018-05-02 06:49:00 +00:00
Shane Carr
b840d51ed9 ICU-13716 Adding default return values after U_ASSERT(FALSE) to silence compiler warnings in non-debug builds.
X-SVN-Rev: 41305
2018-05-02 04:29:25 +00:00
Shane Carr
3d0bf4b9c7 ICU-13644 Replying to review feedback. Changing enum methods on NumberFormatter to take by value instead of const reference.
X-SVN-Rev: 41304
2018-05-02 03:49:35 +00:00
Shane Carr
215417117e ICU-13437 Adding error codes to NumberFormatter terminal methods.
X-SVN-Rev: 41296
2018-04-30 21:07:35 +00:00
Markus Scherer
a4e66ded6d ICU-13630 switch from IdnaTest.txt to IdnaTestV2.txt new in Unicode 11 see Unicode PRI 375
X-SVN-Rev: 41294
2018-04-30 03:17:11 +00:00
Shane Carr
c9680037cc ICU-12572 Fixing signed overflow in decimalquantity.
X-SVN-Rev: 41293
2018-04-28 07:38:41 +00:00
Shane Carr
28e9f69378 ICU-11897 Adding tests for localized pattern separator symbol.
X-SVN-Rev: 41292
2018-04-28 07:27:02 +00:00
Shane Carr
b20f7f3543 ICU-13725 Adding comments referencing ticket 13580.
X-SVN-Rev: 41291
2018-04-28 06:59:09 +00:00
Shane Carr
d90be53c5b ICU-12175 Adding tests for compact currency support in ICU4C CompactDecimalFormat.
X-SVN-Rev: 41290
2018-04-28 06:15:41 +00:00
Shane Carr
ae665d87ef ICU-12052 Adding test case for null-pointer bug in unum_parseDoubleCurrency.
X-SVN-Rev: 41289
2018-04-28 05:50:52 +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
3ff3c3f8bb ICU-13424 Fixing locale-sensitive tests in cnumtst.c
X-SVN-Rev: 41287
2018-04-28 03:53:57 +00:00
Shane Carr
6545bac22d ICU-12931 Adding internal visibility ifdef around format(DecimalQuantity) methods in numfmt.h and decimfmt.h
X-SVN-Rev: 41285
2018-04-28 02:38:55 +00:00
Shane Carr
51ad01151d ICU-10584 Adding test for compact decimal rounding behavior in ICU4C
X-SVN-Rev: 41284
2018-04-28 01:38:18 +00:00
Shane Carr
d5253cfcae ICU-13725 Responding to small code review comments.
X-SVN-Rev: 41283
2018-04-27 08:02:40 +00:00
Shane Carr
c13e7785c2 ICU-13725 Fixing NumberFormatter std::move test failure on MSVC.
X-SVN-Rev: 41282
2018-04-26 03:38:17 +00:00
Shane Carr
e77603e3c3 ICU-13725 Fixing various number test failures in MSVC.
X-SVN-Rev: 41281
2018-04-26 01:33:59 +00:00
Shane Carr
acbdeaf98e ICU-13725 Fixing field reference in compactdecimalformat.cpp, broken by previous commit.
X-SVN-Rev: 41280
2018-04-26 00:17:30 +00:00
Shane Carr
18bfb67a60 ICU-13725 Moving all DecimalFormat fields to an implementation class, eliminating many MSVC warnings.
X-SVN-Rev: 41279
2018-04-25 23:57:10 +00:00
Shane Carr
18ffd64c69 ICU-13725 Additional MSVC compatibility fixes.
X-SVN-Rev: 41278
2018-04-25 21:51:16 +00:00
Andy Heninger
9ba0aa2345 ICU-13634 Fix Macintosh build breakage.
X-SVN-Rev: 41277
2018-04-25 21:04:19 +00:00
Andy Heninger
72ae3d7d54 ICU-13634 Fix Macintosh build error - missing include.
X-SVN-Rev: 41276
2018-04-25 04:09:09 +00:00
Andy Heninger
5e2a40b4ce ICU-13634 Fix Macintosh build error - missing include.
X-SVN-Rev: 41275
2018-04-25 03:50:39 +00:00
Andy Heninger
09249d176b ICU-13634 Fix Macintosh build error - missing include.
X-SVN-Rev: 41274
2018-04-25 03:38:04 +00:00
Shane Carr
dfc04884f6 ICU-13725 Fixing ambiguous assertEquals call on Linux.
X-SVN-Rev: 41273
2018-04-25 01:27:38 +00:00
Shane Carr
a256316990 ICU-13725 Additional MSVC compatibility fixes.
X-SVN-Rev: 41272
2018-04-25 00:39:22 +00:00
Shane Carr
a7bcbfc07c ICU-13725 Assorted minor changes to number formatting code for MSVC compatibility
X-SVN-Rev: 41271
2018-04-24 22:24:11 +00:00
Shane Carr
629238d3a1 ICU-13634 Fixing assorted build errors.
X-SVN-Rev: 41268
2018-04-24 01:25:05 +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
607a60bc3b ICU-13393 Removing the UPRV_INCOMPLETE_CPP11_SUPPORT flag since the number formatting code is no longer isolated from the rest of ICU.
X-SVN-Rev: 41266
2018-04-23 23:02:26 +00:00
Shane Carr
8fab60c93b ICU-13634 Syncing MSVC build files with Makefiles.
X-SVN-Rev: 41265
2018-04-23 22:48:52 +00:00
Shane Carr
b2be6b57a9 ICU-13597 Adding comments about thread safety to UNumberFormatter.h
X-SVN-Rev: 41264
2018-04-23 22:42:51 +00:00
Shane Carr
16aedd5e1a ICU-13670 Changing CFLAGS to C11 and fixing check for unicode string literals.
X-SVN-Rev: 41263
2018-04-23 21:16:52 +00:00
Shane Carr
328730604b ICU-13634 Fixing grouping size fallback in fast path.
X-SVN-Rev: 41262
2018-04-23 21:16:24 +00:00
Shane Carr
f7dddad5c0 ICU-13634 Removing superfluous abstraction "CharSequence" and "UnicodeStringCharSequence" from ICU4C number code.
X-SVN-Rev: 41260
2018-04-21 09:08:53 +00:00
Shane Carr
be466ddec0 ICU-13634 Porting some minor ICU4C performance enhancements to Java.
X-SVN-Rev: 41259
2018-04-21 08:55:58 +00:00
Shane Carr
e59eb48314 ICU-13634 Refactoring getPrefixSuffix methods. In ICU4C, the pattern modifier is now accessed directly. In ICU4J, they use the same detour through the pipeline code path as before with a TODO to improve to be closer to ICU4C. In addition, in both ICU4C and ICU4J, getPrefixSuffix now uses the compiled formatter when available.
X-SVN-Rev: 41258
2018-04-21 08:01:19 +00:00
Shane Carr
f412770e9d ICU-13634 A few more DecimalFormat optimizations.
X-SVN-Rev: 41257
2018-04-21 06:00:56 +00:00
Shane Carr
2cd9b1196d ICU-13634 Merging trunk to branch
X-SVN-Rev: 41256
2018-04-21 02:30:42 +00:00
Shane Carr
5aa92f0bf6 ICU-13521 Re-generating constants in measunit.cpp once more from the latest data on trunk.
X-SVN-Rev: 41255
2018-04-21 02:30:13 +00:00
Shane Carr
912f97dace ICU-13634 Merging trunk to branch
X-SVN-Rev: 41254
2018-04-21 02:18:33 +00:00
Shane Carr
1897f0cd56 ICU-13521 Re-generating constants in measunit.cpp from the code generation tool.
X-SVN-Rev: 41253
2018-04-21 02:09:53 +00:00
Shane Carr
f0aadfe714 ICU-13634 Fixing lazy-compute call site and other minor changes.
X-SVN-Rev: 41252
2018-04-20 01:32:53 +00:00
Shane Carr
ad116997ae ICU-13634 Optimizing and adding a basic fastpath for small ints. Greatly increases the performance of DateFormat.
X-SVN-Rev: 41251
2018-04-19 09:29:39 +00:00
Shane Carr
d682d1dbb1 ICU-13700 Fixing typo in APIdoc.
X-SVN-Rev: 41250
2018-04-19 02:41:33 +00:00
Shane Carr
f164bc1498 ICU-13634 Adding TODO comment in CurrencyUnit constructor.
X-SVN-Rev: 41249
2018-04-19 01:16:47 +00:00
Shane Carr
f11ca0d363 ICU-13634 Fixing address sanitizer issue involving backwards-compatible UChar* behavior in CurrencyUnit constructor. The string passed to the constructor need not be NUL-terminated.
X-SVN-Rev: 41248
2018-04-19 01:13:17 +00:00
Shane Carr
2e41837217 ICU-13700 APIDoc tweaks for getMultiplierScale/setMultiplierScale.
X-SVN-Rev: 41247
2018-04-19 00:14:17 +00:00
Shane Carr
1aa5185a36 ICU-13700 Renaming new getter/setter to magnitudeScale.
X-SVN-Rev: 41246
2018-04-18 23:55:55 +00:00
Shane Carr
55080e2804 ICU-13634 Fixing some clang sanitizer issues, including one potentially serious one deep inside DecimalQuantity.
X-SVN-Rev: 41245
2018-04-18 10:52:36 +00:00
Shane Carr
efa58f5d80 ICU-13597 Revising UNumberFormatter according to feedback: (1) adds LocalPointer; (2) makes buffer export behavior consistent; (3) removes const from unumf_closeResult; and (4) improves API docs.
X-SVN-Rev: 41244
2018-04-18 09:42:05 +00:00
Shane Carr
ad2ea9d38f ICU-13634 Minor cintltst tweaks; all of cintltst is passing.
X-SVN-Rev: 41243
2018-04-18 09:07:41 +00:00
Shane Carr
f97d1f09ab ICU-13634 Fixing cintltst sementation fault: reset UInitOnce mechanisms in number code after u_cleanup.
X-SVN-Rev: 41242
2018-04-18 09:03:42 +00:00
Shane Carr
6a2bc42216 ICU-13634 Strict mode on scientific formatter requires exponents; changing scanf in iotest to use lenient mode instead.
X-SVN-Rev: 41241
2018-04-18 09:02:12 +00:00
Shane Carr
49876dffda ICU-13634 Assorted minor fixes. cnumtst is passing.
X-SVN-Rev: 41240
2018-04-18 06:03:29 +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
b4573e4661 ICU-13634 Minor test expectation updates and status variable fixes. intltest format should be mostly working now.
X-SVN-Rev: 41238
2018-04-17 10:58:41 +00:00
Shane Carr
597e3287fc ICU-13135 Fixing and optimizing PluralFormat call site into NumberFormat in order to execute the formatting pipeline only once.
X-SVN-Rev: 41237
2018-04-17 10:18:42 +00:00
Shane Carr
12b34e7c9e ICU-13634 A variety of mostly minor changes to fix assorted unit test failures in ICU4C plus a few in ICU4J.
X-SVN-Rev: 41236
2018-04-17 08:05:20 +00:00
Shane Carr
d6c6fa0404 ICU-13634 DecimalQuantity work: Fixing integer overflow behavior in toLong and toFractionLong methods. Adding test for maxInt/maxFrac behavior in toScientificString and related methods. Updating a few test expectations in IntlTestDecimalFormatAPI::TestFixedDecimal, which is now passing.
X-SVN-Rev: 41235
2018-04-17 01:36:18 +00:00
Shane Carr
f84f0b726e ICU-13634 Cleanup of dcfmapts.cpp and minor code behavior changes.
X-SVN-Rev: 41233
2018-04-14 10:38:59 +00:00
Shane Carr
02c492db8a ICU-13700 Adding DecimalFormat "scale" getter/setter and implementation in the new number formatting pipeline.
X-SVN-Rev: 41232
2018-04-14 09:49:12 +00:00
Shane Carr
ce846b6b34 ICU-13678 Renaming Multiplier to Scale.
X-SVN-Rev: 41231
2018-04-14 09:45:39 +00:00
Shane Carr
e0df2775ea ICU-13634 Centralizing data loading for pattern strings.
X-SVN-Rev: 41230
2018-04-14 08:10:45 +00:00
Shane Carr
cbae6dfbaa ICU-13634 Adding groupingUsed as an explicit property in the property bag; see also ICU-13442 .
X-SVN-Rev: 41229
2018-04-14 07:15:19 +00:00
Shane Carr
cd3b2c7d41 ICU-13634 Updating Java test expectations with new behavior for fallback currency display. Other minor ICU4J test updates. All ICU4J tests are passing.
X-SVN-Rev: 41228
2018-04-14 06:17:39 +00:00
Shane Carr
79f4944ecd ICU-13634 Refactoring new percentage parsing code.
X-SVN-Rev: 41227
2018-04-14 05:54:53 +00:00
Shane Carr
354afa4e79 ICU-13697 Adding data-loading logic for parseLenients sets in CLDR. Ties the sets in with number and currency parsing in ICU4C and ICU4J.
X-SVN-Rev: 41223
2018-04-12 10:59:37 +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
5f57f04466 ICU-13634 Updating test expectations for the default currency long name.
X-SVN-Rev: 41218
2018-04-12 04:04:23 +00:00
Shane Carr
a9e8f6d135 ICU-13634 Fixing affix overrides when using CurrencyPluralInfo.
X-SVN-Rev: 41217
2018-04-11 23:14:06 +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
cd92fa2c88 ICU-13634 Changing DecimalQuantity#toNumberString() to be DecimalQuantity#toScientificString() with slightly friendlier output syntax for better compatibility. More currency tweaks.
X-SVN-Rev: 41215
2018-04-11 05:52:58 +00:00
Shane Carr
a901b5c04a ICU-13634 Fixing more assorted currency parsing issues.
X-SVN-Rev: 41214
2018-04-11 02:18:13 +00:00
Andy Heninger
2f06ce3799 ICU-13692 add test for slow RBBI word boundaries in very long words.
X-SVN-Rev: 41213
2018-04-09 21:42:14 +00:00