Commit Graph

80 Commits

Author SHA1 Message Date
Peter Edberg
faced7a2f0 ICU-8697 C review fixes: correct UnicodeString constructor, use LocalPointer, use ParsePosition.getIndex() to test errs
X-SVN-Rev: 31509
2012-02-24 20:27:21 +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
Yoshito Umaoka
e9503bdade ICU-8909 Fixed various warnings reported by a source code analysis tool.
X-SVN-Rev: 30958
2011-11-14 19:32:51 +00:00
Markus Scherer
2201fb816c ICU-7877 optionally explicit UnicodeString constructors, and make them explicit inside ICU
X-SVN-Rev: 30293
2011-07-07 18:46:19 +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
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
Michael Ow
934d73b4ea ICU-8218 Fix symbol value check
X-SVN-Rev: 29683
2011-03-22 16:58:58 +00:00
Andy Heninger
801abaa192 ICU-7892 add missing implementation for unum_parseDecimal() and unum_formatDecimal().
X-SVN-Rev: 28789
2010-10-12 05:11:41 +00:00
Andy Heninger
9b68c719ad ICU-7216 Fix possible memory leak in error case.
X-SVN-Rev: 28168
2010-06-10 17:53:26 +00:00
Markus Scherer
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Claire Ho
9f7990c11a ICU-7216 Add U_FAILURE check in unum_open()
X-SVN-Rev: 27884
2010-03-30 21:46:11 +00:00
Peter Edberg
64f350c92a ICU-6734 unum_parse does not report parse errors for rule-based number formatters
X-SVN-Rev: 25442
2009-02-19 08:41:08 +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
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Michael Ow
4667cbc378 ICU-6132 Check null pointer before dereferencing in unesctrn, unistr, and unum.
X-SVN-Rev: 23253
2008-01-16 22:58:59 +00:00
George Rhoten
9ce90e2c18 ICU-5856 Promote @draft API to @stable for ICU 3.8 release, and make sure that the existing API is labeled correctly.
X-SVN-Rev: 22422
2007-08-19 08:59:28 +00:00
George Rhoten
1c9a993999 ICU-4161 Properly indent the code.
X-SVN-Rev: 16839
2004-11-12 07:07:41 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
George Rhoten
ded716bf2c ICU-4017 Fix failure behavior of explicitly requested non-existent currency
X-SVN-Rev: 16133
2004-08-09 07:07:33 +00:00
George Rhoten
37c5efea11 ICU-3688 Fix UNUM_SECONDARY_GROUPING_SIZE
X-SVN-Rev: 16044
2004-07-18 10:22:23 +00:00
Steven R. Loomis
617cee06dd ICU-3831 uconfig.h fixes
X-SVN-Rev: 15841
2004-06-10 23:49:07 +00:00
Alan Liu
1db13e2b86 ICU-2825 add Measure, MeasureUnit, CurrencyUnit, and CurrencyAmount classes, and operate through them
X-SVN-Rev: 15059
2004-04-27 21:47:09 +00:00
Alan Liu
c879b59862 ICU-2825 add unum_formatDoubleCurrency and unum_parseDoubleCurrency
X-SVN-Rev: 14984
2004-04-15 18:15:17 +00:00
Alan Liu
f667e25fdf ICU-2334 add UNUM_SIGNIFICANT_DIGITS_USED
X-SVN-Rev: 14942
2004-04-12 23:38:01 +00:00
Alan Liu
09d688a683 ICU-3668 eliminate unnecessary casts
X-SVN-Rev: 14811
2004-03-31 22:10:06 +00:00
Alan Liu
1a057ed7e4 ICU-3668 make C getters take const object pointer
X-SVN-Rev: 14788
2004-03-27 07:21:32 +00:00
Alan Liu
06c4bd41f3 ICU-3667 prefer UErrorCode& to UErrorCode* in C++ API
X-SVN-Rev: 14785
2004-03-27 04:49:02 +00:00
Alan Liu
2dae948bb0 ICU-2334 implement significant digits
X-SVN-Rev: 14762
2004-03-25 17:42:28 +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
Alan Liu
77af4351ac ICU-1462 flesh out unum docs; rename UNUM_IGNORE to UNUM_PATTERN
X-SVN-Rev: 14530
2004-02-17 00:44:06 +00:00
Alan Liu
62b974ace2 ICU-3399 add UErrorCode to setCurrency
X-SVN-Rev: 14511
2004-02-13 01:56:38 +00:00
Alan Liu
91390d5ea7 ICU-2202 preliminary checkin
X-SVN-Rev: 14367
2004-01-20 23:06:38 +00:00
Vladimir Weinstein
8ab4bf13f7 ICU-2202 getLocale implementation for formatting classes and calendar
X-SVN-Rev: 13777
2003-11-19 23:31:45 +00:00
Doug Felt
562a37641a ICU-813 int64 formatting support
X-SVN-Rev: 13757
2003-11-19 04:42:44 +00:00
Vladimir Weinstein
6e6edd96ed ICU-2202 C format *_getLocaleByType API placeholders
X-SVN-Rev: 13731
2003-11-14 21:58:52 +00:00
Doug Felt
6989169362 ICU-813 int64 formatting, unum (C), fmtable (error overloads)
X-SVN-Rev: 13572
2003-11-04 23:10:46 +00:00
George Rhoten
3323e93931 ICU-3053 Similar porting changes for MPRAS
X-SVN-Rev: 12743
2003-08-01 22:28:18 +00:00
George Rhoten
95e93fa9b4 ICU-3053 Porting changes for MPRAS
X-SVN-Rev: 12549
2003-06-23 22:15:00 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
George Rhoten
6b0ec25200 ICU-2710 Remove obsolete code
X-SVN-Rev: 11041
2003-02-14 01:44:49 +00:00
Markus Scherer
f8a169d29a ICU-2351 make behavior of bogus strings consistent with NULL: only assignment revives a bogus string - special code for output string wrappers for pure preflighting
X-SVN-Rev: 10282
2002-11-16 01:14:40 +00:00
Markus Scherer
93018c58f9 ICU-2296 optimize use of UnicodeString, copy string objects less often
X-SVN-Rev: 10030
2002-10-15 00:36:11 +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
Ram Viswanadha
e4011b086e ICU-1986 remove deprecated API
X-SVN-Rev: 9178
2002-07-16 00:15:23 +00:00
George Rhoten
c85207afbd ICU-1887 Try to fix the name mangling problems with the Intel compiler by including utypes.h before the system headers.
X-SVN-Rev: 9124
2002-07-12 21:42:24 +00:00
Alan Liu
29f886f412 ICU-1097 move currency.* to ucurr.* and change ISO code parameters from char* to UChar*
X-SVN-Rev: 9049
2002-07-08 17:57:10 +00:00
Alan Liu
98d23f8592 ICU-1097 unum currency support
X-SVN-Rev: 8638
2002-05-16 18:25:36 +00:00
George Rhoten
7777030a4f ICU-1828 Remove tabs
X-SVN-Rev: 8331
2002-04-02 02:55:31 +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
41ffc2ef36 ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00