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

4 years agoICU-21178 Adding the trailing space back into two RBBI test cases.
Michael Block [Sun, 5 Jul 2020 21:35:49 +0000 (09:35 +1200)]
ICU-21178 Adding the trailing space back into two RBBI test cases.

4 years agoICU-11992 uprv_tzname doesn't return valid time zone on Android
Makoto Kato [Fri, 22 Nov 2019 07:51:30 +0000 (16:51 +0900)]
ICU-11992 uprv_tzname doesn't return valid time zone on Android

4 years agoICU-21173 Add support for more currency variants. ICU4C equivalent of…
John Wilcock [Fri, 26 Jun 2020 18:02:16 +0000 (18:02 +0000)]
ICU-21173 Add support for more currency variants. ICU4C equivalent of…

See #1184

4 years agoICU-21174 Add a const version of MaybeStackVector::getAlias().
Hugo van der Merwe [Fri, 19 Jun 2020 12:10:17 +0000 (14:10 +0200)]
ICU-21174 Add a const version of MaybeStackVector::getAlias().

(Also makes a tiny tweak to appendAll() documentation.)

4 years agoICU-21176 spoof checker: remove whitelist/blacklist metaphors from API docs
Markus Scherer [Tue, 30 Jun 2020 22:23:17 +0000 (15:23 -0700)]
ICU-21176 spoof checker: remove whitelist/blacklist metaphors from API docs

4 years agoICU-13733 Added test for mismatching currency format for strict-mode parsing
John Wilcock [Tue, 23 Jun 2020 16:03:25 +0000 (16:03 +0000)]
ICU-13733 Added test for mismatching currency format for strict-mode parsing

See #1169

4 years agoICU-21170 Fix function prototypes
Diego Barrios Romero [Thu, 25 Jun 2020 06:42:48 +0000 (08:42 +0200)]
ICU-21170 Fix function prototypes

4 years agoICU-21177 Update README.md badges to point to new Azure Pipelines URL.
Jeff Genovy [Thu, 25 Jun 2020 00:48:26 +0000 (17:48 -0700)]
ICU-21177 Update README.md badges to point to new Azure Pipelines URL.

4 years agoICU-21177 Skip running the Exhaustive tests on changes to docs and other files.
Jeff Genovy [Thu, 25 Jun 2020 01:40:58 +0000 (18:40 -0700)]
ICU-21177 Skip running the Exhaustive tests on changes to docs and other files.

4 years agoICU-20545 Ensure that path ends with detected file separator
Łukasz Wojniłowicz [Sat, 16 May 2020 10:53:50 +0000 (12:53 +0200)]
ICU-20545 Ensure that path ends with detected file separator

CharString, when asked, appends U_FILE_SEP_CHAR at the end of the string
it holds, if it won't find U_FILE_SEP_CHAR or U_FILE_ALT_SEP_CHAR there.
The problem starts if the dir variable uses
U_FILE_ALT_SEP_CHAR which is not equal to U_FILE_SEP_CHAR. Then the
resulting path could look like this
../data\
instead of this
../data/

This patch uses U_FILE_SEP_CHAR unless it detects that the dir variable
doesn't use it, and uses U_FILE_ALT_SEP_CHAR instead.

4 years agoICU-21144 LocaleMatcher setMaxDistance(), isMatch()
Markus Scherer [Tue, 23 Jun 2020 01:55:04 +0000 (18:55 -0700)]
ICU-21144 LocaleMatcher setMaxDistance(), isMatch()

4 years agoICU-21142 Hopefully fixing the install script (bash only)
David Beaumont [Mon, 22 Jun 2020 09:56:34 +0000 (09:56 +0000)]
ICU-21142 Hopefully fixing the install script (bash only)

4 years agoICU-20869 Fix compiler warning in FixedDecimal::getFractionalDigits().
Andy Heninger [Mon, 1 Jun 2020 19:59:47 +0000 (12:59 -0700)]
ICU-20869 Fix compiler warning in FixedDecimal::getFractionalDigits().

Fix a clang compiler warning and a potential undefined behavior arising
from casting an out-of-range double to an int. See the Jira ticket for a
more detailed description of the problem.

This PR is to fix the immediate problem. Longer term, the function
may be replaced entirely - see issue ICU-21147.

4 years agoICU-21142 Improving Maven handling of CLDR API Jar file for new tools.
David Beaumont [Thu, 18 Jun 2020 20:11:53 +0000 (20:11 +0000)]
ICU-21142 Improving Maven handling of CLDR API Jar file for new tools.

4 years agoICU-20545 Detect file separator char from dir
Łukasz Wojniłowicz [Sat, 2 May 2020 09:39:21 +0000 (11:39 +0200)]
ICU-20545 Detect file separator char from dir

If udata_create won't find U_FILE_SEP_CHAR at the end of a dir variable,
then it appends it. The problem starts if the dir variable uses
U_FILE_ALT_SEP_CHAR which is not equal to U_FILE_SEP_CHAR. Then the
resulting path could look like this
../data\mappings/cns-11643-1992.ucm
instead of this
../data/mappings/cns-11643-1992.ucm

This patch uses U_FILE_SEP_CHAR unless it detects that the dir variable
doesn't use it, and uses U_FILE_ALT_SEP_CHAR instead.

4 years agoICU-21165 Add LdmlConverter UNITS output, update SUPPLEMENTAL_DATA.
Hugo van der Merwe [Mon, 15 Jun 2020 15:21:13 +0000 (17:21 +0200)]
ICU-21165 Add LdmlConverter UNITS output, update SUPPLEMENTAL_DATA.

- Produce new supplementalData.txt and units.txt with:

      ant -f build-icu-data.xml -DoutDir=/tmp/new_dir \
          -DcldrVersion=37 -DoutputTypes=UNITS,SUPPLEMENTAL_DATA

4 years agoICU-21169 Add SingleUnitImpl::getSimpleUnitID().
Hugo van der Merwe [Tue, 16 Jun 2020 14:12:15 +0000 (16:12 +0200)]
ICU-21169 Add SingleUnitImpl::getSimpleUnitID().

Also:
- Use BytesTrie not UCharsTrie.
- Add a nullptr check for a uprv_malloc.

4 years agoICU-21161 Mark uloc_getDisplayScriptInContext static
Frank Tang [Thu, 18 Jun 2020 04:51:13 +0000 (21:51 -0700)]
ICU-21161 Mark uloc_getDisplayScriptInContext static

Remove from urename.h

4 years agoICU-21137 Adjust VSCode IDE settings and README.
Hugo van der Merwe [Wed, 27 May 2020 13:43:15 +0000 (15:43 +0200)]
ICU-21137 Adjust VSCode IDE settings and README.

ICU Pull Request #1159.

- Set intltest's Current Working Directory correctly to enable finding
  resources.
- Adds c_cpp_properties.json, primarily for the includePath settings.
- Load average takes a while to respond, specify -j24 to always limit
  parallel jobs to a maximum of 24.
- make's "-l" parameter is system load average, not CPU percentage.
  A load average of 90 makes my laptop unusable, changing to -l20.
- Make running all tests the unit-testing default.
- Document the adjustments that can be made in the README.
- Skip these json files when checking for copyright notices. Pure json
  does not permit comments, so c_cpp_properties.json cannot have
  comments.
- defines += U_DISABLE_RENAMING=1 to simplify reference following.

Rebased from 00a5d6dd5c.

4 years agoICU-13565 Break Iteration, remove the dictionary bit from the implementation.
Andy Heninger [Tue, 9 Jun 2020 20:19:17 +0000 (13:19 -0700)]
ICU-13565 Break Iteration, remove the dictionary bit from the implementation.

For identifying text that needs to be handled by a word dictionary for Break Iteration,
change from using a bit in the character category to sorting all dictionary categories
together, and recording the boundary between the non-dictionary and dictionary ranges.

This is internal to the implementaion. It does not affect behavior.
It does increase the number of character categories that can be handled using a
compact 8 bit Trie, from 127 to 255.

4 years agoICU-21078 Improve instructions and gitignore files for cldr-to-icu.
Hugo van der Merwe [Sun, 14 Jun 2020 15:49:00 +0000 (17:49 +0200)]
ICU-21078 Improve instructions and gitignore files for cldr-to-icu.

This also adds .idea/ to the top-level .gitignore, next to .vs/ and
.vscode/.

4 years agoICU-21149 Adding a helper to allow simpler debugging of mappers.
David Beaumont [Mon, 15 Jun 2020 21:56:23 +0000 (21:56 +0000)]
ICU-21149 Adding a helper to allow simpler debugging of mappers.

4 years agoICU-21109 minimum grouping digits in DecimalFormat
Frank Tang [Thu, 11 Jun 2020 00:53:05 +0000 (00:53 +0000)]
ICU-21109 minimum grouping digits in DecimalFormat

See #1152

4 years agoICU-21143 Applying non-zero offset to null pointer is undefined behaviour.
Fredrik Roubert [Tue, 2 Jun 2020 20:35:20 +0000 (22:35 +0200)]
ICU-21143 Applying non-zero offset to null pointer is undefined behaviour.

The result of pointer end + 1 will not be used if end is nullptr so it
doesn't really matter that the result of this operation is undefined,
but it's therefore also unnecessary to perform the operation at all.

Changing this removes this unnecessary operation and by doing so gives
the undefined behaviour sanitizer one thing less to worry about.

4 years agoICU-21142 Moving CLDR jar file to common location
David Beaumont [Tue, 2 Jun 2020 07:32:15 +0000 (07:32 +0000)]
ICU-21142 Moving CLDR jar file to common location

4 years agoICU-21140 Make UTF-8 explicit for all file access.
David Beaumont [Tue, 2 Jun 2020 20:43:41 +0000 (22:43 +0200)]
ICU-21140 Make UTF-8 explicit for all file access.

4 years agoICU-21135 Fix pseudo locales to filter only non-root paths and avoid aliases.
David Beaumont [Tue, 26 May 2020 23:12:42 +0000 (23:12 +0000)]
ICU-21135 Fix pseudo locales to filter only non-root paths and avoid aliases.

See #1157

4 years agoICU-21140 Fix cldr-to-icu tooling to work on Windows
daniel-ju [Tue, 2 Jun 2020 18:22:39 +0000 (14:22 -0400)]
ICU-21140 Fix cldr-to-icu tooling to work on Windows

4 years agoICU-13565 RBBI, make all state table row data be unsigned.
Andy Heninger [Wed, 27 May 2020 23:36:22 +0000 (16:36 -0700)]
ICU-13565 RBBI, make all state table row data be unsigned.

4 years agoICU-21119 Enable verbose output from ICU data build when building DEBUG on Windows
Jeff Genovy [Mon, 11 May 2020 20:49:27 +0000 (13:49 -0700)]
ICU-21119 Enable verbose output from ICU data build when building DEBUG on Windows

4 years agoICU-21134 Copy additional data when toNumberFormatter is used
Shane F. Carr [Thu, 28 May 2020 02:13:07 +0000 (02:13 +0000)]
ICU-21134 Copy additional data when toNumberFormatter is used

See #1156

4 years agoICU-13786 Fix addLikelySubtags/minimizeSubtags
Frank Tang [Fri, 1 May 2020 22:13:37 +0000 (22:13 +0000)]
ICU-13786 Fix addLikelySubtags/minimizeSubtags

See #1140

4 years agoICU-13565 Reduce size of BreakIterator brk files
Frank Tang [Tue, 19 May 2020 20:44:14 +0000 (20:44 +0000)]
ICU-13565 Reduce size of BreakIterator brk files

See #1100

4 years agoICU-21084 Migrating ICU tools to use PathMatcher
David Beaumont [Mon, 4 May 2020 10:13:49 +0000 (10:13 +0000)]
ICU-21084 Migrating ICU tools to use PathMatcher

4 years agoICU-21098 fix ticket URLs for logKnownIssue tickets.
Steven R. Loomis [Wed, 20 May 2020 20:29:35 +0000 (13:29 -0700)]
ICU-21098 fix ticket URLs for logKnownIssue tickets.

- Still allows "1234" or "cldrbug:1234" format ticket IDs
- However, docs recommend "ICU-1234" or "CLDR-1234" format
in the future.
- Other ticket IDs could be used, but won't be linkified.

4 years agoICU-21029 LocaleMatcher: add option to turn off default locale
Markus Scherer [Wed, 20 May 2020 02:17:44 +0000 (19:17 -0700)]
ICU-21029 LocaleMatcher: add option to turn off default locale

4 years agoICU-10879 Split out OBJECTS from Makefiles into separate files
Stephan Szabo [Mon, 11 May 2020 16:36:07 +0000 (09:36 -0700)]
ICU-10879 Split out OBJECTS from Makefiles into separate files

4 years agoICU-21121 Enable tests for MacOSX build bot.
Jeff Genovy [Sun, 3 May 2020 20:18:22 +0000 (13:18 -0700)]
ICU-21121 Enable tests for MacOSX build bot.

4 years agoICU-21090 Fix private class
Frank Tang [Fri, 8 May 2020 23:55:00 +0000 (16:55 -0700)]
ICU-21090 Fix private class

4 years agoICU-21081 Make U_ASSERT C++14 compatible
Shane F. Carr [Sat, 25 Apr 2020 00:23:40 +0000 (19:23 -0500)]
ICU-21081 Make U_ASSERT C++14 compatible

4 years agoICU-21104 Add build bots using Ubuntu 18.04 with C++14
Jeff Genovy [Sun, 3 May 2020 19:41:08 +0000 (12:41 -0700)]
ICU-21104 Add build bots using Ubuntu 18.04 with C++14

This change adds an Azure build bot that builds using Clang on Ubuntu
18.04 with C++14 in debug mode, and a build bot on Travis that builds
using GCC with C++14.

Note: The Ubuntu 18.04 image doesn't have HarfBuzz, so we need to disable
building the layout engine.

4 years agoICU-21102 Fix broken builds on Windows when using a pre-built data file (from the...
Jeff Genovy [Wed, 29 Apr 2020 02:21:01 +0000 (19:21 -0700)]
ICU-21102 Fix broken builds on Windows when using a pre-built data file (from the tgz).

4 years agoICU-21096 adjust logKnownIssues for ICU rbbitst
Peter Edberg [Sun, 26 Apr 2020 22:26:00 +0000 (15:26 -0700)]
ICU-21096 adjust logKnownIssues for ICU rbbitst

4 years agoICU-21099 udat_toCalendarDateField should handle all UDateFormatFields and out of...
Peter Edberg [Mon, 27 Apr 2020 01:24:14 +0000 (18:24 -0700)]
ICU-21099 udat_toCalendarDateField should handle all UDateFormatFields and out of range

4 years agoICU-21094 tzdata2020a to ICU.
yumaoka [Sat, 25 Apr 2020 00:44:20 +0000 (20:44 -0400)]
ICU-21094 tzdata2020a to ICU.

4 years agoICU-21071 Fix lenient parse rules
Robert Melo [Tue, 21 Apr 2020 21:25:46 +0000 (18:25 -0300)]
ICU-21071 Fix lenient parse rules

- Check non-lenient rules before call lenint parsing
- Remove logKnownIssue 9503 from test code
- Adjust TestAllLocales test on ICU4C
- Add lenient checks on ICU4J

4 years agoICU-21052 Fix two compilations with UCONFIG_NO_CONVERSION option in t…
Craig Cornelius [Wed, 22 Apr 2020 21:38:55 +0000 (21:38 +0000)]
ICU-21052 Fix two compilations with UCONFIG_NO_CONVERSION option in t…

See #1127

4 years agoICU-21089 Ignoring incomplete alt path mappings.
David Beaumont [Thu, 23 Apr 2020 17:52:47 +0000 (19:52 +0200)]
ICU-21089 Ignoring incomplete alt path mappings.