Andy Heninger
b6529f6c53
ICU-10273 fix Windows test failure in FixedDecimal.
...
X-SVN-Rev: 34308
2013-09-13 17:08:58 +00:00
Steven R. Loomis
0c1b6a8ffd
ICU-10397 move singleton init out of static functions (perf)
...
X-SVN-Rev: 34304
2013-09-13 16:21:56 +00:00
Steven R. Loomis
bbc0a17a8e
ICU-10379 fixes for IBM i - ambiguous types
...
X-SVN-Rev: 34285
2013-09-12 06:29:39 +00:00
Steven R. Loomis
e059ab24ef
ICU-10273 fix compilation failure on some platforms, also reorder zero-initializers to avoid warning
...
X-SVN-Rev: 34282
2013-09-12 04:04:56 +00:00
Andy Heninger
8abaebe06e
ICU-10273 DecimalFormat::getFixedDecimal(), improved handling of rounding, overflow.
...
X-SVN-Rev: 34280
2013-09-12 01:00:04 +00:00
Markus Scherer
fb38bbbee8
ICU-10273 support plurals with decimals in MessageFormat and PluralFormat (ported from Java r34087 & r34276)
...
X-SVN-Rev: 34277
2013-09-11 23:32:37 +00:00
Steven R. Loomis
31cdcb89e0
ICU-10379 fixes for IBM i - mostly clarifying ambiguous casts.
...
X-SVN-Rev: 34274
2013-09-11 19:38:07 +00:00
Andy Heninger
90522bf7b1
ICU-10273 add DecimalFormat::getFixedDecimal(Formattable &)
...
X-SVN-Rev: 34267
2013-09-11 01:17:28 +00:00
Andy Heninger
4d9fad13ef
ICU-10273 Plural Rules Fixed Decimal, improve handling of NaN and Infinity
...
X-SVN-Rev: 34225
2013-09-06 20:02:42 +00:00
Andy Heninger
7b3b75a525
ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
...
X-SVN-Rev: 34204
2013-09-05 23:28:28 +00:00
Peter Edberg
bcfcd53be9
ICU-10161 trimMarksFromAffix must trim all marks; update "ar" number patterns to latest
...
X-SVN-Rev: 34203
2013-09-05 22:13:07 +00:00
Peter Edberg
8997c77684
ICU-10161 Now compareSimpleAffix ignores LRM/RLM/ALM in affix or text when comparing them;
...
and pre-integrate some CLDR 24 number symbol & pattern changes so tests will match the new data.
X-SVN-Rev: 34186
2013-09-04 10:46:03 +00:00
Andy Heninger
003c35c1d9
ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
...
X-SVN-Rev: 34176
2013-09-04 01:07:35 +00:00
Steven R. Loomis
bc0dcf4cb0
ICU-9619 add const to getters
...
X-SVN-Rev: 34173
2013-09-04 00:01:26 +00:00
Andy Heninger
759b77c2b0
ICU-9980 DecimalFormat::parseCurrency() - init output currencty parameter.
...
X-SVN-Rev: 34156
2013-08-30 22:16:21 +00:00
Andy Heninger
4dc67e0203
ICU-10273 New plural rule syntax. Changes merged from development branch. With this checkin, Plural rule data is back in synch between ICU4C, ICU4J and CLDR trunk.
...
X-SVN-Rev: 34103
2013-08-28 20:51:44 +00:00
Yoshito Umaoka
b0eaf25682
ICU-9526 Fixed a parsing problem with custom monetary gouping separator. Fixed some bad coding style. Added a test case for testing custom symbols.
...
X-SVN-Rev: 34069
2013-08-20 20:51:31 +00:00
Travis Keep
60501becc4
ICU-10258 Free minus sign and plus sign set in a clean up function.
...
X-SVN-Rev: 34045
2013-08-15 21:02:16 +00:00
Travis Keep
41b7ee189d
ICU-10258 Parse different variations of '+' and '-' when isLenient is set in C++.
...
X-SVN-Rev: 33989
2013-07-25 17:58:37 +00:00
Andy Heninger
61a59e26a1
ICU-10253 Currency plurals, pay attention to min fraction digits in format.
...
X-SVN-Rev: 33966
2013-07-23 20:02:13 +00:00
Steven R. Loomis
2c6bc98b14
ICU-10069 improve error messages, add commented-out case that passes on solaris and fails on others
...
X-SVN-Rev: 33838
2013-06-20 22:09:42 +00:00
Andy Heninger
5ea9cb88a5
ICU-9936 Decimal Format, auto-enable SignificantDigitsUsed when setting significant digits.
...
X-SVN-Rev: 33833
2013-06-17 18:49:28 +00:00
Andy Heninger
978f71fe78
ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
...
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Travis Keep
21ed20e983
ICU-10045 Fix again so that zero shows as 0 not 0.0
...
X-SVN-Rev: 33751
2013-05-24 22:45:48 +00:00
Travis Keep
41bb29f532
ICU-10045 Fix number of significant digits with 0.
...
X-SVN-Rev: 33487
2013-04-03 20:11:01 +00:00
Travis Keep
6125cf2eff
ICU-10045 Formatting with significant digits to work correctly with 0 in C++
...
X-SVN-Rev: 33485
2013-04-02 22:01:33 +00:00
Andy Heninger
3b379f4c28
ICU-7468 Use C++ "using" in Format class hierarchy, so inheritance of format() and parse() functions works normally, without unwanted function hiding.
...
X-SVN-Rev: 33457
2013-03-21 22:09:06 +00:00
Andy Heninger
6a16eb759a
ICU-9981 Initialize memory that was causing erratic results.
...
X-SVN-Rev: 33329
2013-02-25 23:56:37 +00:00
Michael Ow
f3d398a293
ICU-9944 Fix function name collision
...
X-SVN-Rev: 33295
2013-02-21 22:37:26 +00:00
John Emmons
96f4a704b2
ICU-9889 Implement scaling for decimalFormat
...
X-SVN-Rev: 33138
2013-02-07 19:48:29 +00:00
Steven R. Loomis
9994b1fe03
ICU-9677 fix affixes-ignored-for-parse - check in handleChanged() instead of relying on input function
...
X-SVN-Rev: 32918
2012-12-04 21:33:15 +00:00
Steven R. Loomis
bc81e5f281
ICU-9780 calculate fastpath for parsing side separately, also allow grouping sep in nonlenient intonly mode
...
X-SVN-Rev: 32917
2012-12-04 20:33:19 +00:00
Michael Ow
53a148983c
ICU-9679 Fix some gcc compiler warnings
...
X-SVN-Rev: 32912
2012-11-30 22:19:58 +00:00
Travis Keep
161183009a
ICU-9543 C++ CompactDecimalFormat moved to trunk.
...
X-SVN-Rev: 32819
2012-11-14 18:49:38 +00:00
Steven R. Loomis
f2306f2577
ICU-9711 OS/400 fixes
...
X-SVN-Rev: 32742
2012-11-02 19:41:57 +00:00
Markus Scherer
b64d860945
ICU-9549 re-simplify logic in _copy_ptr()
...
X-SVN-Rev: 32627
2012-10-12 23:18:49 +00:00
Michael Ow
b73ea8b387
ICU-9613 Fix wrong enum name
...
X-SVN-Rev: 32625
2012-10-12 21:53:41 +00:00
Michael Ow
799a603abc
ICU-9613 Merge from branch to trunk
...
X-SVN-Rev: 32622
2012-10-12 19:52:43 +00:00
Travis Keep
9adb3fd642
ICU-9549 Fix memory problems in DecimalFormat assignment operator.
...
X-SVN-Rev: 32439
2012-09-27 18:50:24 +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
George Rhoten
dc75668c05
ICU-9457 Fix some compiler warnings
...
X-SVN-Rev: 32095
2012-08-03 19:09:42 +00:00
Steven R. Loomis
b15c2bbf3b
ICU-9416 fix number formatting for max int digits in fastpath
...
X-SVN-Rev: 32026
2012-07-06 22:47:27 +00:00
Yoshito Umaoka
fefba73e1d
ICU-9258 Updated format/DecimalFormatTest/DataDrivenTests to format StringPiece in addition to DigitList. Fixed an error status problem (not returning U_FORMAT_INEXACT_ERROR) found by the StringPiece test.
...
X-SVN-Rev: 31961
2012-06-18 14:14:22 +00:00
Steven R. Loomis
dc44c2bdd9
ICU-9258 fix int64 format of U_INT64_MIN; // -9223372036854775808L
...
X-SVN-Rev: 31888
2012-05-30 18:21:49 +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
Peter Edberg
22eb317bb2
ICU-8697 C review fixes #2 : less convoluted code
...
X-SVN-Rev: 31510
2012-02-24 22:54:57 +00:00
Peter Edberg
faced7a2f0
ICU-8697 C review fixes: correct UnicodeString constructor, use LocalPointer, use ParsePosition.getIndex() to test errs
...
X-SVN-Rev: 31509
2012-02-24 20:27:21 +00:00
Peter Edberg
05b2ae1381
ICU-8697 C, change parseCurrency methods to return CurrencyAmount*, make draft ICU 49
...
X-SVN-Rev: 31440
2012-02-19 06:45:47 +00:00
Yoshito Umaoka
535e2f80d5
ICU-9109 Fixed missing digit issue with DecimalFormat in lenient mode.
...
X-SVN-Rev: 31391
2012-02-14 07:05:58 +00:00
Michael Ow
52af04fed7
ICU-7464 Apply fix to incorrect number rounding when rounding increment is in the string pattern of the decimal formatter in ICU4C
...
X-SVN-Rev: 31378
2012-02-13 19:23:47 +00:00