Commit Graph

73 Commits

Author SHA1 Message Date
Shane Carr
de3c990b0b ICU-13415 Refactoring shadowed virtual method in IFixedDecimal.
X-SVN-Rev: 40626
2017-10-23 07:12:39 +00:00
Jeff Genovy
97901d274e ICU-13177 Fix warnings reintroduced by the NumberFormatting work.
X-SVN-Rev: 40593
2017-10-06 20:32:13 +00:00
Shane Carr
6a43ed9826 ICU-13177 Moving FixedDecimal and IFixedDecimal destructors to cpp file.
X-SVN-Rev: 40591
2017-10-06 09:02:10 +00:00
Shane Carr
1f1a485c3c ICU-13177 Adding IFixedDecimal interface to C++.
X-SVN-Rev: 40391
2017-09-13 07:49:26 +00:00
William Zhao
d847a21238 ICU-13275 Merge warning cleanup fixes into trunk
X-SVN-Rev: 40283
2017-07-22 01:11:59 +00:00
Peter Edberg
870b039296 ICU-12763 for C++ select(const Formattable&...), add UErrorCode param, return empty string if err
X-SVN-Rev: 39658
2017-02-09 23:40:59 +00:00
Peter Edberg
47e1aaaf14 ICU-12763 Add uplrules_selectWithFormat and PluralRules::select that take & use [U]NumberFormat
X-SVN-Rev: 39591
2017-01-21 01:03:32 +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
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
Markus Scherer
a9c247a3cb ICU-12166 annotate intended switch case fallthroughs
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

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

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Travis Keep
2860cd48c4 ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Travis Keep
f335b55bdf ICU-10802 Merge branch tkeep/10802andy into trunk.
X-SVN-Rev: 36214
2014-08-20 21:46:02 +00:00
Travis Keep
53ababf5a7 ICU-10461 Make NumberFormat::createInstance() and PluralRules::forLocale() 10X faster than before for most common types. Provide internal createSharedInstance() for NumberFormat and SharedFormat for internal use that is 2 orders of magnitude faster than before.
X-SVN-Rev: 35114
2014-02-10 19:13:50 +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
Andy Heninger
b6529f6c53 ICU-10273 fix Windows test failure in FixedDecimal.
X-SVN-Rev: 34308
2013-09-13 17:08:58 +00:00
Steven R. Loomis
9518f3f302 ICU-10273 IBM i fixes
X-SVN-Rev: 34299
2013-09-13 05:16:54 +00:00
Andy Heninger
ed9d094e61 ICU-10273 PluralRules FixedDecimal, avoid undefined cast from NaN to int64_t
X-SVN-Rev: 34287
2013-09-12 20:07:53 +00:00
Andy Heninger
8abaebe06e ICU-10273 DecimalFormat::getFixedDecimal(), improved handling of rounding, overflow.
X-SVN-Rev: 34280
2013-09-12 01:00:04 +00:00
Steven R. Loomis
31cdcb89e0 ICU-10379 fixes for IBM i - mostly clarifying ambiguous casts.
X-SVN-Rev: 34274
2013-09-11 19:38:07 +00:00
Andy Heninger
4d9fad13ef ICU-10273 Plural Rules Fixed Decimal, improve handling of NaN and Infinity
X-SVN-Rev: 34225
2013-09-06 20:02:42 +00:00
Andy Heninger
7b3b75a525 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34204
2013-09-05 23:28:28 +00:00
Andy Heninger
003c35c1d9 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34176
2013-09-04 01:07:35 +00:00
John Emmons
3f712e7635 ICU-10339 Fix build error on Cygwin/gcc (INT64_MAX) instead of (U_INT64_MAX)
X-SVN-Rev: 34122
2013-08-29 17:13:06 +00:00
Andy Heninger
6ddf597269 ICU-10273 fix bug in plural rules parser, caused failure of CompactDecimalFormatTest
X-SVN-Rev: 34111
2013-08-29 00:50:50 +00:00
Andy Heninger
3b26d31728 ICU-10273 fix for Solaris build error in plural rules (hopefully).
X-SVN-Rev: 34109
2013-08-28 23:50:29 +00:00
Andy Heninger
4dc67e0203 ICU-10273 New plural rule syntax. Changes merged from development branch. With this checkin, Plural rule data is back in synch between ICU4C, ICU4J and CLDR trunk.
X-SVN-Rev: 34103
2013-08-28 20:51:44 +00:00
Andy Heninger
7b95d141d3 ICU-10253 Fix #include of math.h
X-SVN-Rev: 33974
2013-07-24 18:09:39 +00:00
Andy Heninger
aebaa076af ICU-10253 Fix memory leak in plural rules.
X-SVN-Rev: 33972
2013-07-24 16:42:56 +00:00
Andy Heninger
a4761909ac ICU-10253 Fix windows build problems with new plural rule code.
X-SVN-Rev: 33968
2013-07-23 21:27:07 +00:00
Andy Heninger
f4e36c9c98 ICU-10253 Plural Rule, support for new syntax for fractional rules. Merge from development branch.
X-SVN-Rev: 33958
2013-07-22 23:57:17 +00:00
Andy Heninger
803ac8f33c ICU-9461 Mutex Implementation Rework, merge from devel branch.
X-SVN-Rev: 32530
2012-10-05 21:22:02 +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
Markus Scherer
8d7428d1b3 ICU-9132 ordinal-plural formatting in C/C++
X-SVN-Rev: 31687
2012-04-07 04:27:27 +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
Michael Ow
88acd14026 ICU-8718 Fix memory leak in PluralRules
X-SVN-Rev: 30388
2011-07-19 21:10:56 +00:00
Yoshito Umaoka
a2103b01f0 ICU-8488 Reviewed call sites of case conversion code in icu library code and updated some of them case sensitive/insensitive.
X-SVN-Rev: 30382
2011-07-18 21:43:18 +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
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +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
Markus Scherer
6c49e812c0 ICU-8432 fix PluralRules memory management & a couple of minor issues
X-SVN-Rev: 29914
2011-04-28 13:35:56 +00:00
Markus Scherer
e25457f07a ICU-8499 change PluralRules::NO_UNIQUE_VALUE into #define UPLRULES_NO_UNIQUE_VALUE
X-SVN-Rev: 29911
2011-04-27 20:04:06 +00:00
Markus Scherer
d743bb693e ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Doug Felt
8f82354952 ICU-8432 fix bad delete of arrays
X-SVN-Rev: 29710
2011-03-30 20:52:05 +00:00
Doug Felt
47108a4e65 ICU-8432 add icu4c implementation and tests
X-SVN-Rev: 29666
2011-03-17 21:36:03 +00:00
Jungshik Shin
e8b6b950f0 ICU-7980 fix a few coverity errors
X-SVN-Rev: 28691
2010-09-24 00:13:57 +00:00
Michael Ow
b4853d0331 ICU-7222 Remove Windows x64 warnings by casting explicitly.
X-SVN-Rev: 26870
2009-11-11 15:47:22 +00:00
Claire Ho
bb25d466b5 ICU-6586 code fixes after review.
X-SVN-Rev: 25374
2009-02-05 01:03:16 +00:00