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
George Rhoten
e7b812f712
ICU-11564 Improve the thread safety of RBNF.
...
The recursion count is now a method argument instead of a data member.
Setting the DecimalFormatSymbols no longer reparses the rules, but it just sets a new version of DecimalFormatSymbols instead.
X-SVN-Rev: 37387
2015-04-23 16:13:46 +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
Michael Ow
fdf0256d94
ICU-6132 Add null pointer check in prefixLength and allIgnorable.
...
X-SVN-Rev: 23273
2008-01-20 01:39:16 +00:00
Michael Ow
fa02813466
ICU-6132 Revert changes to nfrule causing test failures on ICC.
...
X-SVN-Rev: 23218
2008-01-13 19:10:05 +00:00
Michael Ow
0df22a86c7
ICU-6132 Add status parameter to prefixLength and to check for memory allocation failure and check memory allocation failure in other pparts of nfrule.
...
X-SVN-Rev: 23214
2008-01-11 23:20:03 +00:00
George Rhoten
dc0129ceea
ICU-4330 HP-UX has a C++ name mangling bug when the namespace version
...
changed from 3.3 to 3.4. This runtime linker can work with this change.
X-SVN-Rev: 17888
2005-06-14 17:14:30 +00:00
George Rhoten
9fe39e1c8c
ICU-3805 Break putil.h/utypes.h header file dependancy loop
...
X-SVN-Rev: 16529
2004-10-18 02:43:33 +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
Doug Felt
46f8a7fa55
ICU-2509 improve rbnf error handling
...
X-SVN-Rev: 14919
2004-04-09 19:58:58 +00:00
Doug Felt
c37337d00c
ICU-1722 rbnf can't handle small numbers
...
X-SVN-Rev: 14738
2004-03-24 00:40:49 +00:00
Markus Scherer
39711260d3
ICU-2244 change internal classes to inherit UMemory, not UObject
...
X-SVN-Rev: 9965
2002-10-04 17:46:52 +00:00
Markus Scherer
11948b52df
ICU-1962 change UObject: RTTI pure virtual, remove other boilerplate for now
...
X-SVN-Rev: 8977
2002-06-29 00:04:16 +00:00
Markus Scherer
5a81709c73
ICU-1962 derive all ICU C++ classes from common UObject base class
...
X-SVN-Rev: 8953
2002-06-27 01:19:20 +00:00
George Rhoten
6e6032ba13
ICU-900 Fixed some compiler warnings.
...
X-SVN-Rev: 8335
2002-04-02 03:25:05 +00:00
Doug Felt
f3acab9495
ICU-1766 Make RBNF in ICU4C use 64-bit ints
...
(still need to remove llong.h, llong.cpp and commented-out code)
X-SVN-Rev: 8008
2002-03-14 00:28:22 +00:00
George Rhoten
e15e833b00
ICU-392 cleaning code for proper exports in libraries/urename.h generation
...
X-SVN-Rev: 6384
2001-10-23 00:38:12 +00:00
George Rhoten
1aa7e6714d
ICU-1271 Be more friendly to non-IEEE754 platforms and use the putil.h functions.
...
X-SVN-Rev: 6198
2001-10-11 21:41:11 +00:00
George Rhoten
8b98d84982
ICU-1271 Remove static initialization, remove tabs, add copyright header, conform closer to ICU coding guidelines...
...
X-SVN-Rev: 6184
2001-10-11 16:56:24 +00:00
Doug Felt
7258dac736
ICU-1271 Port RuleBasedNumberFormat to ICU
...
X-SVN-Rev: 6172
2001-10-10 21:43:11 +00:00