Commit graph

32354 commits

Author SHA1 Message Date
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
Elango Cheran
832997c57e ICU-22325 Disable tests as workaround for failures following CI changes
See #2601
2023-09-15 09:46:23 -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
687feb1eaa ICU-22478 Fix log spew in PersonNameConsistencyTest. 2023-09-11 13:34:31 -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
8c7a78f663 ICU-22471 Made PersonName.FieldModifier.RETAIN @internal, at least until we find we need it in the API. 2023-09-06 14:32:14 -07: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
Mihai Nita
d501225db2 ICU-22477 Fix the performance tests after the maven folder changes 2023-08-31 19:38:20 -07:00
Elango Cheran
af8dc57a1d ICU-22423 Use hashes instead of version tags for GH Actions 2023-08-31 08:13:43 -07:00
Mihai Nita
6afef81b5e ICU-22324 Fix copyright check
Unrelated but blocking the main PR, Mavenization step 2
2023-08-30 15:25:01 -07:00
Mihai Nita
b3d542392c ICU-22324 Mavenization, step 2, change github / azure workflows 2023-08-30 15:25:01 -07:00
Mihai Nita
c7f227b37f ICU-22324 Mavenization, step 2, reorg folders to maven structure 2023-08-30 15:25:01 -07:00
Pedro Kaj Kjellerup Nacht
95f25839f4 ICU-22423 Add scorecard.yml
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-08-30 15:11:50 -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
Mihai Nita
2207e2c3df ICU-22324 Exclude tools/build from jdk > 8 2023-08-29 14:35:47 -07:00
Rich Gillam
0cc2d9ed4c ICU-22471 Bring ICU4J PersonNameFormatter up to date
- Bring in the latest version of the CLDR PersonNameFormatter test data.
- Fix PersonNameConsistencyTest to recognize the new “givenFirst” and “surnameFirst” keywords used in the test data files.
- Fix tokenization code in InitialModifier to use a BreakIterator.  Add unit test.
- Add support for the “retain” modifier.  Add unit test.
- Remove the “log known failure” logic for all of the PersonNameConsistencyTest data files that pass now.
2023-08-29 12:54:56 -04: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
ea0dbd4c41 ICU-22462 Rename to PersonNameConsistencyTest
Rename ExhaustivePersonNameFormatterTest to PersonNameConsistencyTest
Always run. Paramaterize the test so each test file are run in their
own test case and report the failure/success separately
2023-08-24 11:45:27 -07: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
Mihai Nita
fb0f36203a ICU-22324 Small fixes for script moving folders to maven structure
- Symlinks to LICENSE, so that it is included in the .jar files
- Fixed version in the jar manifests (s/73/74/)
- Added Main-Class, Export-Package, some *-Title and *-Description

At this point the .jar files (including manifests) produced by ant / maven
are byte to byte identical, except for some small differences that are
expected and can be explained (will cover them in the email to the team)
2023-08-22 16:19:43 -07: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
Rich Gillam
52177cc8c7 ICU-22364 Modify ulocimp_getRegionForSupplementalData() to ignore the subdivision code, rather than requiring it to
be "zzzz".
2023-08-21 14:06:00 -04:00
Steven R. Loomis
248b1c2a13 ICU-22309 update to LICENSE v3, Readme.md, CONTRIBUTING.md
- LICENSE is now the v3 license with the correct year and title
- README.md now has the required features and drops Terms of Use
- CONTRIBUTING.md now matches the updated language
2023-08-21 11:48:04 -05:00
Fredrik Roubert
1fc560c07f ICU-22465 Change .s to .data() for replacing TinyString with CharString.
This was forgotten by ICU-7496 which replaced the local TinyString data
type with the shared CharString data type, but as it's in code heavily
nested in #ifdef's it hasn't been noticed until now.
2023-08-21 15:57:20 +02:00
Mihai Nita
a7a2fdbcf2 ICU-22324 Script moving folders to maven structure 2023-08-18 20:58:16 -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
Frank Tang
27181e36a6 ICU-22435 Add C API for Locale
See #2531
2023-08-17 12:15:47 -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