]> granicus.if.org Git - icu/log
icu
4 years agoICU-21271 Fix valgrind failure in dtptngen.cpp
Jeff Genovy [Fri, 4 Sep 2020 19:15:20 +0000 (12:15 -0700)]
ICU-21271 Fix valgrind failure in dtptngen.cpp

4 years agoICU-21174 Drop MaybeStackVector::appendAll because it requires copy constructor
Hugo van der Merwe [Sat, 5 Sep 2020 11:54:36 +0000 (13:54 +0200)]
ICU-21174 Drop MaybeStackVector::appendAll because it requires copy constructor

4 years agoICU-21249 integrate CLDR release-38-alpha1 to ICU trunk
Peter Edberg [Fri, 4 Sep 2020 18:41:11 +0000 (11:41 -0700)]
ICU-21249 integrate CLDR release-38-alpha1 to ICU trunk

4 years agoICU-21164 Fixed bug in OlsonTimeZone constructor that could leave the object in a...
Rich Gillam [Wed, 26 Aug 2020 00:33:33 +0000 (17:33 -0700)]
ICU-21164 Fixed bug in OlsonTimeZone constructor that could leave the object in a not-fully-initialized state.

4 years agoICU-21257 remove #License fragment from license URLs
Markus Scherer [Fri, 4 Sep 2020 00:36:36 +0000 (17:36 -0700)]
ICU-21257 remove #License fragment from license URLs

4 years agoICU-21265 Increase git fetch depth on CI builds to allow rebuilding older commits.
Jeff Genovy [Thu, 3 Sep 2020 01:53:25 +0000 (18:53 -0700)]
ICU-21265 Increase git fetch depth on CI builds to allow rebuilding older commits.

4 years agoICU-21258 Refactor code and tests for compact data known issue
Shane F. Carr [Thu, 3 Sep 2020 02:02:45 +0000 (21:02 -0500)]
ICU-21258 Refactor code and tests for compact data known issue

4 years agoICU-21155 Add support for all hour and day-period skeleton characters to DateInterval...
Rich Gillam [Wed, 2 Sep 2020 22:11:49 +0000 (15:11 -0700)]
ICU-21155 Add support for all hour and day-period skeleton characters to DateIntervalFormat

4 years agoICU-20826 Updating C++ ListFormatter impl to be more like Java
Shane F. Carr [Fri, 14 Aug 2020 10:48:42 +0000 (05:48 -0500)]
ICU-20826 Updating C++ ListFormatter impl to be more like Java

4 years agoICU-21035 Delete meaningless calls to uloc_getKeywordValue().
Fredrik Roubert [Wed, 2 Sep 2020 19:15:56 +0000 (21:15 +0200)]
ICU-21035 Delete meaningless calls to uloc_getKeywordValue().

These two calls to uloc_getKeywordValue() write to the buffer "id" which
then immediately after is overwritten by calls to idForLocale() so they
can simply be removed without any loss of functionality.

4 years agoICU-21035 Update locale implementation to use ulocimp_getKeywordValue().
Fredrik Roubert [Wed, 2 Sep 2020 19:24:36 +0000 (21:24 +0200)]
ICU-21035 Update locale implementation to use ulocimp_getKeywordValue().

4 years agoICU-21262 add br collation for cldr-to-icu build
Peter Edberg [Thu, 3 Sep 2020 07:13:10 +0000 (00:13 -0700)]
ICU-21262 add br collation for cldr-to-icu build

4 years agoICU-21254 Add plural rule parsing for exponent operand in C++
Elango Cheran [Tue, 1 Sep 2020 23:06:51 +0000 (16:06 -0700)]
ICU-21254 Add plural rule parsing for exponent operand in C++

4 years agoICU-21249 Update instructions in StaticUnicodeSetsTest
Shane F. Carr [Thu, 3 Sep 2020 01:23:17 +0000 (20:23 -0500)]
ICU-21249 Update instructions in StaticUnicodeSetsTest

4 years agoICU-21249 Patch for failing exhastive unit tests
Shane F. Carr [Thu, 3 Sep 2020 01:13:06 +0000 (20:13 -0500)]
ICU-21249 Patch for failing exhastive unit tests

4 years agoICU-21035 Pass ByteSink from Locale::getKeywordValue() to uloc_getKeywordValue().
Fredrik Roubert [Wed, 2 Sep 2020 15:04:58 +0000 (17:04 +0200)]
ICU-21035 Pass ByteSink from Locale::getKeywordValue() to uloc_getKeywordValue().

This eliminates the need for a scratch buffer in Locale::getKeywordValue()
and also the need for counting bytes required in uloc_getKeywordValue(),
something that ByteSink will now handle correctly.

4 years agoICU-21249 Update numberpermutationtest.txt
Shane F. Carr [Wed, 2 Sep 2020 21:25:27 +0000 (16:25 -0500)]
ICU-21249 Update numberpermutationtest.txt

4 years agoICU-21236 Refactor UniqueCharStrings / CharStringMap
Frank Tang [Wed, 2 Sep 2020 01:17:44 +0000 (18:17 -0700)]
ICU-21236 Refactor UniqueCharStrings / CharStringMap

Move them UniqueCharStrings and CharStringMap from
loclikelysubtags.{h,cpp} to separate header files
so so we can reuse them to implement
https://github.com/unicode-org/icu/pull/1254

4 years agoICU-21108 Update to use/support VS2019, and add extra CI builds for VS2017 and VS2019.
Jeff Genovy [Wed, 2 Sep 2020 00:53:58 +0000 (17:53 -0700)]
ICU-21108 Update to use/support VS2019, and add extra CI builds for VS2017 and VS2019.

Change to use the Windows 10 SDK for Win32 (Win7) builds on the VS2019 ADO images.
The Windows 10 SDK is backwards compatible to Windows 7, if WINVER and
_WIN32_WINNT are set before compiling.

Clean up the vcxproj files from VC7.1

4 years agoICU-21261 Adds 'units' data to pseudolocale data generation. Also corrects the docume...
gnrunge [Tue, 1 Sep 2020 22:34:20 +0000 (15:34 -0700)]
ICU-21261 Adds 'units' data to pseudolocale data generation. Also corrects the documentation in a few places.

4 years agoICU-21249 integrate CLDR release 38 alpha0 to ICU trunk
Peter Edberg [Tue, 1 Sep 2020 06:22:03 +0000 (23:22 -0700)]
ICU-21249 integrate CLDR release 38 alpha0 to ICU trunk

4 years agoICU-20088 fix broken links (format_parse)
Robert Melo [Mon, 31 Aug 2020 23:28:27 +0000 (20:28 -0300)]
ICU-20088 fix broken links (format_parse)

4 years agoICU-20963 Add .clang-format file to icu4c/source
younies [Sat, 27 Jun 2020 07:26:28 +0000 (07:26 +0000)]
ICU-20963 Add .clang-format file to icu4c/source

See #1143

4 years agoICU-21051 Add copyright Remove License from sh
Frank Tang [Mon, 31 Aug 2020 22:14:37 +0000 (22:14 +0000)]
ICU-21051 Add copyright Remove License from sh

See #1281

4 years agoICU-20923 Fix compact notation with percent.
Shane F. Carr [Fri, 14 Aug 2020 06:44:02 +0000 (01:44 -0500)]
ICU-20923 Fix compact notation with percent.

4 years agoICU-13727 limit length of input for Punycode encode/decode
Markus Scherer [Mon, 31 Aug 2020 18:08:19 +0000 (18:08 +0000)]
ICU-13727 limit length of input for Punycode encode/decode

See #1241

4 years agoICU-21249 BRS68RC Version update and regenerate configure for v68
Erik Torres [Mon, 31 Aug 2020 18:28:38 +0000 (18:28 +0000)]
ICU-21249 BRS68RC Version update and regenerate configure for v68

BRS68RC Updating files for release

4 years agoICU-21247 Move #include "unicode/localpointer.h" into U_SHOW_CPLUSPLUS_API block
Victor Chang [Thu, 20 Aug 2020 14:50:49 +0000 (15:50 +0100)]
ICU-21247 Move #include "unicode/localpointer.h" into U_SHOW_CPLUSPLUS_API block

4 years agoICU-13727 add U_INPUT_TOO_LONG_ERROR & ICUInputTooLongException
Markus Scherer [Sat, 29 Aug 2020 00:34:37 +0000 (17:34 -0700)]
ICU-13727 add U_INPUT_TOO_LONG_ERROR & ICUInputTooLongException

4 years agoICU-21035 Replace backward compatibility _getVariant*() functions.
Fredrik Roubert [Fri, 28 Aug 2020 13:15:38 +0000 (15:15 +0200)]
ICU-21035 Replace backward compatibility _getVariant*() functions.

The one single caller of _getVariantEx() is _getVariant() and this in
turn only has 3 callers, one of which is commented out (so it can be
deleted), one of which doesn't actually do anything (so it too can be
deleted) and one which can be replaced by inlining the use of
CheckedArrayByteSink.

This also allows _getVariantEx() to be renamed to _getVariant() as it's
the only such function left now.

4 years agoICU-13416 change Armenian (hy) uppercase/titlecase of և ligature ech-yiwn
Markus Scherer [Sat, 29 Aug 2020 21:26:15 +0000 (14:26 -0700)]
ICU-13416 change Armenian (hy) uppercase/titlecase of և ligature ech-yiwn

4 years agoICU-21036 use StringBuilder(String str) not StringBuilder(int capacity)
Markus Scherer [Fri, 28 Aug 2020 23:59:08 +0000 (16:59 -0700)]
ICU-21036 use StringBuilder(String str) not StringBuilder(int capacity)

4 years agoICU-21051 Add Locale::createCanonical performance test
Frank Tang [Thu, 27 Aug 2020 23:06:12 +0000 (16:06 -0700)]
ICU-21051 Add Locale::createCanonical performance test

4 years agoICU-20164 Make NoUnit a zero-cost abstraction over MeasureUnit.
Shane F. Carr [Fri, 28 Aug 2020 19:26:55 +0000 (19:26 +0000)]
ICU-20164 Make NoUnit a zero-cost abstraction over MeasureUnit.

See #1230

4 years agoICU-21246 Handle kilogram SI prefix correctly
Hugo van der Merwe [Mon, 24 Aug 2020 20:08:39 +0000 (22:08 +0200)]
ICU-21246 Handle kilogram SI prefix correctly

Fix kilogram parsing: ignore 'kilogram' as a stem, we have 'gram'.

Failures in the added unit test before the fix: withSIPrefix resulted
in 'microkilogram', and kilogram's prefix was considered to be
"ONE" (i.e. 10^0).

4 years agoICU-20927 Adding French narrow duration unit test.
Shane F. Carr [Sat, 16 Feb 2019 07:39:32 +0000 (23:39 -0800)]
ICU-20927 Adding French narrow duration unit test.

4 years agoICU-21242 rephrase documentation using term master
Craig Cornelius [Thu, 27 Aug 2020 17:46:23 +0000 (17:46 +0000)]
ICU-21242 rephrase documentation using term master

See #1255

4 years agoICU-21240 Removing unused makefile files and updating docs.
David Beaumont [Fri, 28 Aug 2020 11:49:21 +0000 (13:49 +0200)]
ICU-21240 Removing unused makefile files and updating docs.

4 years agoICU-21066 Copy includelist of CLDR testData with tools/cldr/build.xml
Hugo van der Merwe [Thu, 27 Aug 2020 11:48:11 +0000 (13:48 +0200)]
ICU-21066 Copy includelist of CLDR testData with tools/cldr/build.xml

4 years agoICU-21232 Improve performance of DecimalFormat#parse on long numbers
Shane F. Carr [Wed, 26 Aug 2020 21:43:23 +0000 (16:43 -0500)]
ICU-21232 Improve performance of DecimalFormat#parse on long numbers

4 years agoICU-21028 Adding ICU version file generation to tools
David Beaumont [Wed, 12 Aug 2020 16:50:27 +0000 (16:50 +0000)]
ICU-21028 Adding ICU version file generation to tools

See #1248

4 years agoICU-21035 Replace backward compatibility locale_getKeywords() function.
Fredrik Roubert [Tue, 25 Aug 2020 13:00:01 +0000 (15:00 +0200)]
ICU-21035 Replace backward compatibility locale_getKeywords() function.

By updating the last 3 callers to do dynamic memory allocation instead,
the fixed memory buffer function becomes obsolete.

4 years agoICU-21249 Updating double-conversion for ICU 68
Shane F. Carr [Wed, 26 Aug 2020 17:44:13 +0000 (12:44 -0500)]
ICU-21249 Updating double-conversion for ICU 68

4 years agoICU-21035 Remove obsolete use of CharString::getAppendBuffer().
Fredrik Roubert [Fri, 21 Aug 2020 19:45:07 +0000 (21:45 +0200)]
ICU-21035 Remove obsolete use of CharString::getAppendBuffer().

The complicated buffer allocation code is inherited from times past but
no longer serves any purpose, it's now possible to instead simply call
the CharString copy constructor.

4 years agoICU-21035 Replace backward compatibility ulocimp_getCountry() overload.
Fredrik Roubert [Thu, 20 Aug 2020 22:16:23 +0000 (00:16 +0200)]
ICU-21035 Replace backward compatibility ulocimp_getCountry() overload.

By always calling the dynamic memory allocation implementation directly
instead, the fixed memory buffer boundary gets pushed one step further
towards the edges.

4 years agoICU-21035 Replace backward compatibility ulocimp_getScript() overload.
Fredrik Roubert [Thu, 20 Aug 2020 21:57:16 +0000 (23:57 +0200)]
ICU-21035 Replace backward compatibility ulocimp_getScript() overload.

By always calling the dynamic memory allocation implementation directly
instead, the fixed memory buffer boundary gets pushed one step further
towards the edges.

4 years agoICU-21157 Fix test code
Frank Tang [Mon, 24 Aug 2020 19:43:09 +0000 (19:43 +0000)]
ICU-21157 Fix test code

See #1256

4 years agoICU-21230 Add status to MaybeStackArray(int32_t newCapacity), plumb it through.
Hugo van der Merwe [Thu, 20 Aug 2020 13:05:58 +0000 (15:05 +0200)]
ICU-21230 Add status to MaybeStackArray(int32_t newCapacity), plumb it through.

4 years agoICU-21035 add & use CharString::extract(dest buffer) ICU-21184
Markus Scherer [Fri, 21 Aug 2020 19:19:41 +0000 (19:19 +0000)]
ICU-21035 add & use CharString::extract(dest buffer)

See #1253

4 years agoICU-21184 rephrase docs/comments using the term grandfathered
Markus Scherer [Tue, 18 Aug 2020 22:05:22 +0000 (15:05 -0700)]
ICU-21184 rephrase docs/comments using the term grandfathered

4 years agoICU-21157 Fix incorrect null termination.
Frank Tang [Tue, 18 Aug 2020 22:36:00 +0000 (22:36 +0000)]
ICU-21157 Fix incorrect null termination.

See #1236

4 years agoICU-21035 Replace backward compatibility ulocimp_getLanguage() overload.
Fredrik Roubert [Thu, 20 Aug 2020 16:08:21 +0000 (18:08 +0200)]
ICU-21035 Replace backward compatibility ulocimp_getLanguage() overload.

By always calling the dynamic memory allocation implementation directly
instead, the fixed memory buffer boundary gets pushed one step further
towards the edges.

4 years agoICU-20808 Add test for the C locale to default to en_US_POSIX
Erik Torres [Wed, 12 Aug 2020 19:28:32 +0000 (19:28 +0000)]
ICU-20808 Add test for the C locale to default to en_US_POSIX

4 years agoICU-21237 Copyright fix
David Beaumont [Thu, 20 Aug 2020 09:05:43 +0000 (11:05 +0200)]
ICU-21237 Copyright fix

4 years agoICU-21159 Fix memory leaks in cintltst TestUsingDefaultWarning.
Jeff Genovy [Tue, 18 Aug 2020 18:00:46 +0000 (11:00 -0700)]
ICU-21159 Fix memory leaks in cintltst TestUsingDefaultWarning.

4 years agoICU-21237 Improving how file deletion and cleanup works by adding a build label.
David Beaumont [Wed, 19 Aug 2020 21:16:28 +0000 (21:16 +0000)]
ICU-21237 Improving how file deletion and cleanup works by adding a build label.

See #1246

4 years agoICU-21219 Fix for Java version number overflow problem
Yoshito Umaoka [Wed, 19 Aug 2020 19:08:25 +0000 (15:08 -0400)]
ICU-21219 Fix for Java version number overflow problem

Internal API VersionInfo.javaVersion() maps Java version number to  4 integer fields. Each field must be up to 255. However, recent OpenJDK 8 update exceed this range.

Luckily, we have only one reference in our code base for checking Java version. CharsetUTF16 uses maxBytePerChar = 4 for Java 5 and older, maxBytePerChar = 2 for newer Java version. Because we no longer support Java 5 runtime, we don't need this conditional check.

We don't have any other uses of VersionInfo.javaVersion(). Java's version range is not what we can control, so I decided to delete the internal use only API completely.

4 years agoICU-20088 fix code, tables, typos, broken links, add code styling
Robert Melo [Sun, 16 Aug 2020 22:51:05 +0000 (19:51 -0300)]
ICU-20088 fix code, tables, typos, broken links, add code styling

4 years agoICU-21149 Integrating LocaleDistanceBuilder functionality into LDML tooling
David Beaumont [Wed, 19 Aug 2020 11:05:12 +0000 (11:05 +0000)]
ICU-21149 Integrating LocaleDistanceBuilder functionality into LDML tooling

See #1165

4 years agoICU-21066 Improvements in Ant build files
David Beaumont [Tue, 18 Aug 2020 13:36:54 +0000 (13:36 +0000)]
ICU-21066 Improvements in Ant build files

See #1224

4 years agoICU-21227 Fixing pseudo locale generation to include RTL control chars in exemplars
David Beaumont [Mon, 17 Aug 2020 19:56:43 +0000 (19:56 +0000)]
ICU-21227 Fixing pseudo locale generation to include RTL control chars in exemplars

See #1237

4 years agoICU-20774 Add option to icupkg to allow missing deps between resource files.
Shane F. Carr [Fri, 14 Aug 2020 07:40:12 +0000 (02:40 -0500)]
ICU-20774 Add option to icupkg to allow missing deps between resource files.

4 years agoICU-20088 User Guide migration: Fix links on formatting page.
Jeff Genovy [Mon, 17 Aug 2020 21:52:33 +0000 (14:52 -0700)]
ICU-20088 User Guide migration: Fix links on formatting page.

4 years agoICU-21159 Document U_USING_DEFAULT_WARNING in .h
Frank Tang [Fri, 14 Aug 2020 23:39:26 +0000 (16:39 -0700)]
ICU-21159 Document U_USING_DEFAULT_WARNING in .h

Document the fact
uloc_getDisplay(Language|Script|Country|Variant|Keyword|KeywordValue)
would fallback with the code, case canonicalied in same cases, and
set the status to U_USING_DEFAULT_WARNING.

No change to the implementation behavior. Only complete the missing
comments and tweak line wrap, remove double spaces and add test to
validate this pre-existing behavior that I added the documents now.

4 years agoICU-21228 fix test broken by https://github.com/unicode-org/cldr/pull/615
David Beaumont [Sun, 16 Aug 2020 15:38:03 +0000 (17:38 +0200)]
ICU-21228 fix test broken by https://github.com/unicode-org/cldr/pull/615

4 years agoICU-20088 User Guide migration: Add navigation structure and TOC for Jekyll, fix...
Jeff Genovy [Fri, 7 Aug 2020 21:25:11 +0000 (14:25 -0700)]
ICU-20088 User Guide migration: Add navigation structure and TOC for Jekyll, fix formatting issues, etc.

4 years agoICU-20088 User Guide migration: Add custom 404 page, and add Gemfile/Gemfile.lock...
Elango Cheran [Fri, 7 Aug 2020 05:32:07 +0000 (22:32 -0700)]
ICU-20088 User Guide migration: Add custom 404 page, and add Gemfile/Gemfile.lock for Jekyll.

4 years agoICU-20088 User Guide migration: Initial setup with Jekyll and the Just-The-Docs theme.
Jeff Genovy [Fri, 7 Aug 2020 01:04:51 +0000 (18:04 -0700)]
ICU-20088 User Guide migration: Initial setup with Jekyll and the Just-The-Docs theme.

Using the theme from: https://github.com/pmarsceill/just-the-docs

4 years agoICU-21030 validate ACE label edge cases
Markus Scherer [Fri, 14 Aug 2020 20:33:34 +0000 (13:33 -0700)]
ICU-21030 validate ACE label edge cases

4 years agoICU-21212 full range check for Punycode digits
Markus Scherer [Thu, 13 Aug 2020 22:35:17 +0000 (15:35 -0700)]
ICU-21212 full range check for Punycode digits

4 years agoICU-21217 Windows: Fix link command for extra/scrptrun
Paul Smith [Wed, 5 Aug 2020 17:18:30 +0000 (13:18 -0400)]
ICU-21217 Windows: Fix link command for extra/scrptrun

4 years agoICU-21182 Adding UNumberRangeFormatter (C API).
Shane F. Carr [Wed, 8 Jul 2020 21:54:59 +0000 (21:54 +0000)]
ICU-21182 Adding UNumberRangeFormatter (C API).

See #1193

4 years agoICU-21056 Remove obsolete logKnownIssues in CompactDecimalFormatTest
Shane F. Carr [Wed, 12 Aug 2020 01:51:41 +0000 (20:51 -0500)]
ICU-21056 Remove obsolete logKnownIssues in CompactDecimalFormatTest

4 years agoICU-21057 Remove obsolete logKnownIssue for ICU-11025
Shane F. Carr [Wed, 12 Aug 2020 01:42:15 +0000 (20:42 -0500)]
ICU-21057 Remove obsolete logKnownIssue for ICU-11025

4 years agoICU-21191 Improve configurability of testtagsguards.sh
Shane F. Carr [Wed, 8 Jul 2020 22:09:59 +0000 (17:09 -0500)]
ICU-21191 Improve configurability of testtagsguards.sh

4 years agoICU-21176 Add aliases for terms "whitelist" and "blacklist" in data filter
Shane F. Carr [Tue, 11 Aug 2020 23:06:45 +0000 (18:06 -0500)]
ICU-21176 Add aliases for terms "whitelist" and "blacklist" in data filter

See #1189

4 years agoICU-21174 Add error-checking methods to MaybeStackVector & MemoryPool.
younies [Tue, 16 Jun 2020 16:28:30 +0000 (18:28 +0200)]
ICU-21174 Add error-checking methods to MaybeStackVector & MemoryPool.

- MaybeStackVector::emplaceBackAndCheckErrorCode()
- MemoryPool::createAndCheckErrorCode()

Started with cherry-picks of:
3b505977c0e82659896125698389b59eabe50b14
63b93bde5c4c9fe030d490d5d448087aa0d4e5fd

4 years agoICU-20725 Fix stack overflow of u_unescapeAt
Frank Tang [Sat, 8 Aug 2020 00:53:25 +0000 (00:53 +0000)]
ICU-20725 Fix stack overflow of u_unescapeAt

See #1207

4 years agoICU-21216 Windows: Ensure directory exists before running rc
Paul Smith [Wed, 5 Aug 2020 16:13:19 +0000 (12:13 -0400)]
ICU-21216 Windows: Ensure directory exists before running rc

When building in parallel it's possible that the rc command is invoked
before other rules get around to creating the output directory.

4 years agoICU-21174 Debug msg nitpick: s/MaybeStacArray/MaybeStackArray/
Hugo van der Merwe [Fri, 7 Aug 2020 15:56:08 +0000 (17:56 +0200)]
ICU-21174 Debug msg nitpick: s/MaybeStacArray/MaybeStackArray/

4 years agoICU-21174 Delete not-to-be-used methods. Add a constructor warning.
Hugo van der Merwe [Fri, 7 Aug 2020 15:51:03 +0000 (17:51 +0200)]
ICU-21174 Delete not-to-be-used methods. Add a constructor warning.

4 years agoICU-21174 Add a memory allocation check in MeasureUnit.
Hugo van der Merwe [Thu, 6 Aug 2020 00:05:40 +0000 (02:05 +0200)]
ICU-21174 Add a memory allocation check in MeasureUnit.

4 years agoICU-20088 turn off liquid processing in MessageFormat page
Markus Scherer [Wed, 5 Aug 2020 22:53:19 +0000 (15:53 -0700)]
ICU-20088 turn off liquid processing in MessageFormat page

4 years agoICU-20088 index page for ICU GitHub Pages
Markus Scherer [Wed, 5 Aug 2020 21:27:15 +0000 (14:27 -0700)]
ICU-20088 index page for ICU GitHub Pages

Entry point to find the new home of the User Guide.

4 years agoICU-20088 Move User Guide to Markdown
Craig Cornelius [Wed, 5 Aug 2020 18:00:48 +0000 (18:00 +0000)]
ICU-20088 Move User Guide to Markdown

See #919

4 years agoICU-21059 Load simple unit IDs from convertUnits.
Hugo van der Merwe [Wed, 22 Jul 2020 09:13:32 +0000 (11:13 +0200)]
ICU-21059 Load simple unit IDs from convertUnits.

PR: https://github.com/icu-units/icu/pull/41
Commit: 7877f0409019827b2d8d43b0843656322181972b

4 years agoICU-21174 Increase safety of Measure and writeAffixes.
Hugo van der Merwe [Tue, 4 Aug 2020 02:49:23 +0000 (04:49 +0200)]
ICU-21174 Increase safety of Measure and writeAffixes.

Measure: initialize unit to nullptr, and don't dereference it if it is
nullptr.

NumberFormatterImpl::writeAffixes: U_ASSERT not-null, instead of
segfaulting for coding mistakes.

4 years agoICU-21175 Add cnvalias as a dependency of misc_res
Shane F. Carr [Fri, 10 Jul 2020 19:28:22 +0000 (14:28 -0500)]
ICU-21175 Add cnvalias as a dependency of misc_res

4 years agoICU-21076 Delete unneeded MeasureUnit data & code
Hugo van der Merwe [Tue, 4 Aug 2020 11:39:14 +0000 (13:39 +0200)]
ICU-21076 Delete unneeded MeasureUnit data & code

4 years agoICU-20465 Calendar/DateFormat listen to tz extension
Frank Tang [Fri, 31 Jul 2020 05:37:50 +0000 (05:37 +0000)]
ICU-20465 Calendar/DateFormat listen to tz extension

See #1176

4 years agoICU-21158 Fix doc of UDISPCTX_NO_SUBSTITUTE
Frank Tang [Fri, 31 Jul 2020 06:37:31 +0000 (06:37 +0000)]
ICU-21158 Fix doc of UDISPCTX_NO_SUBSTITUTE

See #1200

4 years agoICU-20734 Improve fuzzer_driver
Frank Tang [Fri, 31 Jul 2020 21:32:31 +0000 (21:32 +0000)]
ICU-20734 Improve fuzzer_driver

See #1204

4 years agoICU-21122 Fix flaky TestAdoptCalendarLeak
Frank Tang [Thu, 14 May 2020 00:17:56 +0000 (17:17 -0700)]
ICU-21122 Fix flaky TestAdoptCalendarLeak

4 years agoICU-20684 Fix uninitialized in isMatchAtCPBoundary
Frank Tang [Wed, 29 Jul 2020 00:05:26 +0000 (17:05 -0700)]
ICU-20684 Fix uninitialized in isMatchAtCPBoundary

Downstream bug https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15505
Fix Fuzzer-detected Use-of-uninitialized-value in isMatchAtCPBoundary

To test to show the bug in the new test case, configure and build with
CFLAGS="-fsanitize=memory" CXXFLAGS="-fsanitize=memory" ./runConfigureICU \
  --enable-debug --disable-release  Linux  --disable-layoutex

Test with
cintltst /tsutil/custrtst

4 years agoICU-21178 Add check for corrupt rbbitst.txt data.
Andy Heninger [Wed, 8 Jul 2020 00:12:09 +0000 (17:12 -0700)]
ICU-21178 Add check for corrupt rbbitst.txt data.

In the test data from rbbitst.txt, two or more adjacent boundary markers with
no intervening test data were accepted, with no indication of a problem.

This situation occurred, as described in bug ICU-21178, with a bad import of
some test cases from CLDR. PR #1194 corrected the problem with the test data
in ICU4C. This PR adds code to flag this situation in the test data, and
also propagates the data fix to ICU4J's copy of rbbitst.txt.

4 years agoICU-21160 Fix the length return by preflight
Frank Tang [Mon, 20 Jul 2020 22:35:31 +0000 (22:35 +0000)]
ICU-21160 Fix the length return by preflight

See #1178

4 years agoICU-13590 RBBI, improve handling of concurrent look-ahead rules.
Andy Heninger [Sat, 27 Jun 2020 00:52:40 +0000 (17:52 -0700)]
ICU-13590 RBBI, improve handling of concurrent look-ahead rules.

Change the mapping from rule number to boundary position to use a simple array
instead of a linear search lookup map.

Look-ahead rules have a preceding context, a boundary position, and following context.
In the implementation, when the preceding context matches, the potential boundary
position is saved. Then, if the following context proves to match, the saved boundary is
returned as an actual boundary.

Look-ahead rules are numbered, and the implementation maintains a map from
rule number to the tentative saved boundary position.

In an earlier improvement to the rule builder, the rule numbering was changed to be a
contiguous sequence, from the original sparse numbering. In anticipation of
changing the mapping from number to position to use a simple array.

4 years agoICU-13339 Do not parse decimal point for integers
Ramon [Tue, 12 May 2020 12:13:50 +0000 (14:13 +0200)]
ICU-13339 Do not parse decimal point for integers

4 years agoICU-21192 MeasureUnit Identifier spec compliance: s/p/pow/
Hugo van der Merwe [Thu, 18 Jun 2020 00:20:49 +0000 (02:20 +0200)]
ICU-21192 MeasureUnit Identifier spec compliance: s/p/pow/

Specification:
https://www.unicode.org/reports/tr35/tr35-general.html#Unit_Identifiers

4 years agoICU-20697 Delete now unused files and documentation for the old ICU LDML tooling.
David Beaumont [Tue, 14 Jul 2020 14:41:33 +0000 (14:41 +0000)]
ICU-20697 Delete now unused files and documentation for the old ICU LDML tooling.