Commit Graph

149 Commits

Author SHA1 Message Date
George Rhoten
5eed55e9a5 ICU-13306 Move rounding mode API to superclass as per technical committee review comments.
X-SVN-Rev: 40347
2017-08-23 17:38:00 +00:00
Markus Scherer
5a13a8ca58 ICU-12992 return raw pointers not pointer wrappers
X-SVN-Rev: 39729
2017-03-03 22:42:52 +00:00
Markus Scherer
031be51911 ICU-12992 move Char16Ptr to new char16ptr.h; change non-UnicodeString C++ functions from raw pointers to Char16Ptr where possible
X-SVN-Rev: 39716
2017-03-01 05:52:24 +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
George Rhoten
72280fb152 ICU-12713 Port fix for handling large magnitude numbers from ICU4J to ICU4C
X-SVN-Rev: 39560
2017-01-14 16:29:40 +00:00
Fredrik Roubert
3959b30d02 ICU-12140 Pass StringPiece by value, externally.
R=markus.icu@gmail.com

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

X-SVN-Rev: 39064
2016-08-17 19:07:15 +00:00
Andy Heninger
549c7646bf ICU-12061 FieldPosition::DONT_CARE API status and doc update. Fix incorrect usage of FieldPosition(0).
X-SVN-Rev: 39017
2016-07-23 04:42:29 +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
Michael Ow
257d5a0a27 ICU-11809 Null terminate buffer in initCurrency
X-SVN-Rev: 38090
2015-11-19 18:58:42 +00:00
Peter Edberg
5d1a2fa6bd ICU-11787 Add support for UNUM_CURRENCY_STANDARD and locale u-ext key -cf- (C)
X-SVN-Rev: 37935
2015-09-10 05:40:20 +00:00
Peter Edberg
15ee90b9a3 ICU-11693 C support for CompactDecimalFormat, via UNumberFormatStyle additions
X-SVN-Rev: 37612
2015-06-23 18:09:52 +00:00
Markus Scherer
9edbbecb24 ICU-11339 add & use LocalPointer(p, errorCode) and adoptInsteadAndCheckErrorCode(p, errorCode)
X-SVN-Rev: 36757
2014-11-20 00:27:17 +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
321f5c2c7b ICU-10966 Fix NumberFormat::createInstance to return U_MISSING_RESOURCE_ERROR when there is missing resource data.
X-SVN-Rev: 36026
2014-07-15 00:10:52 +00:00
Tom Zhang
985f42b752 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35873
2014-06-12 21:40:34 +00:00
Travis Keep
e4f7eafc89 ICU-10461 Andy's review comments.
X-SVN-Rev: 35490
2014-03-17 18:07:34 +00:00
Yoshito Umaoka
36bd9445a2 ICU-10726 Updated the last resort number format patterns to match the patterns used by root locale.
X-SVN-Rev: 35246
2014-02-27 07:44:48 +00:00
Yoshito Umaoka
cfd57abf79 ICU-10601 Added UNUM_CURRENCY_ACCOUNTING to ICU4C NumberFormat.
X-SVN-Rev: 35198
2014-02-22 00:16:56 +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
Peter Edberg
401daae867 ICU-10633 Implement context-sensitive number formatting (currently just for RBNF)
X-SVN-Rev: 35095
2014-02-06 09:41:17 +00:00
Peter Edberg
4c8984f5cb ICU-10574 initialize fCapitalizationContext in default constructor
X-SVN-Rev: 34897
2014-01-15 08:34:01 +00:00
Peter Edberg
1865fa1670 ICU-10574 part 1, just API and setContext/getContext implementation
X-SVN-Rev: 34886
2014-01-14 07:31:30 +00:00
Steven R. Loomis
358e1ddcd2 ICU-10376 fixup clang warnings
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Andy Heninger
cd3860a322 ICU-10361 Add missing icu namespace on previouos NumberFormat changes.
X-SVN-Rev: 34368
2013-09-17 23:43:28 +00:00
Andy Heninger
25bab8fa6f ICU-10361 DecimalFormat, remove number size restrictions that were limiting the ability to format big decimals.
X-SVN-Rev: 34366
2013-09-17 21:56:23 +00:00
Markus Scherer
8f38199123 ICU-10365 fix namespace issue: icu::UInitOnce
X-SVN-Rev: 34252
2013-09-10 00:34:12 +00:00
Steven R. Loomis
86c481026c ICU-10373 fix -DU_USING_ICU_NAMESPACE=0 issues
X-SVN-Rev: 34251
2013-09-10 00:13:41 +00:00
Steven R. Loomis
e5fac0714c ICU-10345 make formatting of a Formattable currency thread safe.. by cloning. makes unum_formatDoubleCurrency also slow.
X-SVN-Rev: 34200
2013-09-05 05:32:56 +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
Andy Heninger
978f71fe78 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Travis Keep
161183009a ICU-9543 C++ CompactDecimalFormat moved to trunk.
X-SVN-Rev: 32819
2012-11-14 18:49:38 +00:00
Michael Ow
799a603abc ICU-9613 Merge from branch to trunk
X-SVN-Rev: 32622
2012-10-12 19:52:43 +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
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
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
Michael Ow
6be4ed022f ICU-8452 Fix some more Cygwin MVSC and Cygwin GCC build issues
X-SVN-Rev: 30541
2011-08-18 18:47:16 +00:00
Markus Scherer
2862296471 ICU-8454 virtual destructors should be explicit, and defined in a .cpp file, so that they can serve as key functions
X-SVN-Rev: 30423
2011-07-26 05:32:25 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +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
Markus Scherer
1beb0f1e4f ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Andy Heninger
cf26986c13 ICU-8538 Valgrind error fixes in ICU 4.8RC
X-SVN-Rev: 30059
2011-05-09 02:35:48 +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
Peter Edberg
c8765bfe77 ICU-8077 Remove isLenient/setLenient from Format, etc. (revert #7725)
X-SVN-Rev: 28916
2010-10-26 18:11:13 +00:00