]> granicus.if.org Git - icu/log
icu
4 years agoICU-20568 Check convertible units
younies [Mon, 30 Mar 2020 12:43:50 +0000 (14:43 +0200)]
ICU-20568 Check convertible units

PR: https://github.com/sffc/icu/pull/32
Commit: 3bf35258f42f8aca893f6ebfb9a019c2e1ee5563

4 years agoICU-20568 unitsdata.cpp/.h and associated tests
Hugo van der Merwe [Thu, 5 Mar 2020 15:33:08 +0000 (16:33 +0100)]
ICU-20568 unitsdata.cpp/.h and associated tests

Read unitsTest.txt, prepare to run unit tests.
PR: https://github.com/sffc/icu/pull/20
Commit: 9f65f41f183ded57efdf4f7c0cdf56c02e441024

No-op/cosmetic: reformat with clang-format ident:4 line-length:105.
PR: https://github.com/sffc/icu/pull/25
Commit: 4be0a2bc55fc3567f790a53cc988abd4c3508419

Parse unitPreferencesTest.txt preparing to run data-driven tests
PR: https://github.com/sffc/icu/pull/26
Commit: 9e021f9b6fbee06283ef4c45dbfe5c7b3abd2dbf

Improve test output: no more fprintfs.
PR: https://github.com/sffc/icu/pull/34
Commit: 12a5289238d68e3aa184727d7d7af55d386613c7

Update to latest CLDR test files: b7a23f3f41 CLDR-13587.
PR: https://github.com/sffc/icu/pull/33
Commit: 44e9afb32187529a4599548c42f70c7deb3e46bf

Add unitsdata.cpp, getConversionRatesInfo, and unit tests.
PR: https://github.com/sffc/icu/pull/31
Commit: ca34233e0804c1175f210e5557bb984da2eab244

Update unitsTest.txt and unitPreferencesTest.txt from current CLDR master
PR: https://github.com/sffc/icu/pull/41
Commit: be7f69941ddf4373e9d66149e95f5b8345d7de5d

4 years agoICU-20568 Skeleton for Testing Units
younies [Thu, 16 Jan 2020 16:16:19 +0000 (17:16 +0100)]
ICU-20568 Skeleton for Testing Units

PR: https://github.com/sffc/icu/pull/6
Commit: 9b3ca66937c40044055bf9a8e13db57bcdc75fec

4 years agoICU-21272 Add Windows ARM64 Debug build to CI build configuration.
Jeff Genovy [Wed, 9 Sep 2020 20:19:57 +0000 (13:19 -0700)]
ICU-21272 Add Windows ARM64 Debug build to CI build configuration.

4 years agoICU-9961 replace U_DRAFT/U_STABLE/U_INTERNAL with U_CAPI
Markus Scherer [Wed, 9 Sep 2020 23:08:00 +0000 (16:08 -0700)]
ICU-9961 replace U_DRAFT/U_STABLE/U_INTERNAL with U_CAPI

4 years agoICU-21272 Making changes in makedata.mak to fix Debug cross-build for ARM & ARM64
shaobero [Thu, 10 Sep 2020 10:14:48 +0000 (10:14 +0000)]
ICU-21272 Making changes in makedata.mak to fix Debug cross-build for ARM & ARM64

4 years agoICU-21043 Fix calendar problems
Frank Tang [Fri, 4 Sep 2020 21:42:10 +0000 (14:42 -0700)]
ICU-21043 Fix calendar problems

This PR fixes
ICU-21043 Erroneous date display in indian calendar of all dates prior to 0001-01-01.
ICU-21044 Hebrew Calendar calculation is incorrect when the year < 1
ICU-21045 Erroneous date display in islamic and islamic-rgsa calendars of all dates prior to 0622-07-18.
ICU-21046 Erroneous date display in islamic-umalqura calendar of all dates prior to  -195366-07-23.

The problem in the indiancal.cpp is
* ICU-21043 the gregorian/julain convesion is wrong. Swith to use
i18n/gregoimp.h fix the problem.

The problem in the hebrwcal.cpp is
* ICU-21044 Use ClockMath::floorDivid to replace x / y for x maybe <  0
also need to fix incorrect value in test file

The problem in the islamcal.cpp:
* ICU-21045: The math of % negative number for year and month is wrong.
* ICU-21046: Not use int64_t methods and caused int32_t overflow while the year is a
huge negative number. Cast to int64_t to force using the int64_t version
for the math fix the problem.

Also add tests to exhaust test 8000 years for all calendar. In quick
mode, only test 2.5 years.

Switch to 0-based month. fix TZ for test.

4 years agoICU-21268 Adds NULL string checks to assert statements to prevent
gnrunge [Wed, 9 Sep 2020 20:46:35 +0000 (13:46 -0700)]
ICU-21268 Adds NULL string checks to assert statements to prevent
segmentation faults when unit tests run without ICU data.

ICU-21268 Fix value type: char* is not ompatible with u'..' value.

4 years agoICU-21267 stop defining & using FALSE & TRUE macros in public headers
Markus Scherer [Tue, 8 Sep 2020 17:58:37 +0000 (17:58 +0000)]
ICU-21267 stop defining & using FALSE & TRUE macros in public headers

See #1282

4 years agoICU-21106 avoid buffer overflow in u_fopen_u, fix WIN32_API fclose(NULL)
Peter Edberg [Mon, 7 Sep 2020 04:14:29 +0000 (21:14 -0700)]
ICU-21106 avoid buffer overflow in u_fopen_u, fix WIN32_API fclose(NULL)

4 years agoICU-21268 Add error checks to avoid segmentation faults if tests run with stubdata...
gnrunge [Thu, 3 Sep 2020 23:28:38 +0000 (16:28 -0700)]
ICU-21268 Add error checks to avoid segmentation faults if tests run with stubdata only.

ICU-21268 Use 'nullptr' instead of NULL when checking for pointer value.

ICU-21268: Fixes error message.

ICU-21268 Style fixes (space before '{').

4 years agoICU-21264 Re-enable optimizations for various functions on MSVC for VS2019 and above.
Jeff Genovy [Fri, 4 Sep 2020 18:58:40 +0000 (11:58 -0700)]
ICU-21264 Re-enable optimizations for various functions on MSVC for VS2019 and above.

4 years agoICU-21108 Add build using VS2015 toolset, fix job names.
Jeff Genovy [Fri, 4 Sep 2020 19:35:50 +0000 (12:35 -0700)]
ICU-21108 Add build using VS2015 toolset, fix job names.

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.