Commit graph

32827 commits

Author SHA1 Message Date
Steven R. Loomis
803cd0d9de ICU-22812 copy shared data from CLDR to top level testdata
- draft, wip
2024-06-28 18:30:03 -05:00
Frank Tang
cf7ff1b0a5 ICU-22716 Set smaller timeout limit for uregex_match_fuzzer
3000 is still too large and cause https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69869
set to 300 per andy's earlier suggestion
2024-06-24 14:06:08 -07:00
Frank Tang
86add69c92 ICU-22716 Set timeout limit for uregex_match_fuzzer
To avoid unnecessary timeout.
2024-06-21 11:49:55 -07:00
Frank Tang
42d0bab7c3 ICU-22800 Avoid inconsistent state inside Locale
There are some memory leak in Locale which is hard to figure out why.
Use different variable to track memory allocation to avoid inconsistent
state while malloc fail
2024-06-21 11:49:11 -07:00
Gary L. Wade
b29eb331e1 ICU-22720 Update ICU4J to be comparable for relative date formatting as ICU4C for days of the week and quarters
Added enums for the days of week to RelativeUnit of RelativeDateTimeFormatter and changed QUARTERS to be included in this change rather than deprecated.  Removed short-circuiting of unit tests for the comparable formatting in ICU4C.  Added changes in formatNumericImpl and RelDateTimeDataSink to use the enums.  Added unit tests to RelativeDateTimeFormatter.java to test the enums proposed and removed the short-circuiting of days-of-week tests.
2024-06-18 13:56:07 -07:00
Makoto Kato
f48944e062 ICU-21809 Possible memory leak of tempTable.resFlags 2024-06-18 13:49:23 -07:00
Fredrik Roubert
8f6ba2a7a5 ICU-22721 Correct format specifier for type int32_t (-Wformat). 2024-06-18 09:57:56 -07:00
Fredrik Roubert
e6674c7360 ICU-22721 Set all fields in initializer (-Wmissing-field-initializers). 2024-06-18 09:57:56 -07:00
Fredrik Roubert
471c2ce03b ICU-22721 Delete unused variable (-Wunused-variable). 2024-06-18 09:57:56 -07:00
Frank Tang
e5b8660a46 ICU-22716 Add uregex_match_fuzzer
Based on https://chromium-review.googlesource.com/c/chromium/deps/icu/+/5465572
2024-06-17 20:06:41 -07:00
Frank Tang
0ea487a58b ICU-21810 Fix memory allocation error check in ucurr.cpp
See #3039
2024-06-17 15:33:20 -07:00
David Yeung
6e9e120520 ICU-22796 Bugfix: Memory access after uprv_free(). 2024-06-17 13:09:27 -07:00
Frank Yung-Fong Tang
697cb14f08 ICU-22798 Avoid stack overflow by return error.
See #3035
2024-06-14 13:09:30 +05:30
Frank Tang
b82291fd77 ICU-21810 Fix error checking of ucurr.cpp part 1
See #3027
2024-06-13 14:31:27 -07:00
Frank Tang
09dce103f2 ICU-22797 Move the loop limit before ignore continue
Fix an infinity loop issue inside collation builder
2024-06-13 09:58:15 -07:00
Fredrik Roubert
64f529e113 ICU-22310 Update configure files from configure.ac using autoreconf. 2024-06-13 15:09:29 +02:00
Fredrik Roubert
d1cfbb22f1 ICU-22310 Revert now obsolete autoconf "pld hack". 2024-06-13 15:09:29 +02:00
Fredrik Roubert
6a24e8d1df ICU-22310 Update configure files from configure.ac using autoreconf. 2024-06-13 15:09:00 +02:00
Fredrik Roubert
58df035f1d ICU-22310 Revert now obsolete autoconf bug workaround for echo. 2024-06-13 15:09:00 +02:00
Elango Cheran
aefbea6162 ICU-22722 Make cldr-to-icu verbiage on alt="ascii" sound more authoritative 2024-06-07 11:45:29 -07:00
dependabot[bot]
4f7b73dfdb ICU-22721 Bump the github-actions group with 2 updates
See #3021
2024-06-06 13:16:39 -07:00
Frank Tang
87fce24233 ICU-22642 Avoid spending too much time inside CanonicalIterator
See #3017
2024-06-06 12:48:59 +02:00
Markus Scherer
6543634649 ICU-22707 fix hst=V: hst=NA for Kirat Rai 2024-06-05 08:10:21 -07:00
Markus Scherer
47e9389b8e ICU-22785 move cptrie bit setter to toolutil; add getCPTrieSize() 2024-06-04 18:51:53 -07:00
Markus Scherer
c439dcdf27 ICU-22785 uprops.icu: coalesce scx+sc bits 2024-06-04 18:51:53 -07:00
Markus Scherer
0d8a3ccd11 ICU-22785 move Block bits from propsvec0 to new trie 2024-06-04 10:49:53 -07:00
Elango Cheran
81492ae9a2 ICU-22722 Make example config for cldr-to-icu work over all locales 2024-06-02 21:41:48 -07:00
Elango Cheran
b9b324ccc5 ICU-22722 Update docs for cldr-to-icu converter 2024-05-31 14:21:24 -07:00
Frank Tang
3235c38f24 ICU-22777 Fix incorrect pointer comparision 2024-05-30 23:46:56 -07:00
Fredrik Roubert
edfe255de3 ICU-22001 Put translation unit local definitions in unnamed namespaces.
Any symbol that isn't intended to have external linkage should either be
declared static (legacy code) or put in an unnamed namespace.
2024-05-30 14:06:12 +02:00
Frank Yung-Fong Tang
faac745421 ICU-22768 Fix bidi buffer overflow
See #3016
2024-05-29 15:16:32 -07:00
DraganBesevic
699fb1dbc4 ICU-22723 Integrate CLDR 46 release m0, part 3, source files 2024-05-24 11:32:57 -07:00
DraganBesevic
d6657adc4a ICU-22723 Integrate CLDR 46 release m0, part 2, data and files 2024-05-24 11:32:57 -07:00
DraganBesevic
aa5fc99b33 ICU-22723 Integrate CLDR 46 release m0, part 1, binary files 2024-05-24 11:32:57 -07:00
Mihai Nita
788b893214 ICU-22769 Fix the jar generation to not use versioned folder 2024-05-22 10:01:41 -07:00
aszasz
0ef4da943c ICU-22722 Fix broken link to faq in docs/userguide/icu/index.md
See #3006
2024-05-17 14:43:28 -07:00
Frank Tang
6ac6fdda74 ICU-22730 propagate error avoid overflow 2024-05-16 00:27:14 -07:00
Mihai Nita
f017c3722b ICU-22722 Better name for workflow 2024-05-15 14:18:34 -07:00
Henri Sivonen
398890853d ICU-22718 Export disallowed/ignored UTS 46 data for ICU4X 2024-05-15 11:20:09 -07:00
Tim Chevalier
e6ac2a292f ICU-22753 Fix read-after-move in MF2
In StaticErrors::addError() and DynamicErrors::addError(),
don't read from `e` after moving out of it.
2024-05-14 12:40:06 -07:00
Tim Chevalier
084af5c2b6 ICU-22740 Add -Wctad-maybe-unsupported to CI jobs that use -Wall -Wextra.
This modifies the following jobs:

C: Linux Clang-16 WarningsAsErrors (Ubuntu 20.04)
C: macOS(Latest) Clang WarningsAsErrors
2024-05-14 12:39:44 -07:00
Tim Chevalier
db0694e8ab ICU-22740 Add missing template arguments in MF2 parser
This fixes a clang-17 `-Wctad-maybe-unsupported` warning.
2024-05-14 12:39:44 -07:00
Fredrik Roubert
ed52e0a25b ICU-22721 Rename scoped variable to not shadow variable in outer scope. 2024-05-14 19:03:14 +02:00
Tim Chevalier
6d5555a739 ICU-22746 Import ICU4J tests
Includes code fixes for `numberingSystem`, `percent`,
and `precision` options in `:number`

Also includes a code fix for number selection:
  Refactor code to conform more closely to the steps in the spec,
  and call the number formatter before the selector so that a FormattedNumber
  with the right options is selected on

Some modifications were needed to add missing params
and to mark some tests as ignored (see ICU-22754).
Also added decimal arguments in JSON test reader

Finally, some redundant tests are removed:
all tests in messageformat2test_features and
messageformat2test_icu, and
messageformat2test_builtin are now covered by JSON tests
2024-05-13 14:51:14 -07:00
Mihai Nita
75ef0d97e1 ICU-22723 Add line number info to icuexportdata handleError
See #3004
2024-05-13 11:58:09 -07:00
Henri Sivonen
f5056cb46a ICU-22757 Remove allow list of known contractions with precomposed form from ICU4X mode of genuca
This assumes that future cases will work OK, since the addition that was seen in Unicode 16 alpha
was OK.
2024-05-13 11:25:01 -07:00
Fredrik Roubert
564c92d666 ICU-22721 Delete obsolete __STRICT_ANSI__ workaround for MinGW.
This was originally added in the year 2004 for ICU-3854 but is no longer
needed with contemporary versions of MinGW where it instead as of GCC 14
causes this problem:

__STRICT_ANSI__ seems to have been undefined; this is not supported.
2024-05-10 16:11:21 -07:00
Mihai Nita
63afc76425 ICU-22769 Rename of the ICU4J data folder to not contain a version (script) 2024-05-08 15:33:21 -07:00
Mihai Nita
29620612ef ICU-22769 Rename of the ICU4J data folder to not contain a version (code) 2024-05-08 15:33:21 -07:00
Mihai Nita
9720a210ac ICU-22769 Rename of the ICU4J data folder to not contain a version 2024-05-08 15:33:21 -07:00