]>
granicus.if.org Git - icu/log
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
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
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
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
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
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
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
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
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
Shane Carr [Wed, 25 Apr 2018 21:51:16 +0000 (21:51 +0000)]
ICU-13725 Additional MSVC compatibility fixes.
X-SVN-Rev: 41278
Andy Heninger [Wed, 25 Apr 2018 21:04:19 +0000 (21:04 +0000)]
ICU-13634 Fix Macintosh build breakage.
X-SVN-Rev: 41277
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
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
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
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
Shane Carr [Wed, 25 Apr 2018 00:39:22 +0000 (00:39 +0000)]
ICU-13725 Additional MSVC compatibility fixes.
X-SVN-Rev: 41272
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
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
Shane Carr [Tue, 24 Apr 2018 01:25:05 +0000 (01:25 +0000)]
ICU-13634 Fixing assorted build errors.
X-SVN-Rev: 41268
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
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
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
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
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
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
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
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
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
Shane Carr [Sat, 21 Apr 2018 06:00:56 +0000 (06:00 +0000)]
ICU-13634 A few more DecimalFormat optimizations.
X-SVN-Rev: 41257
Shane Carr [Sat, 21 Apr 2018 02:30:42 +0000 (02:30 +0000)]
ICU-13634 Merging trunk to branch
X-SVN-Rev: 41256
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
Shane Carr [Sat, 21 Apr 2018 02:18:33 +0000 (02:18 +0000)]
ICU-13634 Merging trunk to branch
X-SVN-Rev: 41254
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
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
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
Shane Carr [Thu, 19 Apr 2018 02:41:33 +0000 (02:41 +0000)]
ICU-13700 Fixing typo in APIdoc.
X-SVN-Rev: 41250
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
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
Shane Carr [Thu, 19 Apr 2018 00:14:17 +0000 (00:14 +0000)]
ICU-13700 APIDoc tweaks for getMultiplierScale/setMultiplierScale.
X-SVN-Rev: 41247
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Shane Carr [Sat, 14 Apr 2018 09:45:39 +0000 (09:45 +0000)]
ICU-13678 Renaming Multiplier to Scale.
X-SVN-Rev: 41231
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
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
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
Shane Carr [Sat, 14 Apr 2018 05:54:53 +0000 (05:54 +0000)]
ICU-13634 Refactoring new percentage parsing code.
X-SVN-Rev: 41227
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
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
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
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
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
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
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
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
Andy Heninger [Mon, 9 Apr 2018 21:42:14 +0000 (21:42 +0000)]
ICU-13692 add test for slow RBBI word boundaries in very long words.
X-SVN-Rev: 41213
Shane Carr [Sat, 7 Apr 2018 11:10:08 +0000 (11:10 +0000)]
ICU-13634 Fixing various issues in order to make currencies round-trip in strict mode.
X-SVN-Rev: 41212
Shane Carr [Sat, 7 Apr 2018 08:49:11 +0000 (08:49 +0000)]
ICU-13634 Fixing CurrencyPluralInfo support in formatting, allowing for currency long names to be formatted.
X-SVN-Rev: 41211
Andy Heninger [Sat, 7 Apr 2018 00:03:36 +0000 (00:03 +0000)]
ICU-13194 RBBI safe rule synthesis, merge to trunk.
X-SVN-Rev: 41210
Jeff Genovy [Fri, 6 Apr 2018 21:59:27 +0000 (21:59 +0000)]
ICU-13672 Fix Windows build break on UWP.
X-SVN-Rev: 41208
Shane Carr [Fri, 6 Apr 2018 21:46:18 +0000 (21:46 +0000)]
ICU-13684 Making DecimalMatcher no longer consume trailing grouping separators, which is consistent with previous behavior.
X-SVN-Rev: 41207
Markus Scherer [Fri, 6 Apr 2018 18:42:58 +0000 (18:42 +0000)]
ICU-13630 Unicode 11 beta (data from apr03); merged from branches/markus/uni11
X-SVN-Rev: 41206
Andy Heninger [Fri, 6 Apr 2018 17:31:18 +0000 (17:31 +0000)]
ICU-13630 WSegSpace, use word property value in rules definitions.
X-SVN-Rev: 41205
Shane Carr [Fri, 6 Apr 2018 09:35:16 +0000 (09:35 +0000)]
ICU-13634 Fixing DecimalQuantity call sites, first written in r41063, r41064, and r41098. RNBF test is passing again.
X-SVN-Rev: 41204
Andy Heninger [Fri, 6 Apr 2018 00:19:32 +0000 (00:19 +0000)]
ICU-13194 RBBI safe tables, improve code consistency between C++ and Java.
X-SVN-Rev: 41203
Andy Heninger [Fri, 6 Apr 2018 00:00:08 +0000 (00:00 +0000)]
ICU-13194 RBBI safe tables, improve code consistency between C++ and Java.
X-SVN-Rev: 41202
Shane Carr [Thu, 5 Apr 2018 23:44:03 +0000 (23:44 +0000)]
ICU-13672 Adding the toDouble test to Java with comments.
X-SVN-Rev: 41201
Shane Carr [Thu, 5 Apr 2018 22:00:10 +0000 (22:00 +0000)]
ICU-13672 Replacing % and / with std::div in toNumberString function.
X-SVN-Rev: 41200
Shane Carr [Thu, 5 Apr 2018 21:55:29 +0000 (21:55 +0000)]
ICU-13634 Removing stray #include added in r41136.
X-SVN-Rev: 41199
Shane Carr [Thu, 5 Apr 2018 21:54:04 +0000 (21:54 +0000)]
ICU-13678 Changing Multiplier to use decNumber instead of double, in order to fix some unit tests. Refactored call sites to use a common DecNum wrapper class with constructors for string, double, and BCD.
X-SVN-Rev: 41198
Markus Scherer [Thu, 5 Apr 2018 21:29:58 +0000 (21:29 +0000)]
ICU-13630 minor instructions update for numbering systems in CLDR
X-SVN-Rev: 41197
Andy Heninger [Thu, 5 Apr 2018 18:32:07 +0000 (18:32 +0000)]
ICU-13630 ICU4J RBBI updates for Unicode 11.
X-SVN-Rev: 41196
Markus Scherer [Thu, 5 Apr 2018 03:37:21 +0000 (03:37 +0000)]
ICU-13630 finish updating ICU4J except RBBI tests
X-SVN-Rev: 41195
Andy Heninger [Wed, 4 Apr 2018 23:37:43 +0000 (23:37 +0000)]
ICU-13630 Update RBBI for Unicode 11 data.
X-SVN-Rev: 41194
Shane Carr [Wed, 4 Apr 2018 01:26:18 +0000 (01:26 +0000)]
ICU-13678 Adding multiplier to skeleton string syntax.
X-SVN-Rev: 41193
Andy Heninger [Tue, 3 Apr 2018 23:41:28 +0000 (23:41 +0000)]
ICU-13194 RBBI safe tables, remove unnecessary Java/C++ differences.
X-SVN-Rev: 41192
Markus Scherer [Tue, 3 Apr 2018 23:09:49 +0000 (23:09 +0000)]
ICU-13630 Unicode 11 beta data apr02 (security apr03), fix ICU4C tests except RBBI
X-SVN-Rev: 41191
Andy Heninger [Tue, 3 Apr 2018 05:12:36 +0000 (05:12 +0000)]
ICU-13194 Safe tables, make C and Java code closer.
X-SVN-Rev: 41190
Andy Heninger [Tue, 3 Apr 2018 05:12:02 +0000 (05:12 +0000)]
ICU-13194 Safe tables, make C and Java code closer.
X-SVN-Rev: 41189
Shane Carr [Tue, 3 Apr 2018 04:38:16 +0000 (04:38 +0000)]
ICU-13678 Cleaning up multiplier implementation and adding public API.
X-SVN-Rev: 41188
Andy Heninger [Mon, 2 Apr 2018 20:54:56 +0000 (20:54 +0000)]
ICU-13194 RBBI safe table generation, all tests passing.
X-SVN-Rev: 41187
Andy Heninger [Mon, 2 Apr 2018 05:40:49 +0000 (05:40 +0000)]
ICU-13194 RBBI safe table Java port, regen data from ICU4C.
X-SVN-Rev: 41186
Andy Heninger [Sun, 1 Apr 2018 20:44:40 +0000 (20:44 +0000)]
ICU-13194 rbbi work, revert unneeded changes to UVector.
X-SVN-Rev: 41185
Shane Carr [Sat, 31 Mar 2018 05:18:51 +0000 (05:18 +0000)]
ICU-13634 Refactoring the two separate currency matchers into a single unified CombinedCurrencyMatcher. Allows for easy implementation of currency spacing (included in this changeset) and possibly other currency-related parsing features in the future.
X-SVN-Rev: 41181
Shane Carr [Sat, 31 Mar 2018 03:10:44 +0000 (03:10 +0000)]
ICU-13634 Fixing resolution of negative and percent signs in parsing; adding custom sign support to ScientificMatcher; and other minor fixes.
X-SVN-Rev: 41180
Shane Carr [Fri, 30 Mar 2018 10:37:24 +0000 (10:37 +0000)]
ICU-13634 More assorted number formatting/parsing fixes.
X-SVN-Rev: 41179
Shane Carr [Fri, 30 Mar 2018 08:21:06 +0000 (08:21 +0000)]
ICU-13634 Fixing significant digit display on zero when minInt is zero.
X-SVN-Rev: 41178
Shane Carr [Fri, 30 Mar 2018 07:22:24 +0000 (07:22 +0000)]
ICU-13634 Fixes for NumberFormatTest/TestExponential.
X-SVN-Rev: 41177
Shane Carr [Fri, 30 Mar 2018 07:17:11 +0000 (07:17 +0000)]
ICU-13634 Merging trunk to branch
X-SVN-Rev: 41176