George Rhoten
d06d12896c
ICU-13529 Make some changes based on review feedback.
...
X-SVN-Rev: 40939
2018-02-16 18:07:32 +00:00
George Rhoten
4bac703558
ICU-13529 Parsing of redundant rule matches is slow when parsing with RuleBasedNumberFormat
...
X-SVN-Rev: 40913
2018-02-13 23:48:48 +00:00
Andy Heninger
04448b004f
ICU-12764 UTF-8 source files, update file encoding comments.
...
X-SVN-Rev: 39641
2017-02-03 18:57:23 +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
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
George Rhoten
a1834196b3
ICU-5410 Move nfsubs.h private subclasses to nfsubs.cpp to get more accurate PureCoverage result.
...
Also use standard ICU rtti by using UOBJECT_DEFINE_RTTI_IMPLEMENTATION.
X-SVN-Rev: 21828
2007-06-27 00:59:42 +00:00
George Rhoten
aeb583804c
ICU-4707 Fix some compiler warnings.
...
X-SVN-Rev: 19401
2006-03-22 07:57:49 +00:00
Doug Felt
2cae21f19f
ICU-4288 fix compiler warnings (from george)
...
X-SVN-Rev: 18193
2005-07-11 20:36:49 +00:00
Doug Felt
9619133865
ICU-4630 test port of missing ICU4J changes for Hebrew to ICU4C
...
X-SVN-Rev: 18180
2005-07-09 02:13:00 +00:00
George Rhoten
c753a1da12
ICU-4630 NULL terminate string.
...
X-SVN-Rev: 18173
2005-07-08 17:14:18 +00:00
Doug Felt
ce736f9da4
ICU-4630 port missing ICU4J changes for Hebrew to ICU4C
...
X-SVN-Rev: 18171
2005-07-08 00:16:47 +00:00
George Rhoten
038f43c843
ICU-3905 Fix some compiler warnings.
...
X-SVN-Rev: 16196
2004-08-27 16:45:16 +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
a6bda657f2
ICU-2509 improve rbnf error handling
...
X-SVN-Rev: 14959
2004-04-14 18:55:19 +00:00
Doug Felt
46f8a7fa55
ICU-2509 improve rbnf error handling
...
X-SVN-Rev: 14919
2004-04-09 19:58:58 +00:00
Markus Scherer
2385580041
ICU-2244 forbid copying of classes that don't have explicit copy implementations
...
X-SVN-Rev: 9966
2002-10-04 17:47:59 +00:00
GCL Shanghai
d160acc6e2
ICU-1953 API docs have complete set of @param, @return...
...
X-SVN-Rev: 8983
2002-07-01 11:04:45 +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
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
7b86683351
ICU-900 Fixed some compiler warnings
...
X-SVN-Rev: 7025
2001-11-20 18:44:51 +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
eb10c7d510
ICU-900 Fixed some compiler warnings
...
X-SVN-Rev: 6211
2001-10-12 17:47:17 +00:00
George Rhoten
b1b0b0dfc6
ICU-900 Fixed some compiler warnings.
...
X-SVN-Rev: 6207
2001-10-12 06:07:18 +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