]>
granicus.if.org Git - icu/log
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
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
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
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
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
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
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
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
Yoshito Umaoka [Wed, 28 Mar 2018 13:44:28 +0000 (13:44 +0000)]
ICU-13666 tzdata2018d updates to ICU trunk.
X-SVN-Rev: 41167
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
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
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
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
Shane Carr [Fri, 23 Mar 2018 07:51:52 +0000 (07:51 +0000)]
ICU-8610 More general progress in C++; generation code is largely implemented. Probably not building yet.
X-SVN-Rev: 41143
Shane Carr [Fri, 23 Mar 2018 06:46:19 +0000 (06:46 +0000)]
ICU-8610 Dirty commit of C++ work so far. Probably does not build.
X-SVN-Rev: 41142
Shane Carr [Fri, 23 Mar 2018 04:40:01 +0000 (04:40 +0000)]
ICU-8610 Refactoring and renaming entities in Java implementation. Adding lots of comments. Should be ready to start C++ port.
X-SVN-Rev: 41141
Shane Carr [Fri, 23 Mar 2018 03:44:18 +0000 (03:44 +0000)]
ICU-8610 Removing last bit of old hash map data structure from number skeleton code.
X-SVN-Rev: 41140
Shane Carr [Fri, 23 Mar 2018 01:54:25 +0000 (01:54 +0000)]
ICU-8610 Refactoring stem switch statement to use helper methods.
X-SVN-Rev: 41139
Shane Carr [Fri, 23 Mar 2018 01:14:56 +0000 (01:14 +0000)]
ICU-8610 Changing parsing state variable from "CharSequence content" to "StringSegment segment" for easier portability. In C++, the segment will be marked const in the arguments.
X-SVN-Rev: 41138
Shane Carr [Fri, 23 Mar 2018 00:58:31 +0000 (00:58 +0000)]
ICU-8610 Changing to CharsTrie implementation for stem lookup for better portability to C++.
X-SVN-Rev: 41137
Shane Carr [Fri, 23 Mar 2018 00:56:16 +0000 (00:56 +0000)]
ICU-13634 Adding integer overflow logic to ICU4C number pipeline in places where it is in ICU4J.
X-SVN-Rev: 41136
Shane Carr [Wed, 21 Mar 2018 09:48:55 +0000 (09:48 +0000)]
ICU-13634 Parsing wrapper is working; data-driven file is updated and passing. The C++ and Java implementations have almost identical behavior according to the data-driven test file, with the only differences seeming to involve overflow and extremely large numbers.
X-SVN-Rev: 41134
Shane Carr [Wed, 21 Mar 2018 06:33:37 +0000 (06:33 +0000)]
ICU-13634 C and J, removing the obsolete "optimize" parameter for NumberParserImpl.
X-SVN-Rev: 41132
Shane Carr [Wed, 21 Mar 2018 06:30:29 +0000 (06:30 +0000)]
ICU-13634 Changes NumberParseMatcher getLeadCodePoints() to smokeTest() in C++ and Java. The new method is more versatile and eliminates the requirement to maintain two code paths for "lead chars" and "no lead chars".
X-SVN-Rev: 41131
Shane Carr [Wed, 21 Mar 2018 05:17:28 +0000 (05:17 +0000)]
ICU-13644 Property mapper for parsing is building. Refactoring CurrencySymbols a bit.
X-SVN-Rev: 41130
Shane Carr [Wed, 21 Mar 2018 01:37:18 +0000 (01:37 +0000)]
ICU-13644 Minor refactoring changes in ICU4J.
X-SVN-Rev: 41129
Shane Carr [Sat, 17 Mar 2018 07:24:02 +0000 (07:24 +0000)]
ICU-13644 Adds move operators and related boilerplate to NumberFormatter classes. Includes a handful of other changes made to these files on my branch for ICU-13634 .
X-SVN-Rev: 41121
Shane Carr [Sat, 17 Mar 2018 07:23:08 +0000 (07:23 +0000)]
ICU-13634 Formatting section of data-driven test file is passing.
X-SVN-Rev: 41120
Shane Carr [Sat, 17 Mar 2018 01:31:52 +0000 (01:31 +0000)]
ICU-13634 Adding pipeline for custom currency symbols.
X-SVN-Rev: 41119
Shane Carr [Fri, 16 Mar 2018 21:53:08 +0000 (21:53 +0000)]
ICU-13648 Moving double_conversion into ICU namespace to fix name mangling.
X-SVN-Rev: 41116
Shane Carr [Fri, 16 Mar 2018 09:20:43 +0000 (09:20 +0000)]
ICU-13634 Fixing remaining build warnings. In principle, formatting should work fully. Not yet tested.
X-SVN-Rev: 41109
Shane Carr [Thu, 15 Mar 2018 10:08:26 +0000 (10:08 +0000)]
ICU-13634 The property mapper appears to be basically functional; data passes from the old API through the mapper into the new API and then back out through the old API again.
X-SVN-Rev: 41108
Shane Carr [Thu, 15 Mar 2018 07:46:56 +0000 (07:46 +0000)]
ICU-13634 Number property mapper is building. Currently there is a linker error.
X-SVN-Rev: 41107
Steven R. Loomis [Wed, 14 Mar 2018 20:45:39 +0000 (20:45 +0000)]
ICU-13083 update escaper per feedback, remerge r41105
X-SVN-Rev: 41106
Shane Carr [Wed, 14 Mar 2018 10:41:27 +0000 (10:41 +0000)]
ICU-13634 Implementing localized pattern converter and other pieces.
X-SVN-Rev: 41104
Shane Carr [Wed, 14 Mar 2018 09:15:27 +0000 (09:15 +0000)]
ICU-13634 Filling in decimfmt.cpp with implementation ported from Java.
X-SVN-Rev: 41103
Shane Carr [Wed, 14 Mar 2018 06:10:22 +0000 (06:10 +0000)]
ICU-13634 Adding class for slow exhaustive number tests and adding a test for ICU-13616
X-SVN-Rev: 41102
Shane Carr [Tue, 13 Mar 2018 23:37:02 +0000 (23:37 +0000)]
ICU-13640 Updating license files.
X-SVN-Rev: 41101
Shane Carr [Tue, 13 Mar 2018 10:11:36 +0000 (10:11 +0000)]
ICU-13634 Filling in more methods in decimfmt.cpp
X-SVN-Rev: 41100
Shane Carr [Tue, 13 Mar 2018 09:25:41 +0000 (09:25 +0000)]
ICU-13634 Adding new field structure to DecimalFormat and wiring up constructors.
X-SVN-Rev: 41099
Shane Carr [Tue, 13 Mar 2018 08:12:05 +0000 (08:12 +0000)]
ICU-13634 Temporarily deleting all old number formatting implementation code. Pieces will be restored as needed. ICU4C builds, including tests, but won't run. Changes in plurfmt.cpp and plurrule.cpp are not tested. numberformat2test.cpp is unlinked but not deleted.
X-SVN-Rev: 41098
Shane Carr [Tue, 13 Mar 2018 02:19:25 +0000 (02:19 +0000)]
ICU-13402 Adding NumberFormatter pointers to compactdecimalformat.h
X-SVN-Rev: 41097
Shane Carr [Tue, 13 Mar 2018 02:14:29 +0000 (02:14 +0000)]
ICU-13402 Tweaking NumberFormatter pointers and adding additional pointers on the factory methods in ICU4C and ICU4J.
X-SVN-Rev: 41096
Jeff Genovy [Tue, 13 Mar 2018 01:10:11 +0000 (01:10 +0000)]
ICU-13636 The VS2017 optimizer has issues with this function. Disable optimizations for now as a work-around.
X-SVN-Rev: 41095
Markus Scherer [Fri, 9 Mar 2018 19:02:32 +0000 (19:02 +0000)]
ICU-13581 roll back API change report r41087 -- misunderstanding
X-SVN-Rev: 41089
Andy Heninger [Fri, 9 Mar 2018 18:39:14 +0000 (18:39 +0000)]
ICU-13632 regex out-of-bounds memory reference fix.
X-SVN-Rev: 41088
Fredrik Roubert [Fri, 9 Mar 2018 13:22:01 +0000 (13:22 +0000)]
ICU-13581 ICU 61 BRS, update API change report for release-61-rc tag.
X-SVN-Rev: 41087
Andy Heninger [Thu, 8 Mar 2018 18:32:15 +0000 (18:32 +0000)]
ICU-13631 Regex Address Sanitizer fix.
X-SVN-Rev: 41086
Shane Carr [Thu, 8 Mar 2018 07:15:29 +0000 (07:15 +0000)]
ICU-13634 Adding docstring to CompactData.java
X-SVN-Rev: 41085
Shane Carr [Thu, 8 Mar 2018 00:20:31 +0000 (00:20 +0000)]
ICU-13574 Revising codePointZero loading based on feedback.
X-SVN-Rev: 41082
Shane Carr [Wed, 7 Mar 2018 22:28:36 +0000 (22:28 +0000)]
ICU-13461 Removing obsolete comment in StringSegment.java
X-SVN-Rev: 41081
Yoshito Umaoka [Wed, 7 Mar 2018 22:05:02 +0000 (22:05 +0000)]
ICU-13581 Updated ICU4J readme for 61RC.
X-SVN-Rev: 41080
Peter Edberg [Wed, 7 Mar 2018 19:48:51 +0000 (19:48 +0000)]
ICU-13581 Update ICU4C 61 API change report for DecimalFormatSymbols::getConstSymbol status reversion in r41076
X-SVN-Rev: 41079
Yoshito Umaoka [Wed, 7 Mar 2018 19:30:29 +0000 (19:30 +0000)]
ICU-13581 Syncnronize ICU_DATA_VERSION with ICU_VERSION
X-SVN-Rev: 41078
Shane Carr [Wed, 7 Mar 2018 18:24:34 +0000 (18:24 +0000)]
ICU-13574 Reverting change of DecimalFormatSymbols::getConstSymbol to @draft from @internal.
X-SVN-Rev: 41076
Peter Edberg [Tue, 6 Mar 2018 23:41:20 +0000 (23:41 +0000)]
ICU-13581 ICU4C 61rc BRS, update U_HIDE_ conditionals
X-SVN-Rev: 41075
Norbert Runge [Tue, 6 Mar 2018 23:13:49 +0000 (23:13 +0000)]
ICU-13581 Make tests work, not crash, when run without ICU data
X-SVN-Rev: 41073
Yoshito Umaoka [Tue, 6 Mar 2018 21:08:46 +0000 (21:08 +0000)]
ICU-13581 Added 61.1 serialization compatibility test data, deleted 56.1.
X-SVN-Rev: 41072
Yoshito Umaoka [Tue, 6 Mar 2018 20:10:09 +0000 (20:10 +0000)]
ICU-13581 Added 61 api signature file, purged very old api signature files. Fixed an issue DeprecatedAPIChecker. Fixed API doc problem in RBBIDataWrapper.
X-SVN-Rev: 41071
Norbert Runge [Tue, 6 Mar 2018 18:40:12 +0000 (18:40 +0000)]
ICU-13624 Public header build failures
X-SVN-Rev: 41070
Yoshito Umaoka [Tue, 6 Mar 2018 18:00:29 +0000 (18:00 +0000)]
ICU-13581 Updated currency/numeric code data.
X-SVN-Rev: 41069
Andy Heninger [Mon, 5 Mar 2018 19:43:03 +0000 (19:43 +0000)]
ICU-13598 fix byte order bug in RBBI data wrapper.
X-SVN-Rev: 41068
Shane Carr [Mon, 5 Mar 2018 09:28:58 +0000 (09:28 +0000)]
ICU-13567 Bringing C/J numberformattestspecification.txt back in sync
X-SVN-Rev: 41067
Peter Edberg [Mon, 5 Mar 2018 05:02:58 +0000 (05:02 +0000)]
ICU-13581 ICU 61 BRS, update API change report to clarify some numberformatter.h draft status
X-SVN-Rev: 41065
Shane Carr [Sat, 3 Mar 2018 10:53:01 +0000 (10:53 +0000)]
ICU-13574 Replacing DigitList with DecimalQuantity through most of the code base.
X-SVN-Rev: 41064
Shane Carr [Sat, 3 Mar 2018 08:26:58 +0000 (08:26 +0000)]
ICU-13574 Replacing decimfmt.cpp and compactdecimalformat.cpp with new, empty files. Removing most private and internal functions from decimfmt.h, and updating call sites to use newer API.
X-SVN-Rev: 41063
Shane Carr [Sat, 3 Mar 2018 07:42:26 +0000 (07:42 +0000)]
ICU-13574 Adding U_OVERRIDE to decimfmt.h and other assorted changes in that file.
X-SVN-Rev: 41062
Shane Carr [Sat, 3 Mar 2018 07:22:22 +0000 (07:22 +0000)]
ICU-13574 Merging trunk to branch
X-SVN-Rev: 41061
Shane Carr [Sat, 3 Mar 2018 05:35:31 +0000 (05:35 +0000)]
ICU-13620 Adding comment.
X-SVN-Rev: 41057
Shane Carr [Sat, 3 Mar 2018 05:28:05 +0000 (05:28 +0000)]
ICU-13620 Fix typo.
X-SVN-Rev: 41056
Shane Carr [Sat, 3 Mar 2018 05:25:58 +0000 (05:25 +0000)]
ICU-13620 Making MeasureUnit.getAvailable(type) return a Collection-based instead of Set-based data structure for better performance.
X-SVN-Rev: 41055
Shane Carr [Sat, 3 Mar 2018 02:54:24 +0000 (02:54 +0000)]
ICU-8610 Adding more tests; normalized skeleton implementation; minor tweaks.
X-SVN-Rev: 41054
Jeff Genovy [Sat, 3 Mar 2018 02:03:38 +0000 (02:03 +0000)]
ICU-13581 Update readme for Windows build instructions for VS2015.
X-SVN-Rev: 41053
Jeff Genovy [Fri, 2 Mar 2018 19:28:51 +0000 (19:28 +0000)]
ICU-13586 Fix build break for Windows.
X-SVN-Rev: 41051
Jeff Genovy [Fri, 2 Mar 2018 03:20:22 +0000 (03:20 +0000)]
ICU-13586 No actual code changes. This change cleans up redundancies in the VS project files, and pulls in common or shared settings from a shared 'props' file. This means that you can now change one single file to target either VS2015 or VS2017, instead of needing to change many files. It also allows the VS project files to share common defines as well, meaning that if you need to target something other than Windows 7, you can make one change in one file, instead of needing to make hundreds. Also included in this change are improvements to the VS Solution files in order to properly denote the dependencies of the projects, which might be needed in the future for possible parallel project builds.
X-SVN-Rev: 41049
Markus Scherer [Fri, 2 Mar 2018 01:07:57 +0000 (01:07 +0000)]
ICU-13581 pool bundles update, take 2 for Java
X-SVN-Rev: 41046
Markus Scherer [Fri, 2 Mar 2018 00:41:32 +0000 (00:41 +0000)]
ICU-13581 pool bundles update
X-SVN-Rev: 41045
Markus Scherer [Fri, 2 Mar 2018 00:37:43 +0000 (00:37 +0000)]
ICU-13606 fix Java 6 build breakage
X-SVN-Rev: 41044
Andy Heninger [Thu, 1 Mar 2018 23:11:18 +0000 (23:11 +0000)]
ICU-13581 Fix AIX porting problem w range for loop.
X-SVN-Rev: 41043
Andy Heninger [Thu, 1 Mar 2018 21:00:46 +0000 (21:00 +0000)]
ICU-13541 rbbi.cpp, try again to fix xlC build problem.
X-SVN-Rev: 41042