]> granicus.if.org Git - icu/log
icu
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.

5 years agoICU-20652 Adds Makefile.in, a fuzzer driver, and minor changes to in fuzzer
Norbert Runge [Thu, 6 Jun 2019 17:20:09 +0000 (10:20 -0700)]
ICU-20652 Adds Makefile.in, a fuzzer driver, and minor changes to in fuzzer
targets to test/fuzzer/ directory. This will enable compilation and
smoke test of fuzzer targets as part of the ICU continuous build.

ICU-20652 Fixed exit-on-error behaviour of fuzzer targets execution.
Minor clean-ups and improvements

ICU-20652 Modifies fuzzer/Makefile.in to fix Windows build issue.

ICU-20627 Adds explicit enablement of fuzzer targets build to ICU4C
configuration and Makefile.in. File 'configure' was created from
'configure.ac' by executing 'autoreconf'.

autoreconf added some new entries into 'configure' about runstatedir. Not sure
why it did this, they are not related to fuzzer.

5 years agoICU-20404 Simplify word break rules.
Andy Heninger [Thu, 13 Jun 2019 23:27:58 +0000 (16:27 -0700)]
ICU-20404 Simplify word break rules.

5 years agoICU-20639 Add "mol" 3-letter language code to C++ map.
Shane Carr [Thu, 30 May 2019 21:47:36 +0000 (14:47 -0700)]
ICU-20639 Add "mol" 3-letter language code to C++ map.

5 years agoICU-20149 allow duplicate unicode attribute
Frank Tang [Thu, 7 Mar 2019 00:52:40 +0000 (16:52 -0800)]
ICU-20149 allow duplicate unicode attribute

5 years agoICU-20566 Add missing ICU namespace macros for extra files
Christian O. Venegas [Thu, 17 Jan 2019 00:17:51 +0000 (16:17 -0800)]
ICU-20566 Add missing ICU namespace macros for extra files

ICU now uses namespaces. When trying to use the scrptrun.h header, the
header cannot compile stand-alone as it is inheriting from UObject which
is namespaced now. Add namespace macros to properly inherit.

ICU-20566 Add scrptrun to the extra high level Makefile

The scrptrun project was not being added to the extra portion of the ICU
build. Add it as a sub project so it can always be built.

ICU-20566 Properly namespace the ScriptRun test

The ScriptRun class is now namespaced.  Update the test reference.

ICU-20566 Use int instead of void to compile

Clang will complain about having a void main without an int main to
invoke. Change void to int and return 0.

5 years agoICU-20660 Add usePoolBundle option to filters.json.
Shane Carr [Mon, 10 Jun 2019 23:07:53 +0000 (16:07 -0700)]
ICU-20660 Add usePoolBundle option to filters.json.

5 years agoICU-20661 Adding test that (U)Locale constructor accepts BCP47.
Shane Carr [Tue, 11 Jun 2019 02:16:37 +0000 (19:16 -0700)]
ICU-20661 Adding test that (U)Locale constructor accepts BCP47.

5 years agoICU-20593 Data docs tweaks and fixing UDATA_DEBUG build.
Shane Carr [Tue, 11 Jun 2019 17:46:16 +0000 (10:46 -0700)]
ICU-20593 Data docs tweaks and fixing UDATA_DEBUG build.

5 years agoICU-20622 Fixing several MeasureFormat problems
Mihai Nita [Tue, 28 May 2019 22:41:00 +0000 (15:41 -0700)]
ICU-20622 Fixing several MeasureFormat problems

5 years agoICU-20664 Add CI builds that exercise the Data Filtering.
Jeff Genovy [Wed, 12 Jun 2019 17:07:09 +0000 (10:07 -0700)]
ICU-20664 Add CI builds that exercise the Data Filtering.

5 years agoICU-20647 Fix TimeZone leak in ucal_open if uloc_setKeywordValue fails.
Jeff Genovy [Fri, 31 May 2019 05:23:35 +0000 (22:23 -0700)]
ICU-20647 Fix TimeZone leak in ucal_open if uloc_setKeywordValue fails.

5 years agoICU-20654 Add hour/minute for "this hour/minute"
Frank Tang [Wed, 5 Jun 2019 01:14:27 +0000 (18:14 -0700)]
ICU-20654 Add hour/minute for "this hour/minute"

Fix expectation in cintltest

add tests

ICU-20654 Add hour/minute for "this hour/minute"

See #674

5 years agoICU-20527 Fix a few issues in the top-level .gitignore file
Jeff Genovy [Fri, 7 Jun 2019 20:10:04 +0000 (13:10 -0700)]
ICU-20527 Fix a few issues in the top-level .gitignore file

5 years agoICU-20631 Fix desired currency not set for some NumberFormat currency styles
Azamshul Azizy [Thu, 30 May 2019 09:53:13 +0000 (18:53 +0900)]
ICU-20631 Fix desired currency not set for some NumberFormat currency styles

5 years agoICU-20593 Trace instrumentation for data loading.
Shane Carr [Fri, 7 Jun 2019 21:05:14 +0000 (21:05 +0000)]
ICU-20593 Trace instrumentation for data loading.

- Adds hooks to utrace.h to record when ICU reads from locale data.
- Adds userguide page to document the new hooks.

5 years agoICU-20627 Fixing typo introduced by #670.
Shane Carr [Fri, 7 Jun 2019 03:49:29 +0000 (20:49 -0700)]
ICU-20627 Fixing typo introduced by #670.

5 years agoICU-20658 Fix broken Data Filtering on Windows builds.
Jeff Genovy [Thu, 6 Jun 2019 20:15:46 +0000 (13:15 -0700)]
ICU-20658 Fix broken Data Filtering on Windows builds.

5 years agoICU-20608 Add platform defines for Emscripten.
Krzysztof Kosiński [Thu, 16 May 2019 04:41:01 +0000 (21:41 -0700)]
ICU-20608 Add platform defines for Emscripten.

5 years agoICU-20627 Adding alias locales to new structure in res_index.
Shane Carr [Wed, 5 Jun 2019 21:03:55 +0000 (21:03 +0000)]
ICU-20627 Adding alias locales to new structure in res_index.

5 years agoICU-20593 ICU Data Build Tool documentation updates.
Shane Carr [Fri, 31 May 2019 07:00:02 +0000 (00:00 -0700)]
ICU-20593 ICU Data Build Tool documentation updates.

5 years agoICU-20629 DTPG: Fixing uncaught exception in Java.
Shane Carr [Tue, 4 Jun 2019 20:38:29 +0000 (13:38 -0700)]
ICU-20629 DTPG: Fixing uncaught exception in Java.

5 years agoICU-20602 copyErrorTo() functions should be const
Frank Tang [Thu, 30 May 2019 23:01:44 +0000 (16:01 -0700)]
ICU-20602 copyErrorTo() functions should be const

5 years agoICU-20641 Fixes undefined-shift
Frank Tang [Thu, 30 May 2019 20:22:15 +0000 (20:22 +0000)]
ICU-20641 Fixes undefined-shift

ICU-20641 Fixes undefined-shift See #663

5 years agoICU-20629 Fixing DTPG hour-format locale and region fallback logic.
Shane Carr [Wed, 29 May 2019 07:50:25 +0000 (07:50 +0000)]
ICU-20629 Fixing DTPG hour-format locale and region fallback logic.

Includes changes in C and J.  Makes region.cpp no longer depend on DecimalFormat.  See also: CLDR-13071, ICU-20640, ICU-9982.

5 years agoICU-20638 Renames fuzzer target files to end with the .cpp suffix. Was .cc.
Norbert Runge [Wed, 29 May 2019 21:46:43 +0000 (14:46 -0700)]
ICU-20638 Renames fuzzer target files to end with the .cpp suffix. Was .cc.

5 years agoICU-20625 Fixing uninitialized memory in DTPG detected by Valgrind.
Shane Carr [Sat, 25 May 2019 00:36:49 +0000 (17:36 -0700)]
ICU-20625 Fixing uninitialized memory in DTPG detected by Valgrind.

5 years agoICU-20616 Allow bidi marks around the sign in exponent parsing.
Shane Carr [Tue, 21 May 2019 22:36:25 +0000 (15:36 -0700)]
ICU-20616 Allow bidi marks around the sign in exponent parsing.

5 years agoICU-20588 UMutex, add cleanup of underlying mutexes, and simplify usage model
Andy Heninger [Fri, 10 May 2019 23:23:21 +0000 (16:23 -0700)]
ICU-20588 UMutex, add cleanup of underlying mutexes, and simplify usage model

5 years agoICU-20602 add LocaleBuilder::copyErrorTo
Frank Tang [Wed, 15 May 2019 23:21:23 +0000 (16:21 -0700)]
ICU-20602 add LocaleBuilder::copyErrorTo

Check the status after the setter and test err.

Add more check for errors.

change comments

5 years agoICU-20613 fix missing </ClInclude>
Frank Yung-Fong Tang [Fri, 17 May 2019 21:47:14 +0000 (14:47 -0700)]
ICU-20613 fix missing  </ClInclude>

5 years agoICU-20578 headers: guard all C++ headers using U_SHOW_CPLUSPLUS_API
Alon Bar-Lev [Sat, 27 Apr 2019 13:07:26 +0000 (16:07 +0300)]
ICU-20578 headers: guard all C++ headers using U_SHOW_CPLUSPLUS_API

support including all files in C

cleanup and simplify the test/hdrtest

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
5 years agoICU-12760 support UDISPCTX_TYPE_SUBSTITUTE_HANDLING
Frank Tang [Sat, 11 May 2019 01:38:35 +0000 (18:38 -0700)]
ICU-12760 support UDISPCTX_TYPE_SUBSTITUTE_HANDLING

add tests

remove printf

fix localeDisplayName and add tests

fix fallback

remove get

5 years agoICU-20567 Use 7Zip to package Windows binaries to avoid backslash separator errors...
Daniel Ju [Sat, 11 May 2019 01:19:14 +0000 (18:19 -0700)]
ICU-20567 Use 7Zip to package Windows binaries to avoid backslash separator errors when unzipping on CygWin

5 years agoICU-20595 Make icu::TimeZone::AdoptDefault thread safe
Frank Tang [Thu, 9 May 2019 23:34:24 +0000 (16:34 -0700)]
ICU-20595 Make icu::TimeZone::AdoptDefault thread safe

correct the mutex

Remove comments about not thread safe

5 years agoICU-20549 Publish Windows build artifacts from the CI builds (x64 Release)
Jeff Genovy [Thu, 11 Apr 2019 06:16:27 +0000 (23:16 -0700)]
ICU-20549 Publish Windows build artifacts from the CI builds (x64 Release)

5 years agoICU-20591 Increased the date rowspan to include the argSkeletonText line
Mihai Nita [Wed, 8 May 2019 16:30:49 +0000 (09:30 -0700)]
ICU-20591 Increased the date rowspan to include the argSkeletonText line

5 years agoICU-20593 Consuming ignore_xml_deprecates option in BUILDRULES.py.
Shane F. Carr [Wed, 8 May 2019 17:28:29 +0000 (10:28 -0700)]
ICU-20593 Consuming ignore_xml_deprecates option in BUILDRULES.py.

The option was added in b603285, but the option was not being used.

5 years agoICU-20520 UMutex refactoring.
Andy Heninger [Sat, 6 Apr 2019 00:37:44 +0000 (17:37 -0700)]
ICU-20520 UMutex refactoring.

  - Use STATIC_NEW for mutex creation, to avoid order-of-destruction problems
    by avoiding destruction altogether, while avoiding memory leak reports.

  - Remove UConditionVar, replace with direct use of std::condition_variable

5 years agoICU-20593 Renaming Python buildtool to icutools.databuilder.
Shane Carr [Mon, 6 May 2019 23:37:10 +0000 (16:37 -0700)]
ICU-20593 Renaming Python buildtool to icutools.databuilder.

5 years agoICU-20529 Generate res_index on partial resource trees.
Shane F. Carr [Fri, 29 Mar 2019 15:55:58 +0000 (11:55 -0400)]
ICU-20529 Generate res_index on partial resource trees.

5 years agoICU-20593 Buildtool: Implementing new "additive" mode.
Shane Carr [Sat, 4 May 2019 02:09:43 +0000 (19:09 -0700)]
ICU-20593 Buildtool: Implementing new "additive" mode.

5 years agoICU-20593 Buildtool: adding some options and improving exec mode.
Shane Carr [Sat, 4 May 2019 02:08:14 +0000 (19:08 -0700)]
ICU-20593 Buildtool: adding some options and improving exec mode.

5 years agoICU-20593 Genrb: Remove keys if bundle is empty after filtering.
Shane Carr [Sat, 4 May 2019 01:56:12 +0000 (18:56 -0700)]
ICU-20593 Genrb: Remove keys if bundle is empty after filtering.

5 years agoICU-20572 build & test with U_NO_DEFAULT_INCLUDE_UTF_HEADERS
Markus Scherer [Wed, 1 May 2019 21:38:27 +0000 (14:38 -0700)]
ICU-20572 build & test with U_NO_DEFAULT_INCLUDE_UTF_HEADERS

5 years agoICU-20575 fix broken default locale mapping for C.UTF-8
Steven R. Loomis [Thu, 25 Apr 2019 17:40:28 +0000 (10:40 -0700)]
ICU-20575 fix broken default locale mapping for C.UTF-8

Regression was in 1afef30549d93c17bb966c6803d5d943cf055925
PR #418 [ICU-20187]

- We dropped the mapping from "C" in uloc_canonicalize,
  but then putil did not handle cases where a codepage was
  set (such as C.UTF-8).

- Add an additional check in uprv_getDefaultLocaleID() for
  locales that end up as "C" or "POSIX" after removing codepage
  suffix.

- Also fix regression where aa@bb would become aa__BB__BB
  (incorrectly doubled __BB)

5 years agoICU-20530 Fix header issues based on test/hdrtst
Alon Bar-Lev [Sat, 30 Mar 2019 06:59:46 +0000 (09:59 +0300)]
ICU-20530 Fix header issues based on test/hdrtst

Remove explicit extern "C++" scope.

Remove C++ macros in C mode.

Fix issues detected by make -C test/hdrtst.

Run test/hdrtest during CI to detect future breakage.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
5 years agoICU-20558 Fix regression in DateTimePatternGenerator
Jeff Genovy [Wed, 24 Apr 2019 21:02:06 +0000 (14:02 -0700)]
ICU-20558 Fix regression in DateTimePatternGenerator

This fixes a regression introduced by commit
b12a927c9365bb38831afbf76fdd0999f8f33deb for issue ICU-13778.

The above commit improved the error checking in the
DateTimePatternGenerator class, adding checks for errors/failures
where there previously was none at all. This was done in order to
catch catastrophic errors like out-of-memory (OOM), and properly
report them to the caller, rather than ignoring/hiding these errors.

However, in doing so it exposed a case where the code was depending
on ignoring errors in order to fall-back to the Gregorian calendar
when the default ICU locale is set to root.

This restores the previous behavior, by allowing the error of
U_MISSING_RESOURCE_ERROR to fall-though and continue without
reporting back an error to the caller.

Note: This regression was technically introduced in ICU 63, and
also effects ICU 64 as well.

5 years agoICU-20573 Handle NULL return value correctly, it means empty not error.
Fredrik Roubert [Wed, 24 Apr 2019 13:46:59 +0000 (15:46 +0200)]
ICU-20573 Handle NULL return value correctly, it means empty not error.

5 years agoICU-20570 UInitOnce instances, add explicit initialization where it was missing.
Andy Heninger [Mon, 22 Apr 2019 19:54:14 +0000 (12:54 -0700)]
ICU-20570 UInitOnce instances, add explicit initialization where it was missing.

5 years agoICU-20445 Pass ByteSink to ulocimp_addLikelySubtags().
Fredrik Roubert [Thu, 21 Feb 2019 02:11:34 +0000 (03:11 +0100)]
ICU-20445 Pass ByteSink to ulocimp_addLikelySubtags().

5 years agoICU-20445 Need to export the CharStringByteSink class for Windows and OSX.
Jeff Genovy [Thu, 18 Apr 2019 20:31:48 +0000 (13:31 -0700)]
ICU-20445 Need to export the CharStringByteSink class for Windows and OSX.

5 years agoICU-20391 Fix regexp crash with nested look-behinds, from fuzz testing.
Andy Heninger [Mon, 4 Feb 2019 18:50:08 +0000 (10:50 -0800)]
ICU-20391 Fix regexp crash with nested look-behinds, from fuzz testing.

5 years agoICU-20511 Merge release-64-2 to master
Shane F. Carr [Wed, 17 Apr 2019 21:15:59 +0000 (14:15 -0700)]
ICU-20511 Merge release-64-2 to master

5 years agoICU-20553 Updating commit checker docs; makes --rev-range required.
Shane Carr [Tue, 9 Apr 2019 01:26:02 +0000 (18:26 -0700)]
ICU-20553 Updating commit checker docs; makes --rev-range required.

5 years agoICU-20511 Merge tag 'release-64-2' into 64-merge-branch 627/head
Shane Carr [Wed, 17 Apr 2019 20:34:41 +0000 (13:34 -0700)]
ICU-20511 Merge tag 'release-64-2' into 64-merge-branch