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
DraganBesevic
a5589e9210
ICU-22325 CLDR 44 alpha2 integration to ICU part one, binary and binary source files
2023-09-13 11:06:53 -07:00
Craig
6d178fd002
ICU-22325 Update ICU4C API Change Reports - frontload
...
Change version on uspoof.h from "74.0" to "74"
2023-09-12 16:15:11 -07:00
Frank Tang
68a61daa95
ICU-22497 Fix buffer-overflow READ for toLanguateTag
2023-09-12 15:21:26 -07:00
Frank Tang
35645abdcb
ICU-22494 Avoid adding empty or duplicate variants during locale canoncalization.
...
It change the failure case (see the bug) from 35s to 0.126s on a very
fast developement machine.
2023-09-11 15:25:37 -07:00
Rich Gillam
916452befc
ICU-22169 Fixed ures_getFunctionalEquivalent() to check the resource bundles' %%Parent resources when ascending
...
the parent tree.
2023-09-11 12:58:41 -07:00
Peter Edberg
612cfbbfe4
ICU-22325 BRS 74rc update rename.h #1
2023-09-07 22:21:55 -07:00
Silas S. Brown
7ae7b15698
ICU-22323 update comment: it is now only two word lists, not three
2023-09-07 21:34:25 -04:00
Rich Gillam
b6a4eb8a65
ICU-22325 Promoted all @draft ICU 72 APIs to @stable ICU 72.
2023-09-06 14:03:05 -07:00
Frank Tang
c294c3272c
ICU-22365 Add adoptULocale and buildULocale to ULocaleBuilder
...
Add two methods related to ULocale to ULocaleBuilder API
void ulocbld_adoptULocale(ULocaleBuilder* builder, ULocale* locale);
ULocale* ulocbld_buildULocale(ULocaleBuilder* builder, UErrorCode* err);
ICU TC approved this in 2023-08-31
2023-09-05 16:37:39 -07:00
Frank Tang
fab5faa3aa
ICU-22479 Limit the collator_compare_fuzzer
...
Test only first 4K bytes of data, which means compare two
UnicodeString each with 1024 Unicodes at most.
Avoid finding timeout issue due to large amount of data.
2023-09-05 14:10:33 -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
Frank Tang
aa70ba6746
ICU-22479 Add a new fuzzer to test more Locale methods
...
See #2576
2023-09-05 12:08:39 -07: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
869713b65f
ICU-22479 Improve collator_compare_fuzzer
...
See #2574
2023-09-01 17:57:30 -07:00
Frank Tang
35bae683a5
ICU-22475 Fix double free in Locale under OOM
...
See #2567
2023-08-30 12:35:15 -07:00
Frank Tang
02d5e71903
ICU-22342 Implement ExternalBreakEngineAPI
...
ICU-22342 Fix comments
2023-08-30 11:43:16 -07:00
Frank Tang
29a6ffc350
ICU-22365 call u_terminateChars in ULocale(Builder)?
2023-08-28 15:35:36 -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
Frank Tang
706044b0a2
ICU-20777 Remove the generation of likelySubtags.res
2023-08-23 15:47:50 -07:00
Robin Leroy
f79fe9347a
ICU-22332 bidiSkeleton and LTR- and RTL-confusabilities
2023-08-23 15:56:02 +02:00