Commit Graph

167 Commits

Author SHA1 Message Date
Andy Heninger
6bb13512c1 ICU-9021 Thread safety fixes to DigitList::getDouble().
X-SVN-Rev: 31159
2011-12-20 01:48:45 +00:00
Markus Scherer
867084e6bb ICU-8801 comment out unused method parameter, avoid warning
X-SVN-Rev: 31102
2011-12-12 23:29:51 +00:00
Steven R. Loomis
22bfb7668a ICU-8801 fix for performance regression of parse (mostly malloc/free)
X-SVN-Rev: 30628
2011-09-07 14:30:32 +00:00
Michael Ow
8ccd432155 ICU-8718 Fix some memory leak issues in numbering systems
X-SVN-Rev: 30592
2011-08-30 03:22:38 +00:00
John Emmons
bda69e7101 ICU-8611 Make ICU look at patterns by numbering system
X-SVN-Rev: 30574
2011-08-24 18:06:46 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Peter Edberg
f5ccf251ef ICU-8583 Only parse arbitrary currency for calls that can return the found currency (e.g. parseCurrency)
X-SVN-Rev: 30313
2011-07-12 03:22:59 +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
Steven R. Loomis
b209c07620 ICU-8687 warnings fix (clang)
X-SVN-Rev: 30285
2011-07-06 20:05:38 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +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
Andy Heninger
0852cc4e73 ICU-7572 Decimal Format UNUM_ROUND_UNNECESSARY implmenentation.
X-SVN-Rev: 29959
2011-05-02 19:15:03 +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
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
John Emmons
40f80afaaa ICU-8424 Merge current CLDR trunk to 4.8M1 as CLDR 1.9.9
X-SVN-Rev: 29637
2011-03-12 14:57:18 +00:00
Eric Mader
206c946267 ICU-8407 Use a case-insensitive compare when matching the exponent symbol.
X-SVN-Rev: 29551
2011-03-07 20:02:28 +00:00
Dragan Besevic
21685ff673 ICU-8364 Check the return code when creating hashtable and return null in the case of failure
X-SVN-Rev: 29502
2011-03-01 20:55:43 +00:00
Michael Ow
da1272de57 ICU-7447 Fix some GCC and VA compiler warnings.
X-SVN-Rev: 28778
2010-10-08 20:14:26 +00:00
John Emmons
1974269a6f ICU-7724 Merge support for non-contiguous numbering systems
X-SVN-Rev: 28466
2010-08-13 21:23:00 +00:00
Steven R. Loomis
592b73e980 ICU-7502 fix ASCIIsms - merge from branch /branches/srl/ascii7502
X-SVN-Rev: 28382
2010-07-28 16:08:12 +00:00
Jason Spieth
6f718f78eb ICU-7654 Merge branch into trunk.
X-SVN-Rev: 28282
2010-07-06 16:35:34 +00:00
John Emmons
bd2a89a232 ICU-7599 Add support for alternate symbols per numbering system
X-SVN-Rev: 28134
2010-06-04 18:29:02 +00:00
Michael Grady
fa477f8a22 ICU-7667 In DecimalFormat::_format, deal with cases where two forms of rounding are specified - number of digits _and_ a rounding increment
X-SVN-Rev: 28132
2010-06-04 05:42:19 +00:00
Markus Scherer
fd376b34c0 ICU-7496 add internal char * string class for C++ implementation code
X-SVN-Rev: 28082
2010-05-20 21:16:44 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Markus Scherer
81234fecdb ICU-7273 add loading of custom data, with caching, test data and test code
X-SVN-Rev: 27578
2010-02-16 23:43:22 +00:00
Doug Felt
bd8eb26d17 ICU-7391 changed ref to pointer in APIs taking FieldPositionIterator, cleaned whitespace
X-SVN-Rev: 27433
2010-01-28 19:39:24 +00:00
Peter Edberg
f0c9ad0b41 ICU-7295 subparse hangs with fGroupingUsed TRUE but 0-length grouping separator
X-SVN-Rev: 27415
2010-01-26 08:51:23 +00:00
Peter Edberg
ccfd885876 ICU-7322 Get rid of friend declaration for internal plain-C comparotor functions
X-SVN-Rev: 27304
2010-01-16 19:59:59 +00:00
Andy Heninger
a31448aab8 ICU-5193 API additions for big decimal formatting. Implementation not there yet.
X-SVN-Rev: 27287
2010-01-15 22:28:39 +00:00
Doug Felt
52c23e0a47 ICU-6192 add support for getting field positions to NumberFormat and DateFormat
X-SVN-Rev: 27093
2009-12-17 22:15:20 +00:00
Peter Edberg
0c1c7aad2b ICU-7280 Move U_CDECL_END down to include function definitions as well as declarations.
X-SVN-Rev: 27064
2009-12-14 05:57:34 +00:00
Steven R. Loomis
712b165172 ICU-6930 IBM i updates: Merging r26624 through r26636 of /icu/branches/srl/i6930
X-SVN-Rev: 26637
2009-09-16 01:08:54 +00:00
Michael Ow
ddc3287efd ICU-4954 Use skipRuleWhiteSpace after white space check.
X-SVN-Rev: 26610
2009-09-08 16:42:54 +00:00
Xiaomei Ji
9e2a008374 ICU-6799 fix C++ compilation error due to hash value comparator in decimfmt.h and dtitvinf.h. remove static qualifier. since they are marked as internal, they wont be exposed
X-SVN-Rev: 25812
2009-04-17 18:52:52 +00:00
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
Xiaomei Ji
1f2dcc4fb2 ICU-6433 currency parsing, case sensitive against symbol and ISO, case insensitive against name; parse against plural pattern using names only
X-SVN-Rev: 25540
2009-03-10 20:53:27 +00:00
Xiaomei Ji
6ed81b63d3 ICU-6433 improve currency parsing, fix parsing bug on non-empty suffix, fix plural format bug on non-empty negagtive numberpattern
X-SVN-Rev: 25497
2009-02-28 02:07:55 +00:00
Xiaomei Ji
45071a142b ICU-6433 from branch to trunk for API slush
X-SVN-Rev: 25399
2009-02-12 22:55:29 +00:00
Jason Spieth
de7d1f06de ICU-6354 Set default rounding increment, C implementation
X-SVN-Rev: 25241
2009-01-13 16:58:35 +00:00
Steven R. Loomis
6b25b2f485 ICU-6367 whitespace again. If UWhiteSpace is skipped in the input text, skip it also in the pattern.
X-SVN-Rev: 24247
2008-06-20 00:43:45 +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
Andrew J Macheret
7a0b18985e ICU-5491 fixed a problem with negative multipliers, added tests for it
X-SVN-Rev: 23351
2008-02-05 04:25:48 +00:00
Andrew J Macheret
6c2161e7bd ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23228
2008-01-14 20:10:54 +00:00
Michael Ow
853d42f9a4 ICU-6132 Add check for dereferencing of internal null pointers fSymbols and fRoundingIncrement.
X-SVN-Rev: 23204
2008-01-11 18:44:41 +00:00
George Rhoten
3ea75f4cae ICU-5545 Synchronize DecimalFormat::setMultiplier with ICU4J.
X-SVN-Rev: 22023
2007-07-17 22:39:44 +00:00
George Rhoten
dbb58ee5cb ICU-5581 Fix formatting crash after setting a prefix or suffix of a currency format.
X-SVN-Rev: 22019
2007-07-17 21:46:59 +00:00
Deborah Goldsmith
5369d809be ICU-5350 Fix decimal rounding
X-SVN-Rev: 21647
2007-06-06 01:17:15 +00:00
George Rhoten
4706047498 ICU-5101 Test and prevent code from crashing when prefix and suffix are changed on a currency format. The prefix and suffix are still not settable when a currency is used, and the applyPattern must still be used when using currency formats.
X-SVN-Rev: 21145
2007-03-02 00:28:09 +00:00
George Rhoten
a5762bea29 ICU-5032 Remove untestable code. symbolsToAdopt can't be NULL, and the else branch does the same thing.
X-SVN-Rev: 20002
2006-08-08 21:39:04 +00:00