Commit Graph

8296 Commits

Author SHA1 Message Date
Yoshito Umaoka
2076cee7d8 ICU-13667 BRS62 Clean up import statements.
X-SVN-Rev: 41475
2018-05-29 19:34:43 +00:00
Yoshito Umaoka
f4c892c6c4 ICU-13667 Fixing compiler warnings and API doc issues.
X-SVN-Rev: 41473
2018-05-29 17:06:21 +00:00
Jeff Genovy
70e173a4a2 ICU-13667 Update ICU4J version number for 62.1 release candidate, and readme file.
X-SVN-Rev: 41467
2018-05-25 23:39:14 +00:00
Markus Scherer
c6c8b7201a ICU-13630 update spoof checker inclusion/recommended sets from Unicode 9 to Unicode 11
X-SVN-Rev: 41466
2018-05-25 23:39:01 +00:00
Markus Scherer
eecb1a94fc ICU-13630 script metadata: Mongolian -> exclusion
X-SVN-Rev: 41462
2018-05-25 18:18:15 +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
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
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
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
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
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
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
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
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
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
Fredrik Roubert
9006190a53 ICU-13617 Stop consuming AttributedCharacterIterator instances twice.
X-SVN-Rev: 41405
2018-05-17 18:53:16 +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
50bdd810ef ICU-13740 Re-formatting Java NumberFormatDataDrivenTest.java
X-SVN-Rev: 41396
2018-05-17 02:47:29 +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
18263df394 ICU-13373 Adding file change missing from previous commit.
X-SVN-Rev: 41392
2018-05-16 23:56:43 +00:00
Shane Carr
8d3fb63bd2 ICU-13373 Change TestDataDrivenJDK from blacklist to whitelist.
X-SVN-Rev: 41391
2018-05-16 23:55:51 +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
bebf3c0983 ICU-13629 One more attempt at fixing the flaky UCharacterCaseTest.
X-SVN-Rev: 41388
2018-05-16 21:57:48 +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
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
Andy Heninger
d1507a5a2a ICU-13629 Fix flakey test.
X-SVN-Rev: 41379
2018-05-16 00:29:06 +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
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
641c8a1cba ICU-13148 Removing duplicated test in ICU4J.
X-SVN-Rev: 41356
2018-05-08 04:10:40 +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
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
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
2e10a5315d ICU-13620 Adding test for uniqueness of MeasureUnit.getAvailable()
X-SVN-Rev: 41303
2018-05-02 03:25:27 +00:00
Shane Carr
e63d20ff62 ICU-13620 Adding more comments on CollectionSet.
X-SVN-Rev: 41302
2018-05-02 03:17:05 +00:00
Andy Heninger
bf329938e8 ICU-13623 Move Java RBBIDataWrapper to from text to impl package.
X-SVN-Rev: 41295
2018-04-30 20:12:14 +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
28e9f69378 ICU-11897 Adding tests for localized pattern separator symbol.
X-SVN-Rev: 41292
2018-04-28 07:27:02 +00:00
Shane Carr
fb8f77b512 ICU-13148 Adding test for grouping separator symbols override.
X-SVN-Rev: 41286
2018-04-28 03:53:35 +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
912f97dace ICU-13634 Merging trunk to branch
X-SVN-Rev: 41254
2018-04-21 02:18:33 +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
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
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
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
ce846b6b34 ICU-13678 Renaming Multiplier to Scale.
X-SVN-Rev: 41231
2018-04-14 09:45:39 +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
Shane Carr
b9925e084e ICU-13634 Fixing various issues in order to make currencies round-trip in strict mode.
X-SVN-Rev: 41212
2018-04-07 11:10:08 +00:00
Andy Heninger
0b8b2750e3 ICU-13194 RBBI safe rule synthesis, merge to trunk.
X-SVN-Rev: 41210
2018-04-07 00:03:36 +00:00
Shane Carr
e74395dce9 ICU-13684 Making DecimalMatcher no longer consume trailing grouping separators, which is consistent with previous behavior.
X-SVN-Rev: 41207
2018-04-06 21:46:18 +00:00
Markus Scherer
813b76c636 ICU-13630 Unicode 11 beta (data from apr03); merged from branches/markus/uni11
X-SVN-Rev: 41206
2018-04-06 18:42:58 +00:00
Andy Heninger
b58e06a604 ICU-13630 WSegSpace, use word property value in rules definitions.
X-SVN-Rev: 41205
2018-04-06 17:31:18 +00:00
Shane Carr
73f93a457a ICU-13634 Fixing DecimalQuantity call sites, first written in r41063, r41064, and r41098. RNBF test is passing again.
X-SVN-Rev: 41204
2018-04-06 09:35:16 +00:00
Andy Heninger
b6a2b3fddb ICU-13194 RBBI safe tables, improve code consistency between C++ and Java.
X-SVN-Rev: 41202
2018-04-06 00:00:08 +00:00
Shane Carr
b5fb39f302 ICU-13672 Adding the toDouble test to Java with comments.
X-SVN-Rev: 41201
2018-04-05 23:44:03 +00:00
Shane Carr
fe0725cd2a ICU-13678 Changing Multiplier to use decNumber instead of double, in order to fix some unit tests. Refactored call sites to use a common DecNum wrapper class with constructors for string, double, and BCD.
X-SVN-Rev: 41198
2018-04-05 21:54:04 +00:00
Andy Heninger
88457a6820 ICU-13630 ICU4J RBBI updates for Unicode 11.
X-SVN-Rev: 41196
2018-04-05 18:32:07 +00:00
Markus Scherer
f7276c5c59 ICU-13630 finish updating ICU4J except RBBI tests
X-SVN-Rev: 41195
2018-04-05 03:37:21 +00:00
Shane Carr
a2a7982216 ICU-13678 Adding multiplier to skeleton string syntax.
X-SVN-Rev: 41193
2018-04-04 01:26:18 +00:00
Markus Scherer
03303a6cb6 ICU-13630 Unicode 11 beta data apr02 (security apr03), fix ICU4C tests except RBBI
X-SVN-Rev: 41191
2018-04-03 23:09:49 +00:00
Andy Heninger
15d9f3a9ce ICU-13194 Safe tables, make C and Java code closer.
X-SVN-Rev: 41190
2018-04-03 05:12:36 +00:00
Shane Carr
8ea876aadb ICU-13678 Cleaning up multiplier implementation and adding public API.
X-SVN-Rev: 41188
2018-04-03 04:38:16 +00:00
Andy Heninger
74abb22510 ICU-13194 RBBI safe table generation, all tests passing.
X-SVN-Rev: 41187
2018-04-02 20:54:56 +00:00
Andy Heninger
75cc1f986c ICU-13194 RBBI safe table Java port, regen data from ICU4C.
X-SVN-Rev: 41186
2018-04-02 05:40:49 +00:00
Shane Carr
921355c6f0 ICU-13634 Refactoring the two separate currency matchers into a single unified CombinedCurrencyMatcher. Allows for easy implementation of currency spacing (included in this changeset) and possibly other currency-related parsing features in the future.
X-SVN-Rev: 41181
2018-03-31 05:18:51 +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
db9c74b3f4 ICU-13634 More assorted number formatting/parsing fixes.
X-SVN-Rev: 41179
2018-03-30 10:37:24 +00:00
Shane Carr
8d8f846755 ICU-13634 Fixing significant digit display on zero when minInt is zero.
X-SVN-Rev: 41178
2018-03-30 08:21:06 +00:00
Shane Carr
af4435133a ICU-13634 Merging trunk to branch
X-SVN-Rev: 41176
2018-03-30 07:17:11 +00:00
Shane Carr
888f884f3c ICU-13672 Enabling double_conversion StringToDoubleConverter and using it in DecimalQuantity's toDouble() function.
X-SVN-Rev: 41175
2018-03-30 07:12:25 +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
Andy Heninger
3180a6400e ICU-13194 RBBI safe tables Java port, work in progress.
X-SVN-Rev: 41172
2018-03-30 01:12:50 +00:00
Andy Heninger
ed5b77c406 ICU-13194 RBBI safe tables, Java port, work in progress.
X-SVN-Rev: 41170
2018-03-29 16:09:26 +00:00
Yoshito Umaoka
cee4e036f6 ICU-13666 tzdata2018d updates to ICU trunk.
X-SVN-Rev: 41167
2018-03-28 13:44:28 +00:00
Shane Carr
1b4670fd29 ICU-13634 Merging trunk to branch
X-SVN-Rev: 41162
2018-03-28 01:08:47 +00:00
Shane Carr
3574a63853 ICU-8610 API test is passing with the skeletons in C++. :)
X-SVN-Rev: 41154
2018-03-24 08:06:34 +00:00
Shane Carr
a8f2471248 ICU-8610 Adding tests for number skeletons in C++. Adding error code handling to the setToDecNumber setter on DecimalQuantity. Refactoring char-to-uchar conversion in skeleton implementation code.
X-SVN-Rev: 41152
2018-03-24 05:46:28 +00:00
Shane Carr
7da9e75441 ICU-8610 C++ number skeleton code is building. Testing is next.
X-SVN-Rev: 41144
2018-03-23 10:07:38 +00:00
Shane Carr
52c665a2bd ICU-8610 More general progress in C++; generation code is largely implemented. Probably not building yet.
X-SVN-Rev: 41143
2018-03-23 07:51:52 +00:00
Shane Carr
d8f2d8ce6e ICU-8610 Dirty commit of C++ work so far. Probably does not build.
X-SVN-Rev: 41142
2018-03-23 06:46:19 +00:00
Shane Carr
c725920cff ICU-8610 Refactoring and renaming entities in Java implementation. Adding lots of comments. Should be ready to start C++ port.
X-SVN-Rev: 41141
2018-03-23 04:40:01 +00:00
Shane Carr
fa6c8972ea ICU-8610 Removing last bit of old hash map data structure from number skeleton code.
X-SVN-Rev: 41140
2018-03-23 03:44:18 +00:00
Shane Carr
1c034cea33 ICU-8610 Refactoring stem switch statement to use helper methods.
X-SVN-Rev: 41139
2018-03-23 01:54:25 +00:00
Shane Carr
929b26360d ICU-8610 Changing parsing state variable from "CharSequence content" to "StringSegment segment" for easier portability. In C++, the segment will be marked const in the arguments.
X-SVN-Rev: 41138
2018-03-23 01:14:56 +00:00
Shane Carr
b4ad6242b3 ICU-8610 Changing to CharsTrie implementation for stem lookup for better portability to C++.
X-SVN-Rev: 41137
2018-03-23 00:58:31 +00:00
Shane Carr
0b6e991bb0 ICU-13634 C and J, removing the obsolete "optimize" parameter for NumberParserImpl.
X-SVN-Rev: 41132
2018-03-21 06:33:37 +00:00
Shane Carr
01916cad11 ICU-13634 Changes NumberParseMatcher getLeadCodePoints() to smokeTest() in C++ and Java. The new method is more versatile and eliminates the requirement to maintain two code paths for "lead chars" and "no lead chars".
X-SVN-Rev: 41131
2018-03-21 06:30:29 +00:00
Shane Carr
369f3484d8 ICU-13644 Minor refactoring changes in ICU4J.
X-SVN-Rev: 41129
2018-03-21 01:37:18 +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
Shane Carr
1a95c170d2 ICU-13634 Number property mapper is building. Currently there is a linker error.
X-SVN-Rev: 41107
2018-03-15 07:46:56 +00:00
Shane Carr
f5d2257d34 ICU-13634 Implementing localized pattern converter and other pieces.
X-SVN-Rev: 41104
2018-03-14 10:41:27 +00:00
Shane Carr
73fddf50d0 ICU-13634 Filling in decimfmt.cpp with implementation ported from Java.
X-SVN-Rev: 41103
2018-03-14 09:15:27 +00:00
Shane Carr
3ba34b82fb ICU-13634 Adding class for slow exhaustive number tests and adding a test for ICU-13616
X-SVN-Rev: 41102
2018-03-14 06:10:22 +00:00
Shane Carr
e16361e686 ICU-13640 Updating license files.
X-SVN-Rev: 41101
2018-03-13 23:37:02 +00:00
Shane Carr
8a50c335fa ICU-13634 Adding new field structure to DecimalFormat and wiring up constructors.
X-SVN-Rev: 41099
2018-03-13 09:25:41 +00:00
Shane Carr
24431ce7a9 ICU-13402 Tweaking NumberFormatter pointers and adding additional pointers on the factory methods in ICU4C and ICU4J.
X-SVN-Rev: 41096
2018-03-13 02:14:29 +00:00
Markus Scherer
af6a771267 ICU-13630 implement, test, use emoji property Extended_Pictographic
X-SVN-Rev: 41094
2018-03-12 05:53:02 +00:00
Markus Scherer
b3aec18a3c ICU-13630 ucase.icu formatVersion 4: more compressible exceptions, and more room for future exceptions growth
X-SVN-Rev: 41093
2018-03-12 00:15:40 +00:00
Markus Scherer
1752b5c8c9 ICU-13630 Unicode 11 beta data mar06, API constants for new property values
X-SVN-Rev: 41092
2018-03-09 23:53:02 +00:00
Shane Carr
3487cc4331 ICU-13634 Adding docstring to CompactData.java
X-SVN-Rev: 41085
2018-03-08 07:15:29 +00:00
Shane Carr
4a5c8afa5b ICU-13461 Removing obsolete comment in StringSegment.java
X-SVN-Rev: 41081
2018-03-07 22:28:36 +00:00
Yoshito Umaoka
04a7f2e10b ICU-13581 Updated ICU4J readme for 61RC.
X-SVN-Rev: 41080
2018-03-07 22:05:02 +00:00
Yoshito Umaoka
88475c3f8d ICU-13581 Syncnronize ICU_DATA_VERSION with ICU_VERSION
X-SVN-Rev: 41078
2018-03-07 19:30:29 +00:00
Yoshito Umaoka
4b90830e20 ICU-13581 Added 61.1 serialization compatibility test data, deleted 56.1.
X-SVN-Rev: 41072
2018-03-06 21:08:46 +00:00
Yoshito Umaoka
809eb86151 ICU-13581 Added 61 api signature file, purged very old api signature files. Fixed an issue DeprecatedAPIChecker. Fixed API doc problem in RBBIDataWrapper.
X-SVN-Rev: 41071
2018-03-06 20:10:09 +00:00
Yoshito Umaoka
05458c3610 ICU-13581 Updated currency/numeric code data.
X-SVN-Rev: 41069
2018-03-06 18:00:29 +00:00
Andy Heninger
7e1e4e0e34 ICU-13598 fix byte order bug in RBBI data wrapper.
X-SVN-Rev: 41068
2018-03-05 19:43:03 +00:00
Shane Carr
9eba6f43c1 ICU-13567 Bringing C/J numberformattestspecification.txt back in sync
X-SVN-Rev: 41067
2018-03-05 09:28:58 +00:00
Shane Carr
a33db79f8d ICU-13574 Merging trunk to branch
X-SVN-Rev: 41061
2018-03-03 07:22:22 +00:00
Shane Carr
6b8d9a56ed ICU-13620 Adding comment.
X-SVN-Rev: 41057
2018-03-03 05:35:31 +00:00
Shane Carr
d3aecc8bf4 ICU-13620 Fix typo.
X-SVN-Rev: 41056
2018-03-03 05:28:05 +00:00
Shane Carr
afa9ac8b77 ICU-13620 Making MeasureUnit.getAvailable(type) return a Collection-based instead of Set-based data structure for better performance.
X-SVN-Rev: 41055
2018-03-03 05:25:58 +00:00
Shane Carr
c2fa8cacad ICU-8610 Adding more tests; normalized skeleton implementation; minor tweaks.
X-SVN-Rev: 41054
2018-03-03 02:54:24 +00:00
Markus Scherer
280ecc044c ICU-13581 pool bundles update, take 2 for Java
X-SVN-Rev: 41046
2018-03-02 01:07:57 +00:00
Markus Scherer
cd91ef4293 ICU-13581 pool bundles update
X-SVN-Rev: 41045
2018-03-02 00:41:32 +00:00
Markus Scherer
d55ba6554d ICU-13606 fix Java 6 build breakage
X-SVN-Rev: 41044
2018-03-02 00:37:43 +00:00
Shane Carr
c5e86f87c8 ICU-8610 Full support for skeletons in ICU4J. Needs a few more tests.
X-SVN-Rev: 41038
2018-03-01 09:24:37 +00:00
Shane Carr
f8eac2972e ICU-13551 Fixing typo in Java test. Confirmed that the typo does not exist in corresponding C++ test.
X-SVN-Rev: 41031
2018-03-01 04:41:30 +00:00
Shane Carr
33709da06a ICU-13606 Fixing race condition in MeasureFormat.
X-SVN-Rev: 41025
2018-03-01 00:58:47 +00:00
Andy Heninger
c589ea8b5d ICU-13447 RBBI: getRuleStatus() behavior, incorporate review comments, clarifying comments and API description.
X-SVN-Rev: 41024
2018-03-01 00:38:41 +00:00
Markus Scherer
da3bd4cfd9 ICU-9097 minor API docs fixes
X-SVN-Rev: 41021
2018-02-28 23:46:22 +00:00
Yoshito Umaoka
dd01d5543f ICU-13581 Fixed Java compiler warnings on Eclipse.
X-SVN-Rev: 41020
2018-02-28 23:12:21 +00:00
Yoshito Umaoka
a8d1327a16 ICU-13607 Fixed other ICU4J API doc problems affecting API change report.
X-SVN-Rev: 41019
2018-02-28 22:47:11 +00:00
Yoshito Umaoka
44e30d7bb9 ICU-13607 ICU4J draft API promotion for 61.1.
X-SVN-Rev: 41017
2018-02-28 20:52:10 +00:00
Shane Carr
59e4fc5172 ICU-8610 Adds skeleton support for measure units.
X-SVN-Rev: 41014
2018-02-28 09:29:33 +00:00
Shane Carr
abb8788d23 ICU-8610 Adds basic support for number skeletons. Includes skeleton support for rounding strategy.
X-SVN-Rev: 41013
2018-02-28 08:06:42 +00:00
Shane Carr
f133914b97 ICU-13574 Fixing build errors after merge.
X-SVN-Rev: 41007
2018-02-28 05:52:41 +00:00
Shane Carr
19270f5476 ICU-13574 Deleting file that should have been deleted by merge
X-SVN-Rev: 41005
2018-02-28 05:48:40 +00:00
Shane Carr
1254850bf9 ICU-13574 Merging trunk to branch
X-SVN-Rev: 41004
2018-02-28 05:44:52 +00:00
Shane Carr
f616fca69b ICU-13613 Move Java StringSegment to com.ibm.icu.impl.
X-SVN-Rev: 41003
2018-02-28 05:42:11 +00:00
Shane Carr
9ae7e8eba1 ICU-13084 Updating set of ignorable control characters to [:DI:].
X-SVN-Rev: 41002
2018-02-28 03:42:32 +00:00
Shane Carr
e18dd19a9e ICU-13402 Adding pointer to NumberFormatter from classes that it replaces.
X-SVN-Rev: 41000
2018-02-28 02:56:52 +00:00
Andy Heninger
87291e747a ICU-13447 Add test for break iterator getRuleStatus() at end of iteration.
X-SVN-Rev: 40998
2018-02-27 22:53:26 +00:00
Shane Carr
9759fc597f ICU-13574 Merging trunk to branch
X-SVN-Rev: 40993
2018-02-27 07:32:38 +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
Peter Edberg
c033aaaf41 ICU-13603 Integrate data from CLDR release-33-alpha for ICU 61rc
X-SVN-Rev: 40980
2018-02-25 01:19:24 +00:00
Markus Scherer
fdbe2f371b ICU-13547 limit nesting depth of UnicodeSet pattern
X-SVN-Rev: 40979
2018-02-23 21:39:23 +00:00
Shane Carr
4e360e68d2 ICU-13607 Adding @internal to Currency.java getParsingTrie
X-SVN-Rev: 40976
2018-02-22 08:22:47 +00:00
Yoshito Umaoka
364124dae5 ICU-13607 Draft API promotion for ICU4J 61. Also added a new build target draftAPIsTSV for generating a list of draft APIs in TSV format.
X-SVN-Rev: 40975
2018-02-22 06:47:34 +00:00
Andy Heninger
8640bee541 ICU-10688 Remove redundant break type logic from BreakIterators. Merge to trunk.
X-SVN-Rev: 40967
2018-02-21 23:10:10 +00:00
Yoshito Umaoka
44b2617d44 ICU-13548 Fixed a calendar calculation problem with setting week-of-year and year.
X-SVN-Rev: 40966
2018-02-21 21:09:33 +00:00
Steven R. Loomis
57a43a8cf6 ICU-13594 support JDK through v12 (merge)
X-SVN-Rev: 40963
2018-02-21 19:19:32 +00:00
Jeff Genovy
1b43bcc834 ICU-13581 Update version numbers in the readme files.
X-SVN-Rev: 40957
2018-02-21 01:43:49 +00:00
Jeff Genovy
ae84e3265a ICU-13581 Update ICU4J version number and data files. (Plus fix dead link in readme file).
X-SVN-Rev: 40956
2018-02-21 01:25:57 +00:00
Yoshito Umaoka
15b2113603 ICU-13566 Support negative daylight savings in SimpleTimeZone.
X-SVN-Rev: 40954
2018-02-20 22:38:21 +00:00
Andy Heninger
f6fbd54e92 ICU-13549 CjkBreakEngine::divideUpDictionaryRange, problems with supplemental character handling.
X-SVN-Rev: 40949
2018-02-18 22:44:18 +00:00
Andy Heninger
a0c64552ab ICU-13569 Add clarifying comment to some RBBI state table handling code.
X-SVN-Rev: 40948
2018-02-17 22:29:07 +00:00
Jeff Genovy
dc62cffa45 ICU-13581 Revert r40946 for now. Need to also update the Java data files, but unclear how.
X-SVN-Rev: 40947
2018-02-17 09:08:11 +00:00
Jeff Genovy
0091f5060d ICU-13581 Update ICU4J version number for 61.1 rc.
X-SVN-Rev: 40946
2018-02-17 02:09:19 +00:00
Markus Scherer
555c415e18 ICU-13529 minor test code cleanup
X-SVN-Rev: 40944
2018-02-17 00:19:25 +00:00
Markus Scherer
cf61e9823a ICU-13331 fix Java AlphabeticIndex.addIndexExemplars() for missing index exemplars (test for empty, not just null)
X-SVN-Rev: 40941
2018-02-16 19:48:49 +00:00
Peter Edberg
1d3a9958df ICU-12740 getFieldDisplayName J initial implementation & tests; TODO: C++ tests, impl cleanup?
X-SVN-Rev: 40940
2018-02-16 19:17:27 +00:00
Shane Carr
23872cb601 ICU-11318 Integrating double-conversion into icu4c. Changing both old and new number formatting implementations to call it.
X-SVN-Rev: 40929
2018-02-16 01:25:43 +00:00
Steven R. Loomis
96c54b5e71 ICU-13594 support icu4j on jdk through v12
X-SVN-Rev: 40928
2018-02-16 00:02:06 +00:00
Andy Heninger
25950362de ICU-13569 RBBI State table size reduction, move reduced tables to ICU4J; better testing and small bug fix in ICU4J builder.
X-SVN-Rev: 40926
2018-02-15 23:21:54 +00:00
Markus Scherer
8ccca58d0c ICU-12911 remove UBiDiProps except inside its .cpp file, and uprv_haveProperties()
X-SVN-Rev: 40923
2018-02-15 19:01:29 +00:00
Markus Scherer
e8bb1bb9c2 ICU-12647 make string case mapping functions faster
X-SVN-Rev: 40921
2018-02-15 06:43:56 +00:00
Andy Heninger
b93cd31987 ICU-13569 refresh ICU4J data, picks up new rbbi binary rules.
X-SVN-Rev: 40919
2018-02-15 00:42:20 +00:00
Andy Heninger
fb357b0ade ICU-13569 more refresh of development branch from trunk.
X-SVN-Rev: 40918
2018-02-14 23:59:41 +00:00
Andy Heninger
fd77c49a2b ICU-13569 RBBI state table minimization, Java now works.
X-SVN-Rev: 40916
2018-02-14 23:44:50 +00:00
Andy Heninger
ff3ebb8c32 ICU-13569 RBBI state table optimizations, ICU4J, work in progress, plus branch refresh.
X-SVN-Rev: 40914
2018-02-14 01:31:35 +00:00
George Rhoten
4bac703558 ICU-13529 Parsing of redundant rule matches is slow when parsing with RuleBasedNumberFormat
X-SVN-Rev: 40913
2018-02-13 23:48:48 +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
c9a3d6244d ICU-13574 Merging trunk to branch
X-SVN-Rev: 40908
2018-02-13 18:36:45 +00:00
Shane Carr
1ed7deaa8c ICU-13574 AffixMatcher is working. All simple parsing tests are passing.
X-SVN-Rev: 40903
2018-02-13 02:23:52 +00:00
Markus Scherer
bfcedd7774 ICU-13248 simplify a titlecasing call site
X-SVN-Rev: 40901
2018-02-13 00:25:45 +00:00
Markus Scherer
64fd53cd95 ICU-13248 remove UCharacter.toTitleFirst()
X-SVN-Rev: 40900
2018-02-12 23:52:55 +00:00
Shane Carr
0f293044a0 ICU-13461 Fixing build error in Java 6.
X-SVN-Rev: 40899
2018-02-12 23:21:27 +00:00
Shane Carr
7b1857d0f3 ICU-13574 Trying to get std::move operator to work on AffixMatcherWarehouse. No luck yet.
X-SVN-Rev: 40895
2018-02-10 15:49:02 +00:00
Shane Carr
59587ad9db ICU-13574 Improving object lifecycle of AffixPatternMatcher and helper classes. Should be safe now.
X-SVN-Rev: 40892
2018-02-10 10:57:30 +00:00
Shane Carr
e7a42e17f6 ICU-13574 Adding initial AffixPatternMatcher to ICU4C. Not completely safe yet. Still needs work.
X-SVN-Rev: 40891
2018-02-10 10:01:46 +00:00
Shane Carr
513f123a8c ICU-13574 Adding composition matchers (SeriesMatcher and AnyMatcher) to ICU4C in preparation for affix matchers. Also re-working memory management in getLeadCodePoints().
X-SVN-Rev: 40890
2018-02-10 06:36:07 +00:00
Shane Carr
ae263452f6 ICU-13400 Change name of Grouping strategy from WESTERN to THOUSANDS.
X-SVN-Rev: 40887
2018-02-09 22:55:36 +00:00
Peter Edberg
64aa4beb28 ICU-13538 in ICU4C Islamic cal, use int64_t math for one operation to avoid overflow; add tests in C and J
X-SVN-Rev: 40882
2018-02-09 19:31:12 +00:00
Shane Carr
b8bab89cb5 ICU-13574 Implementing final two SymbolMatchers in ICU4C (infinity and padding).
X-SVN-Rev: 40878
2018-02-09 06:30:40 +00:00
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
31a4dfe3e4 ICU-13574 Fixing compile errors introduced by last merge from trunk.
X-SVN-Rev: 40871
2018-02-08 08:56:01 +00:00
Shane Carr
8b5a53cb7f ICU-13574 Merging trunk to branch
X-SVN-Rev: 40870
2018-02-08 08:52:34 +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
398b17f2b5 ICU-13571 Switching number parsing code back to incremental code point case folding.
X-SVN-Rev: 40868
2018-02-08 08:43:12 +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
baca9ac330 ICU-13574 Adding copy and resource bundle tests to ICU4J (added to ICU4C in previous commit).
X-SVN-Rev: 40864
2018-02-08 04:09:25 +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
195d9b256a ICU-13453 Removing obsolete test.
X-SVN-Rev: 40849
2018-02-07 06:51:59 +00:00
Shane Carr
181269a9b2 ICU-13453 Reformatting FormattedNumber.java
X-SVN-Rev: 40848
2018-02-07 06:27:13 +00:00
Shane Carr
9d9471e586 ICU-13453 Fixing DecimalFormat getPositivePrefix backwards compatibility.
X-SVN-Rev: 40847
2018-02-07 06:26:44 +00:00
Shane Carr
eca52aa122 ICU-13461 Fixing conditional in Grouper.java (this is J-only code, so an ICU4C fix is not necessary). Clarifying comments in MeasureFormat files.
X-SVN-Rev: 40846
2018-02-06 23:38:29 +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
5315ad603e ICU-13568 ICU-13400 ICU-13389 ICU-13075 Merging fixes from branch to trunk.
X-SVN-Rev: 40839
2018-02-06 03:15:37 +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
Andy Heninger
aaebaf90a3 ICU-12677 RBBI, fix incorrect stripping of comments from saved rules.
X-SVN-Rev: 40837
2018-02-03 19:10:50 +00:00
Shane Carr
f74b42f960 ICU-13571 Disabling failing test on trunk. Needs more time to investigate.
X-SVN-Rev: 40836
2018-02-03 10:16:43 +00:00
Shane Carr
4385fb0348 ICU-13526 Adding package-private getNumberFormatInternal() to reduce unnecessary object cloning.
X-SVN-Rev: 40835
2018-02-03 07:54:35 +00:00
Shane Carr
bf49bd2afc ICU-13461 Fixing coverity defects in new number parsing code.
X-SVN-Rev: 40834
2018-02-03 07:48:29 +00:00
Shane Carr
bfab81c260 ICU-13526 Refactoring MeasureFormat, CurrencyFormat, and TimeUnitFormat to more directly wrap NumberFormatter.
X-SVN-Rev: 40833
2018-02-03 03:40:09 +00:00
Shane Carr
82a8f8bc68 ICU-13513 A few more compatibility tweaks.
X-SVN-Rev: 40829
2018-01-30 06:08:15 +00:00
Shane Carr
73ac780512 ICU-13513 Conditionally disabling fraction grouping parsing.
X-SVN-Rev: 40827
2018-01-30 05:26:07 +00:00
Shane Carr
79014240bb ICU-13513 Refactoring MutablePatternModifier's LDML parsing logic into a more general place in the code. Adding proper support for sign-always-shown to strict parsing.
X-SVN-Rev: 40826
2018-01-30 03:50:12 +00:00
Shane Carr
10e7c07765 ICU-13513 Merging trunk to branch
X-SVN-Rev: 40825
2018-01-30 02:50:01 +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
da65d09dd5 ICU-13513 A few more minor fixes before merge.
X-SVN-Rev: 40822
2018-01-30 01:21:56 +00:00
Shane Carr
8d366b982d ICU-13513 Merging trunk to branch
X-SVN-Rev: 40819
2018-01-30 00:59:52 +00:00
Shane Carr
519d2a5a86 ICU-13513 Removing ICU 59 parsing code.
X-SVN-Rev: 40814
2018-01-27 11:45:00 +00:00
Shane Carr
f698c8814b ICU-13513 Fixing various issues uncovered by a full project test. Ant Check is now running clean.
X-SVN-Rev: 40813
2018-01-27 11:21:33 +00:00
Shane Carr
baaf9fea40 ICU-13513 Tweaks to currency matchers, including unit test changes.
X-SVN-Rev: 40802
2018-01-24 10:21:22 +00:00
Shane Carr
49d920d098 ICU-13513 Re-working separator logic to be most highly compatible with previous ICU.
X-SVN-Rev: 40801
2018-01-24 08:59:27 +00:00
Yoshito Umaoka
32ba591832 ICU-13552 tzdata2018c updates to ICU trunk. ICU override for Europe/Dublin was commented out in icuzones.
X-SVN-Rev: 40798
2018-01-24 03:20:50 +00:00
Shane Carr
a6a18243b1 ICU-13513 Assorted fixes to AffixPatternMatcher and other classes. Found and fixed exponential loop in non-greedy parser.
X-SVN-Rev: 40797
2018-01-24 02:32:03 +00:00
Yoshito Umaoka
a222a6fa25 ICU-13552 tzdata2018b updates to ICU trunk. Also fixed a few issues in the test code and script. tz2icu was also updated to support customized Links for ICU overide zones.
X-SVN-Rev: 40794
2018-01-24 01:37:07 +00:00
Shane Carr
77b084f6fa ICU-13513 Adding proper flexible parsing to AffixMatcher. Adding back the tests for this behavior. Tweaking the logic for strict grouping; it still does not entirely work.
X-SVN-Rev: 40791
2018-01-20 11:06:59 +00:00
Yoshito Umaoka
a3dca5a303 ICU-13552 tzdata2018a updates to ICU trunk. Zoneinfo data Europe/Dublin is modified to keep DST offset positive. The tz tool tz2icu was updated to replace zoneinfo imported from tz database with ICU local definition.
X-SVN-Rev: 40787
2018-01-19 05:13:00 +00:00