Commit Graph

181 Commits

Author SHA1 Message Date
Michael Ow
b73ea8b387 ICU-9613 Fix wrong enum name
X-SVN-Rev: 32625
2012-10-12 21:53:41 +00:00
Michael Ow
799a603abc ICU-9613 Merge from branch to trunk
X-SVN-Rev: 32622
2012-10-12 19:52:43 +00:00
Travis Keep
9adb3fd642 ICU-9549 Fix memory problems in DecimalFormat assignment operator.
X-SVN-Rev: 32439
2012-09-27 18:50:24 +00:00
Steven R. Loomis
9077d5dc25 ICU-9449 Merge in decimal format performance improvements from branch.
Improvements to 'howExpensiveIs' benchmark test.
Use internal digitlist in Formattable (save mallocs).
Enable fastpath by default.
Enable internal API "parse all input", returning an error if all input was not consumed.

X-SVN-Rev: 32397
2012-09-17 19:03:01 +00:00
George Rhoten
dc75668c05 ICU-9457 Fix some compiler warnings
X-SVN-Rev: 32095
2012-08-03 19:09:42 +00:00
Steven R. Loomis
b15c2bbf3b ICU-9416 fix number formatting for max int digits in fastpath
X-SVN-Rev: 32026
2012-07-06 22:47:27 +00:00
Yoshito Umaoka
fefba73e1d ICU-9258 Updated format/DecimalFormatTest/DataDrivenTests to format StringPiece in addition to DigitList. Fixed an error status problem (not returning U_FORMAT_INEXACT_ERROR) found by the StringPiece test.
X-SVN-Rev: 31961
2012-06-18 14:14:22 +00:00
Steven R. Loomis
dc44c2bdd9 ICU-9258 fix int64 format of U_INT64_MIN; // -9223372036854775808L
X-SVN-Rev: 31888
2012-05-30 18:21:49 +00:00
Steven R. Loomis
43b918a0c8 ICU-9258 merge from branches, performance improvements
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
Peter Edberg
22eb317bb2 ICU-8697 C review fixes #2: less convoluted code
X-SVN-Rev: 31510
2012-02-24 22:54:57 +00:00
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
535e2f80d5 ICU-9109 Fixed missing digit issue with DecimalFormat in lenient mode.
X-SVN-Rev: 31391
2012-02-14 07:05:58 +00:00
Michael Ow
52af04fed7 ICU-7464 Apply fix to incorrect number rounding when rounding increment is in the string pattern of the decimal formatter in ICU4C
X-SVN-Rev: 31378
2012-02-13 19:23:47 +00:00
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