Commit Graph

70 Commits

Author SHA1 Message Date
Daniel Ju
b13c951348
ICU-20043 ICU-13214 ICU-13764 MSVC W3 and W4 warning cleanup (#53)
Cleaned up all of the MSVC W3 warnings and most of the W4 warnings in the common and i18n projects.
2018-09-27 14:27:38 -07:00
Andy Heninger
35ce5296c1
ICU-13810 Doxygen warning cleanup. 2018-09-27 14:27:37 -07: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
George Rhoten
6e33099276 ICU-13306 API consistency changes based off of review feedback.
X-SVN-Rev: 40359
2017-08-29 07:14:27 +00:00
George Rhoten
5eed55e9a5 ICU-13306 Move rounding mode API to superclass as per technical committee review comments.
X-SVN-Rev: 40347
2017-08-23 17:38:00 +00:00
George Rhoten
e3ac9c5561 ICU-13306 Can not get and set rounding attributes for RBNF with C API
X-SVN-Rev: 40343
2017-08-17 23:21:03 +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
George Rhoten
72280fb152 ICU-12713 Port fix for handling large magnitude numbers from ICU4J to ICU4C
X-SVN-Rev: 39560
2017-01-14 16:29:40 +00:00
Markus Scherer
c84e233733 ICU-12420 deprecate COUNT/LIMIT constants whose value may change
X-SVN-Rev: 39164
2016-09-08 22:45:51 +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
George Rhoten
e097e1b9ee ICU-8223 Add rule syntax for NaN, infinity and alternate decimal points.
Other issues addressed:
* Some performance enhancements were added for good measure. Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing. This was ported from ICU4J.
* I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad. This was ported from ICU4J.
* I fixed a potential memory leak due to lazy initialization of some RBNF data members in a multithreaded environment, which is fine in Java, but it's not okay in C++. We no longer cast away const due to this, which is good.
* There were some compiler warnings and errors found while trying to debug this code on my machine. I fixed those too.

X-SVN-Rev: 37810
2015-08-25 16:55:52 +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
Travis Keep
6371975e05 ICU-10438 Document that C++ Duration RuleBasedNumberFormat always rounds down.
X-SVN-Rev: 36835
2014-12-09 23:53:19 +00:00
George Rhoten
e79ae82c7d ICU-11064 The approved ICU syntax has )$ being the end of the plural rule substitution.
X-SVN-Rev: 36208
2014-08-20 18:52:57 +00:00
George Rhoten
912521e5cf ICU-11064 Fix a roundtripping problem when the fractional part is non-zero.
X-SVN-Rev: 36203
2014-08-19 17:13:07 +00:00
George Rhoten
eda8266715 ICU-11064 Add syntax for PluralFormat in RBNF
X-SVN-Rev: 36197
2014-08-18 20:47:36 +00:00
Peter Edberg
27cfaed4d8 ICU-10681 Lazily get and cache BreakIterator for titlecasing; lazily get contextTransform info if possible (C)
X-SVN-Rev: 35287
2014-03-02 00:44:35 +00:00
Markus Scherer
e977c057a9 ICU-9101 merge branches/markus/collv2@35225 into the trunk
X-SVN-Rev: 35227
2014-02-25 21:21:49 +00:00
Peter Edberg
401daae867 ICU-10633 Implement context-sensitive number formatting (currently just for RBNF)
X-SVN-Rev: 35095
2014-02-06 09:41:17 +00:00
Travis Keep
25c7ba8e57 ICU-10682 Fix clone, copy constructor, and assignment operator in RulesBasedNumberFormat.
X-SVN-Rev: 35085
2014-02-06 00:34:24 +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
Michael Ow
37eeb709db ICU-9955 merge ICU4C API status promotion to trunk
X-SVN-Rev: 33306
2013-02-22 20:15:50 +00:00
Michael Ow
1dfe6c4c8b ICU-8940 Ensure the new DecimalFormatSymbols is propagated properly in ICU4C RBNF
X-SVN-Rev: 31417
2012-02-17 23:09:57 +00:00
John Emmons
bae575e95a ICU-7501 Use allowsParsing attribute from CLDR to detect unparseable RBNF rulesets
X-SVN-Rev: 31416
2012-02-17 23:01:16 +00:00
Michael Ow
1f311240e5 ICU-8940 Add new ICU4C API to set decimal format symbols in RBNF
X-SVN-Rev: 31265
2012-01-25 21:16:48 +00:00
Peter Edberg
c8765bfe77 ICU-8077 Remove isLenient/setLenient from Format, etc. (revert #7725)
X-SVN-Rev: 28916
2010-10-26 18:11:13 +00:00
Peter Edberg
1826002e52 ICU-7725 Hoist isLenient / setLenient to Format class (from DateFormat, RBNF)
X-SVN-Rev: 28170
2010-06-10 20:17:43 +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
Yoshito Umaoka
8cdf11287c ICU-6896 Temporary workaround for RBNF crash problem for 4.2 release in ICU4C. Disabled RBNF spellout parse for some locales.
X-SVN-Rev: 25956
2009-04-30 07:24:02 +00:00
John Emmons
6070262c2f ICU-6694 Implementation of numbering systems and the @numbers keyword
X-SVN-Rev: 25285
2009-01-22 04:46:35 +00:00
George Rhoten
5e3b816f7a ICU-5009 Fix the documentation output for doxygen.
X-SVN-Rev: 19007
2006-01-18 06:37:07 +00:00
George Rhoten
29f09c5768 ICU-5009 Fix some doxygen warnings
X-SVN-Rev: 19004
2006-01-18 05:50:06 +00:00
George Rhoten
6cacfbd7cb ICU-5008 Undraft some API
X-SVN-Rev: 19003
2006-01-18 04:19:45 +00:00
Ram Viswanadha
d0eb5dd8e9 ICU-4524 add brief documentation
X-SVN-Rev: 17983
2005-06-22 22:39:36 +00:00
George Rhoten
ecda2bc8c5 ICU-3866 Fix some doxygen warnings.
X-SVN-Rev: 16843
2004-11-12 22:50:38 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
Vladimir Weinstein
7fe85edd5b ICU-4194 promotion of @draft 2.6 to @stable 2.6 for i18n library
X-SVN-Rev: 16738
2004-11-03 01:25:51 +00:00
George Rhoten
a078bb1ce8 ICU-4053 Fix some doxygen warnings.
X-SVN-Rev: 16719
2004-11-02 04:55:53 +00:00
George Rhoten
1188be07f8 ICU-3634 Fix for AIX. New constructors can't be inlined.
X-SVN-Rev: 16402
2004-10-06 17:38:10 +00:00
Doug Felt
eb31068f2a ICU-3634 localized RBNF rule set names - text description
X-SVN-Rev: 16357
2004-09-24 22:58:00 +00:00
George Rhoten
7c225a89aa ICU-4072 Explicitly use U_EXPORT2 to specify calling convention of static C++ code.
X-SVN-Rev: 16183
2004-08-24 17:38:33 +00:00
Eric Mader
ad42df258f ICU-3820 fix doxygen warnings.
X-SVN-Rev: 15879
2004-06-15 20:52:22 +00:00
George Rhoten
306e874e1d ICU-3820 Fix doxygen warnings
X-SVN-Rev: 15796
2004-06-08 23:13:07 +00:00
Eric Mader
abefef5844 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
Alan Liu
7972df88c4 ICU-3668 document that user subclasses are not supported in the Format hierarchy
X-SVN-Rev: 14833
2004-04-01 19:05:57 +00:00
Alan Liu
f2b6b0f836 ICU-3668 make getters const
X-SVN-Rev: 14799
2004-03-30 00:43:40 +00:00
Doug Felt
ed4dc729f1 ICU-1282 add C APIs for rule based number format
X-SVN-Rev: 14698
2004-03-12 20:15:13 +00:00
George Rhoten
d0fdad09c6 ICU-3027 Fix some doxygen warnings.
X-SVN-Rev: 13844
2003-11-24 19:59:15 +00:00