Commit graph

4881 commits

Author SHA1 Message Date
Frank Tang
1b15a4e9db ICU-22424 Fix Calendar::clear(UCAL_MONTH)
Make the calling of clear(UCAL_MONTH or UCAL_ORDINAL_MONTH) clear both fields.
2023-06-30 00:48:34 -07:00
Frank Tang
9411a940ea ICU-22414 Fix bogus locale in collation res fallback 2023-06-14 11:30:00 -07:00
Peter Edberg
d205e03352 ICU-22325 CLDR release-43-1-beta1 to ICU main 2023-05-10 18:08:25 -07:00
Fredrik Roubert
e1e1c5feaf ICU-22349 Use -l with make -j to limit jobs based on load average.
It has been proposed that make running too many parallel jobs recently
has led to resource exhaustion in our CI, so that some kind of limit
would be helpful to set.

The load average 2.5 limit choosen here is simply the limit used as an
example in the make documentation, as we don't really have any way of
picking an initial value that's certain to be better.

https://www.gnu.org/software/make/manual/html_node/Parallel.html

See #2421
See #2422
2023-05-11 00:50:59 +02:00
Peter Edberg
5618203821 ICU-22360 revert portions of #2159 which included @ in ALetter for wordbreak, update tests 2023-05-06 21:36:46 -07:00
Mihai Nita
0e4b10b112 ICU-22378 Fix temperature format ignoring -u-mu-fahrenhe 2023-05-03 09:24:53 -07:00
Shane F. Carr
62f493827f
ICU-22369 Merge maint/maint-73 into main (#2437) 2023-04-27 16:19:55 -07:00
Fredrik Roubert
4fd9d6ce9a ICU-22356 Use ConstChar16Ptr to safely cast from UChar* to char16_t*.
This is necessary for this header file to be usable by clients that
define UCHAR_TYPE as a type not compatible with char16_t, eg. uint16_t.
2023-04-24 23:56:49 +02:00
Shane F. Carr
2a2995951b ICU-20926 Add tests for identity behavior in DateIntervalFormat
See #2245
2023-04-17 14:57:50 -07:00
Markus Scherer
0d2a03dbba ICU-22338 getProperty(Value)Name accepts nameChoice above 1 2023-04-10 17:50:12 -07:00
Peter Edberg
c125cf67f0 ICU-22337 restore strict parsing length tolerance for non-abutting numeric date fields 2023-03-30 13:52:40 -07:00
yumaoka
b31579920e ICU-22327 Update tzdata to 2023a 2023-03-23 13:56:40 -04:00
Peter Edberg
dd1d4de29b ICU-21653 utext_current32 should handle access callback that changes chunk size 2023-03-17 08:45:00 -07:00
Shane F. Carr
2a9d0ccdb2 ICU-22283 Add additional ERoundingMode variants
See #2329
2023-03-14 00:51:42 -07:00
Markus Scherer
b6dcc95d3c ICU-21833 remove redundant void parameter lists
See #2351
2023-03-02 09:31:57 -08:00
Markus Scherer
79ab90b5f9 ICU-6065 UnicodeSet::closeOver(simple case folding)
See #2322
2023-03-02 08:12:57 -08:00
Frank Yung-Fong Tang
80414a247b ICU-22224 Enable UBSAN and fix breakage
See #2324
2023-02-27 17:31:49 -08:00
Peter Edberg
18f6a3a6e2 ICU-22220 CLDR release-43-alpha2 to ICU main 2023-02-27 11:09:02 -08:00
Fredrik Roubert
a3cbe80909 ICU-21833 Replace U_OVERRIDE with override everywhere. 2023-02-22 18:28:07 +01:00
Peter Edberg
d469e628f3 ICU-22220 CLDR release-43-alpha1 to ICU main 2023-02-21 11:39:48 -08:00
Frank Yung-Fong Tang
331172f0a3 ICU-22262 Automate environment test
See #2309
2023-02-15 15:24:19 -08:00
Frank Yung-Fong Tang
47b321f1fa ICU-22277 correct collation error return of uninitialized length value while previous code return error
See #2320
2023-02-13 14:24:33 -08:00
Frank Tang
638acd0c38 ICU-21374 Add a CFI build bot for ICU4C
Add the github action bot to build with cfi
Also fix all the known issues which require the change from C style cast to
static_cast inside the i18n and common directory while we are sure about
the object. and use
C++ style dynamic_cast for base-to-derive cast in other code inside i18n
and common and in test code or tool.
Change to use const_cast for casting between const / non-const
2023-02-06 15:47:14 -08:00
Peter Edberg
87fc840bf7 ICU-22220 CLDR release-43-alpha0 (with SurveyTool data) to ICU main 2023-02-06 14:46:14 -08:00
Fredrik Roubert
2de88f9d9c ICU-21833 Replace UChar with char16_t in all C++ code. 2023-02-06 19:27:44 +01:00
Fredrik Roubert
2e0d30cfcf ICU-21833 Replace NULL with nullptr in all C++ code. 2023-02-03 20:20:38 +01:00
Frank Tang
a47717934a ICU-22252 Suppress Calendar Consistency
See #2298
2023-02-03 16:38:50 +01:00
Mihai Nita
76df897b77 ICU-22226 Fix Calendar.getFirstDayOfWeek to honor -u-fw 2023-01-31 00:26:30 -08:00
Frank Tang
de0a28644b ICU-22251 Move sprintf to snprintf.
See #2291
2023-01-25 23:23:29 -08:00
Frank Yung-Fong Tang
da5b047dbe ICU-22242 Test to show incorrect calculation of 1890
See #2270
2023-01-18 12:05:34 -08:00
Frank Tang
cd1b772cbf 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.
2023-01-17 15:08:08 -08:00
Shane F. Carr
89c1700424 ICU-22093 Polish for SimpleNumberFormatter
See #2277
2023-01-12 11:38:27 -06:00
Peter Edberg
8d411e9b6a ICU-22220 integrate CLDR release-43-m0 to ICU main for 73, update maven-build files 2023-01-10 11:32:24 -08:00
Fredrik Roubert
2a6f06cb4c 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".
2022-12-16 10:06:32 +09:00
Shuhei Iitsuka
b6b7b045e9 ICU-22100 Incorporate BudouX into ICU (C++) 2022-12-02 10:11:06 -08:00
Manish Goregaokar
d02b30fc3f ICU-20115 ICU4C: Move SimpleDateFormat over to SimpleNumberFormatter 2022-12-01 09:40:55 -08:00
yumaoka
cecd19e9ba ICU-22217 TZ Database 2022g updates 2022-11-30 22:08:08 -05:00
Shane F. Carr
a2854b615a ICU-22093 ICU4C: Add SimpleNumber and SimpleNumberFormatter
See #2241
2022-11-28 20:28:50 -08:00
Frank Tang
9c1fb785b3 ICU-22164 Replace switch+getType with subclass
See #2215

fix
2022-11-11 14:49:16 -08:00
Andy Heninger
67a7e2caf0 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.
2022-11-02 16:25:41 -07:00
yumaoka
2d19377a8d ICU-22196 TZ Database 2022f updates 2022-11-01 20:21:18 -04:00
Andy Heninger
866254ef12 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.
2022-10-26 18:55:48 -07:00
yumaoka
702e529d31 ICU-22165 Update ICU tzdata to 2022d 2022-09-30 15:56:00 -04:00
Younies Mahmoud
dbfe830108 ICU-22122 Support Locale Tags (ms, mu and rg)
See #2182
2022-09-20 16:51:24 -07:00
yumaoka
17435c4533 ICU-22151 Update timezone-region supplementation mapping data for Jan Mayen and some others 2022-09-16 16:49:42 -07:00
Peter Edberg
b734048799 ICU-21957 fix NumberFormatterSettings::unitDisplayCase status, remove FormattedNumber:getGender 2022-09-16 08:34:28 -07:00
Peter Edberg
cfd99f3f3f ICU-22143 Increase COMPACT_MAX_DIGITS from 15 to 20, needed for new ja data 2022-09-12 17:17:19 -07:00
Peter Edberg
1de1e36d6f ICU-21957 integrate CLDR release-42-alpha3 to ICU main for 72 2022-09-08 18:19:10 -07:00
Fredrik Roubert
030fa1a479 ICU-21148 Consistently use standard lowercase true/false everywhere.
This is the normal standard way in C, C++ as well as Java and there's no
longer any reason for ICU to be different. The various internal macros
providing custom boolean constants can all be deleted and code as well
as documentation can be updated to use lowercase true/false everywhere.
2022-09-07 20:56:33 +02:00
gnrunge
00003dcbf2 ICU-21957 Update TODO ticket reference: CLDR-13044 (done) ---> ICU-21420 (open). 2022-09-06 09:14:07 -07:00