Andy Heninger
09249d176b
ICU-13634 Fix Macintosh build error - missing include.
...
X-SVN-Rev: 41274
2018-04-25 03:38:04 +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
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
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
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
Shane Carr
02669ad1bc
ICU-13634 Fixes for NumberFormatTest/TestExponential.
...
X-SVN-Rev: 41177
2018-03-30 07:22:24 +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
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
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
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
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
a9c247a3cb
ICU-12166 annotate intended switch case fallthroughs
...
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Andy Heninger
ff85125d2f
ICU-11439 Improve portability of DecimalFormat::getFixedDecimal().
...
X-SVN-Rev: 36893
2014-12-18 22:46:45 +00:00
Steven R. Loomis
58fd7c7583
ICU-7912 more review comments
...
X-SVN-Rev: 34428
2013-09-20 21:17:16 +00:00
Steven R. Loomis
4650ca64e3
ICU-7912 commit from review comments (thx)
...
X-SVN-Rev: 34416
2013-09-20 05:00:30 +00:00
Steven R. Loomis
ae061ff78f
ICU-7912 C wrapper for Formattable - UFormattable
...
X-SVN-Rev: 33849
2013-06-26 06:31:09 +00:00
Steven R. Loomis
4297072ccd
ICU-9714 now builds clean on IBM i- fix some test cases for ASCIIsms, fix formattable buffer size
...
X-SVN-Rev: 32905
2012-11-29 01:09:50 +00:00
Steven R. Loomis
9077d5dc25
ICU-9449 Merge in decimal format performance improvements from branch.
...
Improvements to 'howExpensiveIs' benchmark test.
Use internal digitlist in Formattable (save mallocs).
Enable fastpath by default.
Enable internal API "parse all input", returning an error if all input was not consumed.
X-SVN-Rev: 32397
2012-09-17 19:03:01 +00:00
Steven R. Loomis
43b918a0c8
ICU-9258 merge from branches, performance improvements
...
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
Markus Scherer
493668a25f
ICU-8573 remove support for U_IOSTREAM_SOURCE=198506
...
X-SVN-Rev: 30278
2011-07-05 23:42:32 +00:00
Andy Heninger
345c295b0f
ICU-8199 Fix compilation errors on MacOSX introduced by previous commit of these files
...
X-SVN-Rev: 29260
2011-01-04 19:01:12 +00:00
Andy Heninger
7a2d96c7c8
ICU-8199 Fix use of out-of-scope object in DigitList, and related rounding problems in Formattable::getInt64
...
X-SVN-Rev: 29259
2011-01-04 07:42:32 +00:00
Alexey Gousev
e69698280f
ICU-7911 fixed formatting issue
...
X-SVN-Rev: 28683
2010-09-22 19:59:41 +00:00
Markus Scherer
fd376b34c0
ICU-7496 add internal char * string class for C++ implementation code
...
X-SVN-Rev: 28082
2010-05-20 21:16:44 +00:00
Markus Scherer
f6a04770ff
ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
...
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Andy Heninger
4e56218eb1
ICU-5193 Big decimal number formatting.
...
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
George Rhoten
de6512a9c1
ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
...
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Michael Ow
ab11db3686
ICU-6132 Add various error checks for fString.
...
X-SVN-Rev: 23206
2008-01-11 19:42:41 +00:00
George Rhoten
177c4eec63
ICU-4707 Fix some compiler warnings
...
X-SVN-Rev: 18987
2006-01-14 09:24:33 +00:00
Eric Mader
5dc3d7c9d4
ICU-4561 Update copyright notices for ICU 3.4
...
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
George Rhoten
8df4c1c053
ICU-4189 Fix for UCONFIG_NO_CONVERSION.
...
X-SVN-Rev: 17406
2005-03-28 05:38:11 +00:00
George Rhoten
22acb3c825
ICU-2825 Fix last checkin for Windows.
...
X-SVN-Rev: 15076
2004-04-28 04:04:36 +00:00
Alan Liu
1db13e2b86
ICU-2825 add Measure, MeasureUnit, CurrencyUnit, and CurrencyAmount classes, and operate through them
...
X-SVN-Rev: 15059
2004-04-27 21:47:09 +00:00
Alan Liu
894fb68198
ICU-2825 add currency attribute
...
X-SVN-Rev: 14977
2004-04-15 06:19:55 +00:00
Alan Liu
06c4bd41f3
ICU-3667 prefer UErrorCode& to UErrorCode* in C++ API
...
X-SVN-Rev: 14785
2004-03-27 04:49:02 +00:00
Eric Mader
a7def2c37f
ICU-3473 Update copyright notices for ICU 2.8.
...
X-SVN-Rev: 14193
2003-12-19 21:29:27 +00:00
George Rhoten
fb0a19bbaf
ICU-813 Fix multithreaded issues and memory leak introduced by using gBogus.
...
Now use a class local variable fBogus for bogus strings.
This follows the DecimalFormatSymbols style.
X-SVN-Rev: 13898
2003-11-26 22:57:27 +00:00
Markus Scherer
9de47b7b54
ICU-699 add missing clone() functions
...
X-SVN-Rev: 13594
2003-11-05 21:59:41 +00:00
Steven R. Loomis
bdb879222e
ICU-3357 define U_INT64_MIN, U_INT64_MAX, and U_UINT64_MAX
...
X-SVN-Rev: 13577
2003-11-05 01:49:45 +00:00
Doug Felt
6989169362
ICU-813 int64 formatting, unum (C), fmtable (error overloads)
...
X-SVN-Rev: 13572
2003-11-04 23:10:46 +00:00
Doug Felt
e5a79dc60c
ICU-813 int64 formatting support
...
X-SVN-Rev: 13547
2003-10-31 22:47:25 +00:00
George Rhoten
492d57ac79
ICU-3221 Fix AIX linker warnings
...
X-SVN-Rev: 12997
2003-08-31 20:53:46 +00:00
Markus Scherer
3d38617bdc
ICU-2248 modularize icu, allow parts to not be built
...
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
Markus Scherer
156e2f983f
ICU-1962 call UObject constructor at least in derived-class copy constructor to avoid compiler warnings
...
X-SVN-Rev: 9019
2002-07-02 23:58:34 +00:00
Markus Scherer
11948b52df
ICU-1962 change UObject: RTTI pure virtual, remove other boilerplate for now
...
X-SVN-Rev: 8977
2002-06-29 00:04:16 +00:00