]>
granicus.if.org Git - icu/log
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
Shane Carr [Fri, 30 Mar 2018 07:12:25 +0000 (07:12 +0000)]
ICU-13672 Enabling double_conversion StringToDoubleConverter and using it in DecimalQuantity's toDouble() function.
X-SVN-Rev: 41175
Shane Carr [Fri, 30 Mar 2018 04:28:53 +0000 (04:28 +0000)]
ICU-13634 Various fixes to fix remaining compatibility issues in data-driven test. Includes fix for a memory sanitizer issue.
X-SVN-Rev: 41174
Andy Heninger [Fri, 30 Mar 2018 01:14:59 +0000 (01:14 +0000)]
ICU-13194 RBBI safe table, fix C++ typos found during Java port.
X-SVN-Rev: 41173
Andy Heninger [Fri, 30 Mar 2018 01:12:50 +0000 (01:12 +0000)]
ICU-13194 RBBI safe tables Java port, work in progress.
X-SVN-Rev: 41172
Andy Heninger [Thu, 29 Mar 2018 16:12:12 +0000 (16:12 +0000)]
ICU-13194 RBBI safe tables, C cleanups found while porting.
X-SVN-Rev: 41171
Andy Heninger [Thu, 29 Mar 2018 16:09:26 +0000 (16:09 +0000)]
ICU-13194 RBBI safe tables, Java port, work in progress.
X-SVN-Rev: 41170
Shane Carr [Thu, 29 Mar 2018 00:47:26 +0000 (00:47 +0000)]
ICU-8610 Small fixes to API docs for C++ number skeletons.
X-SVN-Rev: 41169
Andy Heninger [Wed, 28 Mar 2018 22:07:24 +0000 (22:07 +0000)]
ICU-13194 RBBI, bump data version number. New reverse tables are not compatible.
X-SVN-Rev: 41168
Yoshito Umaoka [Wed, 28 Mar 2018 13:44:28 +0000 (13:44 +0000)]
ICU-13666 tzdata2018d updates to ICU trunk.
X-SVN-Rev: 41167
Andy Heninger [Wed, 28 Mar 2018 04:55:24 +0000 (04:55 +0000)]
ICU-13194 RBBI monkey test, add description of run parameters.
X-SVN-Rev: 41165
Shane Carr [Wed, 28 Mar 2018 03:42:12 +0000 (03:42 +0000)]
ICU-13597 Fixing safety of toUnicodeString() readonly aliases by moving that behavior to a new method, toTempUnicodeString().
X-SVN-Rev: 41164
Andy Heninger [Wed, 28 Mar 2018 01:20:13 +0000 (01:20 +0000)]
ICU-13194 RBBI auto reverse tables: size reduction, and remove hand written rules.
X-SVN-Rev: 41163
Shane Carr [Wed, 28 Mar 2018 01:08:47 +0000 (01:08 +0000)]
ICU-13634 Merging trunk to branch
X-SVN-Rev: 41162
Shane Carr [Wed, 28 Mar 2018 00:39:28 +0000 (00:39 +0000)]
ICU-13597 Reverting formatting changes to unicode/numberformatter.h introduced by r41156
X-SVN-Rev: 41161
Shane Carr [Tue, 27 Mar 2018 06:07:17 +0000 (06:07 +0000)]
ICU-13597 Small API tweaks.
X-SVN-Rev: 41160
Shane Carr [Tue, 27 Mar 2018 05:36:04 +0000 (05:36 +0000)]
ICU-13597 Adding support for field positions to the NumberFormatter C API.
X-SVN-Rev: 41159
Shane Carr [Tue, 27 Mar 2018 05:34:22 +0000 (05:34 +0000)]
ICU-13597 Bug fix: fraction digits were being marked as the INTEGER field in ICU4C.
X-SVN-Rev: 41158
Andy Heninger [Tue, 27 Mar 2018 05:03:10 +0000 (05:03 +0000)]
ICU-13194 RBBI safe tables, added another test.
X-SVN-Rev: 41157
Shane Carr [Tue, 27 Mar 2018 01:58:26 +0000 (01:58 +0000)]
ICU-13597 Adding initial C API for NumberFormatter. Not yet fully featured.
X-SVN-Rev: 41156
Andy Heninger [Mon, 26 Mar 2018 23:01:16 +0000 (23:01 +0000)]
ICU-13194 RBBI safe tables, all tests passing!
X-SVN-Rev: 41155
Shane Carr [Sat, 24 Mar 2018 08:06:34 +0000 (08:06 +0000)]
ICU-8610 API test is passing with the skeletons in C++. :)
X-SVN-Rev: 41154
Shane Carr [Sat, 24 Mar 2018 07:36:18 +0000 (07:36 +0000)]
ICU-8610 Adding skeletons to NumberFormatterApiTest. The test currently runs with a handful of failures that need investigation.
X-SVN-Rev: 41153
Shane Carr [Sat, 24 Mar 2018 05:46:28 +0000 (05:46 +0000)]
ICU-8610 Adding tests for number skeletons in C++. Adding error code handling to the setToDecNumber setter on DecimalQuantity. Refactoring char-to-uchar conversion in skeleton implementation code.
X-SVN-Rev: 41152
Shane Carr [Sat, 24 Mar 2018 05:41:10 +0000 (05:41 +0000)]
ICU-13661 Adding "scope" option to IcuTestErrorCode.
X-SVN-Rev: 41151
Andy Heninger [Fri, 23 Mar 2018 22:51:39 +0000 (22:51 +0000)]
ICU-13660 add atomic_inc & dec tests.
X-SVN-Rev: 41148
Andy Heninger [Fri, 23 Mar 2018 20:43:21 +0000 (20:43 +0000)]
ICU-13659 Remove problematic UnifiedCache assertion checks.
X-SVN-Rev: 41145
Shane Carr [Fri, 23 Mar 2018 10:07:38 +0000 (10:07 +0000)]
ICU-8610 C++ number skeleton code is building. Testing is next.
X-SVN-Rev: 41144