Commit graph

31802 commits

Author SHA1 Message Date
Fredrik Roubert
93b7f6e98d ICU-21819 Make all comparison operators const. 2021-11-22 15:11:11 +01:00
Shane F. Carr
3228b200a4
ICU-21807 Merge maint-70 to main 2021-11-17 12:36:59 -06:00
Steven R. Loomis
55b9f7cd51 ICU-21824 add a basic CONTRIBUTING.md 2021-11-12 09:24:58 -06:00
Andy Heninger
c48f218600 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.
2021-11-11 16:06:36 -08:00
Markus Scherer
d3a56c5ced ICU-21814 fix typo ConstrainableFieldPosition 2021-11-08 11:24:56 -08:00
Yoshito Umaoka
7a93cd146c ICU-21825 Integrate tzdata2021a4 including America/Coral_Harbour Link fix 2021-11-08 13:04:10 -05:00
Markus Scherer
51016c12c8 ICU-21820 ucase_toFullXyz() reset output pointer 2021-11-05 15:27:41 -07:00
Andy Heninger
fd5a346b3d 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.
2021-11-05 13:48:08 -07:00
Jérémy Lal
698efda42b ICU-21793 Fix ucptrietest golden diff 2021-11-03 15:01:41 -07:00
Andy Heninger
83eb2ee1d8 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.
2021-10-29 17:38:42 -07:00
Andy Heninger
f66c8ca36b 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.
2021-10-29 17:37:13 -07:00
Shane F. Carr
a56dde820d ICU-21579 Fix warnings in number formatting code 2021-10-27 17:19:31 -07:00
Yoshito Umaoka
a061dfea1f ICU-21811 Adding local region mapping for Coral Harbour and integrating revised tz 2021a3 (2021e) data. 2021-10-27 17:10:41 -04:00
Jacky_Yin
31b4b9cc32 ICU-21800 Fix ARM64 search path for Windows 2021-10-27 11:00:08 -07:00
Elango Cheran
8ac010d9d3 ICU-21776 Update BRS API docs task instructions 2021-10-26 17:20:17 -07:00
Yoshito Umaoka
2921a81ee4 ICU-21811 TZ update 2021a (2021e) 2021-10-25 13:24:25 -04:00
Yoshito Umaoka
bd1f7742e7 ICU-21797 TZ 2021d equivalent updates based on 2021a (ICU 2021a2) 2021-10-22 18:17:33 -04:00
Shane F. Carr
242ad4723e
ICU-21807 Merge maint-70 to main 2021-10-21 17:21:36 -07:00
Markus Scherer
75ac80bd68 ICU-21580 change site.icu-project.org to icu.unicode.org etc 2021-10-21 15:54:42 -07:00
Jeff Genovy
58bee95ab6 ICU-21803 Fix Windows build break on MSYS2 with GCC 11 2021-10-21 14:18:04 -07:00
Shane Carr
5c4bb5fa1b ICU-21776 Update double conversion 2021-10-20 18:20:50 -07:00
Markus Scherer
a0baa69277 ICU-21580 fix links to CLDR Language Plural Rules 2021-10-20 11:45:46 -07:00
Markus Scherer
b303de1ff1 ICU-21524 UnicodeSet.hasStrings(): no complement in toPattern() 2021-10-19 12:24:15 -07:00
Peter Edberg
3a601a80a3 ICU-21776 integrate CLDR release-40-beta3 to ICU maint/maint-70 2021-10-14 14:48:15 -07:00
Erik Torres
ec894b728b ICU-21776 Update versions for GA and regenerate Jar files
See #1902
2021-10-06 17:40:24 -07:00
Peter Edberg
38337a53c0 ICU-21776 integrate CLDR release-40-beta2 to ICU maint/maint-70 2021-10-06 09:04:38 -07:00
Jeff Genovy
d9043765b0 ICU-21777 Move Windows "ICU4C Platform Support" notes to "Building ICU4C" User Guide page. 2021-09-30 16:23:35 -07:00
gnrunge
b9311e2f54 ICU-21649 Adds build and execution of Unicode update tools to GHA CI.
Checks that the build process completes without failure and that the
generated data is identical with the data currently in the repository.

ICU-21649 Fix trigger mechanism.
2021-09-30 15:18:13 -07:00
Jeff Genovy
f13a67956a ICU-21777 Move Windows "ICU4C Platform Support" notes to "Building ICU4C" User Guide page. 2021-09-30 10:46:35 -07:00
Craig Cornelius
60c1857f96 ICU-21581 ICU Change Reports for 70rc
See #1877
2021-09-29 16:17:15 -07:00
Shane F. Carr
6115e58966 ICU-21581 Update double-conversion 2021-09-29 12:41:28 -05:00
Steven R. Loomis
4a8b16056f ICU-21764 icu-data-bin: fix filenames to nn_n
ex: icu4c-70_1-data-bin-b.zip
(was incorrectly "70.1" before)
2021-09-29 10:40:55 -07:00
Peter Edberg
4fd10ba2b7 ICU-21581 check non-stable API macros (mostly U_HIDE_INTERNAL_API) 2021-09-29 09:05:40 -07:00
Peter Edberg
2b76d335fb ICU-21581 BRS 70rc, update urename.h pass 2 2021-09-28 16:48:50 -07:00
gnrunge
7857d7424f ICU-21581 Creates a new workflow to be activated upon merge into main or
maintenance branches only and adds GHA CI automation of BRS task 'Test ICU4J
with only little-endian ICU4C data', cf.:
https://unicode-org.github.io/icu/processes/release/tasks/integration.html#test-icu4j-with-only-little-endian-icu4c-data.

ICU-21581 Adds copyright notice and comment to new GHA script.
2021-09-28 15:50:44 -07:00
yumaoka
7561cb2857 ICU-21767 Merging tz2021b changes.
Update ICU (main branch and upcoming version 70) halfway to 2021b.

- with Samoa & Jordan rule updates
- with corrected pre-1993 transitions in Malawi (?), Portugal, etc.
- without for now (due to release timing) renaming Pacific/Enderbury to Pacific/Kanton
- without merging many zones whose timestamps agree since 1970
2021-09-28 18:12:00 -04:00
Yoshito Umaoka
4d92a97752 ICU-21581 BRS70RC Adding ICU4J serialization test data for ICU4J 70
Deleted ICU4J 65 serialization test data.
2021-09-28 01:16:35 -04:00
Yoshito Umaoka
4e70788350 ICU-21581 BRS70RC Adding API signature file for ICU4J 70
Also fixed API doc tag problem in DacimalFormatSymbols.java. Deleted ICU4J 60 API signature file.
2021-09-28 01:16:17 -04:00
Yoshito Umaoka
21169d55cd ICU-21581 BRS 70RC Clean up import statements 2021-09-28 01:16:07 -04:00
Markus Scherer
109a830ed2 ICU-21545 fix Unicode properties Bazel build 2021-09-27 17:49:44 -07:00
gnrunge
4af7d969df ICU-21751 Improves failure reporting of the run-with-stubdata CI target and
also updates the instuctions how to reproduce a failur case.

ICU-21751 Review comments worked in.
2021-09-23 10:00:37 -07:00
Erik Torres
da5fc8e730 ICU-21581 BRSRC 70.1 Version update and regenerate configure for v70.1
In this PR, I am updating the version number from 70.0.1 for the BRS task.
Previously, we had frontloaded part of this, so the diff in this PR are not as numerous.

It has also been decided that we should differentiate frontloaded tasks and RC tasks by having the version numbers being:
Frontload version number: XX.X.X (70.0.1 -> Major.minor.patch)
RC/GA version number: XX.X (70.1 -> Major.minor)

I've added some documentation for this, for future releases :)
2021-09-23 09:54:12 -07:00
Elango Cheran
2660845480 ICU-21714 Use FixedDecimal instead of double for plural samples in tests
See #1875
2021-09-22 18:28:15 -07:00
Jeff Genovy
0a478416d2 ICU-21533 Lazily create the internal break iterator used in StringSearch, and improve error handling.
Change NULL to nullptr.
2021-09-22 15:25:26 -07:00
Andy Heninger
e5502fe862 ICU-21662 Userguide on Adoption and UErrorCode
Update the userguide sections on object adoption and UErrorCode,
expanding on how the two interact.
2021-09-22 11:10:23 -07:00
Younies
f1f0b22a2a ICU-21544 Throw argument error when the units are not convertible. 2021-09-22 19:55:58 +02:00
Rob Meyer
b405c1c8db ICU-21581 Fix calendar list in userguide 2021-09-22 12:39:33 -05:00
Shane F. Carr
63637445d9 ICU-21683 ICU-21674 Clear state from UFormattedNumber[Range] in C API
See #1862
2021-09-22 12:34:29 -05:00
Shane F. Carr
469456604a ICU-21675 Allow NaN and Infinity to appear in DecNum strings
See #1871
2021-09-22 12:34:20 -05:00
Shane F. Carr
f39cf84d62 ICU-21556 Support currency as decimal separator in patterns
See #1711
2021-09-22 12:34:05 -05:00