Frank Tang
07137b64e4
ICU-22521 Return U_INTERNAL_PROGRAM_ERROR instead of % 0
...
When the gap is 0, return status as U_INTERNAL_PROGRAM_ERROR
and avoid the operation of "% gap"
2023-09-28 14:23:07 -07:00
Younies Mahmoud
c4689841c0
ICU-22463 Fix the conversion from gasoline-equivalent units to kilograms-per-meter-squared-per-second
...
See #2616
2023-09-23 06:48:25 +02:00
Frank Tang
4fcf8d22b9
ICU-22507 Fix stack overflow in ChineseCalendar::isLeapMonthBetween
...
Rewrite the recursive call to while loop to avoid stack overflow
when the two values have big gap.
Include tests to verify the problem in unit test.
2023-09-20 23:56:15 -07:00
Rich Gillam
1b980e5999
ICU-21877 Fixed it so that getAllChildrenWithFallback() correctly calls its sink with every possible resource the
...
one the user requested might be inheriting elements from.
2023-09-20 14:09:21 -07:00
Frank Tang
f3b869cbb0
ICU-22512 Fix broken TestHebrewCalendarInTemporalLeapYear
...
Fix broken test mistakenly landed in
https://github.com/unicode-org/icu/pull/2274
Some important steps were missed in the last landing.
2023-09-19 09:47:03 -07:00
Markus Scherer
d8659b476d
ICU-22404 new properties IDS_Unary_Operator, ID_Compat_Math_*, NFKC_SCF
2023-09-16 14:41:51 -07:00
Rich Gillam
14ca2b0e6d
ICU-22313 Various fixes for duration formatting:
...
- Changed the C++ and Java interfaces to that the URBNF_DURATION ruleset is marked deprecated.
- Fixed a bug in RuleBasedNumberFormat in both Java and C++ that caused the existing duration-formatting rules to produce bogus results when used on a non-integral value.
(Earlier versions of this PR added code to use a MeasureFormat under the covers when a caller used
unum_open(UNUM_DURATION). I took that out because of backward compatibility concerns, so we're still using RBNF
in the C API. I'm hoping to add a "real" duration formatter in ICU 75.)
2023-09-15 16:27:58 -07:00
Peter Edberg
28572ab67e
ICU-22325 CLDR release-44-alpha3 to main part 3 (ICU sources: lib, tools, tests)
2023-09-15 14:02:20 -07:00
Frank Tang
386e9a10db
ICU-22504 Fix buffer overflow write error
2023-09-15 11:01:37 -07:00
Frank Tang
9fb9bd4950
ICU-22342 Rename fillBreak to fillBreaks
2023-09-14 10:04:57 -07:00
DraganBesevic
bb7352990e
ICU-22325 CLDR 44 alpha2 integration to ICU part three, source files changes
2023-09-13 11:06:53 -07:00
Frank Tang
68a61daa95
ICU-22497 Fix buffer-overflow READ for toLanguateTag
2023-09-12 15:21:26 -07:00
Rich Gillam
21f74b3698
ICU-22455 Implemented algorithm in CLDR-16981 to preserve regional unit overrides when they don't conflict
...
with the ms subtag.
2023-09-05 16:52:18 -04:00
Mihai Nita
5fb2a6ad06
ICU-22324 Mavenization, updating the cldr-to-icu scripts and instructions
2023-09-05 10:24:23 -07:00
Frank Tang
02d5e71903
ICU-22342 Implement ExternalBreakEngineAPI
...
ICU-22342 Fix comments
2023-08-30 11:43:16 -07:00
Rich Gillam
8817c25c1e
ICU-22449 Fixed SimpleDateFormat (in C++ and Java) to correctly honor the rg and hc subtags in the locale when choosing the hour cycle.
2023-08-28 13:30:45 -04:00
Robin Leroy
f79fe9347a
ICU-22332 bidiSkeleton and LTR- and RTL-confusabilities
2023-08-23 15:56:02 +02:00
Peter Edberg
2270c174a5
ICU-22325 CLDR release-44-alpha1 to main:
...
- binaries, binary-as-source, CLDR data sources;
- CLDR test data & dtd, ICU lib/tool/test source updates.
2023-08-22 14:40:51 -07:00
Frank Tang
667ee72b7c
ICU-22457 count() of getUnicodeKeywords is incorrect
...
The count() is incorrect if the Locale contains extension which is not -u-
for example -x-, -t-.
Currently, this PR only contains tests to show the problem.
ICU-22457 Fix the enum_count
2023-08-21 14:44:10 -07:00
Frank Tang
ffc449de62
ICU-20777 Merge the likelySubtags implemention
...
Change testdata/likelySubtags.txt to consider FAIL line
ICU-20777 Fix Java Tests
ICU-20777 Fix all issues
ICU-20777 Incase timeout
ICU-20777
ICU-20777 Skip Data Driven test
2023-08-18 09:35:54 -07:00
Markus Scherer
81a6edb287
ICU-22404 Unicode 15.1 data 20230811 plus UTS46 fix
2023-08-16 14:25:22 -07:00
yumaoka
6338b704ff
ICU-22452 API for resolving preferred IANA zone ID from a zone ID.
2023-08-11 17:00:05 -04:00
James Choi
b70b2d0433
ICU-22363 Add support for QNX 7.1
...
Signed-off-by: James Choi <chachoi@blackberry.com>
2023-08-10 17:46:01 -07:00
Robin Leroy
a6fc915e05
ICU-22404 Strip default ignorable code points in the skeleton for confusable detection
2023-08-10 17:55:14 +02:00
Robin Leroy
47e47ec439
ICU-22433 uppercase decomposed greek to decomposed greek and precomposed greek to precomposed greek.
2023-08-08 22:20:20 +02:00
DraganBesevic
1f07d2b29f
ICU-22325 Integrate CLDR 44.1 to ICU, add personName testdata, fix RBBITestMonkey
2023-07-28 16:53:50 -07:00
Frank Tang
19bac42f98
ICU-22446 Fix incorrect Hebrew ORDINAL MONTH bug
2023-07-27 22:18:00 -07:00
Frank Tang
03e98c04f3
ICU-22442 Sync the spelling of NEHASSA to ICU4J NEHASSE
...
ICU4J has that as part of public API but ++ is private
so we should sync to the ICU4J one.
2023-07-27 09:56:31 -07:00
Elango Cheran
2e45e6ec0e
ICU-22404 Unicode 15.1 beta data files & API constants
...
See #2492
Co-authored-by: Andy Heninger <andy.heninger@gmail.com>
Co-authored-by: Robin Leroy <egg.robin.leroy@gmail.com>
2023-07-13 19:26:14 -07:00
Frank Tang
5826bf7ed7
ICU-22434 Not calling setFirstDayOfWeek(MONDAY) if the locale has fw
...
The Calendar constructor already take care of the fw override.
We should not set the first day of week for iso8601 to Monday if
we have a fw keyword/type in the locale.
ICU-22434 Fix incorrect calendar keyword extraction
2023-07-13 09:49:32 -07:00
Peter Edberg
70d308731a
ICU-22325 BRS 74 front-load update version to 74.0.1
2023-07-10 16:45:41 -07:00
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