Commit Graph

5371 Commits

Author SHA1 Message Date
Shane Carr
d7f3471733 ICU-13757 Renaming skeleton methods fromSkeleton -> forSkeleton
X-SVN-Rev: 41393
2018-05-17 00:43:12 +00:00
Shane Carr
2e2805df9a ICU-13697 Renaming numparse_unisets.h to static_unicode_sets.h and refactoring to guarantee safety in no-data builds.
X-SVN-Rev: 41389
2018-05-16 22:46:40 +00:00
Jeff Genovy
523cbcd1dc ICU-13773 Double free in uspoof_openFromSerialized, plus other memory related fixes.
X-SVN-Rev: 41386
2018-05-16 20:38:05 +00:00
Shane Carr
955e0d9319 ICU-11897 Changing kPatternSeparatorSymbol to be a constant ";" and not loaded from data.
X-SVN-Rev: 41380
2018-05-16 01:01:22 +00:00
Shane Carr
cb34c90168 ICU-13737 Backpedaling on strict mode scientific parsing behavior change (do NOT require an exponent when parsing).
X-SVN-Rev: 41378
2018-05-15 21:14:09 +00:00
Shane Carr
b347a140ec ICU-13742 Implementing number skeletons in MessageFormat.
X-SVN-Rev: 41377
2018-05-15 00:05:04 +00:00
Shane Carr
c3fa4e91b5 ICU-12931 Removing erroneous #ifdef U_HIDE_INTERNAL_API in numfmt.h
X-SVN-Rev: 41376
2018-05-14 23:38:13 +00:00
Jeff Genovy
fd1b5db09c ICU-13725 Fix whitespace (tabs to spaces).
X-SVN-Rev: 41374
2018-05-13 22:25:06 +00:00
Jeff Genovy
31ead7f739 ICU-13725 Fix a few more MSVC warnings.
X-SVN-Rev: 41368
2018-05-09 07:51:43 +00:00
Shane Carr
f86a35be55 ICU-13644 Returning bogus string when toSkeleton() fails.
X-SVN-Rev: 41367
2018-05-09 02:26:14 +00:00
Shane Carr
3eb414943e ICU-13662 Minor fixes after r41365.
X-SVN-Rev: 41366
2018-05-09 02:04:21 +00:00
Shane Carr
fb94a3eb76 ICU-13662 Replying to code review feedback.
X-SVN-Rev: 41365
2018-05-09 02:00:22 +00:00
Shane Carr
3275a9c5d3 ICU-13437 Adding makeBogusString() utility function and returning bogus strings on failed FormattedNumber toString() calls.
X-SVN-Rev: 41361
2018-05-08 21:52:26 +00:00
Shane Carr
3afec22e3a ICU-13677 Fixing typo in numberformatter.h documentation.
X-SVN-Rev: 41360
2018-05-08 21:48:18 +00:00
Shane Carr
71baac1713 ICU-12572 Fixing some undefined behavior warnings in number code.
X-SVN-Rev: 41358
2018-05-08 07:59:41 +00:00
Shane Carr
cc5fca2744 ICU-13035 Adding test to ICU4C for padding code point.
X-SVN-Rev: 41339
2018-05-07 22:37:02 +00:00
Markus Scherer
8b67b86c79 ICU-12567 port NumberFormatTest.Test12567 to C++
X-SVN-Rev: 41335
2018-05-07 22:07:43 +00:00
Shane Carr
e27cf9ce39 ICU-13677 Changing NumberFormatter rounding setting to precision and roundingMode.
X-SVN-Rev: 41330
2018-05-05 06:32:29 +00:00
Shane Carr
bc9710aa8b ICU-13738 Makes DecimalFormat#toNumberFormatter() return by const-reference.
X-SVN-Rev: 41327
2018-05-05 01:47:12 +00:00
Shane Carr
a52fcd20f2 ICU-13597 Replying to UNumberFormatter code recatew comments.
X-SVN-Rev: 41321
2018-05-04 06:58:44 +00:00
Shane Carr
23bacf40c8 ICU-12572 Fixing undefined behavior in NullableValue assignment operator.
X-SVN-Rev: 41318
2018-05-03 09:26:15 +00:00
Shane Carr
f1e1a5c3f4 ICU-12572 Adding cpp-file definitions for all interface classes in number code, cleaning up an undefined behavior warning.
X-SVN-Rev: 41317
2018-05-03 09:13:46 +00:00
Shane Carr
ef26576a96 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
2018-05-03 09:02:39 +00:00
Shane Carr
a41f51ad5f ICU-12572 Undefined behavior fixes in number code.
X-SVN-Rev: 41315
2018-05-03 08:53:20 +00:00
Shane Carr
0a0d99ebc8 ICU-13662 Improving NumberFormatter field position method names and behavior.
X-SVN-Rev: 41313
2018-05-03 01:34:19 +00:00
Shane Carr
c035e5bd04 ICU-13700 Removing obsolete TODO comment.
X-SVN-Rev: 41312
2018-05-03 01:32:03 +00:00
Jeff Genovy
37e2209f66 ICU-13749 Fix issue with tabs to spaces in previous commit.
X-SVN-Rev: 41311
2018-05-02 20:46:17 +00:00
Jeff Genovy
600afe90c4 ICU-13749 Prevent double-free of mzMappings in ZoneMeta::createMetazoneMappings.
X-SVN-Rev: 41310
2018-05-02 20:40:07 +00:00
Jeff Genovy
275580806f ICU-13739 ICU4C does not report Out-of-Memory when iterating over the TZEnumeration.
X-SVN-Rev: 41309
2018-05-02 19:55:58 +00:00
Jeff Genovy
2d5e369e78 ICU-13725 Fix last remaining C4251 warnings/errors by bringing back the CurrencyPluralInfoWrapper.
X-SVN-Rev: 41308
2018-05-02 08:18:00 +00:00
Jeff Genovy
6a5349eaae ICU-13725 Fix more of the C4251 warnings.
X-SVN-Rev: 41307
2018-05-02 07:51:55 +00:00
Jeff Genovy
f5082ad3a7 ICU-13725 Fix many of the C4251 warnings by DLL-exporting explicit template instantiations.
X-SVN-Rev: 41306
2018-05-02 06:49:00 +00:00
Shane Carr
b840d51ed9 ICU-13716 Adding default return values after U_ASSERT(FALSE) to silence compiler warnings in non-debug builds.
X-SVN-Rev: 41305
2018-05-02 04:29:25 +00:00
Shane Carr
3d0bf4b9c7 ICU-13644 Replying to review feedback. Changing enum methods on NumberFormatter to take by value instead of const reference.
X-SVN-Rev: 41304
2018-05-02 03:49:35 +00:00
Shane Carr
215417117e ICU-13437 Adding error codes to NumberFormatter terminal methods.
X-SVN-Rev: 41296
2018-04-30 21:07:35 +00:00
Shane Carr
c9680037cc ICU-12572 Fixing signed overflow in decimalquantity.
X-SVN-Rev: 41293
2018-04-28 07:38:41 +00:00
Shane Carr
b20f7f3543 ICU-13725 Adding comments referencing ticket 13580.
X-SVN-Rev: 41291
2018-04-28 06:59:09 +00:00
Shane Carr
6545bac22d ICU-12931 Adding internal visibility ifdef around format(DecimalQuantity) methods in numfmt.h and decimfmt.h
X-SVN-Rev: 41285
2018-04-28 02:38:55 +00:00
Shane Carr
d5253cfcae ICU-13725 Responding to small code review comments.
X-SVN-Rev: 41283
2018-04-27 08:02:40 +00:00
Shane Carr
c13e7785c2 ICU-13725 Fixing NumberFormatter std::move test failure on MSVC.
X-SVN-Rev: 41282
2018-04-26 03:38:17 +00:00
Shane Carr
e77603e3c3 ICU-13725 Fixing various number test failures in MSVC.
X-SVN-Rev: 41281
2018-04-26 01:33:59 +00:00
Shane Carr
acbdeaf98e ICU-13725 Fixing field reference in compactdecimalformat.cpp, broken by previous commit.
X-SVN-Rev: 41280
2018-04-26 00:17:30 +00:00
Shane Carr
18bfb67a60 ICU-13725 Moving all DecimalFormat fields to an implementation class, eliminating many MSVC warnings.
X-SVN-Rev: 41279
2018-04-25 23:57:10 +00:00
Shane Carr
18ffd64c69 ICU-13725 Additional MSVC compatibility fixes.
X-SVN-Rev: 41278
2018-04-25 21:51:16 +00:00
Andy Heninger
9ba0aa2345 ICU-13634 Fix Macintosh build breakage.
X-SVN-Rev: 41277
2018-04-25 21:04:19 +00:00
Andy Heninger
72ae3d7d54 ICU-13634 Fix Macintosh build error - missing include.
X-SVN-Rev: 41276
2018-04-25 04:09:09 +00:00
Andy Heninger
5e2a40b4ce ICU-13634 Fix Macintosh build error - missing include.
X-SVN-Rev: 41275
2018-04-25 03:50:39 +00:00
Andy Heninger
09249d176b ICU-13634 Fix Macintosh build error - missing include.
X-SVN-Rev: 41274
2018-04-25 03:38:04 +00:00
Shane Carr
a256316990 ICU-13725 Additional MSVC compatibility fixes.
X-SVN-Rev: 41272
2018-04-25 00:39:22 +00:00
Shane Carr
a7bcbfc07c ICU-13725 Assorted minor changes to number formatting code for MSVC compatibility
X-SVN-Rev: 41271
2018-04-24 22:24:11 +00:00