Commit Graph

136 Commits

Author SHA1 Message Date
Yoshito Umaoka
097c0f238b ICU-10756 Review update. Updated API status tag of setGroupingUsed() and setParseIntegerOnly which were added to override the super class methods to resolve the problem to @draft ICU 53.
X-SVN-Rev: 35469
2014-03-14 02:31:25 +00:00
Andy Heninger
dfe8c061e0 ICU-10764 API Promotions for ICU4C 53.
X-SVN-Rev: 35459
2014-03-13 20:33:16 +00:00
Steven R. Loomis
f38544a2a6 ICU-10756 regression tests added for case where setGroupingUsed didn't call handleChanged() and thus the fastpath status would be incorrect. Fixed by overriding three functions in DecimalFormat but delegating to NumberFormat. The other two functions don't affect fastpath, but are overridden for future changes where they might.
X-SVN-Rev: 35351
2014-03-06 00:12:57 +00:00
Travis Keep
9fa0f4299d ICU-10468 Fix applyPattern so that it resets the padding character.
X-SVN-Rev: 34578
2013-10-17 18:44:44 +00:00
Peter Edberg
3f51cb7d8d ICU-10398 Update #ifndef U_HIDE_XXXXX_API (e.g. DRAFT) to match status tags (e.g. @draft)
X-SVN-Rev: 34448
2013-09-23 06:52:34 +00:00
Michael Ow
e5a9a38924 ICU-10398 Fix uconfig test errors in ICU 52
X-SVN-Rev: 34404
2013-09-19 20:47:22 +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
Andy Heninger
8abaebe06e ICU-10273 DecimalFormat::getFixedDecimal(), improved handling of rounding, overflow.
X-SVN-Rev: 34280
2013-09-12 01:00:04 +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
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
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
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
Andy Heninger
ada557d17c ICU-9936 Improved API descriptions for DecimalFormat set min/max significant digits.
X-SVN-Rev: 33869
2013-06-28 21:12:31 +00:00
Yoshito Umaoka
02296cc327 ICU-10172 Minor wording adjustments in DecimalFormat set/getRoundingIncrement API docs.
X-SVN-Rev: 33823
2013-06-13 15:02:34 +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
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
Peter Edberg
fbace77746 ICU-9721 Update "#ifndef U_HIDE_XXX_API" guards for API status
X-SVN-Rev: 33367
2013-03-05 01:38:48 +00:00
Michael Ow
37eeb709db ICU-9955 merge ICU4C API status promotion to trunk
X-SVN-Rev: 33306
2013-02-22 20:15:50 +00:00
Scott Russell
2b6ad1d385 ICU-9911 C++ DecimalFormat::get/setattribute - change from internal API to pulic
X-SVN-Rev: 33224
2013-02-14 20:54:29 +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
9046285bf5 ICU-9748 only do this instantiation on MSVC.
X-SVN-Rev: 32840
2012-11-15 23:12:24 +00:00
Steven R. Loomis
858972dfa6 ICU-9748 MSVC2010 issues, move EnumSet<> to separate header
X-SVN-Rev: 32838
2012-11-15 21:55:41 +00:00
Travis Keep
161183009a ICU-9543 C++ CompactDecimalFormat moved to trunk.
X-SVN-Rev: 32819
2012-11-14 18:49:38 +00:00
Michael Ow
8c2beec087 ICU-9613 Remove unneeded include statement and fix attribute name
X-SVN-Rev: 32624
2012-10-12 21:38:01 +00:00
Michael Ow
799a603abc ICU-9613 Merge from branch to trunk
X-SVN-Rev: 32622
2012-10-12 19:52:43 +00:00
Steven R. Loomis
1dff0b56ee ICU-9501 doxygen cleanup.
X-SVN-Rev: 32372
2012-09-11 20:51:51 +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
43b918a0c8 ICU-9258 merge from branches, performance improvements
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
Peter Edberg
aad3d090d4 ICU-9091 Updates based on PMC discussion, also remove some inappropriate #ifndef U_HIDE_DRAFT_API
X-SVN-Rev: 31486
2012-02-22 22:55:52 +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
Steven R. Loomis
22bfb7668a ICU-8801 fix for performance regression of parse (mostly malloc/free)
X-SVN-Rev: 30628
2011-09-07 14:30:32 +00:00
Steven R. Loomis
1e1f8509d8 ICU-8755 interim fix. MessagePattern still needs fixing.
X-SVN-Rev: 30505
2011-08-13 02:45:09 +00:00
Markus Scherer
4e30dc4c14 ICU-8571 remove udraft.h etc. & genheaders.pl, use #ifndef U_HIDE_DRAFT_API etc. instead
X-SVN-Rev: 30447
2011-08-01 02:20:46 +00:00
Markus Scherer
744d1f3a19 ICU-8617 move UHashTok into lower-level uelement.h (new) and rename to UElement to share with UVector
X-SVN-Rev: 30272
2011-07-04 23:51:56 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
Andy Heninger
0852cc4e73 ICU-7572 Decimal Format UNUM_ROUND_UNNECESSARY implmenentation.
X-SVN-Rev: 29959
2011-05-02 19:15:03 +00:00
Markus Scherer
70ad6b4a74 ICU-7386 merge NumberFormat::EStyles into UNumberFormatStyles & improve NumberFormat::makeInstance() memory management
X-SVN-Rev: 29920
2011-04-29 00:00:47 +00:00
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
Peter Edberg
3384286860 ICU-8155 Promote appropriate @draft 4.2 and 4.4 API to @stable
X-SVN-Rev: 29035
2010-11-12 06:03:28 +00:00
Andy Heninger
61460a2e97 ICU-7975 Clarify that formatting a number always will round it.
X-SVN-Rev: 28795
2010-10-12 20:05:49 +00:00
Andy Heninger
92ba1e3fde ICU-7557 fix API docs describing rounding for Decimal Format
X-SVN-Rev: 27860
2010-03-17 22:36:12 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Doug Felt
b9fb4a7858 ICU-7452 add using Xxx:format statements to all Format subclasses that override format
X-SVN-Rev: 27662
2010-02-24 23:52:27 +00:00
Steven R. Loomis
1457da183c ICU-7353 docs fixup and updated API Change Report
X-SVN-Rev: 27537
2010-02-11 00:53:57 +00:00
Steven R. Loomis
f517a0db14 ICU-7304 fix API promotions from bad checkins r27396 and r27397
X-SVN-Rev: 27436
2010-01-28 21:09:53 +00:00
Doug Felt
bd8eb26d17 ICU-7391 changed ref to pointer in APIs taking FieldPositionIterator, cleaned whitespace
X-SVN-Rev: 27433
2010-01-28 19:39:24 +00:00
Steven R. Loomis
b361793726 ICU-7304 draft 4.2 to stable 4.4 ( also cleaned up some ICU-7290 issues )
X-SVN-Rev: 27396
2010-01-23 06:36:03 +00:00
Peter Edberg
ccfd885876 ICU-7322 Get rid of friend declaration for internal plain-C comparotor functions
X-SVN-Rev: 27304
2010-01-16 19:59:59 +00:00