]> granicus.if.org Git - icu/log
icu
6 years agoICU-13725 Fixing gcc compiler warning in cintltst file.
Shane Carr [Mon, 7 May 2018 20:01:09 +0000 (20:01 +0000)]
ICU-13725 Fixing gcc compiler warning in cintltst file.

X-SVN-Rev: 41331

6 years agoICU-13677 Changing NumberFormatter rounding setting to precision and roundingMode.
Shane Carr [Sat, 5 May 2018 06:32:29 +0000 (06:32 +0000)]
ICU-13677 Changing NumberFormatter rounding setting to precision and roundingMode.

X-SVN-Rev: 41330

6 years agoICU-13328 Adding tests for mixed letter and combining mark.
Shane Carr [Sat, 5 May 2018 02:33:21 +0000 (02:33 +0000)]
ICU-13328 Adding tests for mixed letter and combining mark.

X-SVN-Rev: 41329

6 years agoICU-13314 Adding tests for user-raised confusables cases.
Shane Carr [Sat, 5 May 2018 02:25:30 +0000 (02:25 +0000)]
ICU-13314 Adding tests for user-raised confusables cases.

X-SVN-Rev: 41328

6 years agoICU-13738 Makes DecimalFormat#toNumberFormatter() return by const-reference.
Shane Carr [Sat, 5 May 2018 01:47:12 +0000 (01:47 +0000)]
ICU-13738 Makes DecimalFormat#toNumberFormatter() return by const-reference.

X-SVN-Rev: 41327

6 years agoICU-13666 Revised tzdata2018e in ICU trunk to replace negative DST (Europe/Prague...
Yoshito Umaoka [Fri, 4 May 2018 22:05:27 +0000 (22:05 +0000)]
ICU-13666 Revised tzdata2018e in ICU trunk to replace negative DST (Europe/Prague) rules with updated icuzones override.

X-SVN-Rev: 41325

6 years agoICU-13666 tzdata2018e updates to ICU4 trunk.
Yoshito Umaoka [Fri, 4 May 2018 08:19:01 +0000 (08:19 +0000)]
ICU-13666 tzdata2018e updates to ICU4 trunk.

X-SVN-Rev: 41323

6 years agoICU-13597 Replying to UNumberFormatter code recatew comments.
Shane Carr [Fri, 4 May 2018 06:58:44 +0000 (06:58 +0000)]
ICU-13597 Replying to UNumberFormatter code recatew comments.

X-SVN-Rev: 41321

7 years agoICU-12572 Fixing undefined behavior in NullableValue assignment operator.
Shane Carr [Thu, 3 May 2018 09:26:15 +0000 (09:26 +0000)]
ICU-12572 Fixing undefined behavior in NullableValue assignment operator.

X-SVN-Rev: 41318

7 years agoICU-12572 Adding cpp-file definitions for all interface classes in number code, clean...
Shane Carr [Thu, 3 May 2018 09:13:46 +0000 (09:13 +0000)]
ICU-12572 Adding cpp-file definitions for all interface classes in number code, cleaning up an undefined behavior warning.

X-SVN-Rev: 41317

7 years agoICU-12572 Moving error code check one level deeper such that the constructor does...
Shane Carr [Thu, 3 May 2018 09:02:39 +0000 (09:02 +0000)]
ICU-12572 Moving error code check one level deeper such that the constructor does not leave the NumberFormatterImpl in an undefined state for destruction later.

X-SVN-Rev: 41316

7 years agoICU-12572 Undefined behavior fixes in number code.
Shane Carr [Thu, 3 May 2018 08:53:20 +0000 (08:53 +0000)]
ICU-12572 Undefined behavior fixes in number code.

X-SVN-Rev: 41315

7 years agoICU-13676 Enabling cleanup of default converter whenever the default converter is...
Shane Carr [Thu, 3 May 2018 06:50:50 +0000 (06:50 +0000)]
ICU-13676 Enabling cleanup of default converter whenever the default converter is put back into the global singleton cache.

X-SVN-Rev: 41314

7 years agoICU-13662 Improving NumberFormatter field position method names and behavior.
Shane Carr [Thu, 3 May 2018 01:34:19 +0000 (01:34 +0000)]
ICU-13662 Improving NumberFormatter field position method names and behavior.

X-SVN-Rev: 41313

7 years agoICU-13700 Removing obsolete TODO comment.
Shane Carr [Thu, 3 May 2018 01:32:03 +0000 (01:32 +0000)]
ICU-13700 Removing obsolete TODO comment.

X-SVN-Rev: 41312

7 years agoICU-13749 Fix issue with tabs to spaces in previous commit.
Jeff Genovy [Wed, 2 May 2018 20:46:17 +0000 (20:46 +0000)]
ICU-13749 Fix issue with tabs to spaces in previous commit.

X-SVN-Rev: 41311

7 years agoICU-13749 Prevent double-free of mzMappings in ZoneMeta::createMetazoneMappings.
Jeff Genovy [Wed, 2 May 2018 20:40:07 +0000 (20:40 +0000)]
ICU-13749 Prevent double-free of mzMappings in ZoneMeta::createMetazoneMappings.

X-SVN-Rev: 41310

7 years agoICU-13739 ICU4C does not report Out-of-Memory when iterating over the TZEnumeration.
Jeff Genovy [Wed, 2 May 2018 19:55:58 +0000 (19:55 +0000)]
ICU-13739 ICU4C does not report Out-of-Memory when iterating over the TZEnumeration.

X-SVN-Rev: 41309

7 years agoICU-13725 Fix last remaining C4251 warnings/errors by bringing back the CurrencyPlura...
Jeff Genovy [Wed, 2 May 2018 08:18:00 +0000 (08:18 +0000)]
ICU-13725 Fix last remaining C4251 warnings/errors by bringing back the CurrencyPluralInfoWrapper.

X-SVN-Rev: 41308

7 years agoICU-13725 Fix more of the C4251 warnings.
Jeff Genovy [Wed, 2 May 2018 07:51:55 +0000 (07:51 +0000)]
ICU-13725 Fix more of the C4251 warnings.

X-SVN-Rev: 41307

7 years agoICU-13725 Fix many of the C4251 warnings by DLL-exporting explicit template instantia...
Jeff Genovy [Wed, 2 May 2018 06:49:00 +0000 (06:49 +0000)]
ICU-13725 Fix many of the C4251 warnings by DLL-exporting explicit template instantiations.

X-SVN-Rev: 41306

7 years agoICU-13716 Adding default return values after U_ASSERT(FALSE) to silence compiler...
Shane Carr [Wed, 2 May 2018 04:29:25 +0000 (04:29 +0000)]
ICU-13716 Adding default return values after U_ASSERT(FALSE) to silence compiler warnings in non-debug builds.

X-SVN-Rev: 41305

7 years agoICU-13644 Replying to review feedback. Changing enum methods on NumberFormatter to...
Shane Carr [Wed, 2 May 2018 03:49:35 +0000 (03:49 +0000)]
ICU-13644 Replying to review feedback. Changing enum methods on NumberFormatter to take by value instead of const reference.

X-SVN-Rev: 41304

7 years agoICU-13620 Adding test for uniqueness of MeasureUnit.getAvailable()
Shane Carr [Wed, 2 May 2018 03:25:27 +0000 (03:25 +0000)]
ICU-13620 Adding test for uniqueness of MeasureUnit.getAvailable()

X-SVN-Rev: 41303

7 years agoICU-13620 Adding more comments on CollectionSet.
Shane Carr [Wed, 2 May 2018 03:17:05 +0000 (03:17 +0000)]
ICU-13620 Adding more comments on CollectionSet.

X-SVN-Rev: 41302

7 years agoICU-13437 Adding error codes to NumberFormatter terminal methods.
Shane Carr [Mon, 30 Apr 2018 21:07:35 +0000 (21:07 +0000)]
ICU-13437 Adding error codes to NumberFormatter terminal methods.

X-SVN-Rev: 41296

7 years agoICU-13623 Move Java RBBIDataWrapper to from text to impl package.
Andy Heninger [Mon, 30 Apr 2018 20:12:14 +0000 (20:12 +0000)]
ICU-13623 Move Java RBBIDataWrapper to from text to impl package.

X-SVN-Rev: 41295

7 years agoICU-13630 switch from IdnaTest.txt to IdnaTestV2.txt new in Unicode 11 see Unicode...
Markus Scherer [Mon, 30 Apr 2018 03:17:11 +0000 (03:17 +0000)]
ICU-13630 switch from IdnaTest.txt to IdnaTestV2.txt new in Unicode 11 see Unicode PRI 375

X-SVN-Rev: 41294

7 years agoICU-12572 Fixing signed overflow in decimalquantity.
Shane Carr [Sat, 28 Apr 2018 07:38:41 +0000 (07:38 +0000)]
ICU-12572 Fixing signed overflow in decimalquantity.

X-SVN-Rev: 41293

7 years agoICU-11897 Adding tests for localized pattern separator symbol.
Shane Carr [Sat, 28 Apr 2018 07:27:02 +0000 (07:27 +0000)]
ICU-11897 Adding tests for localized pattern separator symbol.

X-SVN-Rev: 41292

7 years agoICU-13725 Adding comments referencing ticket 13580.
Shane Carr [Sat, 28 Apr 2018 06:59:09 +0000 (06:59 +0000)]
ICU-13725 Adding comments referencing ticket 13580.

X-SVN-Rev: 41291

7 years agoICU-12175 Adding tests for compact currency support in ICU4C CompactDecimalFormat.
Shane Carr [Sat, 28 Apr 2018 06:15:41 +0000 (06:15 +0000)]
ICU-12175 Adding tests for compact currency support in ICU4C CompactDecimalFormat.

X-SVN-Rev: 41290

7 years agoICU-12052 Adding test case for null-pointer bug in unum_parseDoubleCurrency.
Shane Carr [Sat, 28 Apr 2018 05:50:52 +0000 (05:50 +0000)]
ICU-12052 Adding test case for null-pointer bug in unum_parseDoubleCurrency.

X-SVN-Rev: 41289

7 years agoICU-11230 Updating "9 9" test in numberformattestspecification.txt
Shane Carr [Sat, 28 Apr 2018 05:23:38 +0000 (05:23 +0000)]
ICU-11230 Updating "9 9" test in numberformattestspecification.txt

X-SVN-Rev: 41288

7 years agoICU-13424 Fixing locale-sensitive tests in cnumtst.c
Shane Carr [Sat, 28 Apr 2018 03:53:57 +0000 (03:53 +0000)]
ICU-13424 Fixing locale-sensitive tests in cnumtst.c

X-SVN-Rev: 41287

7 years agoICU-13148 Adding test for grouping separator symbols override.
Shane Carr [Sat, 28 Apr 2018 03:53:35 +0000 (03:53 +0000)]
ICU-13148 Adding test for grouping separator symbols override.

X-SVN-Rev: 41286

7 years agoICU-12931 Adding internal visibility ifdef around format(DecimalQuantity) methods...
Shane Carr [Sat, 28 Apr 2018 02:38:55 +0000 (02:38 +0000)]
ICU-12931 Adding internal visibility ifdef around format(DecimalQuantity) methods in numfmt.h and decimfmt.h

X-SVN-Rev: 41285

7 years agoICU-10584 Adding test for compact decimal rounding behavior in ICU4C
Shane Carr [Sat, 28 Apr 2018 01:38:18 +0000 (01:38 +0000)]
ICU-10584 Adding test for compact decimal rounding behavior in ICU4C

X-SVN-Rev: 41284

7 years agoICU-13725 Responding to small code review comments.
Shane Carr [Fri, 27 Apr 2018 08:02:40 +0000 (08:02 +0000)]
ICU-13725 Responding to small code review comments.

X-SVN-Rev: 41283

7 years agoICU-13725 Fixing NumberFormatter std::move test failure on MSVC.
Shane Carr [Thu, 26 Apr 2018 03:38:17 +0000 (03:38 +0000)]
ICU-13725 Fixing NumberFormatter std::move test failure on MSVC.

X-SVN-Rev: 41282

7 years agoICU-13725 Fixing various number test failures in MSVC.
Shane Carr [Thu, 26 Apr 2018 01:33:59 +0000 (01:33 +0000)]
ICU-13725 Fixing various number test failures in MSVC.

X-SVN-Rev: 41281

7 years agoICU-13725 Fixing field reference in compactdecimalformat.cpp, broken by previous...
Shane Carr [Thu, 26 Apr 2018 00:17:30 +0000 (00:17 +0000)]
ICU-13725 Fixing field reference in compactdecimalformat.cpp, broken by previous commit.

X-SVN-Rev: 41280

7 years agoICU-13725 Moving all DecimalFormat fields to an implementation class, eliminating...
Shane Carr [Wed, 25 Apr 2018 23:57:10 +0000 (23:57 +0000)]
ICU-13725 Moving all DecimalFormat fields to an implementation class, eliminating many MSVC warnings.

X-SVN-Rev: 41279

7 years agoICU-13725 Additional MSVC compatibility fixes.
Shane Carr [Wed, 25 Apr 2018 21:51:16 +0000 (21:51 +0000)]
ICU-13725 Additional MSVC compatibility fixes.

X-SVN-Rev: 41278

7 years agoICU-13634 Fix Macintosh build breakage.
Andy Heninger [Wed, 25 Apr 2018 21:04:19 +0000 (21:04 +0000)]
ICU-13634 Fix Macintosh build breakage.

X-SVN-Rev: 41277

7 years agoICU-13634 Fix Macintosh build error - missing include.
Andy Heninger [Wed, 25 Apr 2018 04:09:09 +0000 (04:09 +0000)]
ICU-13634 Fix Macintosh build error - missing include.

X-SVN-Rev: 41276

7 years agoICU-13634 Fix Macintosh build error - missing include.
Andy Heninger [Wed, 25 Apr 2018 03:50:39 +0000 (03:50 +0000)]
ICU-13634 Fix Macintosh build error - missing include.

X-SVN-Rev: 41275

7 years agoICU-13634 Fix Macintosh build error - missing include.
Andy Heninger [Wed, 25 Apr 2018 03:38:04 +0000 (03:38 +0000)]
ICU-13634 Fix Macintosh build error - missing include.

X-SVN-Rev: 41274

7 years agoICU-13725 Fixing ambiguous assertEquals call on Linux.
Shane Carr [Wed, 25 Apr 2018 01:27:38 +0000 (01:27 +0000)]
ICU-13725 Fixing ambiguous assertEquals call on Linux.

X-SVN-Rev: 41273

7 years agoICU-13725 Additional MSVC compatibility fixes.
Shane Carr [Wed, 25 Apr 2018 00:39:22 +0000 (00:39 +0000)]
ICU-13725 Additional MSVC compatibility fixes.

X-SVN-Rev: 41272

7 years agoICU-13725 Assorted minor changes to number formatting code for MSVC compatibility
Shane Carr [Tue, 24 Apr 2018 22:24:11 +0000 (22:24 +0000)]
ICU-13725 Assorted minor changes to number formatting code for MSVC compatibility

X-SVN-Rev: 41271

7 years agoICU-13634 Merging new number formatting and parsing implementation into ICU4C, bringi...
Shane Carr [Tue, 24 Apr 2018 02:45:07 +0000 (02:45 +0000)]
ICU-13634 Merging new number formatting and parsing implementation into ICU4C, bringing number formatting code in ICU4C and ICU4J fully into sync.

X-SVN-Rev: 41269

7 years agoICU-13634 Fixing assorted build errors.
Shane Carr [Tue, 24 Apr 2018 01:25:05 +0000 (01:25 +0000)]
ICU-13634 Fixing assorted build errors.

X-SVN-Rev: 41268

7 years agoICU-13634 Changes from pre-merge code light-review.
Shane Carr [Tue, 24 Apr 2018 01:19:44 +0000 (01:19 +0000)]
ICU-13634 Changes from pre-merge code light-review.

X-SVN-Rev: 41267

7 years agoICU-13393 Removing the UPRV_INCOMPLETE_CPP11_SUPPORT flag since the number formatting...
Shane Carr [Mon, 23 Apr 2018 23:02:26 +0000 (23:02 +0000)]
ICU-13393 Removing the UPRV_INCOMPLETE_CPP11_SUPPORT flag since the number formatting code is no longer isolated from the rest of ICU.

X-SVN-Rev: 41266

7 years agoICU-13634 Syncing MSVC build files with Makefiles.
Shane Carr [Mon, 23 Apr 2018 22:48:52 +0000 (22:48 +0000)]
ICU-13634 Syncing MSVC build files with Makefiles.

X-SVN-Rev: 41265

7 years agoICU-13597 Adding comments about thread safety to UNumberFormatter.h
Shane Carr [Mon, 23 Apr 2018 22:42:51 +0000 (22:42 +0000)]
ICU-13597 Adding comments about thread safety to UNumberFormatter.h

X-SVN-Rev: 41264

7 years agoICU-13670 Changing CFLAGS to C11 and fixing check for unicode string literals.
Shane Carr [Mon, 23 Apr 2018 21:16:52 +0000 (21:16 +0000)]
ICU-13670 Changing CFLAGS to C11 and fixing check for unicode string literals.

X-SVN-Rev: 41263

7 years agoICU-13634 Fixing grouping size fallback in fast path.
Shane Carr [Mon, 23 Apr 2018 21:16:24 +0000 (21:16 +0000)]
ICU-13634 Fixing grouping size fallback in fast path.

X-SVN-Rev: 41262

7 years agoICU-13634 Removing superfluous abstraction "CharSequence" and "UnicodeStringCharSeque...
Shane Carr [Sat, 21 Apr 2018 09:08:53 +0000 (09:08 +0000)]
ICU-13634 Removing superfluous abstraction "CharSequence" and "UnicodeStringCharSequence" from ICU4C number code.

X-SVN-Rev: 41260

7 years agoICU-13634 Porting some minor ICU4C performance enhancements to Java.
Shane Carr [Sat, 21 Apr 2018 08:55:58 +0000 (08:55 +0000)]
ICU-13634 Porting some minor ICU4C performance enhancements to Java.

X-SVN-Rev: 41259

7 years agoICU-13634 Refactoring getPrefixSuffix methods. In ICU4C, the pattern modifier is...
Shane Carr [Sat, 21 Apr 2018 08:01:19 +0000 (08:01 +0000)]
ICU-13634 Refactoring getPrefixSuffix methods.  In ICU4C, the pattern modifier is now accessed directly.  In ICU4J, they use the same detour through the pipeline code path as before with a TODO to improve to be closer to ICU4C.  In addition, in both ICU4C and ICU4J, getPrefixSuffix now uses the compiled formatter when available.

X-SVN-Rev: 41258

7 years agoICU-13634 A few more DecimalFormat optimizations.
Shane Carr [Sat, 21 Apr 2018 06:00:56 +0000 (06:00 +0000)]
ICU-13634 A few more DecimalFormat optimizations.

X-SVN-Rev: 41257

7 years agoICU-13634 Merging trunk to branch
Shane Carr [Sat, 21 Apr 2018 02:30:42 +0000 (02:30 +0000)]
ICU-13634 Merging trunk to branch

X-SVN-Rev: 41256

7 years agoICU-13521 Re-generating constants in measunit.cpp once more from the latest data...
Shane Carr [Sat, 21 Apr 2018 02:30:13 +0000 (02:30 +0000)]
ICU-13521 Re-generating constants in measunit.cpp once more from the latest data on trunk.

X-SVN-Rev: 41255

7 years agoICU-13634 Merging trunk to branch
Shane Carr [Sat, 21 Apr 2018 02:18:33 +0000 (02:18 +0000)]
ICU-13634 Merging trunk to branch

X-SVN-Rev: 41254

7 years agoICU-13521 Re-generating constants in measunit.cpp from the code generation tool.
Shane Carr [Sat, 21 Apr 2018 02:09:53 +0000 (02:09 +0000)]
ICU-13521 Re-generating constants in measunit.cpp from the code generation tool.

X-SVN-Rev: 41253

7 years agoICU-13634 Fixing lazy-compute call site and other minor changes.
Shane Carr [Fri, 20 Apr 2018 01:32:53 +0000 (01:32 +0000)]
ICU-13634 Fixing lazy-compute call site and other minor changes.

X-SVN-Rev: 41252

7 years agoICU-13634 Optimizing and adding a basic fastpath for small ints. Greatly increases...
Shane Carr [Thu, 19 Apr 2018 09:29:39 +0000 (09:29 +0000)]
ICU-13634 Optimizing and adding a basic fastpath for small ints.  Greatly increases the performance of DateFormat.

X-SVN-Rev: 41251

7 years agoICU-13700 Fixing typo in APIdoc.
Shane Carr [Thu, 19 Apr 2018 02:41:33 +0000 (02:41 +0000)]
ICU-13700 Fixing typo in APIdoc.

X-SVN-Rev: 41250

7 years agoICU-13634 Adding TODO comment in CurrencyUnit constructor.
Shane Carr [Thu, 19 Apr 2018 01:16:47 +0000 (01:16 +0000)]
ICU-13634 Adding TODO comment in CurrencyUnit constructor.

X-SVN-Rev: 41249

7 years agoICU-13634 Fixing address sanitizer issue involving backwards-compatible UChar* behavi...
Shane Carr [Thu, 19 Apr 2018 01:13:17 +0000 (01:13 +0000)]
ICU-13634 Fixing address sanitizer issue involving backwards-compatible UChar* behavior in CurrencyUnit constructor. The string passed to the constructor need not be NUL-terminated.

X-SVN-Rev: 41248

7 years agoICU-13700 APIDoc tweaks for getMultiplierScale/setMultiplierScale.
Shane Carr [Thu, 19 Apr 2018 00:14:17 +0000 (00:14 +0000)]
ICU-13700 APIDoc tweaks for getMultiplierScale/setMultiplierScale.

X-SVN-Rev: 41247

7 years agoICU-13700 Renaming new getter/setter to magnitudeScale.
Shane Carr [Wed, 18 Apr 2018 23:55:55 +0000 (23:55 +0000)]
ICU-13700 Renaming new getter/setter to magnitudeScale.

X-SVN-Rev: 41246

7 years agoICU-13634 Fixing some clang sanitizer issues, including one potentially serious one...
Shane Carr [Wed, 18 Apr 2018 10:52:36 +0000 (10:52 +0000)]
ICU-13634 Fixing some clang sanitizer issues, including one potentially serious one deep inside DecimalQuantity.

X-SVN-Rev: 41245

7 years agoICU-13597 Revising UNumberFormatter according to feedback: (1) adds LocalPointer...
Shane Carr [Wed, 18 Apr 2018 09:42:05 +0000 (09:42 +0000)]
ICU-13597 Revising UNumberFormatter according to feedback: (1) adds LocalPointer; (2) makes buffer export behavior consistent; (3) removes const from unumf_closeResult; and (4) improves API docs.

X-SVN-Rev: 41244

7 years agoICU-13634 Minor cintltst tweaks; all of cintltst is passing.
Shane Carr [Wed, 18 Apr 2018 09:07:41 +0000 (09:07 +0000)]
ICU-13634 Minor cintltst tweaks; all of cintltst is passing.

X-SVN-Rev: 41243

7 years agoICU-13634 Fixing cintltst sementation fault: reset UInitOnce mechanisms in number...
Shane Carr [Wed, 18 Apr 2018 09:03:42 +0000 (09:03 +0000)]
ICU-13634 Fixing cintltst sementation fault: reset UInitOnce mechanisms in number code after u_cleanup.

X-SVN-Rev: 41242

7 years agoICU-13634 Strict mode on scientific formatter requires exponents; changing scanf...
Shane Carr [Wed, 18 Apr 2018 09:02:12 +0000 (09:02 +0000)]
ICU-13634 Strict mode on scientific formatter requires exponents; changing scanf in iotest to use lenient mode instead.

X-SVN-Rev: 41241

7 years agoICU-13634 Assorted minor fixes. cnumtst is passing.
Shane Carr [Wed, 18 Apr 2018 06:03:29 +0000 (06:03 +0000)]
ICU-13634 Assorted minor fixes.  cnumtst is passing.

X-SVN-Rev: 41240

7 years agoICU-13634 Adding "formatFailIfMoreThanMaxDigits" property to C++ NumberFormatter...
Shane Carr [Wed, 18 Apr 2018 03:59:39 +0000 (03:59 +0000)]
ICU-13634 Adding "formatFailIfMoreThanMaxDigits" property to C++ NumberFormatter. Changing getSecondaryGroupingSize() for backwards compatibility.  Other assorted test changes.

X-SVN-Rev: 41239

7 years agoICU-13634 Minor test expectation updates and status variable fixes. intltest format...
Shane Carr [Tue, 17 Apr 2018 10:58:41 +0000 (10:58 +0000)]
ICU-13634 Minor test expectation updates and status variable fixes.  intltest format should be mostly working now.

X-SVN-Rev: 41238

7 years agoICU-13135 Fixing and optimizing PluralFormat call site into NumberFormat in order...
Shane Carr [Tue, 17 Apr 2018 10:18:42 +0000 (10:18 +0000)]
ICU-13135 Fixing and optimizing PluralFormat call site into NumberFormat in order to execute the formatting pipeline only once.

X-SVN-Rev: 41237

7 years agoICU-13634 A variety of mostly minor changes to fix assorted unit test failures in...
Shane Carr [Tue, 17 Apr 2018 08:05:20 +0000 (08:05 +0000)]
ICU-13634 A variety of mostly minor changes to fix assorted unit test failures in ICU4C plus a few in ICU4J.

X-SVN-Rev: 41236

7 years agoICU-13634 DecimalQuantity work: Fixing integer overflow behavior in toLong and toFrac...
Shane Carr [Tue, 17 Apr 2018 01:36:18 +0000 (01:36 +0000)]
ICU-13634 DecimalQuantity work: Fixing integer overflow behavior in toLong and toFractionLong methods. Adding test for maxInt/maxFrac behavior in toScientificString and related methods. Updating a few test expectations in IntlTestDecimalFormatAPI::TestFixedDecimal, which is now passing.

X-SVN-Rev: 41235

7 years agoICU-13634 Cleanup of dcfmapts.cpp and minor code behavior changes.
Shane Carr [Sat, 14 Apr 2018 10:38:59 +0000 (10:38 +0000)]
ICU-13634 Cleanup of dcfmapts.cpp and minor code behavior changes.

X-SVN-Rev: 41233

7 years agoICU-13700 Adding DecimalFormat "scale" getter/setter and implementation in the new...
Shane Carr [Sat, 14 Apr 2018 09:49:12 +0000 (09:49 +0000)]
ICU-13700 Adding DecimalFormat "scale" getter/setter and implementation in the new number formatting pipeline.

X-SVN-Rev: 41232

7 years agoICU-13678 Renaming Multiplier to Scale.
Shane Carr [Sat, 14 Apr 2018 09:45:39 +0000 (09:45 +0000)]
ICU-13678 Renaming Multiplier to Scale.

X-SVN-Rev: 41231

7 years agoICU-13634 Centralizing data loading for pattern strings.
Shane Carr [Sat, 14 Apr 2018 08:10:45 +0000 (08:10 +0000)]
ICU-13634 Centralizing data loading for pattern strings.

X-SVN-Rev: 41230

7 years agoICU-13634 Adding groupingUsed as an explicit property in the property bag; see also...
Shane Carr [Sat, 14 Apr 2018 07:15:19 +0000 (07:15 +0000)]
ICU-13634 Adding groupingUsed as an explicit property in the property bag; see also ICU-13442 .

X-SVN-Rev: 41229

7 years agoICU-13634 Updating Java test expectations with new behavior for fallback currency...
Shane Carr [Sat, 14 Apr 2018 06:17:39 +0000 (06:17 +0000)]
ICU-13634 Updating Java test expectations with new behavior for fallback currency display. Other minor ICU4J test updates. All ICU4J tests are passing.

X-SVN-Rev: 41228

7 years agoICU-13634 Refactoring new percentage parsing code.
Shane Carr [Sat, 14 Apr 2018 05:54:53 +0000 (05:54 +0000)]
ICU-13634 Refactoring new percentage parsing code.

X-SVN-Rev: 41227

7 years agoICU-13697 Adding data-loading logic for parseLenients sets in CLDR. Ties the sets...
Shane Carr [Thu, 12 Apr 2018 10:59:37 +0000 (10:59 +0000)]
ICU-13697 Adding data-loading logic for parseLenients sets in CLDR.  Ties the sets in with number and currency parsing in ICU4C and ICU4J.

X-SVN-Rev: 41223

7 years agoICU-13634 In accordance with ICU-TC meeting, changing percent parsing behavior to...
Shane Carr [Thu, 12 Apr 2018 06:49:24 +0000 (06:49 +0000)]
ICU-13634 In accordance with ICU-TC meeting, changing percent parsing behavior to be closer to that of ICU 60.

X-SVN-Rev: 41222

7 years agoICU-13634 Updating test expectations for strict currency position in strict mode...
Shane Carr [Thu, 12 Apr 2018 05:15:19 +0000 (05:15 +0000)]
ICU-13634 Updating test expectations for strict currency position in strict mode. Other minor changes. All but one test is now passing in numfmtst.cpp.

X-SVN-Rev: 41220

7 years agoICU-13634 Updating test expectations for the default currency long name.
Shane Carr [Thu, 12 Apr 2018 04:04:23 +0000 (04:04 +0000)]
ICU-13634 Updating test expectations for the default currency long name.

X-SVN-Rev: 41218

7 years agoICU-13634 Fixing affix overrides when using CurrencyPluralInfo.
Shane Carr [Wed, 11 Apr 2018 23:14:06 +0000 (23:14 +0000)]
ICU-13634 Fixing affix overrides when using CurrencyPluralInfo.

X-SVN-Rev: 41217

7 years agoICU-13634 Refactoring affix-getting code to avoid the need to save the micro-props...
Shane Carr [Wed, 11 Apr 2018 11:10:52 +0000 (11:10 +0000)]
ICU-13634 Refactoring affix-getting code to avoid the need to save the micro-props.  Other assorted minor changes.

X-SVN-Rev: 41216

7 years agoICU-13634 Changing DecimalQuantity#toNumberString() to be DecimalQuantity#toScientifi...
Shane Carr [Wed, 11 Apr 2018 05:52:58 +0000 (05:52 +0000)]
ICU-13634 Changing DecimalQuantity#toNumberString() to be DecimalQuantity#toScientificString() with slightly friendlier output syntax for better compatibility.  More currency tweaks.

X-SVN-Rev: 41215

7 years agoICU-13634 Fixing more assorted currency parsing issues.
Shane Carr [Wed, 11 Apr 2018 02:18:13 +0000 (02:18 +0000)]
ICU-13634 Fixing more assorted currency parsing issues.

X-SVN-Rev: 41214