]> granicus.if.org Git - icu/log
icu
5 years agoICU-20795 BRS65 ICU4J 65 API signature file
Yoshito Umaoka [Wed, 4 Sep 2019 22:23:36 +0000 (18:23 -0400)]
ICU-20795 BRS65 ICU4J 65 API signature file

Deleted ICU4J 55 API signature file

5 years agoICU-20795 BRS65 ICU4J serialization test data
Yoshito Umaoka [Wed, 4 Sep 2019 22:38:27 +0000 (18:38 -0400)]
ICU-20795 BRS65 ICU4J serialization test data

- Added 65.1 serialization test data
- Deleted 60.1 serialization test data

5 years agoICU-20795 BRS65 ICU4J API status promotion
Yoshito Umaoka [Wed, 4 Sep 2019 17:51:14 +0000 (13:51 -0400)]
ICU-20795 BRS65 ICU4J API status promotion

- Updating API status version for ICU4J 65 release
- Fixed a few minor API doc issues in DecimalFormat and LocaleMatcher
- Update ICU4J API change report

5 years agoICU-13745 fix undefined behavior: GregorianCalendar::setGregorianChange()
Steven R. Loomis [Thu, 29 Aug 2019 00:04:27 +0000 (17:04 -0700)]
ICU-13745 fix undefined behavior: GregorianCalendar::setGregorianChange()

- Julian days outside of INT32_MIN..INT32_MAX are normalized
- Add a test case

5 years agoICU-11976 test & fix ByteArrayWrapper.hashCode()
Markus Scherer [Fri, 30 Aug 2019 23:26:59 +0000 (16:26 -0700)]
ICU-11976 test & fix ByteArrayWrapper.hashCode()

5 years agoICU-20795 BRS65 Clean up import statements
Yoshito Umaoka [Fri, 30 Aug 2019 20:50:32 +0000 (16:50 -0400)]
ICU-20795 BRS65 Clean up import statements

5 years agoICU-20693 Fix weird bug in Maven pom file and add comments
David Beaumont [Sat, 31 Aug 2019 20:46:00 +0000 (22:46 +0200)]
ICU-20693 Fix weird bug in Maven pom file and add comments

5 years agoICU-20802 Need to use LocalMemory in uloc_openKeywordList, not LocalPointer
Jeff Genovy [Sat, 31 Aug 2019 03:44:42 +0000 (20:44 -0700)]
ICU-20802 Need to use LocalMemory in uloc_openKeywordList, not LocalPointer

5 years agoICU-13647 fix SearchIterator docs sample: getMatchedLength() not getMatchLength()
Markus Scherer [Fri, 30 Aug 2019 23:55:52 +0000 (16:55 -0700)]
ICU-13647 fix SearchIterator docs sample: getMatchedLength() not getMatchLength()

5 years agoICU-20269 Update the CI badges in the top-level README file.
Jeff Genovy [Thu, 29 Aug 2019 04:44:37 +0000 (21:44 -0700)]
ICU-20269 Update the CI badges in the top-level README file.

5 years agoICU-20518 update u_isbase() reference to Unicode Standard Base character
Markus Scherer [Fri, 30 Aug 2019 22:59:13 +0000 (15:59 -0700)]
ICU-20518 update u_isbase() reference to Unicode Standard Base character

5 years agoICU-20802 OOM not handled in uloc_openKeywordList.
Jeff Genovy [Fri, 30 Aug 2019 19:03:16 +0000 (12:03 -0700)]
ICU-20802 OOM not handled in uloc_openKeywordList.

Also change to use LocalPointer and nullptr instead of NULL.

5 years agoICU-13649 UnicodeString docs: mention std::string clear() to make remove() easier...
Markus Scherer [Fri, 30 Aug 2019 22:35:18 +0000 (15:35 -0700)]
ICU-13649 UnicodeString docs: mention std::string clear() to make remove() easier to find

5 years agoICU-20368 OOM not handled in NumberFormatterImpl::macrosToMicroGenerator
Jeff Genovy [Fri, 30 Aug 2019 05:22:12 +0000 (22:22 -0700)]
ICU-20368 OOM not handled in NumberFormatterImpl::macrosToMicroGenerator

5 years agoICU-20577 Restore C MeasureFormat ability to adopt non-decimal number formatter ...
Peter Edberg [Thu, 29 Aug 2019 07:02:17 +0000 (00:02 -0700)]
ICU-20577 Restore C MeasureFormat ability to adopt non-decimal number formatter (#789)

5 years agoICU-12086 ICU-12165 Currency.getName() param isChoiceFormat can be null, make it...
Markus Scherer [Fri, 30 Aug 2019 19:17:02 +0000 (12:17 -0700)]
ICU-12086 ICU-12165 Currency.getName() param isChoiceFormat can be null, make it so, document, use null in library code

5 years agoICU-20589 Fix EraRulesTest#testAPIs failure on 1 May 2019
Victor Chang [Fri, 3 May 2019 12:27:26 +0000 (13:27 +0100)]
ICU-20589 Fix EraRulesTest#testAPIs failure on 1 May 2019

5 years agoICU-20795 Added comment to ICU4C Readme.html about U_SHOW_CPLUSPLUS_API.
Jeff Genovy [Thu, 29 Aug 2019 23:42:18 +0000 (16:42 -0700)]
ICU-20795 Added comment to ICU4C Readme.html about U_SHOW_CPLUSPLUS_API.

5 years agoICU-20693 Removing unused code, fixing IDE warnings and preparing for unit tests
David Beaumont [Fri, 30 Aug 2019 14:21:32 +0000 (14:21 +0000)]
ICU-20693 Removing unused code, fixing IDE warnings and preparing for unit tests

See #773

5 years agoICU-20701 Add more PluralRules tests for locales with keywords
Peter Edberg [Fri, 30 Aug 2019 07:42:41 +0000 (00:42 -0700)]
ICU-20701 Add more PluralRules tests for locales with keywords

5 years agoICU-20795 BRS65RC Update version numbers and readme files, regenerate JARs
Daniel Ju [Thu, 29 Aug 2019 22:26:00 +0000 (15:26 -0700)]
ICU-20795 BRS65RC Update version numbers and readme files, regenerate JARs

5 years agoICU-13764 Add a MacOSX CI build with Warnings-as-Errors
Jeff Genovy [Thu, 29 Aug 2019 20:20:13 +0000 (13:20 -0700)]
ICU-13764 Add a MacOSX CI build with Warnings-as-Errors

5 years agoICU-20620 cap UNUM_MAX_FRACTION_DIGITS setting at 999
Peter Edberg [Wed, 28 Aug 2019 06:19:19 +0000 (23:19 -0700)]
ICU-20620 cap UNUM_MAX_FRACTION_DIGITS setting at 999

5 years agoICU-20732 Adds instruction how to develop an ICU fuzzer target and how to
Norbert Runge [Thu, 25 Jul 2019 21:55:54 +0000 (14:55 -0700)]
ICU-20732 Adds instruction how to develop an ICU fuzzer target and how to
reproduce fuzzer findings.

ICU-20732 Addresses review comments.

Update fuzzer_targets.md

5 years agoICU-20799 delete calendarToAdopt upon error
Frank Tang [Thu, 29 Aug 2019 19:26:11 +0000 (12:26 -0700)]
ICU-20799 delete calendarToAdopt upon error

ICU-20799 add unit tests

ICU-20799 initialize error and add comments.

5 years agoICU-20555 Fix Windows build failures with long paths: Use PowerShell when command...
Jeff Genovy [Tue, 27 Aug 2019 23:57:50 +0000 (16:57 -0700)]
ICU-20555 Fix Windows build failures with long paths: Use PowerShell when command length exceeds CMD's limit.

5 years agoICU-20693 Adding Ant support for configuration of ICU data builds.
David Beaumont [Wed, 28 Aug 2019 11:14:31 +0000 (11:14 +0000)]
ICU-20693 Adding Ant support for configuration of ICU data builds.

See #771

5 years agoICU-20680 Add comments about UPRV_UNREACHABLE to u_UCharsToChars and CEIBuffer::get...
Jeff Genovy [Wed, 28 Aug 2019 19:19:32 +0000 (12:19 -0700)]
ICU-20680 Add comments about UPRV_UNREACHABLE to u_UCharsToChars and CEIBuffer::get[Previous].

5 years agoICU-20794 Fix typo in ucurr.h
Jeff Genovy [Thu, 25 Jul 2019 07:37:59 +0000 (00:37 -0700)]
ICU-20794 Fix typo in ucurr.h

5 years agoICU-20606 Add 32-bit Windows binaries to CI for Distrelease.
Jeff Genovy [Wed, 28 Aug 2019 01:27:51 +0000 (18:27 -0700)]
ICU-20606 Add 32-bit Windows binaries to CI for Distrelease.

5 years agoICU-20789 Clean-up the VS "clean" target for the Makedata project.
Jeff Genovy [Sat, 24 Aug 2019 01:01:41 +0000 (18:01 -0700)]
ICU-20789 Clean-up the VS "clean" target for the Makedata project.

5 years agoICU-20680 revert use of UPRV_UNREACHABLE in places actually reached in production...
Peter Edberg [Wed, 28 Aug 2019 04:29:51 +0000 (21:29 -0700)]
ICU-20680 revert use of UPRV_UNREACHABLE in places actually reached in production code

5 years agoICU-20782 Enable Windows icucheck.bat script for ARM/ARM64.
Jeff Genovy [Tue, 27 Aug 2019 23:29:12 +0000 (16:29 -0700)]
ICU-20782 Enable Windows icucheck.bat script for ARM/ARM64.

5 years agoICU-20693 New LDML to ICU tooling.
David Beaumont [Sat, 24 Aug 2019 15:14:52 +0000 (15:14 +0000)]
ICU-20693 New LDML to ICU tooling.

See #721

5 years agoICU-20782 Extend CI build timeout for Windows ARM/ARM64.
Jeff Genovy [Wed, 21 Aug 2019 17:16:15 +0000 (10:16 -0700)]
ICU-20782 Extend CI build timeout for Windows ARM/ARM64.

5 years agoICU-20782 Add support for cross-compiling Windows ARM/ARM64 data DLL from the x64...
Jeff Genovy [Wed, 21 Aug 2019 04:52:06 +0000 (21:52 -0700)]
ICU-20782 Add support for cross-compiling Windows ARM/ARM64 data DLL from the x64 bits.

5 years agoICU-20782 Enable Windows desktop ARM and ARM64 builds of ICU4C.
Jeff Genovy [Wed, 14 Aug 2019 07:41:26 +0000 (00:41 -0700)]
ICU-20782 Enable Windows desktop ARM and ARM64 builds of ICU4C.

This enables "classic" desktop builds of ICU4C for both ARM (32-bit)
and ARM64 (64-bit) on Windows.

All but the two samples "cal" and "date" in the "allinone" project now
have ARM and ARM64 project configurations, and build for Windows Desktop
ARM/ARM64.

Note: In order to build the ARM/ARM64 data DLL, you need to first build
x64/Release, as the ARM/ARM build uses the x64 bits in order to be able
to cross-compile for ARM/ARM64. This allows for completely building
ARM/ARM64 binaries using only x64 hardware.

The ARM/ARM64 builds require using a newer version of the Windows SDK
than 8.1, so they have a separate WindowsTargetPlatformVersion which
uses Windows 10 SDK version 10.0.16299.0 (aka RS3), which is the first
version of the Windows SDK to support building ARM64 desktop applications.

In addition this also greatly cleans-up the ICU4C ".vcxproj" files, in
order to remove redundant parts, fix inconsistencies, and make them more
readable. This introduces two new variables in the shared `*.props`
files: `IcuBinOutputDir` and `IcuLibOutputDir` in order to further
reduce the amount of duplicated lines in the individual ".vcxproj"
files themselves.

5 years agoICU-20784 Do not override clang compiler internal builtins
Jose Dapena Paz [Thu, 25 Jul 2019 14:41:56 +0000 (16:41 +0200)]
ICU-20784 Do not override clang compiler internal builtins

In the case several internal builtins defined by clang were not available,
ICU was replacing them by a stub implementation. But that was breaking
detection of availability of same methods in other parts of Chromium
(specifically in base/location.h).

Instead of that, this change creates ICU specific macros that will
map to those builtins when available, or to stub implementation if
not.

I.e. for the case of __has_builtin, previous implementation was
defining __has_builtin(x) as 0 in case it was not declared. With
new implementation, there is a macro UPRV_HAS_BUILTIN that maps
to __has_builtin if available, or 0 if not.

5 years agoICU-20783 use C++ covariant return types
Markus Scherer [Fri, 23 Aug 2019 03:00:25 +0000 (20:00 -0700)]
ICU-20783 use C++ covariant return types

5 years agoICU-20783 C++ covariant return types: clone(), freeze() & friends
Markus Scherer [Thu, 22 Aug 2019 00:13:18 +0000 (17:13 -0700)]
ICU-20783 C++ covariant return types: clone(), freeze() & friends

5 years agoICU-20646 make Edits::copyErrorTo() const
Markus Scherer [Wed, 21 Aug 2019 23:11:54 +0000 (16:11 -0700)]
ICU-20646 make Edits::copyErrorTo() const

5 years agoICU-20776 Checks for nullness in UMutex::lock()
Filip Filmar [Thu, 15 Aug 2019 01:32:43 +0000 (18:32 -0700)]
ICU-20776 Checks for nullness in UMutex::lock()

Adds `U_ASSERT` check before using `m->lock()` to make allocation issues
more apparent at least in debug builds.

There is probably quite a few places like this, but let's try fixing
broken windows.

5 years agoICU-20768 Remove fixed DLL base addresses when building Windows DLLs.
Jeff Genovy [Tue, 20 Aug 2019 00:28:51 +0000 (17:28 -0700)]
ICU-20768 Remove fixed DLL base addresses when building Windows DLLs.

Remove redundant FixedBaseAddress entries from the vcxproj files.
Make the pkgdata -b option a no-op, and output a message to the user.

5 years agoICU-20618 Regex nested lookaround expressions, clean up active match region handling.
Andy Heninger [Wed, 31 Jul 2019 23:53:35 +0000 (16:53 -0700)]
ICU-20618 Regex nested lookaround expressions, clean up active match region handling.

5 years agoICU-13533 Fix address sanitizer failures found with no-data ICU testing.
Andy Heninger [Wed, 3 Jan 2018 04:45:29 +0000 (04:45 +0000)]
ICU-13533 Fix address sanitizer failures found with no-data ICU testing.

5 years agoICU-9695 port LocaleMatcher to C++
Markus Scherer [Fri, 16 Aug 2019 23:35:49 +0000 (23:35 +0000)]
ICU-9695 port LocaleMatcher to C++

5 years agoICU-20623 Add java compability parse mode into DecimalFormat
Victor Chang [Mon, 13 Aug 2018 15:49:10 +0000 (16:49 +0100)]
ICU-20623 Add java compability parse mode into DecimalFormat

This internal parse mode is introduced for Android libcore.

5 years agoICU-20601 Wrap ICU test compound macros in do { } while.
Fredrik Roubert [Wed, 14 Aug 2019 21:06:44 +0000 (23:06 +0200)]
ICU-20601 Wrap ICU test compound macros in do { } while.

This does the same for the ICU test code as was done for the
public ICU API in commit 480bec3ea652886f46d4afad0d7446542d2fbf05.

5 years agoICU-20601 Wrap ICU implementation compound macros in do { } while.
Fredrik Roubert [Wed, 14 Aug 2019 21:05:37 +0000 (23:05 +0200)]
ICU-20601 Wrap ICU implementation compound macros in do { } while.

This does the same for the ICU implementation code as was done for the
public ICU API in commit 480bec3ea652886f46d4afad0d7446542d2fbf05.

5 years agoICU-20601 Wrap public ICU API compound macros in do { } while.
Fredrik Roubert [Wed, 22 May 2019 20:16:39 +0000 (13:16 -0700)]
ICU-20601 Wrap public ICU API compound macros in do { } while.

This is the normal way of making compound macros behave like statements
and allowing macro invocations that look like function calls to work
just like if they were function calls.

Before ICU 65, function-like, multi-statement ICU macros were just
defined as series of statements wrapped in { } blocks and the caller
could choose to either treat them as if they were actual functions and
end the invocation with a trailing ; creating an empty statement after
the block or else omit this trailing ; using the knowledge that the
macro would expand to { }.

To continue supporting code that depends on that old behaviour, on being
able to omit the trailing ; when invoking one of these macros, the new
surrounding do { } while is done through preprocessor defines that can
easily be overridden at compile time, when needed.

5 years agoICU-20758 Add a StringPiece constructor for any string view type.
Fredrik Roubert [Fri, 3 May 2019 18:07:27 +0000 (11:07 -0700)]
ICU-20758 Add a StringPiece constructor for any string view type.

Using the C++ SFINAE (substitution failure is not an error) technique,
it's possible to provide an icu::StringPiece constructor that accepts
any string view type that might be available in the current compilation
unit, without adding any additional dependencies or configuration flags
to ICU.

5 years agoICU-20601 Add missing semicolons.
Fredrik Roubert [Tue, 13 Aug 2019 21:17:39 +0000 (23:17 +0200)]
ICU-20601 Add missing semicolons.

These are the same changes for the C++ code as was done for the C code
by commit aa60d4292ef27d1437088efedee0e4fc1fd3ad90.

5 years agoICU-20601 Remove superfluous semicolons (-Wextra-semi-stmt).
Fredrik Roubert [Tue, 13 Aug 2019 20:00:43 +0000 (22:00 +0200)]
ICU-20601 Remove superfluous semicolons (-Wextra-semi-stmt).

These are the same changes for the C++ code as was done for the C code
by commit 17606e0345c7baaf5331bc0298c1c4e086b812e3.

5 years agoICU-20627 Adding getAvailableLocalesByType, ICU4C and ICU4J.
Shane Carr [Thu, 15 Aug 2019 01:56:22 +0000 (01:56 +0000)]
ICU-20627 Adding getAvailableLocalesByType, ICU4C and ICU4J.

5 years agoICU-20759 Add ucal_getDefaultTimeZone C API for host OS timezone detection.
Jeff Genovy [Fri, 14 Jun 2019 08:07:40 +0000 (01:07 -0700)]
ICU-20759 Add ucal_getDefaultTimeZone C API for host OS timezone detection.

5 years agoICU-20517 Removing dead code in rbnf.cpp
Shane Carr [Thu, 8 Aug 2019 23:44:39 +0000 (16:44 -0700)]
ICU-20517 Removing dead code in rbnf.cpp

5 years agoICU-13596 Clarifying error code type in numfmt.h parse()
Shane Carr [Tue, 13 Aug 2019 08:06:43 +0000 (01:06 -0700)]
ICU-13596 Clarifying error code type in numfmt.h parse()

5 years agoICU-20562 Adding toDecimalNumber method to C++ FormattedNumber.
Shane Carr [Wed, 14 Aug 2019 22:47:41 +0000 (15:47 -0700)]
ICU-20562 Adding toDecimalNumber method to C++ FormattedNumber.

5 years agoICU-20422 Redefining U_NO_THROW to U_NOEXCEPT
Shane Carr [Fri, 9 Aug 2019 00:21:46 +0000 (17:21 -0700)]
ICU-20422 Redefining U_NO_THROW to U_NOEXCEPT

5 years agoICU-20771 Fix incorrect documentation tag for DateTimePatternGenerator
Nikita Iashchenko [Wed, 14 Aug 2019 12:42:34 +0000 (13:42 +0100)]
ICU-20771 Fix incorrect documentation tag for DateTimePatternGenerator

5 years agoICU-20524 Adding variables for relative file replacement directory.
Shane Carr [Tue, 13 Aug 2019 09:51:18 +0000 (02:51 -0700)]
ICU-20524 Adding variables for relative file replacement directory.

Also fixes some bugs with file replacement.

5 years agoICU-20712 Add support for building Windows UWP ARM/ARM64 data DLLs.
Jeff Genovy [Fri, 19 Jul 2019 20:54:02 +0000 (13:54 -0700)]
ICU-20712 Add support for building Windows UWP ARM/ARM64 data DLLs.

This also changes the pkgdata tool command line options to decouple the
ARM/ARM64 flags from the UWP flag, and adds a generic architecture
option (-a) for passing in the value of the linker "/MACHINE:" argument
on the command line. (Ex: -a ARM64).

Additionally this change also adds another option to pkgdata (-b) to
set /DYNAMICBASE on the data DLL, which is required for the ARM64 builds.

Both of these changes also work towards future work in order to enable
full ARM64 desktop builds without UWP.

This change also removes a number of ifdefs/forks in the ICU code based
on U_PLATFORM_HAS_WINUWP_API, and changes them to use ICU_DATA_DIR_WINDOWS
instead. This is needed to unblock the usage of the data DLL in the
UWP scenario, but also helps to further reduce the divergence of the UWP
projects from regular Windows builds.

Related tickets:
  ICU4C: Remove fixed DLL base addresses when building Windows DLLs
  https://unicode-org.atlassian.net/browse/ICU-20768

  Add support to generate ICU data DLL for Windows arm64
  https://unicode-org.atlassian.net/browse/ICU-20670

5 years agoICU-20685 Improving docs for UErrorCode.
Shane Carr [Fri, 2 Aug 2019 23:59:51 +0000 (16:59 -0700)]
ICU-20685 Improving docs for UErrorCode.

5 years agoICU-20764 Allow top-level include and exclude in data filter rules.
Shane Carr [Tue, 13 Aug 2019 07:51:26 +0000 (00:51 -0700)]
ICU-20764 Allow top-level include and exclude in data filter rules.

5 years agoICU-20423 Removing deprecated method toNumberFormatter()
Shane Carr [Thu, 8 Aug 2019 23:59:04 +0000 (16:59 -0700)]
ICU-20423 Removing deprecated method toNumberFormatter()

5 years agoICU-20394 Changing DecimalFormatFields to not allocate as many objects
Shane Carr [Fri, 9 Aug 2019 00:41:55 +0000 (17:41 -0700)]
ICU-20394 Changing DecimalFormatFields to not allocate as many objects

5 years agoICU-13743 Adding number permutation test.
Shane Carr [Tue, 13 Aug 2019 04:16:25 +0000 (04:16 +0000)]
ICU-13743 Adding number permutation test.

Adds a test suite in C++ and Java to test many permutations of options in NumberFormatter.

5 years agoICU-20737 Removing Python dependency on distutils.
Shane Carr [Fri, 2 Aug 2019 23:25:15 +0000 (16:25 -0700)]
ICU-20737 Removing Python dependency on distutils.

Deletes tstfiles.mk and merges the list into BUILDRULES.py

5 years agoICU-13780 Removing DecimalFormat_ICU58 (finally).
Shane Carr [Fri, 9 Aug 2019 01:24:10 +0000 (18:24 -0700)]
ICU-13780 Removing DecimalFormat_ICU58 (finally).

5 years agoICU-20735 simpler state saving for C++ string tries
Markus Scherer [Sat, 10 Aug 2019 17:51:28 +0000 (10:51 -0700)]
ICU-20735 simpler state saving for C++ string tries

5 years agoICU-20757 Fix typos in utrans.h header file.
Jeff Genovy [Tue, 11 Jun 2019 08:20:09 +0000 (01:20 -0700)]
ICU-20757 Fix typos in utrans.h header file.

5 years agoICU-20601 Add missing semicolons.
Fredrik Roubert [Wed, 7 Aug 2019 19:01:04 +0000 (21:01 +0200)]
ICU-20601 Add missing semicolons.

The way these macros currently are defined, the code compiles also
without the final semicolons. But for consistency and in order to allow
the macro definitions to be updated also these macro invocations should
have final semicolons just like in the rest of this code base.

5 years agoICU-20601 Remove superfluous semicolons (-Wextra-semi-stmt).
Fredrik Roubert [Wed, 7 Aug 2019 18:56:02 +0000 (20:56 +0200)]
ICU-20601 Remove superfluous semicolons (-Wextra-semi-stmt).

5 years agoICU-20766 Fix failing TravisCI build for ICU4J due to missing ANT.
Jeff Genovy [Thu, 8 Aug 2019 23:08:34 +0000 (16:08 -0700)]
ICU-20766 Fix failing TravisCI build for ICU4J due to missing ANT.

5 years agoICU-20747 Modify common_uwp to use onecore.lib instead of onecoreuap.lib
Rohan Palaniappan [Wed, 31 Jul 2019 21:58:57 +0000 (14:58 -0700)]
ICU-20747 Modify common_uwp to use onecore.lib instead of onecoreuap.lib

5 years agoICU-13764 Add separate CI build that treats warnings as errors with clang.
Jeff Genovy [Sat, 27 Jul 2019 01:09:39 +0000 (18:09 -0700)]
ICU-13764 Add separate CI build that treats warnings as errors with clang.

This adds a separate CI build that enables -Werror for clang.

This also fixes all of the -Wall -Wextra warnings in the tests, and all the
-Wextra-semi warnings as well.

5 years agoICU-20048 Remove use of std::align() for compat with g++ 4.9.
Andy Heninger [Fri, 26 Jul 2019 21:14:59 +0000 (14:14 -0700)]
ICU-20048 Remove use of std::align() for compat with g++ 4.9.

5 years agoICU-20675 ignore .vscode configuration files.
younies [Fri, 26 Jul 2019 21:05:48 +0000 (21:05 +0000)]
ICU-20675 ignore .vscode configuration files.

See #717

5 years agoICU-20493 Warn on global/static c’tors
Steven R. Loomis [Fri, 19 Jul 2019 23:32:29 +0000 (16:32 -0700)]
ICU-20493 Warn on global/static c’tors

- add -Wglobal-constructors to clang (only for libs)
- Note: ignore 'runstatedir' flap in configure

5 years agoICU-20729 Remove obsolete U_HAVE_STD_ATOMICS and similar @internal macros.
Andy Heninger [Tue, 23 Jul 2019 21:54:57 +0000 (14:54 -0700)]
ICU-20729 Remove obsolete U_HAVE_STD_ATOMICS and similar @internal macros.

5 years agoICU-20721 Fix typo in API docs about unumf_openForSkeletonAndLocale.
Jeff Genovy [Sat, 20 Jul 2019 01:03:32 +0000 (18:03 -0700)]
ICU-20721 Fix typo in API docs about unumf_openForSkeletonAndLocale.

5 years agoICU-20708 Fixing edge cases with negative infinity and NaN.
Shane Carr [Tue, 23 Jul 2019 04:41:43 +0000 (04:41 +0000)]
ICU-20708 Fixing edge cases with negative infinity and NaN.

5 years agoICU-20712 Add support for building ICU4C UWP with ARM64, add ARM32/ARM64 to CI.
Jeff Genovy [Wed, 17 Jul 2019 18:02:56 +0000 (11:02 -0700)]
ICU-20712 Add support for building ICU4C UWP with ARM64, add ARM32/ARM64 to CI.

This change adds support for building the ICU4C UWP projects for ARM64.
Additionally it adds CI builds for ARM32 and ARM64.

Co-Authored-By: Daniel Ju <daju@microsoft.com>
5 years agoICU-20718 Fix failing MSYS2 build due to current path confusion.
Jeff Genovy [Sat, 20 Jul 2019 00:54:53 +0000 (17:54 -0700)]
ICU-20718 Fix failing MSYS2 build due to current path confusion.

The Azure DevOps VM images that are used in the CI builds recently
updated the version of MSYS that is installed, which is causing the
MSYS builds to fail. It seems that this new version has issues with
using the shell cmd method in the makefiles to obtain the current path.

However, we can avoid this entirely by using the cygpath utility, which
also avoids the overhead of launching a new cmd instance just to get
the path. Unfortunately, it seems that older versions of MSYS don't
have this utility program included by default, though versions of
MSYS 2 and up do have it included by default.

We can continue using the old approach for the older versions and use
the cygpath approach for new versions.

5 years agoICU-20716 Fixing some buffer overruns in genccode
Shane Carr [Fri, 19 Jul 2019 22:44:24 +0000 (15:44 -0700)]
ICU-20716 Fixing some buffer overruns in genccode

5 years agoICU-20689 Fix race condition in UMutex code, leading to random crashes.
Jeff Genovy [Wed, 3 Jul 2019 21:04:36 +0000 (14:04 -0700)]
ICU-20689 Fix race condition in UMutex code, leading to random crashes.

5 years agoICU-20659 Fix DTD link in XML data files
Victor Chang [Mon, 10 Jun 2019 13:13:09 +0000 (14:13 +0100)]
ICU-20659 Fix DTD link in XML data files

- http://www.unicode.org/repos/cldr/trunk/common/dtd/ldml.dtd returns
  HTTP 302 error and redirects to an html page, not a dtd content
  apparently.
- Clone the dtd files from CLDR release-35-1
  https://raw.githubusercontent.com/unicode-org/cldr/release-35-1/common/dtd/ldml.dtd

5 years agoICU-20593 Data slicing: allow more characters in res filter rules.
Shane Carr [Tue, 9 Jul 2019 00:03:25 +0000 (17:03 -0700)]
ICU-20593 Data slicing: allow more characters in res filter rules.

5 years agoICU-20593 Various updates to resource tracing.
Shane Carr [Tue, 18 Jun 2019 20:33:49 +0000 (13:33 -0700)]
ICU-20593 Various updates to resource tracing.

5 years agoICU-20593 Data slicing: Fix mixed file and resource filter.
Shane Carr [Mon, 8 Jul 2019 23:38:19 +0000 (16:38 -0700)]
ICU-20593 Data slicing: Fix mixed file and resource filter.

5 years agoICU-20692 tzdata2019b update
yumaoka [Fri, 5 Jul 2019 04:22:42 +0000 (00:22 -0400)]
ICU-20692 tzdata2019b update

5 years agoICU-20672 Compiler Warning Cleanup.
Andy Heninger [Thu, 20 Jun 2019 18:51:27 +0000 (11:51 -0700)]
ICU-20672 Compiler Warning Cleanup.

5 years agoICU-20650 Memory alignment of buffers used by sort functions.
Andy Heninger [Fri, 28 Jun 2019 23:36:10 +0000 (16:36 -0700)]
ICU-20650 Memory alignment of buffers used by sort functions.

5 years agoICU-20048 remove uses of UAlignedMemory, replace with native C++11 constructs.
Andy Heninger [Sat, 1 Jun 2019 00:46:49 +0000 (17:46 -0700)]
ICU-20048 remove uses of UAlignedMemory, replace with native C++11 constructs.
Also update the Travis CI configuration to use newer compilers, and the
dependency checker to be happy with the newer clang compiler.

5 years agoICU-13637 Break Iterator Rule Updates for Indic Grapheme Clusters.
Andy Heninger [Thu, 30 May 2019 23:41:44 +0000 (16:41 -0700)]
ICU-13637 Break Iterator Rule Updates for Indic Grapheme Clusters.

5 years agoICU-20652 Corrects calculation of byte sequence length to prevent buffer
Norbert Runge [Wed, 26 Jun 2019 20:41:59 +0000 (13:41 -0700)]
ICU-20652 Corrects calculation of byte sequence length to prevent buffer
overflow.

ICU-20652 Add parenthesis, improve readability.

5 years agoICU-20652 Adds two fuzzer target for collation (compare() and
Norbert Runge [Fri, 21 Jun 2019 21:33:36 +0000 (14:33 -0700)]
ICU-20652 Adds two fuzzer target for collation (compare() and
RulebasedCollator().

ICU-20652 Adds test/fuzzer/Makefile (auto-generated upon ICU4C configuration)
to .gitignore.

ICU-20652 In response to PR#693 review, corrects allocation size of char16_t
buffer.
While at it, adds generated files to .gitignore.

5 years agoICU-20666 Adding insert/appendChar16 to FormattedStringBuilder.
Shane F. Carr [Sat, 22 Jun 2019 16:48:29 +0000 (09:48 -0700)]
ICU-20666 Adding insert/appendChar16 to FormattedStringBuilder.

5 years agoICU-13637 Documentation for doing break iterator updates.
Andy Heninger [Thu, 30 May 2019 23:41:44 +0000 (16:41 -0700)]
ICU-13637 Documentation for doing break iterator updates.

5 years agoICU-20622 Removing dead code in measfmt.cpp.
Shane Carr [Tue, 18 Jun 2019 20:34:51 +0000 (13:34 -0700)]
ICU-20622 Removing dead code in measfmt.cpp.