Peter Edberg
5bfeae38ee
ICU-22583 CLDR release-44-1 to ICU maint/maint-74 part 3 (ICU sources: lib, tools, tests)
2023-12-07 10:35:01 -08:00
Rich Gillam
cca2855db9
ICU-22575 Change AvailableFormatsSink to allow locales to inherit availableFormats items from the root locale.
2023-12-04 17:31:54 -08:00
Peter Edberg
d44f5bc9f0
ICU-22326 logKnownIssue skip for exhaustive test failures with kxv(_Deva)? day/month names
2023-10-27 14:59:16 -07:00
Elango Cheran
683df2254e
ICU-22326 Fix build problems
...
See #2685
2023-10-26 11:17:30 -07:00
Peter Edberg
2f7bfd87cb
ICU-22326 CLDR release-44-beta5 to ICU main part 3 (ICU sources: lib, tools, tests)
2023-10-26 10:59:18 -07:00
Frank Yung-Fong Tang
ca631eaa26
ICU-22541 Fix MacOS 14 default timezone issue
...
See #2669
2023-10-12 17:16:05 -07:00
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
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
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
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
Markus Scherer
c670bbd5b0
ICU-22420 GB18030 change 3 mappings for GBK/web compat
2023-09-27 08:37:24 -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
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
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
87d606c39a
ICU-22509 Fix the RelativeDateFormat to reject unsupported dateStyle
2023-09-20 12:02:57 -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
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
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
Frank Tang
68a61daa95
ICU-22497 Fix buffer-overflow READ for toLanguateTag
2023-09-12 15:21:26 -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
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
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
5d6d197a03
ICU-22466 Fix incorrect memory read while the locale is bogus
...
ICU-22466 Fix illegal read
ICU-22466 Fix memory issue
2023-08-22 09:22:12 -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