Commit Graph

29698 Commits

Author SHA1 Message Date
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
23d76d8863 ICU-13634 Adding integer overflow logic to ICU4C number pipeline in places where it is in ICU4J.
X-SVN-Rev: 41136
2018-03-23 00:56:16 +00:00
Shane Carr
e3180662e2 ICU-13634 Parsing wrapper is working; data-driven file is updated and passing. The C++ and Java implementations have almost identical behavior according to the data-driven test file, with the only differences seeming to involve overflow and extremely large numbers.
X-SVN-Rev: 41134
2018-03-21 09:48:55 +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
8b4c367468 ICU-13644 Property mapper for parsing is building. Refactoring CurrencySymbols a bit.
X-SVN-Rev: 41130
2018-03-21 05:17:28 +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
c940df09e7 ICU-13644 Adds move operators and related boilerplate to NumberFormatter classes. Includes a handful of other changes made to these files on my branch for ICU-13634 .
X-SVN-Rev: 41121
2018-03-17 07:24:02 +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
4fad01c342 ICU-13634 Adding pipeline for custom currency symbols.
X-SVN-Rev: 41119
2018-03-17 01:31:52 +00:00
Shane Carr
9828c56014 ICU-13634 Fixing remaining build warnings. In principle, formatting should work fully. Not yet tested.
X-SVN-Rev: 41109
2018-03-16 09:20:43 +00:00
Shane Carr
00a23a07f7 ICU-13634 The property mapper appears to be basically functional; data passes from the old API through the mapper into the new API and then back out through the old API again.
X-SVN-Rev: 41108
2018-03-15 10:08:26 +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
b30a6f0df1 ICU-13634 Filling in more methods in decimfmt.cpp
X-SVN-Rev: 41100
2018-03-13 10:11:36 +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
453788ddfd ICU-13634 Temporarily deleting all old number formatting implementation code. Pieces will be restored as needed. ICU4C builds, including tests, but won't run. Changes in plurfmt.cpp and plurrule.cpp are not tested. numberformat2test.cpp is unlinked but not deleted.
X-SVN-Rev: 41098
2018-03-13 08:12:05 +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
94427dc200 ICU-13574 Replacing DigitList with DecimalQuantity through most of the code base.
X-SVN-Rev: 41064
2018-03-03 10:53:01 +00:00
Shane Carr
3681a6803b ICU-13574 Replacing decimfmt.cpp and compactdecimalformat.cpp with new, empty files. Removing most private and internal functions from decimfmt.h, and updating call sites to use newer API.
X-SVN-Rev: 41063
2018-03-03 08:26:58 +00:00
Shane Carr
ef04891b49 ICU-13574 Adding U_OVERRIDE to decimfmt.h and other assorted changes in that file.
X-SVN-Rev: 41062
2018-03-03 07:42:26 +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
Jeff Genovy
118f3ba5f5 ICU-13581 Update readme for Windows build instructions for VS2015.
X-SVN-Rev: 41053
2018-03-03 02:03:38 +00:00
Jeff Genovy
f35a17992f ICU-13586 Fix build break for Windows.
X-SVN-Rev: 41051
2018-03-02 19:28:51 +00:00
Jeff Genovy
bb915931d0 ICU-13586 No actual code changes. This change cleans up redundancies in the VS project files, and pulls in common or shared settings from a shared 'props' file. This means that you can now change one single file to target either VS2015 or VS2017, instead of needing to change many files. It also allows the VS project files to share common defines as well, meaning that if you need to target something other than Windows 7, you can make one change in one file, instead of needing to make hundreds. Also included in this change are improvements to the VS Solution files in order to properly denote the dependencies of the projects, which might be needed in the future for possible parallel project builds.
X-SVN-Rev: 41049
2018-03-02 03:20:22 +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
Andy Heninger
28958a1f14 ICU-13581 Fix AIX porting problem w range for loop.
X-SVN-Rev: 41043
2018-03-01 23:11:18 +00:00
Andy Heninger
0a41842733 ICU-13541 rbbi.cpp, try again to fix xlC build problem.
X-SVN-Rev: 41042
2018-03-01 21:00:46 +00:00
Markus Scherer
4dd5b0f70a ICU-13581 minor dependencies adjustments, add double-conversion files
X-SVN-Rev: 41041
2018-03-01 20:51:00 +00:00
Andy Heninger
627506cfb1 ICU-13541 RBBI object layout optimizations, revert failed AIX fix.
X-SVN-Rev: 41040
2018-03-01 19:33:46 +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
Peter Edberg
d0c1e8955c ICU-13581 ICU 61 BRS, update ICU4C API change report
X-SVN-Rev: 41037
2018-03-01 07:29:50 +00:00
Peter Edberg
b69d78b0e8 ICU-12740 use private static const int32_t, not #define, for UDATPG_WIDTH_COUNT
X-SVN-Rev: 41035
2018-03-01 07:21:19 +00:00
Peter Edberg
ec9ee07ba5 ICU-13581 ICU 61 BRS, update ICU4C urename.h
X-SVN-Rev: 41033
2018-03-01 06:34:40 +00:00
Peter Edberg
c03a13dd21 ICU-13607 ICU4C 61 API promotion
X-SVN-Rev: 41032
2018-03-01 05:54:24 +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
ef95ed1eab ICU-13443 Changing number error test to use UErrorCode equality instead of UBool equality.
X-SVN-Rev: 41026
2018-03-01 01:02:44 +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