]>
granicus.if.org Git - icu/log
Yoshito Umaoka [Fri, 27 Jul 2018 21:20:55 +0000 (17:20 -0400)]
ICU-13413 Migrating some Utility class methods with Java 7 Objects class method
Previously, some developers accidentally introduced Java 7 Objects class utility methods. At that time, we once added Java 6 compatible implementation in com.ibm.icu.impl.Utility class. Now, we use Java 7 as the minimum supported Java version, so we can use Java 7 Objects class and methods.
There are some extra changes dropping generics type from constructor. For example from `ArrayList<String> output = new ArrayList<String>();` to `ArrayList<String> output = new ArrayList<>();`. The updated syntax is allowed since Java 7. We have eclipse project configured to normalize such expression, therefore, files touched by this commit were automatically updated. These changes are not directly related to Java 7 Objects method replacement.
Yoshito Umaoka [Fri, 27 Jul 2018 20:30:52 +0000 (16:30 -0400)]
ICU-13413 Java 7 migration in build scripts and eclipse project files
- Updated javac/javadoc source and target Java version to 1.7.
- Eclipse projects to use execution environment JavaSE-1.7.
- Replaced java6.bootclasspath with java7.bootclasspath.
- Removed pre-Java 7 conditional build targets.
- Deleted stylesheet for JDK6 build.
Hugh McMaster [Tue, 24 Jul 2018 22:53:46 +0000 (08:53 +1000)]
ICU-10464 Make installation of icu-config optional (#13)
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Originally ICU-20030
Jeff Genovy [Wed, 18 Jul 2018 19:15:43 +0000 (12:15 -0700)]
ICU-13813 Windows icucheck.bat script does not handle if the tests crash while executing. (#12)
Fix the `icucheck.bat` script (used to run the ICU4C tests on Windows) so that it handles the case where a test crashes while executing.
Steven R. Loomis [Wed, 18 Jul 2018 18:46:23 +0000 (11:46 -0700)]
ICU-20032 re-enable Travis (#10)
- From https://github.com/aheninger/icu-trunk-exp by @aheninger
Jeff Genovy [Wed, 27 Jun 2018 19:25:52 +0000 (19:25 +0000)]
ICU-13778 DataTimePatternGenerator code refactor. Handle Out-of-Memory (OOM) errors, use LocalPointer to prevent memory leaks when OOM occurs, use an internal error code to better report errors during clone and copy construction, mark helper methods and parameters as const, use nullptr instead of NULL, minor spelling and formatting changes. (Note: All tests pass on Windows and Linux).
X-SVN-Rev: 41552
Jeff Genovy [Wed, 27 Jun 2018 19:02:09 +0000 (19:02 +0000)]
ICU-13814 Visual Studio IntelliSense should ignore the 'urename.h' content so that 'Go-to-Definition' (F12) will actually work in the IDE.
X-SVN-Rev: 41551
Markus Scherer [Sun, 24 Jun 2018 21:12:22 +0000 (21:12 +0000)]
ICU-13851 case mapping data: when fetching delta make sure to read from start of exceptional values
X-SVN-Rev: 41550
Shane Carr [Sat, 23 Jun 2018 02:09:42 +0000 (02:09 +0000)]
ICU-13850 Fixing behavior of ICU4C DecimalFormat#setCurrency() to accept an empty string.
X-SVN-Rev: 41549
Fredrik Roubert [Thu, 21 Jun 2018 20:17:22 +0000 (20:17 +0000)]
ICU-13766 Make UnicodeMapTest#TestUnicodeMapGeneralCategory smaller.
There are 0x10FFFF code points and this test allocates memory for every
code point tested. Testing every single one of them is therefore memory
intensive and slow, without adding any real value to the test.
Instead an equivalent test coverage can be achieved by testing a much
smaller set of ranges of code points that cover all categories.
X-SVN-Rev: 41547
Shane Carr [Tue, 19 Jun 2018 21:52:52 +0000 (21:52 +0000)]
ICU-13840 Fixing memory overflow issue in number_decimalquantity.cpp and adding tests.
X-SVN-Rev: 41541
Peter Edberg [Fri, 15 Jun 2018 01:12:52 +0000 (01:12 +0000)]
ICU-13823 ICU 62.1 BRS, update measurement unit constants for release-33-1-d03 (deletes VES)
X-SVN-Rev: 41528
Andy Heninger [Thu, 14 Jun 2018 23:12:42 +0000 (23:12 +0000)]
ICU-13593 Fix heap-buffer-overflow in TestIDNAMonkeyTest
X-SVN-Rev: 41526
Peter Edberg [Thu, 14 Jun 2018 22:33:37 +0000 (22:33 +0000)]
ICU-13823 Integrate data from cldr/tags/release-33-1-d03 to ICU trunk for ICU62 final
X-SVN-Rev: 41525
Shane Carr [Thu, 14 Jun 2018 20:29:11 +0000 (20:29 +0000)]
ICU-13835 Fixing C++17 compiler error.
X-SVN-Rev: 41523
Fredrik Roubert [Wed, 13 Jun 2018 17:00:44 +0000 (17:00 +0000)]
ICU-13818 Add virtual destructor for class TokenConsumer.
X-SVN-Rev: 41519
Andy Heninger [Mon, 11 Jun 2018 03:56:58 +0000 (03:56 +0000)]
ICU-13828 DecimalFormat Error Code handling cleanups.
X-SVN-Rev: 41515
Jeff Genovy [Sat, 9 Jun 2018 01:49:30 +0000 (01:49 +0000)]
ICU-13826 Timezone detection fails on Windows on non-English systems.
X-SVN-Rev: 41514
Yoshito Umaoka [Wed, 6 Jun 2018 23:02:35 +0000 (23:02 +0000)]
ICU-13822 Updated ICU4J data - removing VES.
X-SVN-Rev: 41512
Yoshito Umaoka [Wed, 6 Jun 2018 22:51:56 +0000 (22:51 +0000)]
ICU-13822 Removed VES from currency-numeric data for 62 release. CLDR 33.1 decided to defer this to later time.
X-SVN-Rev: 41511
Andy Heninger [Mon, 4 Jun 2018 21:04:14 +0000 (21:04 +0000)]
ICU-13816 Windows compiler warning fix.
X-SVN-Rev: 41504
Andy Heninger [Fri, 1 Jun 2018 01:19:38 +0000 (01:19 +0000)]
ICU-13807 ICU 62 No Data Testing fixes. Mostly to test code.
X-SVN-Rev: 41500
Shane Carr [Fri, 1 Jun 2018 01:02:49 +0000 (01:02 +0000)]
ICU-13804 Fixing memory leak from r41497.
X-SVN-Rev: 41499
Shane Carr [Fri, 1 Jun 2018 00:48:18 +0000 (00:48 +0000)]
ICU-13804 Fixing test failure from r41497.
X-SVN-Rev: 41498
Shane Carr [Fri, 1 Jun 2018 00:31:54 +0000 (00:31 +0000)]
ICU-13804 Making number parsing code more robust when given empty symbol strings.
X-SVN-Rev: 41497
Peter Edberg [Thu, 31 May 2018 23:11:53 +0000 (23:11 +0000)]
ICU-13667 ICU 62rc BRS, edit ICU4C APIChangeReport.html for scale status, group changes for (const enum&) > (enum)
X-SVN-Rev: 41496
Shane Carr [Thu, 31 May 2018 22:04:08 +0000 (22:04 +0000)]
ICU-13667 Making =delete APIdocs consistent in numberformatter.h
X-SVN-Rev: 41495
Norbert Runge [Thu, 31 May 2018 21:53:43 +0000 (21:53 +0000)]
ICU-13667 Fixes compilation errors related to UCONFIG_NO_XXX flag variations.
X-SVN-Rev: 41494
Shane Carr [Thu, 31 May 2018 21:32:35 +0000 (21:32 +0000)]
ICU-13667 Fixing incorrect version tag on scale() setter.
X-SVN-Rev: 41493
Peter Edberg [Thu, 31 May 2018 19:09:19 +0000 (19:09 +0000)]
ICU-13667 ICU 62rc BRS, edit ICU4C APIChangeReport.html to remove const>const& and =delete, add note about Rounder>Precision
X-SVN-Rev: 41492
Peter Edberg [Wed, 30 May 2018 22:45:26 +0000 (22:45 +0000)]
ICU-13667 ICU 62rc BRS, update guard conditionals for non-stable API part 2 (common,io pass 1)
X-SVN-Rev: 41491
Shane Carr [Wed, 30 May 2018 22:11:12 +0000 (22:11 +0000)]
ICU-13667 Updating APIChangeReport.html with Rounder renamed to Precision.
X-SVN-Rev: 41490
Shane Carr [Wed, 30 May 2018 21:27:07 +0000 (21:27 +0000)]
ICU-13667 Making new DecimalFormat constructor private.
X-SVN-Rev: 41489
Shane Carr [Wed, 30 May 2018 19:20:24 +0000 (19:20 +0000)]
ICU-13667 Adding unumberformatter.h to the doxygen front page
X-SVN-Rev: 41488
Markus Scherer [Wed, 30 May 2018 19:15:02 +0000 (19:15 +0000)]
ICU-13667 LocalizedNumberFormatterAsFormat is in the old Format class hierarchy, add ClassID boilerplate; NoUnit move virtual destructor up into first-virtual position, right after constructors
X-SVN-Rev: 41487
Peter Edberg [Wed, 30 May 2018 18:39:29 +0000 (18:39 +0000)]
ICU-13667 ICU 62rc BRS, update guard conditionals for non-stable API part 1 (i18n pass 1)
X-SVN-Rev: 41486
Norbert Runge [Wed, 30 May 2018 14:40:13 +0000 (14:40 +0000)]
ICU-13667 Moves digits_t, DEFAULT_THRESHOLD, and copyErrorTo() outside of U_HIDE_INTERNAL_API.
X-SVN-Rev: 41485
Peter Edberg [Wed, 30 May 2018 04:37:30 +0000 (04:37 +0000)]
ICU-13667 ICU 62rc BRS, update ICU4C APIChangeReport.html, generated from r41483
X-SVN-Rev: 41484
Shane Carr [Wed, 30 May 2018 03:34:41 +0000 (03:34 +0000)]
ICU-8610 Responding to number skeleton code review feedback.
X-SVN-Rev: 41483
Peter Edberg [Wed, 30 May 2018 03:34:29 +0000 (03:34 +0000)]
ICU-13667 ICU 62rc BRS, update urename.h
X-SVN-Rev: 41482
Peter Edberg [Wed, 30 May 2018 01:22:52 +0000 (01:22 +0000)]
ICU-13667 ICU 62rc BRS, update measurement unit constants
X-SVN-Rev: 41481
Jeff Genovy [Wed, 30 May 2018 00:49:34 +0000 (00:49 +0000)]
ICU-13667 Fix Samples test script for ucnv project.
X-SVN-Rev: 41480
Peter Edberg [Tue, 29 May 2018 22:33:10 +0000 (22:33 +0000)]
ICU-13792 Integrate data from cldr/tags/release-33-1-d02 to ICU trunk for ICU62rc
X-SVN-Rev: 41479
Yoshito Umaoka [Tue, 29 May 2018 21:26:24 +0000 (21:26 +0000)]
ICU-13667 BRS62 - Added ICU 62 serialization test data, removed ICU 57.
X-SVN-Rev: 41478
Yoshito Umaoka [Tue, 29 May 2018 21:12:48 +0000 (21:12 +0000)]
ICU-13667 BRS62 - added ICU4J 62 API signature file (and deleted ICU4J 52 API signature file).
X-SVN-Rev: 41477
Yoshito Umaoka [Tue, 29 May 2018 21:07:31 +0000 (21:07 +0000)]
ICU-13667 Updated API change report, fixed API report tool to handle 5 letter sub-package (number) properly.
X-SVN-Rev: 41476
Yoshito Umaoka [Tue, 29 May 2018 19:34:43 +0000 (19:34 +0000)]
ICU-13667 BRS62 Clean up import statements.
X-SVN-Rev: 41475
Yoshito Umaoka [Tue, 29 May 2018 17:26:56 +0000 (17:26 +0000)]
ICU-13667 Currency numeric code update for ICU 62 - added VES that will be effective on June 4.
X-SVN-Rev: 41474
Yoshito Umaoka [Tue, 29 May 2018 17:06:21 +0000 (17:06 +0000)]
ICU-13667 Fixing compiler warnings and API doc issues.
X-SVN-Rev: 41473
Jeff Genovy [Tue, 29 May 2018 01:59:42 +0000 (01:59 +0000)]
ICU-13788 Fixing issue with accidental UErrorCode conversion to UBool.
X-SVN-Rev: 41472
Jeff Genovy [Sun, 27 May 2018 03:08:42 +0000 (03:08 +0000)]
ICU-13788 Remove trailing semicolon that causes compiler warning.
X-SVN-Rev: 41471
Jeff Genovy [Sun, 27 May 2018 03:07:57 +0000 (03:07 +0000)]
ICU-13788 Fix compiler error C4251 on Windows (MSVC, Clang, MinGW).
X-SVN-Rev: 41470
Jeff Genovy [Sat, 26 May 2018 19:23:18 +0000 (19:23 +0000)]
ICU-13667 Update filters for VS project file for numberformatter.
X-SVN-Rev: 41469
Jeff Genovy [Fri, 25 May 2018 23:47:51 +0000 (23:47 +0000)]
ICU-13667 Fix discrepancy in text in 'configure'.
X-SVN-Rev: 41468
Jeff Genovy [Fri, 25 May 2018 23:39:14 +0000 (23:39 +0000)]
ICU-13667 Update ICU4J version number for 62.1 release candidate, and readme file.
X-SVN-Rev: 41467
Markus Scherer [Fri, 25 May 2018 23:39:01 +0000 (23:39 +0000)]
ICU-13630 update spoof checker inclusion/recommended sets from Unicode 9 to Unicode 11
X-SVN-Rev: 41466
Shane Carr [Fri, 25 May 2018 22:54:48 +0000 (22:54 +0000)]
ICU-13788 Fixing number_decimfmtprops C++ dependency issue.
X-SVN-Rev: 41465
Shane Carr [Fri, 25 May 2018 21:29:59 +0000 (21:29 +0000)]
ICU-13788 Fixing numparse_impl C++ dependency issues.
X-SVN-Rev: 41464
Jeff Genovy [Fri, 25 May 2018 21:29:10 +0000 (21:29 +0000)]
ICU-13667 Update ICU4C version number for 62.1 release candidate.
X-SVN-Rev: 41463
Markus Scherer [Fri, 25 May 2018 18:18:15 +0000 (18:18 +0000)]
ICU-13630 script metadata: Mongolian -> exclusion
X-SVN-Rev: 41462
Markus Scherer [Fri, 25 May 2018 17:57:30 +0000 (17:57 +0000)]
ICU-13667 update/fix/improve dependencies; better layering formatting->numberparser->numberformatter->number_representation
X-SVN-Rev: 41461
Jeff Genovy [Fri, 25 May 2018 07:27:56 +0000 (07:27 +0000)]
ICU-13775 Fix build issues on MinGW and Clang-for-Windows (with exported template instantiations).
X-SVN-Rev: 41460
Shane Carr [Fri, 25 May 2018 03:01:38 +0000 (03:01 +0000)]
ICU-13788 Minor coverity fixes for number code.
X-SVN-Rev: 41459
Shane Carr [Fri, 25 May 2018 02:27:51 +0000 (02:27 +0000)]
ICU-13788 Improving error message printing in DateFmtPerf.cpp
X-SVN-Rev: 41458
Shane Carr [Fri, 25 May 2018 00:26:00 +0000 (00:26 +0000)]
ICU-13722 Removing obsolete constructs FmtStackData and UCONFIG_FORMAT_FASTPATHS_49.
X-SVN-Rev: 41457
Shane Carr [Thu, 24 May 2018 21:28:11 +0000 (21:28 +0000)]
ICU-13677 Fixing up apidoc strings for precision setting.
X-SVN-Rev: 41456
Jeff Genovy [Thu, 24 May 2018 07:35:20 +0000 (07:35 +0000)]
ICU-13698 Add "samplecheck.bat" script, similar to "icucheck.bat" to run the ICU4C samples.
X-SVN-Rev: 41454
Jeff Genovy [Thu, 24 May 2018 05:59:09 +0000 (05:59 +0000)]
ICU-13556 Add missing order-only prerequisite in data/Makefile.in
X-SVN-Rev: 41453
Jeff Genovy [Thu, 24 May 2018 05:54:49 +0000 (05:54 +0000)]
ICU-13785 Adding dependency information to uconv project to prevent "NMAKE : fatal error U1077" on Win/VS builds.
X-SVN-Rev: 41452
Peter Edberg [Thu, 24 May 2018 05:52:01 +0000 (05:52 +0000)]
ICU-12936 Make RelativeDateTimeFormatter handle offset of -0
X-SVN-Rev: 41451
Shane Carr [Thu, 24 May 2018 04:35:16 +0000 (04:35 +0000)]
ICU-13736 Change number parsing to require locale currency when using non-currency parse function.
X-SVN-Rev: 41450
Shane Carr [Thu, 24 May 2018 04:31:06 +0000 (04:31 +0000)]
ICU-11739 Replying to Andy code review comments.
X-SVN-Rev: 41449
Shane Carr [Thu, 24 May 2018 04:26:26 +0000 (04:26 +0000)]
ICU-11645 Replying to Andy code review comments.
X-SVN-Rev: 41448
Shane Carr [Thu, 24 May 2018 04:19:28 +0000 (04:19 +0000)]
ICU-13788 Fixing small memory leak in ucurr.cpp; always register the main currency_cleanup function, not the helper functions.
X-SVN-Rev: 41447
Shane Carr [Thu, 24 May 2018 04:16:35 +0000 (04:16 +0000)]
ICU-13777 Adding tests to make sure currency long names round-trip through parsing.
X-SVN-Rev: 41446
Shane Carr [Thu, 24 May 2018 03:36:42 +0000 (03:36 +0000)]
ICU-13788 Disabling failing RBNF parse test; to be addressed in #13793
X-SVN-Rev: 41445
Peter Edberg [Thu, 24 May 2018 03:30:20 +0000 (03:30 +0000)]
ICU-13768 Update currency list for ucurr_openISOCurrencies
X-SVN-Rev: 41444
Shane Carr [Wed, 23 May 2018 21:59:30 +0000 (21:59 +0000)]
ICU-13788 Fixing data types in numparse_decimal.cpp; should fix MSVC test failure.
X-SVN-Rev: 41443
Shane Carr [Wed, 23 May 2018 21:08:53 +0000 (21:08 +0000)]
ICU-13763 Makes FieldPositionIterator offset by input string length in DecimalFormat, restoring ICU 61 behavior.
X-SVN-Rev: 41442
Shane Carr [Wed, 23 May 2018 04:34:41 +0000 (04:34 +0000)]
ICU-13717 Optimizing SimpleDateFormat's use of NumberFormat for new number formatting pipeline.
X-SVN-Rev: 41441
Shane Carr [Wed, 23 May 2018 04:21:24 +0000 (04:21 +0000)]
ICU-13717 During SimpleDateFormat#parseInt, avoid cloning the DecimalFormat unless necessary.
X-SVN-Rev: 41440
Shane Carr [Wed, 23 May 2018 04:03:19 +0000 (04:03 +0000)]
ICU-13717 Adds fast path for RBNF, which is not affect by min/max integer digits.
X-SVN-Rev: 41439
Shane Carr [Wed, 23 May 2018 02:00:03 +0000 (02:00 +0000)]
ICU-13717 Adds "fast formatters" optimization to smpdtfmt.cpp to greatly improve the performance of SimpleDateFormat with the new number formatting pipeline.
X-SVN-Rev: 41438
Shane Carr [Wed, 23 May 2018 01:18:07 +0000 (01:18 +0000)]
ICU-13717 Fixes memory leak in date format parsing by moving cloning into the parseInt function.
X-SVN-Rev: 41437
Shane Carr [Wed, 23 May 2018 01:04:17 +0000 (01:04 +0000)]
ICU-13717 Moves NumberFormat cloning into the zeroPaddingNumber method. Also indirectly fixes a memory leak from the previous commit.
X-SVN-Rev: 41436
Markus Scherer [Tue, 22 May 2018 23:57:25 +0000 (23:57 +0000)]
ICU-13630 Unicode 11 zh data, take 2
X-SVN-Rev: 41435
Shane Carr [Tue, 22 May 2018 22:42:13 +0000 (22:42 +0000)]
ICU-13717 Removing SimpleDateFormatMutableNFs. Temporary performance regression.
X-SVN-Rev: 41434
Shane Carr [Tue, 22 May 2018 22:21:59 +0000 (22:21 +0000)]
ICU-13717 Refactoring UDAT_FRACTIONAL_SECOND_FIELD to use zeroPaddingNumber for consistency with all other number formatting call sites in smpdtfmt.cpp
X-SVN-Rev: 41433
Shane Carr [Tue, 22 May 2018 20:47:19 +0000 (20:47 +0000)]
ICU-11626 Fixes ICU4C CurrencyPluralInfo unit tests. Also fixes a memory leak in CurrencyPluralInfo implementation.
X-SVN-Rev: 41431
Markus Scherer [Tue, 22 May 2018 17:46:27 +0000 (17:46 +0000)]
ICU-13630 IdnaTestV2.txt with bug fixes
20180522
X-SVN-Rev: 41430
Shane Carr [Tue, 22 May 2018 02:50:58 +0000 (02:50 +0000)]
ICU-13788 Removing obsolete ICU4C NumberTest test fallback.
X-SVN-Rev: 41429
Shane Carr [Tue, 22 May 2018 02:47:31 +0000 (02:47 +0000)]
ICU-13333 Adding combining dot spoof check.
X-SVN-Rev: 41428
Shane Carr [Tue, 22 May 2018 02:46:49 +0000 (02:46 +0000)]
ICU-13783 Re-writing grouping parsing logic. Same behavior but passes more corner cases.
X-SVN-Rev: 41427
Markus Scherer [Tue, 22 May 2018 01:56:20 +0000 (01:56 +0000)]
ICU-13630 Unicode 11 update from near-final data
20180521
X-SVN-Rev: 41426
Andy Heninger [Mon, 21 May 2018 23:47:40 +0000 (23:47 +0000)]
ICU-13770 Line Break update for Unicode 11 - revise rule LB8a.
X-SVN-Rev: 41425
Andy Heninger [Mon, 21 May 2018 22:40:17 +0000 (22:40 +0000)]
ICU-13770 RBBI LB8a rule update for ICU4J.
X-SVN-Rev: 41424
Andy Heninger [Mon, 21 May 2018 18:02:49 +0000 (18:02 +0000)]
ICU-13770 Update Unicode LineBreakTest.txt test data file to the latest.
X-SVN-Rev: 41423
Yoshito Umaoka [Mon, 21 May 2018 00:55:46 +0000 (00:55 +0000)]
ICU-13121 Use ASCII style copyright comment in all properties file.
X-SVN-Rev: 41422
Yoshito Umaoka [Mon, 21 May 2018 00:39:51 +0000 (00:39 +0000)]
ICU-13300 Added thread safety note to TimeZone::detectHostTimeZone().
X-SVN-Rev: 41421
Yoshito Umaoka [Mon, 21 May 2018 00:18:25 +0000 (00:18 +0000)]
ICU-13421 Force /tsformat/ccaltst/TestAmbiguousWallTime to use Gregorian calendar to fix test failure with locales not using Gregorian calnedar by default.
X-SVN-Rev: 41420