Commit graph

23505 commits

Author SHA1 Message Date
DraganBesevic
597e3110a5 ICU-22325 CLDR 44 beta2 integration to ICU part three, source files changes 2023-10-04 15:18:56 -07:00
DraganBesevic
72099ee64c ICU-22325 CLDR 44 beta2 integration to ICU part two, source files generated or copied from CLDR 2023-10-04 15:18:56 -07:00
DraganBesevic
34883e931c ICU-22325 CLDR 44 beta2 integration to ICU part one, binary and binary source files 2023-10-04 15:18:56 -07:00
Frank Tang
d82ad9975d ICU-22526 Allow GMT-23:59 time zone
ECMA402 now allow offset timezone from -23:59 to 23:59.
We need to lower the minimum ZONE_OFFSET value to -23:59
2023-10-04 14:43:36 -07:00
Fredrik Roubert
c587069895 ICU-22527 Add -Wambiguous-reversed-operator test code. 2023-10-04 00:05:31 +02:00
Shane F. Carr
fc386c3a9a ICU-22149 Be more graceful with missing lang bundle data
See #2635
2023-10-03 14:20:26 -07:00
Peter Edberg
e1af930c6a ICU-22325 BRS 74rc move cldr testdata to consistent place, adjust test & tools to match 2023-10-03 10:24:27 -07:00
Craig
dff59b61f9 ICU-22325 ICU4C update APIChangeReport 73 -> 74 2023-10-03 07:21:20 -07:00
Frank Tang
05b0e7abaf ICU-22517 Limit the closure expansion loop and return error
To avoid very slow return from the constructor, we return
error while the Collation rule expand too big.
Add a soft limit to limit to the number of loop needed for 8 Hanguls
  Necessary number of loop: H(0)=0; H(i)=3H(i-1)+2.
  Where i is the length of Hangul in the rule.
  H(1) = 2, H(2) = 8, H(3)=26, H(4)=80, H(5) = 242 ...
2023-10-02 19:06:38 -07:00
Markus Scherer
f6d09d514d ICU-22527 add Measure::operator!=() 2023-10-02 17:03:28 -07:00
DraganBesevic
38643e14e5 ICU-22325 CLDR 44 beta1 integration to ICU part two, source files generated or copied from CLDR 2023-09-29 20:29:49 -07:00
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
Shane F. Carr
acfe1c299b ICU-22325 Update double-conversion to v3.3.0 2023-09-28 14:31:16 +02:00
Markus Scherer
bfbf578f1c ICU-22325 docmain ICU 74 new C services 2023-09-27 17:55:37 -07:00
Robin Leroy
9ed8532d2d ICU-22332 document advanced usage of bidi confusability
Co-authored-by: Markus Scherer <markus.icu@gmail.com>
2023-09-28 02:22:05 +02:00
Markus Scherer
c670bbd5b0 ICU-22420 GB18030 change 3 mappings for GBK/web compat 2023-09-27 08:37:24 -07:00
Fredrik Roubert
037449fff8 ICU-21289 Switch to using CharString for calling uloc_getParent(). 2023-09-26 23:41:24 +02:00
Fredrik Roubert
96dcaf7da8 ICU-21289 Switch to using CharString for calling uloc_forLanguageTag(). 2023-09-26 17:52:51 +02:00
Elango Cheran
99026f01cc ICU-22325 BRS74RC: Update version number to 74.1
See #2613
2023-09-26 08:21:21 -07:00
Fredrik Roubert
9bce52f003 ICU-21289 Switch to using CharString for calling uloc_toLanguageTag(). 2023-09-26 13:26:11 +02:00
Fredrik Roubert
2df1ab7240 ICU-21289 Switch to using CharString for calling uloc_canonicalize(). 2023-09-26 00:52:13 +02:00
Fredrik Roubert
47b28d6740 ICU-21289 Switch to using CharString for calling uloc_getBaseName(). 2023-09-26 00:52:13 +02:00
Fredrik Roubert
558df3aeb8 ICU-21289 Switch to using CharString for calling uloc_getName(). 2023-09-26 00:52:13 +02:00
Frank Tang
c1475f4bbd ICU-22516 Return error while the style is invalid
To avoid later unknown address in icu_74::UnicodeString::copyFrom
2023-09-25 15:43:49 -07:00
Fredrik Roubert
6d1999fbb9 ICU-21289 Switch to using CharString for calling uloc_getKeywordValue(). 2023-09-25 19:02:41 +02: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
Fredrik Roubert
6e0468d3bf ICU-22498 Write directly to sink (instead of into legacy buffers). 2023-09-22 15:01:42 +02:00
Frank Tang
cdcea0c378 ICU-22479 Enahnce the fuzzer for ListFormatter
Add the testing for invalid type and width.
Also test formatStringsToValue
2023-09-21 21:21:21 -07:00
Craig
c3544278cb ICU-22325 BRS#13: urename.h 2023-09-21 16:45:25 -07:00
Frank Tang
77bc51e03e ICU-22479 Add fuzzer for RelativeTimeFormatFuzzer
And also fix a bug by checking the unit
2023-09-21 14:50:35 -07: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
6a42197331 ICU-22510 Fix Calendar::set to check the field is valid. 2023-09-20 13:50:56 -07:00
Frank Tang
87d606c39a ICU-22509 Fix the RelativeDateFormat to reject unsupported dateStyle 2023-09-20 12:02:57 -07:00
Frank Tang
c4a596e18e ICU-22508 Reject NaN as input to Calendar::setTime
Fix DateFormat::format issue
2023-09-19 15:55:02 -07:00
Frank Tang
990779c4bf ICU-22509 Limit the dateStyle and timeStyle in fuzzer to only valid enum 2023-09-19 15:54:04 -07:00
Frank Tang
6df1babae2 ICU-22479 Add Fuzzer for ListFormat 2023-09-19 15:52:42 -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
Frank Tang
d082de574f ICU-22479 Add Fuzzer for DateFormat 2023-09-15 17:47:17 -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
Peter Edberg
7ff2fff2b8 ICU-22325 CLDR release-44-alpha3 to main part 2 (data generated or copied from CLDR) 2023-09-15 14:02:20 -07:00
Peter Edberg
63c9435e87 ICU-22325 CLDR release-44-alpha3 to main part 1 (binaries, binary-like source) 2023-09-15 14:02:20 -07:00
Frank Tang
84ae742ea0 ICU-22479 Add fuzzer for Calendar API 2023-09-15 11:02:55 -07:00
Frank Tang
386e9a10db ICU-22504 Fix buffer overflow write error 2023-09-15 11:01:37 -07:00
Frank Tang
9e9bc3695f ICU-22489 Clarify the default setting of Collator
See #2595
2023-09-14 10:05:36 -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
DraganBesevic
6b08bb601c ICU-22325 CLDR 44 alpha2 integration to ICU part two, source files generated or copied from CLDR 2023-09-13 11:06:53 -07:00