Commit Graph

30202 Commits

Author SHA1 Message Date
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
Shane Carr
68b2d740d6 ICU-13788 Disabling failing RBNF parse test; to be addressed in #13793
X-SVN-Rev: 41445
2018-05-24 03:36:42 +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
c85229e1e4 ICU-13770 RBBI LB8a rule update for ICU4J.
X-SVN-Rev: 41424
2018-05-21 22:40:17 +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
6f34721bf6 ICU-13121 Use ASCII style copyright comment in all properties file.
X-SVN-Rev: 41422
2018-05-21 00:55:46 +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
Yoshito Umaoka
ca9ecef96e ICU-13517 Updated TimeZoneAdapter#equals implementation to return false if the given object is not a TimeZoneAdapter.
X-SVN-Rev: 41419
2018-05-20 23:53:41 +00:00
Yoshito Umaoka
ab59a3896c ICU-13601 Added getFirstDayOfWeek() in ICU Calendar wrapper class - CalendarICU.
X-SVN-Rev: 41418
2018-05-20 21:56:37 +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
Yoshito Umaoka
19eadbf90d ICU-13703 Fixed TestHoliday/TestEaster test execution issue.
X-SVN-Rev: 41416
2018-05-20 18:47:57 +00:00
Shane Carr
8265a37aa4 ICU-11640 Minor code cleanup
X-SVN-Rev: 41415
2018-05-19 08:04:15 +00:00
Yoshito Umaoka
898f5a6b11 ICU-13740 Java 6 compatibility fix
X-SVN-Rev: 41414
2018-05-19 00:46:19 +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
Fredrik Roubert
9006190a53 ICU-13617 Stop consuming AttributedCharacterIterator instances twice.
X-SVN-Rev: 41405
2018-05-17 18:53:16 +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
50bdd810ef ICU-13740 Re-formatting Java NumberFormatDataDrivenTest.java
X-SVN-Rev: 41396
2018-05-17 02:47:29 +00:00