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
George Rhoten
492d57ac79
ICU-3221 Fix AIX linker warnings
...
X-SVN-Rev: 12997
2003-08-31 20:53:46 +00:00
George Rhoten
75930a0808
ICU-2589 Fix some doxygen warnings.
...
X-SVN-Rev: 12377
2003-06-09 06:13:14 +00:00
Vladimir Weinstein
939df78585
ICU-2661 @draft ICU 2.[01] -> @stable ICU 2.[01] + some comment typo fixing
...
X-SVN-Rev: 12264
2003-06-04 00:04:35 +00:00
Steven R. Loomis
753f3c3848
ICU-2589 fix @draft tags
...
X-SVN-Rev: 12244
2003-06-03 01:58:15 +00:00
Doug Felt
76868c9e1d
ICU-2854 add note further clarifying lenient parse syntax
...
X-SVN-Rev: 12037
2003-05-21 18:55:50 +00:00
Markus Scherer
962c18923a
ICU-2537 add declarations mostly for unimplemented default constructors
...
X-SVN-Rev: 11798
2003-05-04 01:40:40 +00:00
George Rhoten
1890772362
ICU-2686 Fix the HTML for doxygen
...
X-SVN-Rev: 10948
2003-02-03 22:34:59 +00:00
Markus Scherer
2af8b25b5a
ICU-2087 change @stable to @stable ICU 2.0
...
X-SVN-Rev: 10483
2002-12-04 23:46:16 +00:00
Doug Felt
622be9eb16
ICU-2087 draft 2.0 -> stable rbnf
...
X-SVN-Rev: 10380
2002-11-26 18:30:13 +00:00
Doug Felt
649376466a
ICU-2398 rbnf doc cleanup
...
X-SVN-Rev: 10378
2002-11-26 18:23:15 +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
Doug Felt
608e614f95
ICU-1981 synch up ICU4J and ICU4C test of swedish collation
...
X-SVN-Rev: 9118
2002-07-12 20:37:14 +00:00