]> granicus.if.org Git - icu/log
icu
2 years agoICU-22242 Test to show incorrect calculation of 1890
Frank Yung-Fong Tang [Wed, 18 Jan 2023 17:43:33 +0000 (17:43 +0000)]
ICU-22242 Test to show incorrect calculation of 1890

See #2270

2 years agoICU-22027 Add C++ Calendar API for Temporal
Frank Tang [Tue, 23 Aug 2022 23:47:06 +0000 (16:47 -0700)]
ICU-22027 Add C++ Calendar API for Temporal

API proposal
https://docs.google.com/document/d/1UYriEzzExiLhi2RD3zjTsI5UQHv1dXaFqrct7yXNdCA/edit#heading=h.x9obor85vpx9

Design Doc
https://docs.google.com/document/d/15ViyC9s0k3VEDwBmAkKxxz4IadZ6QrAIoETkdkF0cVA/

ICU-22027 Adjust API to remove the mention of M00L for now.

2 years agoICU-12811 Fix localespi tests when run by Maven on Java 8
Elango Cheran [Tue, 17 Jan 2023 19:13:01 +0000 (19:13 +0000)]
ICU-12811 Fix localespi tests when run by Maven on Java 8

See #2283

2 years agoICU-12811 Replace local-maven-repo with data jar contents
Elango Cheran [Sat, 14 Jan 2023 01:44:09 +0000 (01:44 +0000)]
ICU-12811 Replace local-maven-repo with data jar contents

See #2275

2 years agoICU-22233 Fix CI cache name for Bazel build
Elango Cheran [Sat, 14 Jan 2023 05:47:30 +0000 (21:47 -0800)]
ICU-22233 Fix CI cache name for Bazel build

2 years agoICU-12811 Fix CI cache retain workflow's cron schedule string
Elango Cheran [Fri, 13 Jan 2023 20:46:49 +0000 (12:46 -0800)]
ICU-12811 Fix CI cache retain workflow's cron schedule string

2 years agoICU-12811 Add CI workflow to retain caches that are flaky/costly to init
Elango Cheran [Thu, 12 Jan 2023 19:42:03 +0000 (19:42 +0000)]
ICU-12811 Add CI workflow to retain caches that are flaky/costly to init

See #2281

2 years agoICU-22093 Polish for SimpleNumberFormatter
Shane F. Carr [Fri, 6 Jan 2023 19:24:02 +0000 (19:24 +0000)]
ICU-22093 Polish for SimpleNumberFormatter

See #2277

2 years agoICU-22220 integrate root exemplarCities chnages for CLDR release-43-m0 to ICU main
Peter Edberg [Wed, 11 Jan 2023 05:01:06 +0000 (21:01 -0800)]
ICU-22220 integrate root exemplarCities chnages for CLDR release-43-m0 to ICU main

2 years agoICU-22220 integrate CLDR release-43-m0 to ICU main for 73, update maven-build files
Peter Edberg [Mon, 9 Jan 2023 03:42:20 +0000 (19:42 -0800)]
ICU-22220 integrate CLDR release-43-m0 to ICU main for 73, update maven-build files

2 years agoICU-22100 Remove unicode blocks from Japanese ML phrase breaking
allenwtsu [Mon, 9 Jan 2023 05:56:18 +0000 (05:56 +0000)]
ICU-22100 Remove unicode blocks from Japanese ML phrase breaking

See #2278

2 years agoICU-22222 Add explicit instantiation declarations
Thomas Köppe [Fri, 2 Dec 2022 01:49:06 +0000 (01:49 +0000)]
ICU-22222 Add explicit instantiation declarations

We exclude these declarations from MSVC, where they don't work because
the don't interact well with the U_I18N_API import/export macros

2 years agoICU-22233 Use separate Bazel cache keys per OS.
Fredrik Roubert [Fri, 16 Dec 2022 08:21:24 +0000 (17:21 +0900)]
ICU-22233 Use separate Bazel cache keys per OS.

2 years agoICU-22100 Incorporate BudouX into ICU (Java)
allenwtsu [Tue, 20 Dec 2022 16:34:42 +0000 (16:34 +0000)]
ICU-22100 Incorporate BudouX into ICU (Java)

See #2214

2 years agoICU-22193 Bump junit from 4.12 to 4.13.1 in /icu4j/maven-build
dependabot[bot] [Thu, 15 Dec 2022 00:48:55 +0000 (00:48 +0000)]
ICU-22193 Bump junit from 4.12 to 4.13.1 in /icu4j/maven-build

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

---
updated-dependencies:
- dependency-name: junit:junit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoICU-22193 Make clang-release-build-and-test work with ubuntu-latest.
Fredrik Roubert [Fri, 16 Dec 2022 05:59:41 +0000 (14:59 +0900)]
ICU-22193 Make clang-release-build-and-test work with ubuntu-latest.

Contemporary implementations of the C++ standard library also use the
@deprecated annotation in its header files and these then get included
by the preprocessor when preprocessing the ICU header files, like this:

  /// @deprecated Non-standard. Use `is_null_pointer` instead.

In order to work as expected, testtagsguards.sh must therefore be
updated to ignore @deprecated annotations unless they're for ICU.

2 years agoICU-12811 Make CI jobs for Maven run serially to avoid CI cache race condition
Elango Cheran [Fri, 16 Dec 2022 23:37:04 +0000 (15:37 -0800)]
ICU-12811 Make CI jobs for Maven run serially to avoid CI cache race condition

2 years agoICU-22193 Make run-with-stubdata work with ubuntu-latest.
Fredrik Roubert [Thu, 15 Dec 2022 07:21:52 +0000 (16:21 +0900)]
ICU-22193 Make run-with-stubdata work with ubuntu-latest.

It remains unknown when and why this changed, but nowadays the required
data files are to be found in a subdirectory named "build".

2 years agoICU-12811 Build ICU4J using Maven
Elango Cheran [Wed, 7 Dec 2022 05:16:30 +0000 (05:16 +0000)]
ICU-12811 Build ICU4J using Maven

See #2251

2 years agoICU-22193 Use Ubuntu 20.04 for jobs failing in migration to 22.04
Elango Cheran [Wed, 14 Dec 2022 00:59:24 +0000 (16:59 -0800)]
ICU-22193 Use Ubuntu 20.04 for jobs failing in migration to 22.04

2 years agoICU-22193 fix some CI test failures
Markus Scherer [Mon, 12 Dec 2022 22:12:20 +0000 (14:12 -0800)]
ICU-22193 fix some CI test failures

2 years agoICU-22220 BRS73RC Update version number to 73.0.1 cldr/2022-12-04
Peter Edberg [Thu, 1 Dec 2022 20:33:01 +0000 (12:33 -0800)]
ICU-22220 BRS73RC Update version number to 73.0.1

2 years agoICU-22203 Windows: enable C-code generation with overridden entry point
L. E. Segovia [Wed, 16 Nov 2022 22:16:08 +0000 (19:16 -0300)]
ICU-22203 Windows: enable C-code generation with overridden entry point

2 years agoICU-22204 toolutil: Fix crash when trying to generate MinGW assembly cldr/2022-12-02
L. E. Segovia [Wed, 16 Nov 2022 22:16:08 +0000 (19:16 -0300)]
ICU-22204 toolutil: Fix crash when trying to generate MinGW assembly

2 years agoICU-22100 Incorporate BudouX into ICU (C++)
Shuhei Iitsuka [Fri, 29 Jul 2022 04:08:01 +0000 (12:08 +0800)]
ICU-22100 Incorporate BudouX into ICU (C++)

2 years agoICU-20115 ICU4C: Move SimpleDateFormat over to SimpleNumberFormatter
Manish Goregaokar [Wed, 23 Nov 2022 01:00:51 +0000 (17:00 -0800)]
ICU-20115 ICU4C: Move SimpleDateFormat over to SimpleNumberFormatter

2 years agoICU-22217 TZ Database 2022g updates
yumaoka [Wed, 30 Nov 2022 19:14:38 +0000 (14:14 -0500)]
ICU-22217 TZ Database 2022g updates

2 years agoICU-22093 ICU4C: Add SimpleNumber and SimpleNumberFormatter
Shane F. Carr [Wed, 23 Nov 2022 22:48:12 +0000 (22:48 +0000)]
ICU-22093 ICU4C: Add SimpleNumber and SimpleNumberFormatter

See #2241

2 years agoICU-22214 Fix set pointer to false in sprpdata.c
Victor Chang [Mon, 28 Nov 2022 15:25:29 +0000 (15:25 +0000)]
ICU-22214 Fix set pointer to false in sprpdata.c

2 years agoICU-22201 Add test to verify ICU-22043 on Java
Frank Tang [Wed, 22 Jun 2022 16:05:15 +0000 (09:05 -0700)]
ICU-22201 Add test to verify ICU-22043 on Java

2 years agoICU-22206 Fix unsafe mix of UBool
Frank Tang [Fri, 18 Nov 2022 04:49:37 +0000 (20:49 -0800)]
ICU-22206 Fix unsafe mix of UBool

Fix "unsafe mix of type 'UBool' and type 'bool' in operation:

2 years agoICU-22198 Fix stack buffer overflow.
Eli Kobrin [Thu, 3 Nov 2022 15:25:33 +0000 (18:25 +0300)]
ICU-22198 Fix stack buffer overflow.

2 years agoICU-22164 Replace switch+getType with subclass
Frank Tang [Thu, 10 Nov 2022 01:22:16 +0000 (01:22 +0000)]
ICU-22164 Replace switch+getType with subclass

See #2215

fix

2 years agoICU-10752 Spread (s|g)etRelativeYear to subclass
Frank Tang [Thu, 22 Sep 2022 04:11:38 +0000 (21:11 -0700)]
ICU-10752 Spread (s|g)etRelativeYear to subclass

Remove the switch statment implementaiton in
Calendar::(g|s)etRelatedYear
and move the code into each subclass as proper OOP style.

2 years agoICU-22191 writesrc.cpp: enable PRI formatting constants on all compilers
Markus Scherer [Mon, 7 Nov 2022 18:34:44 +0000 (10:34 -0800)]
ICU-22191 writesrc.cpp: enable PRI formatting constants on all compilers

2 years agoICU-22119 Add lw=phrase for Korean using line_*_phrase_cj
Jungshik Shin [Thu, 25 Aug 2022 08:04:33 +0000 (01:04 -0700)]
ICU-22119 Add lw=phrase for Korean using line_*_phrase_cj

brkitr/ko.txt is created to use line_*_.cj.txt for both
lw=phrase and lw != phrase cases for Korean. This is the simplest
way to fix ICU-22119 taking advantage of the fact that ICU
does not have a Korean dictionary so we don't have to worry about
adding the list of Korean particles to keep them attached to the
preceeding word.

The downside is that it only works when the locale is ko or ja while
it should work in any locale. Another is it makes ICU deviate from
CSS3 by using the same CJ (conditonal Japanese) rules for Korean as
well. However, CSS3 spec is wrong on that point and should be changed.
See https://unicode-org.atlassian.net/browse/CLDR-4931 .

2 years agoICU-21180 RuleBasedBreakIterator, refactor init.
Andy Heninger [Fri, 21 Oct 2022 03:30:24 +0000 (20:30 -0700)]
ICU-21180 RuleBasedBreakIterator, refactor init.

In class RuleBasedBreakIterator, refactor how object initialization is handled
by the various constructors, taking advantage of C++11's ability to directly
initialize data members in the class declaration.

This will simplify ongoing maintenance of the code by eliminating the need
to keep initialization lists synchronized with the class data members.
This is being done now in preparation for additional changes to fix problems
with the handling of memory allocation failures.

2 years agoICU-22196 TZ Database 2022f updates
yumaoka [Tue, 1 Nov 2022 14:21:51 +0000 (10:21 -0400)]
ICU-22196 TZ Database 2022f updates

2 years agoICU-22194 runConfigureICU computer->compiler
Markus Scherer [Mon, 31 Oct 2022 18:52:49 +0000 (11:52 -0700)]
ICU-22194 runConfigureICU computer->compiler

@josephshen found that the help text here has the wrong word, and I dropped the ball on his PR #2217 :-(

2 years agoICU-22159 Merge inDaylightTime to Calendar
Frank Tang [Thu, 22 Sep 2022 03:05:55 +0000 (20:05 -0700)]
ICU-22159 Merge inDaylightTime to Calendar

All the subclass implementation of inDaylightTime are the same
so just move to a base class implementation.

2 years agoICU-22160 clean up Calendar code
Frank Tang [Thu, 22 Sep 2022 02:53:29 +0000 (19:53 -0700)]
ICU-22160 clean up Calendar code

Remove unnecessary BuddhistCalendar::handleComputeMonthStart
Remove unnecessary include

2 years agoICU-22194 Fix typo in doc for BreakIterator rules update
Elango Cheran [Thu, 27 Oct 2022 21:21:29 +0000 (14:21 -0700)]
ICU-22194 Fix typo in doc for BreakIterator rules update

2 years agoICU-22191 writesrc.cpp: fix cinttypes header and place after C headers
Sergey Fedorov [Fri, 21 Oct 2022 07:36:12 +0000 (15:36 +0800)]
ICU-22191 writesrc.cpp: fix cinttypes header and place after C headers

2 years agoICU-21180 BreakIterator, change all NULL to nulptr
Andy Heninger [Thu, 20 Oct 2022 22:12:36 +0000 (15:12 -0700)]
ICU-21180 BreakIterator, change all NULL to nulptr

In the C++ break iterator code, change all use of NULL to nullptr.
This is in preparation for follow-on PRs to improve out-of-memory error handling
in Break Iterators, keeping use of nullptr consistent between old and new
or updated code.

2 years agoICU-22190 Update KEYS with additional signature data.
Fredrik Roubert [Fri, 21 Oct 2022 13:42:37 +0000 (15:42 +0200)]
ICU-22190 Update KEYS with additional signature data.

2 years agoICU-22190 Update KEYS with additional public key
Fredrik Roubert [Thu, 20 Oct 2022 22:03:50 +0000 (22:03 +0000)]
ICU-22190 Update KEYS with additional public key

See #2237

2 years agoICU-22190 Add public PGP Key
rp9-next [Thu, 20 Oct 2022 18:47:20 +0000 (18:47 +0000)]
ICU-22190 Add public PGP Key

See #2236

2 years agoICU-22189 Merge maint/maint-72 to main (#2235)
Shane F. Carr [Thu, 20 Oct 2022 20:53:44 +0000 (13:53 -0700)]
ICU-22189 Merge maint/maint-72 to main (#2235)

2 years agoICU-21958 integrate CLDR release-42-beta5 to ICU main for 72 2235/head release-72-1
Peter Edberg [Thu, 13 Oct 2022 20:44:35 +0000 (13:44 -0700)]
ICU-21958 integrate CLDR release-42-beta5 to ICU main for 72

2 years agoICU-22177 Replace angular brackets in include with double quotes.
gnrunge [Thu, 13 Oct 2022 18:45:45 +0000 (11:45 -0700)]
ICU-22177 Replace angular brackets in include with double quotes.

2 years agoICU-21755 commit checker: skip No Time To Do This
Steven R. Loomis [Thu, 25 Aug 2022 22:49:09 +0000 (17:49 -0500)]
ICU-21755 commit checker: skip No Time To Do This

- also, verify that ALL resolutions are accounted for.

2 years agoICU-21755 commit checker: section rewrite, summary count
Steven R. Loomis [Thu, 25 Aug 2022 22:18:03 +0000 (17:18 -0500)]
ICU-21755 commit checker: section rewrite, summary count

- rewrite to semi modular code
- run the sections first, then get counts
- section counts in ToC, skip if empty
- many link improvements: linkify bugs and commits rather than separate lines

2 years agoICU-21755 commit checker: add support for COMMIT_METADATA.md file
Steven R. Loomis [Tue, 26 Jul 2022 17:19:55 +0000 (12:19 -0500)]
ICU-21755 commit checker: add support for COMMIT_METADATA.md file

- new option, --commit-metadata= with path to metadata file
- new option, --fix-version=41 (used for SKIP sections)
- scaffolding for 'bad commits' list
- new module CommitMetadata with unit tests
- sample file format TEST_COMMIT_METADATA.md
- such commits are skipped
- refactored the commit skipping part (formerly used for cherry pick skips)
- add a report section for skipped commits
- add a cache for JIRA queries (for dev use): --cache-for-dev "/tmp/cldr-commit-cache" - optional
- add an 'excluded commits' section at the bottom
- make sure commit metadata is used to update ticket IDs and messages.

2 years agoICU-22178 Update ICU tzdata to 2022e
yumaoka [Wed, 12 Oct 2022 22:09:04 +0000 (18:09 -0400)]
ICU-22178 Update ICU tzdata to 2022e

2 years agoICU-21958 BRS72 Updated ISO currency data URLs
yumaoka [Mon, 10 Oct 2022 17:03:44 +0000 (13:03 -0400)]
ICU-21958 BRS72 Updated ISO currency data URLs

2 years agoICU-21958 integrate CLDR release-42-beta4 to ICU main for 72
Peter Edberg [Tue, 11 Oct 2022 22:30:52 +0000 (15:30 -0700)]
ICU-21958 integrate CLDR release-42-beta4 to ICU main for 72

2 years agoICU-21958 BRS72GA Update version number cldr/2022-10-11
JALAJ HARKAWAT [Mon, 10 Oct 2022 07:05:57 +0000 (12:35 +0530)]
ICU-21958 BRS72GA Update version number

2 years agoICU-21958 Revise C++ API Change reports
Craig Cornelius [Thu, 6 Oct 2022 18:35:09 +0000 (18:35 +0000)]
ICU-21958 Revise C++ API Change reports

After updating icu4c displayoptions.h

2 years agoICU-22170 Fix typo in resource bundle documentation. release-72-rc-cldr-beta3
Felipe Gasper [Thu, 6 Oct 2022 12:56:07 +0000 (08:56 -0400)]
ICU-22170 Fix typo in resource bundle documentation.

https://unicode-org.atlassian.net/browse/ICU-22170

2 years agoICU-21958 Fix typo in displayoptions.h documentation
Craig Cornelius [Thu, 6 Oct 2022 16:41:44 +0000 (09:41 -0700)]
ICU-21958 Fix typo in displayoptions.h documentation

2 years agoICU-21958 Improved process for Releasing ICU API Docs 2216/head
Craig Cornelius [Wed, 5 Oct 2022 22:03:45 +0000 (15:03 -0700)]
ICU-21958 Improved process for Releasing ICU API Docs

2 years agoICU-21958 integrate CLDR release-42-beta3 to ICU main for 72
Peter Edberg [Thu, 6 Oct 2022 03:45:03 +0000 (20:45 -0700)]
ICU-21958 integrate CLDR release-42-beta3 to ICU main for 72

2 years agoICU-22165 Update ICU tzdata to 2022d
yumaoka [Thu, 29 Sep 2022 20:23:01 +0000 (16:23 -0400)]
ICU-22165 Update ICU tzdata to 2022d

2 years agoICU-21958 integrate CLDR release-42-beta2 to ICU main for 72
Peter Edberg [Thu, 29 Sep 2022 05:01:22 +0000 (22:01 -0700)]
ICU-21958 integrate CLDR release-42-beta2 to ICU main for 72

2 years agoICU-21959 fix file-level doxygen issues
Markus Scherer [Tue, 27 Sep 2022 00:21:17 +0000 (17:21 -0700)]
ICU-21959 fix file-level doxygen issues

2 years agoICU-22081 Fix table in PersonNameFormatter Javadoc.
Rich Gillam [Mon, 26 Sep 2022 21:08:28 +0000 (14:08 -0700)]
ICU-22081 Fix table in PersonNameFormatter Javadoc.

2 years agoICU-22158 Make TestAlgorithmicParentFallback() test more robust to different default...
Rich Gillam [Fri, 23 Sep 2022 17:52:23 +0000 (10:52 -0700)]
ICU-22158 Make TestAlgorithmicParentFallback() test more robust to different default locales.

2 years agoICU-21957 Change the internal/deprecated javadoc tags maint-72 release-72-rc
Mihai Nita [Thu, 22 Sep 2022 21:23:55 +0000 (14:23 -0700)]
ICU-21957 Change the internal/deprecated javadoc tags

2 years agoICU-20894 Add UserGuide info on date pattern chars B, b
Peter Edberg [Thu, 22 Sep 2022 21:55:46 +0000 (14:55 -0700)]
ICU-20894 Add UserGuide info on date pattern chars B, b

2 years agoICU-21957 update API Changes in ICU4C 72
Craig Cornelius [Thu, 22 Sep 2022 20:28:54 +0000 (13:28 -0700)]
ICU-21957 update API Changes in ICU4C 72

2 years agoICU-21879 Fix UserGuide link to info in Korean transliteration
Peter Edberg [Thu, 22 Sep 2022 17:45:18 +0000 (10:45 -0700)]
ICU-21879 Fix UserGuide link to info in Korean transliteration

2 years agoICU-21957 BRS72 ICU4J serialization test data
Yoshito Umaoka [Thu, 22 Sep 2022 13:03:59 +0000 (09:03 -0400)]
ICU-21957 BRS72 ICU4J serialization test data

2 years agoICU-21957 BRS72 J API signature file
Yoshito Umaoka [Thu, 22 Sep 2022 13:48:11 +0000 (09:48 -0400)]
ICU-21957 BRS72 J API signature file

2 years agoICU-21957 Fixed java compiler warnings
Yoshito Umaoka [Thu, 22 Sep 2022 18:23:57 +0000 (14:23 -0400)]
ICU-21957 Fixed java compiler warnings

2 years agoICU-21957 Fix status tags for U_HIDDEN, unum_hasAttribute
Peter Edberg [Thu, 22 Sep 2022 16:24:27 +0000 (09:24 -0700)]
ICU-21957 Fix status tags for U_HIDDEN, unum_hasAttribute

2 years agoICU-21957 BRS72 Cleanup import statements
yumaoka [Wed, 21 Sep 2022 22:17:04 +0000 (18:17 -0400)]
ICU-21957 BRS72 Cleanup import statements

2 years agoICU-21957 Update ICU4J & ICU4C Change Reports BRS#19 and BRS#20
Craig Cornelius [Wed, 21 Sep 2022 19:51:17 +0000 (19:51 +0000)]
ICU-21957 Update ICU4J & ICU4C Change Reports BRS#19 and BRS#20

See #2193

2 years agoICU-22124 Tag the default constructor of OrderedMap as internal/deprecated
Mihai Nita [Wed, 21 Sep 2022 17:18:47 +0000 (17:18 +0000)]
ICU-22124 Tag the default constructor of OrderedMap as internal/deprecated

ICU-22124 Tag the default constructor of OrderedMap as internal/deprecated

Fix for apireport, see #2193

2 years agoICU-21957 BRS72RC Update version number and regenerate configure
Rahul Pandey [Tue, 20 Sep 2022 10:42:23 +0000 (16:12 +0530)]
ICU-21957 BRS72RC Update version number and regenerate configure

2 years agoICU-22122 Support Locale Tags (ms, mu and rg)
Younies Mahmoud [Tue, 20 Sep 2022 20:02:48 +0000 (20:02 +0000)]
ICU-22122 Support Locale Tags (ms, mu and rg)

See #2182

2 years agoICU-22124 Update the MessageFormat v2 links to the main branch
Mihai Nita [Tue, 20 Sep 2022 21:32:52 +0000 (14:32 -0700)]
ICU-22124 Update the MessageFormat v2 links to the main branch

2 years agoICU-21957 integrate CLDR release-42-beta1b to ICU main for 72
Peter Edberg [Mon, 19 Sep 2022 19:50:37 +0000 (12:50 -0700)]
ICU-21957 integrate CLDR release-42-beta1b to ICU main for 72

2 years agoICU-20512 ICU4J: just add test of parse with empty curr symbol, code already works
Peter Edberg [Fri, 16 Sep 2022 22:09:56 +0000 (15:09 -0700)]
ICU-20512 ICU4J: just add test of parse with empty curr symbol, code already works

2 years agoICU-22151 Update timezone-region supplementation mapping data for Jan Mayen and some...
yumaoka [Thu, 15 Sep 2022 22:42:50 +0000 (18:42 -0400)]
ICU-22151 Update timezone-region supplementation mapping data for Jan Mayen and some others

2 years agoICU-21125 Improvements to resource fallback:
Rich Gillam [Thu, 4 Aug 2022 23:01:04 +0000 (16:01 -0700)]
ICU-21125 Improvements to resource fallback:

- Added code to use the parentLocales data in supplementalData.xml to determine the "parent locale ID" to use when
  the requested resource bundle is not present (ICU-21126).
- Added code to change the parent-chain search path to handle the script better (ICU-21125; algorithm was described
  in CLDR-15265):
  - The base search patch is now ll_Ssss_RR -> ll_RR -> ll_Ssss -> ll -> root
  - If the requested script is not the default script for the requested language and region, we automatically
    avoid fallbacks that will implicitly change the script.
- Added new code to the CLDR-to-ICU data generation tool to generate source code, and used it to generate the lookup
  tables for the new resource-fallback logic (we can't use the existing resource files for this, since that would
  involve opening a resource bundle while trying to open another resource bundle).  The data-generation stuff is
  intended to be generic enough to allow for us to generate more static data tables in the future.
- Commented out a few collator tests, and changed one resource bundle test, because they're incompatible with the
  new fallback logic (specifically, the default-script logic).

2 years agoICU-20512 Add extra matchers to handle empty currency symbols
Shane F. Carr [Fri, 16 Sep 2022 07:08:41 +0000 (00:08 -0700)]
ICU-20512 Add extra matchers to handle empty currency symbols

2 years agoICU-21957 fix NumberFormatterSettings::unitDisplayCase status, remove FormattedNumber...
Peter Edberg [Thu, 15 Sep 2022 18:27:29 +0000 (11:27 -0700)]
ICU-21957 fix NumberFormatterSettings::unitDisplayCase status, remove FormattedNumber:getGender

2 years agoICU-22124 Adding a tech preview implementation of MessageFormat v2
Mihai Nita [Thu, 15 Sep 2022 06:56:34 +0000 (06:56 +0000)]
ICU-22124 Adding a tech preview implementation of MessageFormat v2

See #2170

2 years agoICU-21957 integrate CLDR release-42-beta1 to ICU main for 72
Peter Edberg [Tue, 13 Sep 2022 05:56:03 +0000 (22:56 -0700)]
ICU-21957 integrate CLDR release-42-beta1 to ICU main for 72

2 years agoICU-22143 Increase COMPACT_MAX_DIGITS from 15 to 20, needed for new ja data cldr/2022-09-12
Peter Edberg [Fri, 9 Sep 2022 05:39:29 +0000 (22:39 -0700)]
ICU-22143 Increase COMPACT_MAX_DIGITS from 15 to 20, needed for new ja data

2 years agoICU-21959 add the uemoji feature to ICU Data Build Tool chapter
Markus Scherer [Fri, 9 Sep 2022 23:22:18 +0000 (16:22 -0700)]
ICU-21959 add the uemoji feature to ICU Data Build Tool chapter

2 years agoICU-22117 Replace uprv_strncpy() by uprv_memcpy()
Kirill Müller [Mon, 15 Aug 2022 04:57:22 +0000 (06:57 +0200)]
ICU-22117 Replace uprv_strncpy() by uprv_memcpy()

This fixes a warning on gcc 9.4.0, which is triggered because the third argument to strncpy() depends on the length of the second argument (but should actually indicate the buffer size). Replacing by memcpy() seems harmless because a null terminator is appended further below, and the buffer is sized to be "large enough" elsewhere.

See https://github.com/duckdb/duckdb/issues/4391 for details.

Fixing the warning is important for us, because the checks in the duckdb repository treat all warnings as errors.

2 years agoICU-21957 Update double-conversion to 256ac809561b756645e73ab7127c2aaaeabaa427
Shane Carr [Thu, 8 Sep 2022 23:58:39 +0000 (23:58 +0000)]
ICU-21957 Update double-conversion to 256ac809561b756645e73ab7127c2aaaeabaa427

See #2179

2 years agoICU-22025 Rename the enum type for Hebrew calendar to Month
Frank Tang [Thu, 30 Jun 2022 18:46:05 +0000 (11:46 -0700)]
ICU-22025 Rename the enum type for Hebrew calendar to Month

2 years agoICU-22125 Add note about future deprecation to MeasureUnit createMetricTon/getMetricT...
Peter Edberg [Fri, 9 Sep 2022 00:07:54 +0000 (17:07 -0700)]
ICU-22125 Add note about future deprecation to MeasureUnit createMetricTon/getMetricTon/METRIC_TON

2 years agoICU-21983 Fix fraction precision skeleton
floratmin [Wed, 6 Apr 2022 15:56:20 +0000 (15:56 +0000)]
ICU-21983 Fix fraction precision skeleton

See #2058

2 years agoICU-21959 fix DateIntervalFormat general usage example
Markus Scherer [Thu, 8 Sep 2022 23:24:43 +0000 (16:24 -0700)]
ICU-21959 fix DateIntervalFormat general usage example

2 years agoICU-21957 BRS 72rc, update urename.h
Peter Edberg [Thu, 8 Sep 2022 06:37:09 +0000 (23:37 -0700)]
ICU-21957 BRS 72rc, update urename.h

2 years agoICU-21957 integrate CLDR release-42-alpha3 to ICU main for 72
Peter Edberg [Thu, 8 Sep 2022 05:01:24 +0000 (22:01 -0700)]
ICU-21957 integrate CLDR release-42-alpha3 to ICU main for 72

2 years agoICU-22072 Update Darwin Specific Macros
Cyndy Ishida [Thu, 23 Jun 2022 13:50:39 +0000 (06:50 -0700)]
ICU-22072 Update Darwin Specific Macros

* Update `U_PF_IPHONE` to be 0 when building for macOS/macCatalyst.
* add macro definition for `attribute((visibility("hidden")))` for cases
  where internal structs exist within exposed classes.