Commit Graph

2945 Commits

Author SHA1 Message Date
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
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
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