]> granicus.if.org Git - icu/log
icu
2 years agoICU-21936 Make the internal units converters public
Younies [Wed, 9 Mar 2022 18:24:44 +0000 (18:24 +0000)]
ICU-21936 Make the internal units converters public

See #2021

2 years agoICU-21900 Adjusts performance alert threshold to 150%, i.e. the alert only is
gnrunge [Wed, 9 Mar 2022 16:39:43 +0000 (08:39 -0800)]
ICU-21900 Adjusts performance alert threshold to 150%, i.e. the alert only is
triggered if the current measured execution time is 50% higher than the previous
time.
The current setting of 100% means that even a 1% increase from previous time
triggers the alert already.

2 years agoICU-21805 Remove useless check
Alexander Morozov [Mon, 25 Oct 2021 21:21:47 +0000 (00:21 +0300)]
ICU-21805 Remove useless check

2 years agoICU-21784 suppress -Wunused-function warning in unistr.cpp
Daniel Bevenius [Mon, 4 Oct 2021 11:10:02 +0000 (13:10 +0200)]
ICU-21784 suppress -Wunused-function warning in unistr.cpp

This commit adds an ignore of the unused function
uprv_UnicodeStringDummy.

2 years agoICU-21322 Add parse and format methods for DecimalQuantity with exponent
Elango Cheran [Tue, 8 Mar 2022 18:50:01 +0000 (18:50 +0000)]
ICU-21322 Add parse and format methods for DecimalQuantity with exponent

See #2012

2 years agoICU-21527 Assert pattern equality instead of object equality
Shane F. Carr [Tue, 8 Mar 2022 03:17:05 +0000 (19:17 -0800)]
ICU-21527 Assert pattern equality instead of object equality

2 years agoICU-21801 Fix array comparison warning in uspoof_impl.cpp
Shane F. Carr [Tue, 8 Mar 2022 18:45:21 +0000 (18:45 +0000)]
ICU-21801 Fix array comparison warning in uspoof_impl.cpp

See #2015

2 years agoICU-21768 Fixed (u_snprintf improperly counts the required buffer size). Modified...
Alexey Vetlov [Thu, 30 Sep 2021 19:11:14 +0000 (23:11 +0400)]
ICU-21768 Fixed (u_snprintf improperly counts the required buffer size). Modified TestSnprintf to test the null buffer case.

2 years agoICU-21843 Add ICU4C performance tests to continuous integration
gnrunge [Fri, 4 Mar 2022 22:25:14 +0000 (22:25 +0000)]
ICU-21843 Add ICU4C performance tests to continuous integration

See #1987

2 years agoICU-21379 Add getNounClass and enum NounClass
younies [Wed, 2 Mar 2022 10:44:43 +0000 (10:44 +0000)]
ICU-21379 Add getNounClass and enum NounClass

See #2002

2 years agoICU-21900 ICU4J: Promote all '@draft ICU 69' to '@stable'
Craig Cornelius [Wed, 23 Feb 2022 17:15:45 +0000 (09:15 -0800)]
ICU-21900 ICU4J: Promote all '@draft ICU 69' to '@stable'

2 years agoICU-21900 check non-stable API macros, fix missing U_DEPRECATED
Peter Edberg [Wed, 2 Mar 2022 07:28:49 +0000 (23:28 -0800)]
ICU-21900 check non-stable API macros, fix missing U_DEPRECATED

2 years agoICU-21816 Add ICU4C samples check to workflow for BRS "Test C Samples"
Craig Cornelius [Wed, 2 Mar 2022 16:15:12 +0000 (16:15 +0000)]
ICU-21816 Add ICU4C samples check to workflow for BRS "Test C Samples"

See #2010

2 years agoICU-21900 Ticket ICU-8989 is fixed but CLDR-4375 remains open. Change the
gnrunge [Wed, 23 Feb 2022 18:28:24 +0000 (10:28 -0800)]
ICU-21900 Ticket ICU-8989 is fixed but CLDR-4375 remains open. Change the
TODO comment.

2 years agoICU-21802 Fix error where strict date parsing could succeed on certain malformed...
Rich Gillam [Fri, 25 Feb 2022 02:53:02 +0000 (18:53 -0800)]
ICU-21802 Fix error where strict date parsing could succeed on certain malformed input strings.

2 years agoICU-21900 Bookkeeping of CLDR tickets in TODO() comments: CLDR-14502 was closed
gnrunge [Wed, 23 Feb 2022 19:40:21 +0000 (11:40 -0800)]
ICU-21900 Bookkeeping of CLDR tickets in TODO() comments: CLDR-14502 was closed
as duplicate of 14582 (open) and CLDR-13700 was closed as duplicate of
CLDR-13701 (open). Modify the TODOs accordingly.

2 years agoICU-21900 Fix ICU4C sample dtitvfmtsample segfault and update healthy code doc
Craig Cornelius [Fri, 25 Feb 2022 21:45:16 +0000 (13:45 -0800)]
ICU-21900 Fix ICU4C sample dtitvfmtsample segfault and update healthy code doc

2 years agoICU-21154 Fixed handling of hour characters in date-interval-format skeletons to...
Rich Gillam [Fri, 25 Feb 2022 00:48:38 +0000 (16:48 -0800)]
ICU-21154 Fixed handling of hour characters in date-interval-format skeletons to match the way they're handled in
DateTimePatternGenerator skeletons.

2 years agoICU-21900 Fix ICU4C sample build and execution
Craig Cornelius [Fri, 25 Feb 2022 02:51:44 +0000 (02:51 +0000)]
ICU-21900 Fix ICU4C sample build and execution

This fixes several of the sample C++ programs.

2 years agoICU-21592 Linebreak loose cj rules cleanup
Andy Heninger [Thu, 24 Feb 2022 00:48:24 +0000 (16:48 -0800)]
ICU-21592 Linebreak loose cj rules cleanup

This is a followup to PR #1991, Update cj normal/loose linebreak per CSS

The original change to the line_loose_cj rules involved splitting hyphens out
of the BA (Break After) class, allowing a break when they follow an ID. This
change simplifies the the rules for doing that.

It also fixes a problem with the original change that had altered the behavior
of BAX hyphens that followed Regional Indicators or Unattached Combining Marks.

2 years agoICU-21900 integrate CLDR release-41-alpha4 to ICU main for 71 front-load
Peter Edberg [Wed, 23 Feb 2022 23:42:06 +0000 (15:42 -0800)]
ICU-21900 integrate CLDR release-41-alpha4 to ICU main for 71 front-load

2 years agoICU-21908 Add incrementExact to ICU4C Precision
Shane F. Carr [Tue, 22 Feb 2022 22:39:11 +0000 (22:39 +0000)]
ICU-21908 Add incrementExact to ICU4C Precision

See #1979

2 years agoICU-21900 Fix issues found while running samples.
Jeff Genovy [Wed, 23 Feb 2022 19:49:01 +0000 (11:49 -0800)]
ICU-21900 Fix issues found while running samples.

2 years agoICU-21881 Fix TrailingZeroDisplay with RoundingMode
Shane F. Carr [Wed, 23 Feb 2022 17:38:24 +0000 (17:38 +0000)]
ICU-21881 Fix TrailingZeroDisplay with RoundingMode

See #1977

2 years agoICU-21873 Corrected alias handling getAllItemsWithFallback() to go to the right place.
Rich Gillam [Wed, 22 Dec 2021 01:26:09 +0000 (17:26 -0800)]
ICU-21873 Corrected alias handling getAllItemsWithFallback() to go to the right place.

2 years agoICU-21900 Update double-conversion to v3.2.0 cldr/2022-02-23
Shane F. Carr [Wed, 23 Feb 2022 18:44:55 +0000 (10:44 -0800)]
ICU-21900 Update double-conversion to v3.2.0

2 years agoICU-21900 BRS71 Updating currency numeric code data.
yumaoka [Wed, 16 Feb 2022 23:02:38 +0000 (18:02 -0500)]
ICU-21900 BRS71 Updating currency numeric code data.

2 years agoICU-21900 Promote all @draft ICU 69 APIs to @stable ICU 69
Rich Gillam [Thu, 17 Feb 2022 01:15:40 +0000 (17:15 -0800)]
ICU-21900 Promote all @draft ICU 69 APIs to @stable ICU 69

2 years agoICU-21919 Fix buffer overflow bug in Dutch accented IJ titlecase
Elango Cheran [Tue, 22 Feb 2022 18:28:12 +0000 (18:28 +0000)]
ICU-21919 Fix buffer overflow bug in Dutch accented IJ titlecase

See #1990

2 years agoICU-21900 BRS71 Update license files
Yoshito Umaoka [Wed, 23 Feb 2022 18:28:12 +0000 (13:28 -0500)]
ICU-21900 BRS71 Update license files

2 years agoICU-21765 Add approximately sign field
Shane F. Carr [Tue, 22 Feb 2022 20:58:37 +0000 (20:58 +0000)]
ICU-21765 Add approximately sign field

See #1978

2 years agoICU-21900 integrate CLDR release-41-alpha3 to ICU main for 71 front-load
Peter Edberg [Wed, 23 Feb 2022 04:28:24 +0000 (20:28 -0800)]
ICU-21900 integrate CLDR release-41-alpha3 to ICU main for 71 front-load

2 years agoICU-21900 With ICU-13353 being fixed, remove code that was added to work around
gnrunge [Tue, 22 Feb 2022 19:10:25 +0000 (11:10 -0800)]
ICU-21900 With ICU-13353 being fixed, remove code that was added to work around
ICU-13353.

2 years agoICU-21814 Fix broken links in icu_data/index.md
Shane F. Carr [Wed, 27 Oct 2021 18:25:52 +0000 (18:25 +0000)]
ICU-21814 Fix broken links in icu_data/index.md

See #1921

2 years agoICU-21886 Make rounding priority consistent with ECMA-402
Shane F. Carr [Sat, 19 Feb 2022 03:29:05 +0000 (03:29 +0000)]
ICU-21886 Make rounding priority consistent with ECMA-402

See #1989

2 years agoICU-21592 Update cj normal/loose linebreak per CSS cldr/2022-02-22
Peter Edberg [Mon, 21 Feb 2022 06:32:18 +0000 (22:32 -0800)]
ICU-21592 Update cj normal/loose linebreak per CSS

2 years agoICU-21900 Remove 'logKnownIssue(...)' protection now that ICU-21714 is fixed.
gnrunge [Fri, 18 Feb 2022 23:46:40 +0000 (15:46 -0800)]
ICU-21900 Remove 'logKnownIssue(...)' protection now that ICU-21714 is fixed.

2 years agoICU-21900 BRS 71rc, update urename.h
Peter Edberg [Mon, 21 Feb 2022 22:48:45 +0000 (14:48 -0800)]
ICU-21900 BRS 71rc, update urename.h

2 years agoICU-21699 Add some more particles
allenwtsu [Wed, 16 Feb 2022 16:22:55 +0000 (00:22 +0800)]
ICU-21699 Add some more particles

2 years agoICU-21900 BRSRC 71.0.1 Version update and regenerate configure
Erik Torres [Thu, 17 Feb 2022 18:16:14 +0000 (18:16 +0000)]
ICU-21900 BRSRC 71.0.1 Version update and regenerate configure

See #1973

2 years agoICU-21918 Updated expected useDaylightTime() value for MIT (Asia/Apia).
yumaoka [Wed, 16 Feb 2022 22:30:34 +0000 (17:30 -0500)]
ICU-21918 Updated expected useDaylightTime() value for MIT (Asia/Apia).

2 years agoICU-21849 Fix Broken Link from general Transforms
Xiao Tianci [Fri, 11 Feb 2022 06:33:29 +0000 (14:33 +0800)]
ICU-21849 Fix Broken Link from general Transforms

2 years agoICU-21141 Fix titlecase of accented Dutch ij digraph
Elango [Tue, 15 Feb 2022 23:27:24 +0000 (23:27 +0000)]
ICU-21141 Fix titlecase of accented Dutch ij digraph

See #1869

2 years agoICU-21900 integrate CLDR release-41-alpha2 to ICU main for 71 front-load
Peter Edberg [Tue, 15 Feb 2022 23:07:15 +0000 (15:07 -0800)]
ICU-21900 integrate CLDR release-41-alpha2 to ICU main for 71 front-load

2 years agoICU-21832 Remove unsafe double-checked lock in ICUNotifier
Andy Heninger [Wed, 9 Feb 2022 00:31:34 +0000 (16:31 -0800)]
ICU-21832 Remove unsafe double-checked lock in ICUNotifier

ICUNotifier::notifyChanged() was using the thread-unsafe double-checked lock
idiom. Replace it with use of the mutex only.

2 years agoICU-21900 integrate CLDR release-41-alpha1 to ICU main for 71 front-load
Peter Edberg [Fri, 11 Feb 2022 19:37:47 +0000 (11:37 -0800)]
ICU-21900 integrate CLDR release-41-alpha1 to ICU main for 71 front-load

2 years agoICU-21843 Modifies performance tests and test framework in preparation of
gnrunge [Tue, 8 Feb 2022 23:23:21 +0000 (15:23 -0800)]
ICU-21843 Modifies performance tests and test framework in preparation of
adding performance tests to ICU CI.
- test/perf/Makefile.in:
    adds strsrchperf to list of subdirs.
    changes target 'all' to compile everything in the standard way.
- test/perf/ustrperf/Makefile.in: changes target executable from stringperf to
  ustrperf (i.e. name of directory) to allow uniform handling with other
  perf tests in GHA CI rules.
- tools/ctestfw/uperf.cpp: changes output to ndjson format for processing with
  GHA Benchmark. Keep the previous output, which gets processed by the Perl
  scripts, when executed in 'verbose' mode. Backward compatibility,
  in case someone still wants to use the Perl scripts for the time being.
  May get cleaned up later.
Also remove a few non-essential output lines that would interfer with
GHA Benchmark.
processing

2 years agoICU-21699 Add Japanese particle
allenwtsu [Thu, 20 Jan 2022 09:51:17 +0000 (17:51 +0800)]
ICU-21699 Add Japanese particle

2 years agoICU-21699 Add breakpoint between Japanese and Alphabet
allenwtsu [Thu, 27 Jan 2022 10:01:25 +0000 (18:01 +0800)]
ICU-21699 Add breakpoint between Japanese and Alphabet

2 years agoICU-21699 Revise rule file
allenwtsu [Fri, 28 Jan 2022 03:28:17 +0000 (11:28 +0800)]
ICU-21699 Revise rule file

1. \u30fc doesn't belong to Hira, Kana nor Han. Add it into CJK dictionary
2. Include fullwidth char into ALPlus

2 years agoICU-21900 MeasureUnit update; just marks mg-ofGlucose-perDeciliter as stable cldr/2022-02-08
Peter Edberg [Tue, 8 Feb 2022 07:57:16 +0000 (23:57 -0800)]
ICU-21900 MeasureUnit update; just marks mg-ofGlucose-perDeciliter as stable

2 years agoICU-21900 integrate CLDR release-41-alpha0 to ICU main for 71 front-load
Peter Edberg [Mon, 7 Feb 2022 21:44:04 +0000 (13:44 -0800)]
ICU-21900 integrate CLDR release-41-alpha0 to ICU main for 71 front-load

2 years agoICU-21763 UVector cleanup, remove old funcs.
Andy Heninger [Sun, 19 Dec 2021 19:51:21 +0000 (11:51 -0800)]
ICU-21763 UVector cleanup, remove old funcs.

Remove the functions UVector::addElementX() and UVector::ensureCapacityX() that
were temporarily added to aid in the cleaning up of UVector's out-of-memory
error handling.

2 years agoICU-21815 Bump xercesImpl from 2.12.0 to 2.12.2 in /tools/release/java
dependabot[bot] [Thu, 27 Jan 2022 16:20:07 +0000 (16:20 +0000)]
ICU-21815 Bump xercesImpl from 2.12.0 to 2.12.2 in /tools/release/java

Bumps xercesImpl from 2.12.0 to 2.12.2.

---
updated-dependencies:
- dependency-name: xerces:xercesImpl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoICU-21894 A modern version of ucol_safeClone and ucnv_safeClone API
Victor Chang [Fri, 21 Jan 2022 14:52:55 +0000 (14:52 +0000)]
ICU-21894 A modern version of ucol_safeClone and ucnv_safeClone API

2 years agoICU-21699 Refactor codeunit handling
allenwtsu [Tue, 25 Jan 2022 11:27:47 +0000 (11:27 +0000)]
ICU-21699 Refactor codeunit handling

See #1965

2 years agoICU-21896 Use double base in pow()
Mojca Miklavec [Mon, 17 Jan 2022 23:13:27 +0000 (00:13 +0100)]
ICU-21896 Use double base in pow()

gcc 5.5 on Solaris refuses to recognise pow(int, int32_t)

2 years agoICU-21699 Phrase based breaking(Java)
allenwtsu [Mon, 27 Dec 2021 04:20:19 +0000 (04:20 +0000)]
ICU-21699 Phrase based breaking(Java)

See #1955

2 years agoICU-13543 Do not remove -std=c++11 from compiler flags on Solaris
Mojca Miklavec [Mon, 17 Jan 2022 23:04:24 +0000 (00:04 +0100)]
ICU-13543 Do not remove -std=c++11 from compiler flags on Solaris

2 years agoICU-21699 Concatenate Katakana chars
allensu05 [Wed, 19 Jan 2022 17:25:45 +0000 (17:25 +0000)]
ICU-21699 Concatenate Katakana chars

See #1962

2 years agoICU-21699 Separate lb and lw
allenwtsu [Mon, 17 Jan 2022 02:14:22 +0000 (02:14 +0000)]
ICU-21699 Separate lb and lw

See #1959

2 years agoICU-21699 Phrase based breaking(C++)
allenwtsu [Thu, 21 Oct 2021 06:57:21 +0000 (06:57 +0000)]
ICU-21699 Phrase based breaking(C++)

See #1936

2 years agoICU-21353 Implement DateTimePatternGenerator use of correct datetime pattern;
Peter Edberg [Tue, 11 Jan 2022 04:04:58 +0000 (20:04 -0800)]
ICU-21353 Implement DateTimePatternGenerator use of correct datetime pattern;
includes new getter/setter API per TC discussion.

2 years agoICU-21699 Fix CjkBreakEngine performance issue
allenwtsu [Mon, 10 Jan 2022 14:07:13 +0000 (22:07 +0800)]
ICU-21699 Fix CjkBreakEngine performance issue

1. vector.contains() uses sequential comparison, O(n).
   As the vector size is great, the performance will be impacted.
   Remove this unnecessary check, vector.contains(), in C++.

2. At Java's CjkBreakEngine, replace "vector.contains()" with "if(pos > previous)" to deal with duplicate breakpoint position.
   This way, C++ and Java implementation will be synchronous.
   Test: ant checkTest -Dtestclass='com.ibm.icu.dev.test.rbbi.RBBITest'
   (RBBTest#TestBreakAllChars() can generate duplicate position for word break. It could pass with this change)

2 years agoICU-21862 icu4c unit conversions: support inverting 0 and Infinity (for vehicle-fuel)
Hugo van der Merwe [Fri, 3 Dec 2021 14:36:59 +0000 (14:36 +0000)]
ICU-21862 icu4c unit conversions: support inverting 0 and Infinity (for vehicle-fuel)

See #1947

2 years agoICU-21878 Sync icu4j's CjkBreakEngine to icu4c's
allenwtsu [Wed, 22 Dec 2021 15:50:44 +0000 (15:50 +0000)]
ICU-21878 Sync icu4j's CjkBreakEngine to icu4c's

See #1953

3 years agoICU-21763 UVector cleanup in Formatting Code
Andy Heninger [Sat, 20 Nov 2021 00:33:58 +0000 (16:33 -0800)]
ICU-21763 UVector cleanup in Formatting Code

Revise uses of UVector in Formatting related code to better handle memory
allocation failures.  This is one of an ongoing series of commits to address
similar problems with UVector usage throughout ICU.

The changes primarily involve switching uses of UVector::addElementX() to the
new adoptElement() or addElement() functions, as appropriate, and using
LocalPointers for tracking memory ownership.

3 years agoICU-21796 Rename bazel build files from BUILD to BUILD.bazel. This can
gnrunge [Thu, 16 Dec 2021 00:25:31 +0000 (16:25 -0800)]
ICU-21796 Rename bazel build files from BUILD to BUILD.bazel. This can
prevent conflicts when ICU users have their own BUILD files already.

3 years agoICU-21863 Fix div-by-zero in ICU4J, test inverse unit conversions
Hugo van der Merwe [Mon, 29 Nov 2021 19:01:31 +0000 (20:01 +0100)]
ICU-21863 Fix div-by-zero in ICU4J, test inverse unit conversions

Also cleans up some old icu-units TODOs:
- This PR fixes icu-units#38 and icu-units#63 TODOs (now part of ICU-21862)
- icu-units#21 is obsolete

3 years agoICU-21855 Export case data for ICU4X
Iain Ireland [Mon, 8 Nov 2021 18:17:54 +0000 (10:17 -0800)]
ICU-21855 Export case data for ICU4X

3 years agoICU-21847 Move UnicodeSet to stack in constructor
Frank Tang [Wed, 1 Dec 2021 23:39:35 +0000 (23:39 +0000)]
ICU-21847 Move UnicodeSet to stack in constructor

See #1941

3 years agoICU-21762 Export Script_Extensions data in icuexportdata tool
Elango Cheran [Tue, 30 Nov 2021 21:39:14 +0000 (21:39 +0000)]
ICU-21762 Export Script_Extensions data in icuexportdata tool

See #1933

3 years agoICU-21865 Move include ctgmath to complex
Frank Tang [Tue, 30 Nov 2021 19:49:23 +0000 (19:49 +0000)]
ICU-21865 Move include ctgmath to complex

See #1948

3 years agoICU-21763 UVector cleanup, continued.
Andy Heninger [Fri, 12 Nov 2021 00:12:44 +0000 (16:12 -0800)]
ICU-21763 UVector cleanup, continued.

Revise uses of UVector in the next batch of files to better handle memory
allocation failures.  This is one of an ongoing series of commits to address
similar problems with UVector usage throughout ICU.

The changes primarily involve switching uses of UVector::addElementX() to the
new adoptElement() or addElement() functions, as appropriate, and using
LocalPointers for tracking memory ownership.

3 years agoICU-21613 Fix undefined behaviour in ComplexUnitsConverter::applyRounder
Hugo van der Merwe [Mon, 29 Nov 2021 23:23:30 +0000 (00:23 +0100)]
ICU-21613 Fix undefined behaviour in ComplexUnitsConverter::applyRounder

3 years agoICU-21838 Migrate Azure pipelines win2016 images to win2019 images. Update MacOSX...
Jeff Genovy [Wed, 24 Nov 2021 19:36:39 +0000 (11:36 -0800)]
ICU-21838 Migrate Azure pipelines win2016 images to win2019 images. Update MacOSX to Catalina.

3 years agoICU-21819 Make all comparison operators const.
Fredrik Roubert [Wed, 16 Sep 2020 15:40:42 +0000 (17:40 +0200)]
ICU-21819 Make all comparison operators const.

3 years agoICU-21807 Merge maint-70 to main
Shane F. Carr [Wed, 17 Nov 2021 18:36:59 +0000 (12:36 -0600)]
ICU-21807 Merge maint-70 to main

3 years agoICU-21824 add a basic CONTRIBUTING.md
Steven R. Loomis [Wed, 3 Nov 2021 16:17:41 +0000 (11:17 -0500)]
ICU-21824 add a basic CONTRIBUTING.md

3 years agoICU-21763 UVector cleanup in Locale & Region Code
Andy Heninger [Tue, 9 Nov 2021 20:53:59 +0000 (12:53 -0800)]
ICU-21763 UVector cleanup in Locale & Region Code

Revise uses of UVector in Locale and Region related code to better handle
memory allocation failures.  This is one of an ongoing series of commits to
address similar problems with UVector usage throughout ICU.

The changes involve switching uses of UVector::addElementX() to the new
adoptElement() or addElement() functions, as appropriate, and using
LocalPointers for tracking memory ownership.

In Region::loadRegionData(), improved the overall error detection and recovery.

3 years agoICU-21814 fix typo ConstrainableFieldPosition
Markus Scherer [Mon, 8 Nov 2021 17:48:31 +0000 (09:48 -0800)]
ICU-21814 fix typo ConstrainableFieldPosition

3 years agoICU-21825 Integrate tzdata2021a4 including America/Coral_Harbour Link fix maint/maint-70 1932/head
Yoshito Umaoka [Thu, 4 Nov 2021 17:13:47 +0000 (13:13 -0400)]
ICU-21825 Integrate tzdata2021a4 including America/Coral_Harbour Link fix

3 years agoICU-21820 ucase_toFullXyz() reset output pointer
Markus Scherer [Fri, 5 Nov 2021 19:05:45 +0000 (12:05 -0700)]
ICU-21820 ucase_toFullXyz() reset output pointer

3 years agoICU-21778 UnicodeString::clone error handling fix
Andy Heninger [Sat, 30 Oct 2021 00:17:41 +0000 (17:17 -0700)]
ICU-21778 UnicodeString::clone error handling fix

Change UnicodeString::clone() to return a nullptr if the underlying copy
constructor produces a bogus string. This can happen if the copy constructor
encounters a memory allocation failure in allocating the copy's internal string
buffer, or if the string being copied was already bogus.

The change is consistent with other ICU clone functions, which are generally
defined to return nullptr in case of errors.

3 years agoICU-21793 Fix ucptrietest golden diff
Jérémy Lal [Wed, 3 Nov 2021 01:31:18 +0000 (02:31 +0100)]
ICU-21793 Fix ucptrietest golden diff

3 years agoICU-21763 UVector cleanup in vtzone.cpp
Andy Heninger [Sat, 2 Oct 2021 05:20:18 +0000 (22:20 -0700)]
ICU-21763 UVector cleanup in vtzone.cpp

Revise uses of UVector in vtzone.cpp to better handle memory allocation
failures.  This is one of an ongoing series of commits to address similar
problems with UVector usage throughout ICU.

The changes primarily involve switching uses of UVector::addElementX() to the
new adoptElement() or addElement() functions, as appropriate, and using
LocalPointers for tracking memory ownership.

3 years agoICU-21763 UVector cleanup in time zone code
Andy Heninger [Mon, 11 Oct 2021 18:02:42 +0000 (11:02 -0700)]
ICU-21763 UVector cleanup in time zone code

Revise uses of UVector in time zone related code to better handle memory
allocation failures.  This is one of an ongoing series of commits to address
similar problems with UVector usage throughout ICU.

The changes involve switching uses of UVector::addElementX() to the new
adoptElement() or addElement() functions, as appropriate, and using
LocalPointers for tracking memory ownership.

3 years agoICU-21579 Fix warnings in number formatting code release-70-1
Shane F. Carr [Wed, 27 Oct 2021 22:02:46 +0000 (15:02 -0700)]
ICU-21579 Fix warnings in number formatting code

3 years agoICU-21811 Adding local region mapping for Coral Harbour and integrating revised tz...
Yoshito Umaoka [Wed, 27 Oct 2021 18:17:26 +0000 (14:17 -0400)]
ICU-21811 Adding local region mapping for Coral Harbour and integrating revised tz 2021a3 (2021e) data.

3 years agoICU-21800 Fix ARM64 search path for Windows
Jacky_Yin [Wed, 20 Oct 2021 03:23:16 +0000 (11:23 +0800)]
ICU-21800 Fix ARM64 search path for Windows

3 years agoICU-21776 Update BRS API docs task instructions
Elango Cheran [Tue, 26 Oct 2021 19:48:28 +0000 (12:48 -0700)]
ICU-21776 Update BRS API docs task instructions

3 years agoICU-21811 TZ update 2021a (2021e) cldr/2021-10-25
Yoshito Umaoka [Mon, 25 Oct 2021 13:44:04 +0000 (09:44 -0400)]
ICU-21811 TZ update 2021a (2021e)

3 years agoICU-21797 TZ 2021d equivalent updates based on 2021a (ICU 2021a2)
Yoshito Umaoka [Thu, 21 Oct 2021 19:40:50 +0000 (15:40 -0400)]
ICU-21797 TZ 2021d equivalent updates based on 2021a (ICU 2021a2)

3 years agoICU-21807 Merge maint-70 to main
Shane F. Carr [Fri, 22 Oct 2021 00:21:36 +0000 (17:21 -0700)]
ICU-21807 Merge maint-70 to main

3 years agoICU-21580 change site.icu-project.org to icu.unicode.org etc 1914/head
Markus Scherer [Thu, 21 Oct 2021 01:58:04 +0000 (18:58 -0700)]
ICU-21580 change site.icu-project.org to icu.unicode.org etc

3 years agoICU-21803 Fix Windows build break on MSYS2 with GCC 11
Jeff Genovy [Thu, 21 Oct 2021 19:02:08 +0000 (12:02 -0700)]
ICU-21803 Fix Windows build break on MSYS2 with GCC 11

3 years agoICU-21776 Update double conversion
Shane Carr [Wed, 20 Oct 2021 20:54:13 +0000 (13:54 -0700)]
ICU-21776 Update double conversion

3 years agoICU-21580 fix links to CLDR Language Plural Rules
Markus Scherer [Wed, 20 Oct 2021 16:42:35 +0000 (09:42 -0700)]
ICU-21580 fix links to CLDR Language Plural Rules

3 years agoICU-21524 UnicodeSet.hasStrings(): no complement in toPattern() cldr/2021-10-19
Markus Scherer [Tue, 19 Oct 2021 00:19:15 +0000 (17:19 -0700)]
ICU-21524 UnicodeSet.hasStrings(): no complement in toPattern()

3 years agoICU-21776 integrate CLDR release-40-beta3 to ICU maint/maint-70
Peter Edberg [Thu, 14 Oct 2021 18:13:07 +0000 (11:13 -0700)]
ICU-21776 integrate CLDR release-40-beta3 to ICU maint/maint-70