Commit Graph

20868 Commits

Author SHA1 Message Date
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
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
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
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
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
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
cd91ef4293 ICU-13581 pool bundles update
X-SVN-Rev: 41045
2018-03-02 00:41:32 +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
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
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
Markus Scherer
c2bb9c7523 ICU-13036 guaranteed-large-enough UNewTrie index array
X-SVN-Rev: 41023
2018-03-01 00:37:34 +00:00
Markus Scherer
8f115b498e ICU-13013 remove unnecessary casts that can yield warnings
X-SVN-Rev: 41022
2018-03-01 00:10:09 +00:00
Markus Scherer
da3bd4cfd9 ICU-9097 minor API docs fixes
X-SVN-Rev: 41021
2018-02-28 23:46:22 +00:00
Jeff Genovy
d1fb86d5f0 ICU-13611 Fix spelling errors/typos in 'common\unicode\*' header files.
X-SVN-Rev: 41016
2018-02-28 19:32:45 +00:00
Peter Edberg
3ca0f3beeb ICU-12740 getFieldDisplayName C++ tests
X-SVN-Rev: 41012
2018-02-28 07:26:03 +00:00
Jeff Genovy
d762fd1197 ICU-13581 Revert accidental change to vcxproj file.
X-SVN-Rev: 41009
2018-02-28 06:03:31 +00:00
Jeff Genovy
ce1944a6f5 ICU-13581 Update SVN ignore list for ARM UWP project file detritus.
X-SVN-Rev: 41008
2018-02-28 06:02:05 +00:00
Jeff Genovy
26dc3c5e1b ICU-11318 Fix Windows build break on ARM with UWP projects.
X-SVN-Rev: 41006
2018-02-28 05:51:54 +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
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
7f1a29ed4c ICU-13402 Adding pointer to NumberFormatter from classes that it replaces.
X-SVN-Rev: 40999
2018-02-28 02:56:45 +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
Markus Scherer
c875b3ed73 ICU-13515 improve API docs
X-SVN-Rev: 40995
2018-02-27 20:21:25 +00:00
Andy Heninger
887071e232 ICU-13399 Fix thread race in the Unified Cache.
X-SVN-Rev: 40994
2018-02-27 19:27:42 +00:00
Shane Carr
9759fc597f ICU-13574 Merging trunk to branch
X-SVN-Rev: 40993
2018-02-27 07:32:38 +00:00