Commit graph

32808 commits

Author SHA1 Message Date
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
Mihai Nita
f133a0bd9b ICU-22723 Cleanup: remove the icu4j/maven-migration/ folder 2024-05-08 14:17:44 -07:00
Mihai Nita
cb0d0d4e56 ICU-21757 Small GitHub workflow cleanup 2024-05-08 12:51:27 -07:00
Tim Chevalier
85a9b2ee84 ICU-22746 Refactor MF2 tests to be data-driven and add JSON lib
This change moves all test strings out of test/intltest/messageformat2test.cpp
and into JSON files, which are parsed/run by code in
a new file, test/intltest/messageformat2test_read_json.cpp .
It also removes the file test/intltest/messageformat2test_fromjson.cpp ,
which contained tests that are now stored in JSON files.

To enable this, a new vendored library is added:
nlohmann/json .
This library is introduced as a dependency for the MF2 tests.
The required part of the library is a single header file,
which is added under icu4c/source/tools/toolutil/.
Also adds a wrapper file for the vendored JSON header file
that defines macros that disable exceptions.

Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2024-05-07 14:09:24 -07:00
Mihai Nita
9369b7a209 ICU-21757 Stop sharing utilities-for-cldr
Moves UnicodeMap and related classes to core.
Also removes `CollectionUtilities`, `UOption`, and `ElapsedTimer`.
They will end up in UnicodeTools, CLDR, and CLDR respectively.
2024-05-06 15:49:03 -07:00
Mihai Nita
c92c188cac ICU-21757 Replace UOption with commons-cli in XLIFF2ICUConverter 2024-05-06 11:22:13 -07:00
Henri Sivonen
7eaefe076e ICU-22758 Make icuexportdata compatible with Unicode 16 normalization 2024-05-06 08:27:06 -07:00
Mihai Nita
69cb085e12 ICU-21757 Replace UOption with commons-cli in perf-tests 2024-05-03 16:28:26 -07:00
dependabot[bot]
1c7d7f9a95 ICU-22721 Bump the github-actions group with 4 updates
See #2992
2024-05-03 15:36:34 -07:00
Shane F. Carr
23bf38f10f ICU-22764 Fix gendict memory safety in toml uchars mode 2024-05-03 11:02:29 -07:00
Frank Tang
464531eb8e ICU-22079 Fix bidi fuzzer
Check data length to avoid memcpy out of bound.
2024-05-02 11:59:22 -07:00
Frank Tang
1ff249b73f ICU-21589 Remove format-overflow warning
1. double size one stack buffer
2. add pragma to ignore some theorical case because the array are in
   same length but some fields are shorter than the other.

ICU-21589 wrap with defined(__GNUC__)

ICU-21589 avoid clang
2024-05-02 18:23:08 +02:00
Mihai Nita
6041c249f4 ICU-21757 Remove ICU dependencies on CollectionUtilities 2024-04-30 19:10:06 -07:00
Markus Scherer
6e6b576729 ICU-22707 Azure ICU4J timeout 20->25min 2024-04-29 17:00:55 -07:00
Markus Scherer
fe23620f12 ICU-22707 appease rbbitst UBSan for RBBIStateTableRow 2024-04-29 17:00:55 -07:00
Markus Scherer
b32d4a718e ICU-22707 disable icuexportdata --mode norm 2024-04-29 17:00:55 -07:00
Markus Scherer
012c326755 ICU-22707 UCA 16 data first cut 2024-04-29 17:00:55 -07:00
Markus Scherer
5416451ae2 ICU-22707 more vo=U: Egyp. hieroglyphs 2024-04-29 17:00:55 -07:00
Markus Scherer
ba1ecef7de ICU-22707 Unicode 16 security data first cut 2024-04-29 17:00:55 -07:00
Markus Scherer
423b4c7c31 ICU-22707 Unicode 16 script metadata 2024-04-29 17:00:55 -07:00