Commit graph

32776 commits

Author SHA1 Message Date
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
Markus Scherer
1053be18e5 ICU-22707 Java norm2impl support MaybeNo 2024-04-29 17:00:55 -07:00
Markus Scherer
b1a50f2a38 ICU-22707 Java props data files 2024-04-29 17:00:55 -07:00
Markus Scherer
e57aeba98c ICU-22707 test normalization quick check properties against ppucd 2024-04-29 17:00:55 -07:00
Markus Scherer
94ef2757a3 ICU-22707 gennorm2 & C++ norm2impl support MaybeNo
- .nrm formatVersion 5
- updated data format doc & design doc
2024-04-29 17:00:55 -07:00
Markus Scherer
d0e43d6943 ICU-22707 fix normalization bug: chars that combine back & fwd 2024-04-29 17:00:55 -07:00
Markus Scherer
4d9612bfa2 ICU-22707 Age 6:2, run generate.sh 2024-04-29 17:00:55 -07:00
Markus Scherer
d79c7bf5a0 ICU-22707 expectedLong script names 2024-04-29 17:00:55 -07:00
Markus Scherer
560e4bbf41 ICU-22707 preparseucd.py 2024-04-29 17:00:55 -07:00
Markus Scherer
ed8fe2c336 ICU-22707 ICU Unicode 16 version numbers 2024-04-29 17:00:55 -07:00
Markus Scherer
ce846a2367 ICU-22707 update change log for 16 2024-04-29 17:00:55 -07:00
Markus Scherer
2688bca066 ICU-22707 change log for Unicode 16 minus hardcoded props 2024-04-29 17:00:55 -07:00
Frank Tang
a57c68364e ICU-22079 Rename 2024-04-29 14:51:13 -07:00
Frank Tang
a3d3e8abc5 ICU-22079 Add ubidi_fuzzer
Port the code from https://unicode-org.atlassian.net/browse/ICU-22079
to add fuzzer for ubidi
2024-04-29 14:51:13 -07:00
Fredrik Roubert
755b0981ec ICU-22721 Reorder initializer to match declaration (-Wreorder-ctor). 2024-04-29 11:44:35 -07:00
Fredrik Roubert
d7c1f6b55d ICU-22721 Add missing const (-Wwritable-strings). 2024-04-29 11:44:35 -07:00
Fredrik Roubert
d7a1815c3d ICU-22721 Remove superfluous semicolons (-Wextra-semi). 2024-04-29 11:44:35 -07:00
Fredrik Roubert
8b84ae1dda ICU-22721 Comment out variables only used in commented out code. 2024-04-29 11:43:21 -07:00
Fredrik Roubert
ec57da8651 ICU-22721 Delete unused variables. 2024-04-29 11:43:21 -07:00
Fredrik Roubert
a7e23a531c ICU-22721 Clang-Tidy: modernize-use-override
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/use-override.html
2024-04-29 19:28:40 +02:00
Frank Tang
3aa8b8c5ee ICU-22742 Fix handling of XA,XB,XC for addLikelySubtags
Add more tests.

ICU-22742 Add PS... variants

ICU-22742 Add java tests

ICU-22742 extend tests

ICU-22742 wrap java
2024-04-24 15:24:35 -07:00
Frank Tang
a91cbd6578 ICU-22750 Fix Floating-point-exception in icu::Calendar::roll
See #2979
2024-04-23 09:46:29 -07:00
Elango Cheran
0312308566 ICU-22721 Prevent inconsistent ICU4J Maven deploys via CI 2024-04-22 15:28:56 -07:00
Fredrik Roubert
4c9770f73d ICU-22721 Remove now obsolete disabled warnings for LocalPointerBase.
The missing operators that used to be warned about were all deleted by
commit 75eab42060.
2024-04-22 21:58:17 +02:00
Mihai Nita
0e4c2d8bc6 ICU-22724 ICU BRS 76: front-load update version to 76.0.1 2024-04-18 16:57:47 -07:00
Frank Tang
0c02f8c007 ICU-22743 Change internal functions to propagate errors up. 2024-04-18 15:32:59 -07:00
Shane F. Carr
5e35ffc87e
ICU-22745 Merge ICU 75 maintenance branch to main (#2972) 2024-04-18 15:04:33 -07:00
Craig Cornelius
3f960044b8 ICU-22722 Revised ICU4J API doc process to modern tools
See #2969
2024-04-17 13:20:26 -07:00
Elango Cheran
617b094df3 ICU-22723 Update PR template help text for next version's ticket numbers
See #2962
2024-04-15 22:22:46 -04:00
DraganBesevic
7750081bda ICU-22535 Integrate CLDR 45 release beta5 2024-04-15 17:55:43 -07:00
Markus Scherer
0379e638a9 ICU-22520 doc: uloc_getName() & others may fail
for example with a U_ILLEGAL_ARGUMENT_ERROR since PR #2813
in some cases where the implementation may have
returned with a misleading U_BUFFER_OVERFLOW_ERROR
2024-04-15 15:59:57 -07:00
Fredrik Roubert
d8ee6843b9 ICU-22726 Add new CLDR 45 currency code XCG also to gCurrencyList. 2024-04-15 15:56:45 -07:00
Rahul Pandey
530e9a509f ICU-22535 BRS_75_GA: Update cldr-to-icu version to 75.1 2024-04-15 12:28:25 -07:00