Commit Graph

75 Commits

Author SHA1 Message Date
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
Steven R. Loomis
173981e642 ICU-12822 digitlst.cpp depends on <string> to include <locale.h> on windows. Include it explicitly
X-SVN-Rev: 39486
2016-10-27 01:35:55 +00:00
Markus Scherer
7ae322735b ICU-12779 do not check U_PLATFORM macros before including ICU headers
X-SVN-Rev: 39457
2016-10-14 19:42:22 +00:00
Steven R. Loomis
25cf8e9634 ICU-12773 digitlist/strtod_l patch on cygwin, merge r39420
X-SVN-Rev: 39425
2016-10-04 04:04:05 +00:00
Yoshito Umaoka
ec3948198e ICU-10232 Updated preprocessro macro again - including xlocale.h except for windows, configure script to set -DU_HAVE_STRTOD_L=1 when strtod_l is available, etc.
X-SVN-Rev: 39144
2016-09-07 07:43:38 +00:00
Yoshito Umaoka
1aa9ba0a42 ICU-10232 Fixed Mac/BSD build issue.
X-SVN-Rev: 39128
2016-09-02 23:23:14 +00:00
Yoshito Umaoka
f2d8d1be68 ICU-10232 DigitList to use strtod_l instead of strtod with cached host decimal point on platforms supporting strtod_l. For other platforms, detect host decimal point instead of using cached host decimal point char.
X-SVN-Rev: 39124
2016-09-02 20:58:05 +00:00
Fredrik Roubert
de579d3bf9 ICU-12140 Pass StringPiece by value, internally.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/305000043 .

X-SVN-Rev: 39024
2016-08-04 17:40:53 +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
Andy Heninger
0b2778f3bb ICU-11461 Remove unused setInteger functionality from DigitList
X-SVN-Rev: 38131
2015-12-15 19:37:36 +00:00
Travis Keep
2860cd48c4 ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Andy Heninger
03fd84ff03 ICU-11104 MSVC compiler warnings, apply patch from Chromium.
X-SVN-Rev: 36995
2015-01-30 02:18:02 +00:00
Andy Heninger
1996008111 ICU-10624 Swat clang compile warnings. More fixes to come.
X-SVN-Rev: 34854
2014-01-10 02:24:54 +00:00
Steven R. Loomis
858972dfa6 ICU-9748 MSVC2010 issues, move EnumSet<> to separate header
X-SVN-Rev: 32838
2012-11-15 21:55:41 +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
2f3551a74d ICU-9457 Fix some compiler warnings.
X-SVN-Rev: 32099
2012-08-03 21:16:37 +00:00
Markus Scherer
a4861cdd06 ICU-8298 avoid ambiguous method matching for MaybeStackArray[index]
X-SVN-Rev: 31903
2012-06-04 23:51:39 +00:00
Steven R. Loomis
3c05a6b5d3 ICU-9258 fix typo in comment
X-SVN-Rev: 31882
2012-05-30 00:50:22 +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
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
John Emmons
b8281ee69e ICU-9087 Add special case for +-infinity in DigitList::set()
X-SVN-Rev: 31403
2012-02-17 04:00:49 +00:00
Andy Heninger
cec5a252fd ICU-9021 Thread safety in DigitList::getDouble(), incorporate review comment.
X-SVN-Rev: 31162
2011-12-20 19:29:26 +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
Jungshik Shin
0140e29ece ICU-8561 DigitList::set(double) breaks in some locales and generates NaN
X-SVN-Rev: 30689
2011-09-20 00:12:55 +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
Andy Heninger
7a2d96c7c8 ICU-8199 Fix use of out-of-scope object in DigitList, and related rounding problems in Formattable::getInt64
X-SVN-Rev: 29259
2011-01-04 07:42:32 +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
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +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
Markus Scherer
50d9837e92 ICU-7493 clean up MaybeStackArray (revert r27723) and add MaybeStackHeaderAndArray
X-SVN-Rev: 28073
2010-05-18 21:53:21 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Andy Heninger
52cc4ee6bf ICU-5350 more decimal format rounding mode fixes
X-SVN-Rev: 22645
2007-09-08 01:00:27 +00:00
George Rhoten
84e3cd3b3e ICU-5808 Fix for UCONFIG_NO_FORMATTING
X-SVN-Rev: 22217
2007-07-31 07:12:45 +00:00
George Rhoten
38c8b3690a ICU-5410 Improve code coverage by removing dead code.
X-SVN-Rev: 21821
2007-06-25 20:20:40 +00:00
Deborah Goldsmith
5369d809be ICU-5350 Fix decimal rounding
X-SVN-Rev: 21647
2007-06-06 01:17:15 +00:00
George Rhoten
92181b792b ICU-4703 Fix BEAM warnings.
X-SVN-Rev: 18382
2005-08-02 18:12:39 +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
b0e8e3576a ICU-4204 Use strtod instead of atof.
atof is claimed to be thread unsafe on some platforms and that strtod should be used instead.

X-SVN-Rev: 16768
2004-11-05 17:50:46 +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
Alan Liu
f6541cfe30 ICU-3668 make getters const -- can't do much here
X-SVN-Rev: 14789
2004-03-27 07:43:21 +00:00
Eric Mader
a7def2c37f ICU-3473 Update copyright notices for ICU 2.8.
X-SVN-Rev: 14193
2003-12-19 21:29:27 +00:00
Doug Felt
427c21ed97 ICU-813 fix long-standing uninitialized buffer contents error
X-SVN-Rev: 13756
2003-11-19 04:32:52 +00:00
Andy Heninger
27b45eeb7c ICU-3185 add #include for uprv_ functions needed.
X-SVN-Rev: 13739
2003-11-17 17:47:54 +00:00
Vladimir Weinstein
3e87dc487c ICU-3185 added uprv_ to some function calls
X-SVN-Rev: 13733
2003-11-14 23:01:06 +00:00
Steven R. Loomis
bdb879222e ICU-3357 define U_INT64_MIN, U_INT64_MAX, and U_UINT64_MAX
X-SVN-Rev: 13577
2003-11-05 01:49:45 +00:00
Doug Felt
e5a79dc60c ICU-813 int64 formatting support
X-SVN-Rev: 13547
2003-10-31 22:47:25 +00:00
Alan Liu
fcaea48b4b ICU-2135 fix DigitList::operator= to avoid reading unassigned memory
X-SVN-Rev: 10661
2002-12-13 19:46:06 +00:00