Commit Graph

147 Commits

Author SHA1 Message Date
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Peter Edberg
2d40cbbf01 ICU-12187 BRS task - Update conditionals for non-stable APIs (i18n)
X-SVN-Rev: 38497
2016-03-05 19:48:49 +00:00
Markus Scherer
bb5f37a069 ICU-7457 replace MessageFormat with SimpleFormatter where easy; remove obsolete ChoiceFormat handling of currency names; move LocaleDisplayNames & ucurr from i18n to common
X-SVN-Rev: 38200
2016-01-26 22:56:59 +00:00
Peter Edberg
87970fe888 ICU-11917 BRS, Update macros #ifndef U_HIDE_DRAFT/INTERNAL/DEPRECATED_API
X-SVN-Rev: 37976
2015-09-21 20:23:38 +00:00
Michael Ow
148ec9f9e5 ICU-11917 Promote 54 draft API to stable
X-SVN-Rev: 37969
2015-09-17 18:25:20 +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
Peter Edberg
0ef535414e ICU-11433 ICU4C draft API promotion; update U_HIDE_xxx conditionals
X-SVN-Rev: 37197
2015-03-10 07:20:48 +00:00
Peter Edberg
2beaf3dacf ICU-10992 BRS line 20, Check/fix non-stable API macros (U_HIDE_DRAFT_API and others)
X-SVN-Rev: 36520
2014-09-16 08:09:06 +00:00
Scott Russell
867e55f0cb ICU-10970 Support required decimal point
X-SVN-Rev: 36300
2014-08-30 21:53:10 +00:00
Tom Zhang
985f42b752 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35873
2014-06-12 21:40:34 +00:00
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