Shane Carr
|
18bfb67a60
|
ICU-13725 Moving all DecimalFormat fields to an implementation class, eliminating many MSVC warnings.
X-SVN-Rev: 41279
|
2018-04-25 23:57:10 +00:00 |
|
Andy Heninger
|
5e2a40b4ce
|
ICU-13634 Fix Macintosh build error - missing include.
X-SVN-Rev: 41275
|
2018-04-25 03:50:39 +00:00 |
|
Shane Carr
|
a256316990
|
ICU-13725 Additional MSVC compatibility fixes.
X-SVN-Rev: 41272
|
2018-04-25 00:39:22 +00:00 |
|
Shane Carr
|
a7bcbfc07c
|
ICU-13725 Assorted minor changes to number formatting code for MSVC compatibility
X-SVN-Rev: 41271
|
2018-04-24 22:24:11 +00:00 |
|
Shane Carr
|
607a60bc3b
|
ICU-13393 Removing the UPRV_INCOMPLETE_CPP11_SUPPORT flag since the number formatting code is no longer isolated from the rest of ICU.
X-SVN-Rev: 41266
|
2018-04-23 23:02:26 +00:00 |
|
Shane Carr
|
328730604b
|
ICU-13634 Fixing grouping size fallback in fast path.
X-SVN-Rev: 41262
|
2018-04-23 21:16:24 +00:00 |
|
Shane Carr
|
f7dddad5c0
|
ICU-13634 Removing superfluous abstraction "CharSequence" and "UnicodeStringCharSequence" from ICU4C number code.
X-SVN-Rev: 41260
|
2018-04-21 09:08:53 +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
|
f0aadfe714
|
ICU-13634 Fixing lazy-compute call site and other minor changes.
X-SVN-Rev: 41252
|
2018-04-20 01:32:53 +00:00 |
|
Shane Carr
|
ad116997ae
|
ICU-13634 Optimizing and adding a basic fastpath for small ints. Greatly increases the performance of DateFormat.
X-SVN-Rev: 41251
|
2018-04-19 09:29:39 +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
|
1aa5185a36
|
ICU-13700 Renaming new getter/setter to magnitudeScale.
X-SVN-Rev: 41246
|
2018-04-18 23:55:55 +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
|
b4573e4661
|
ICU-13634 Minor test expectation updates and status variable fixes. intltest format should be mostly working now.
X-SVN-Rev: 41238
|
2018-04-17 10:58:41 +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
|
02c492db8a
|
ICU-13700 Adding DecimalFormat "scale" getter/setter and implementation in the new number formatting pipeline.
X-SVN-Rev: 41232
|
2018-04-14 09:49:12 +00:00 |
|
Shane Carr
|
e0df2775ea
|
ICU-13634 Centralizing data loading for pattern strings.
X-SVN-Rev: 41230
|
2018-04-14 08:10:45 +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
|
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
|
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
|
06485f3b6b
|
ICU-13634 Fixing CurrencyPluralInfo support in formatting, allowing for currency long names to be formatted.
X-SVN-Rev: 41211
|
2018-04-07 08:49:11 +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
|
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
|
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
|
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
|
852897ba2c
|
ICU-13574 Adding currency names matcher to ICU4C.
X-SVN-Rev: 40889
|
2018-02-10 02:59:49 +00:00 |
|
Shane Carr
|
e6987fbfd8
|
ICU-13391 Change ICU4C parsing to count digits instead of UTF-16 code units for grouping sizes.
X-SVN-Rev: 40573
|
2017-10-05 21:41:46 +00:00 |
|
William Zhao
|
4bb34584ad
|
ICU-13275 Merge into some W3 warning fixes into trunk
X-SVN-Rev: 40446
|
2017-09-22 18:00:51 +00:00 |
|
Markus Scherer
|
4c2fad3e36
|
ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
X-SVN-Rev: 39684
|
2017-02-17 21:03:35 +00:00 |
|
Andy Heninger
|
242e02c388
|
ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
|
2017-01-20 00:20:31 +00:00 |
|
Markus Scherer
|
3b23b78b95
|
ICU-12410 include what you use
X-SVN-Rev: 39553
|
2017-01-12 18:35:18 +00:00 |
|
Steven R. Loomis
|
19d7d00bd8
|
ICU-12701 IBM i fixes (merge to trunk)
X-SVN-Rev: 39289
|
2016-09-20 04:30:06 +00:00 |
|
Peter Edberg
|
e02cfd9eac
|
ICU-12407 Prevent parse crash in DECIMAL-style formatter with applied currency pattern
X-SVN-Rev: 39236
|
2016-09-15 03:55:22 +00:00 |
|
Fredrik Roubert
|
3959b30d02
|
ICU-12140 Pass StringPiece by value, externally.
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/306850043 .
X-SVN-Rev: 39064
|
2016-08-17 19:07:15 +00:00 |
|
Michael Ow
|
61607c2773
|
ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
|
2016-06-15 18:58:17 +00:00 |
|
Yoshito Umaoka
|
00ca13e126
|
ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
|
2016-05-31 21:45:07 +00:00 |
|
Michael Ow
|
c9f199a30f
|
ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
|
2016-05-26 22:32:17 +00:00 |
|
Markus Scherer
|
69543d559e
|
ICU-11016 add support for minimum grouping digits (technology preview, not using CLDR data yet)
X-SVN-Rev: 37946
|
2015-09-11 19:18:00 +00:00 |
|
Travis Keep
|
2860cd48c4
|
ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
|
2015-08-25 23:31:01 +00:00 |
|