Commit graph

32705 commits

Author SHA1 Message Date
Craig
97335dfa7e ICU-22534 add mf2 to docmain.h 2024-03-28 17:18:48 -07:00
Craig
1ac14c4ea7 ICU-22534 ICU4C API change report update 2024-03-28 16:27:46 -07:00
Frank Tang
b2539f44df ICU-22534 BRS75 Remove fixed logKnownIssue
CLDR17099 is fixed in CLDR44 and the test now passed. Remove
the logKnownIssue so it will test and report future breakage.
2024-03-28 16:11:34 -07:00
Frank Tang
0127e4f760 ICU-22534 BRS75 Remove fixed logKnownIssue for CLDR-17024
CLDR-17024 is fixed in CLDR45 and the test now passed.
Remove the logKnownIssue so it will test and report future breakage.
2024-03-28 16:11:27 -07:00
Tim Chevalier
070a1f420b ICU-22261 Add missing API tags for MessageFormat 2 methods/constants 2024-03-28 15:46:32 -07:00
Frank Tang
d83d26cc5d ICU-9972 Fix Chinese/Dangi Calendar getActualMaximum(UCAL_DAY_OF_YEAR)
Also fix ICU-12620 which is mark duplicate of ICU-9972 just now.
and fix ICU-22258.

Separate the new year and winter solstice cache since the calculated
value for these two calendar are mostly but not always the same due
to slightly different observation timeZone.

Remove the epochYear and zoneAstroCalc from the member data
and instead return them from a getStting() method with the two caches
since all four of them are constant per subclass of ChineseCalendar
and do not need to be different per object.

The known issues in the TestLimit is caused by both Calendar get/put the
value from the same cache while the calculated result depends on the
timeZone zoneAstroCalc.
2024-03-28 11:02:21 -07:00
Victor Chang
9e6173fcef ICU-22536 Fix ICUServiceThreadTest flakiness
Sometimes getVisibleIDs() method returns a null reference which might happend
because of inaccurate concurrent access. This change attempts to fix this
ICUServiceThreadTest flakiness.
2024-03-28 10:55:49 -07:00
Tim Chevalier
aff1bbaa14 ICU-22261 Add UCONFIG_NO_MF2 flag that can be used to disable MessageFormat 2 functionality 2024-03-28 08:48:35 -07:00
Rich Gillam
cce642a84f ICU-22534 Regenerate urename.h for the ICU 75 release candidate. 2024-03-28 08:39:08 -07:00
Tim Chevalier
f7d641d5ad ICU-22261 Add tech preview implementation for MessageFormat 2.0 to icu4c 2024-03-27 17:04:07 -04:00
Fredrik Roubert
4b8f8f3c48 ICU-22628 Replace log_err() with log_knownIssue() for known failure. 2024-03-27 15:58:19 +01:00
Fredrik Roubert
86b07da451 ICU-22618 Make unisetperf/draft possible to compile. 2024-03-27 15:54:42 +01:00
rp9-next
4b6c85737a ICU-22693 Remove workaround in CI for ICU4C due to failures running ./configure 2024-03-27 12:43:27 +05:30
Rich Gillam
d4bc9bef26 ICU-22611 Fixed failures in EnvTest. 2024-03-26 16:59:48 -07:00
Frank Tang
869cc60f3c ICU-22711 Set EnvTest frequency to nightly in March/April/Sept/Oct 2024-03-26 16:20:08 -07:00
Shane F. Carr
8a1df5a7f4 ICU-22692 Change SimpleNumber truncateAt to setMaximumIntegerDigits
Also promotes the remaining draft SimpleNumber functions to stable.

See #2892
2024-03-26 16:13:46 -07:00
yumaoka
57fc3094f9 ICU-22534 BRS75 J Serialization test data 2024-03-26 08:51:38 -04:00
yumaoka
6ad2ffb9db ICU-22534 BRS75 J API Signature file and API change report 2024-03-26 08:51:16 -04:00
yumaoka
4f75c62767 ICU-22534 BRS75 clean up import statements 2024-03-26 08:50:56 -04:00
Rahul Pandey
8ba19195f9 ICU-22534 Update version number to 75.1 2024-03-26 07:02:45 +05:30
Mihai Nita
141e820f71 ICU-22690 Update ICU4J MessageFormatter to the latest spec, LDML 45 2024-03-22 14:39:02 -07:00
Rich Gillam
13bf3c8313 ICU-22611 Fixed the RBNF MultiplierSubstitution to only perform floor() on the value being formatted when the
substitution is using a DecimalFormat and its owning rule also has a modulus substitution.  Took out a redundant
call to floor().  Added a hack to allow the caller to change the rounding behavior with setRoundingMode().
Added appropriate unit tests. Added additional documentation of the behavior to the API docs.
2024-03-22 11:18:27 -07:00
Elango Cheran
6eb43b1648 ICU-22533 Update badges for CI pipelines, user guide docs about CI 2024-03-22 12:18:47 +05:30
Fredrik Roubert
142850ae2c ICU-22691 Make sample code possible to compile with current ICU4C. 2024-03-21 23:19:54 +01:00
Fredrik Roubert
dd7b0a9d6d ICU-22691 Update configure files from configure.ac using autoreconf. 2024-03-21 23:19:54 +01:00
Fredrik Roubert
2a6bc212d4 ICU-22691 Delete abandoned sample code. 2024-03-21 23:19:54 +01:00
Fredrik Roubert
b3032aba0c ICU-22643 Verify that UCHAR_TYPE works for all public header files. 2024-03-21 23:18:53 +01:00
Frank Tang
37bdffb240 ICU-22679 Fix broken header test
See #2918
2024-03-21 15:12:10 -07:00
Frank Tang
d259da8118 ICU-22700 Fix large POSIX charset name cause hang
Fix fuzzer found issue of hang that caused by long POSIX charset name.
Limit the POSIX charset name to at most 64 chars.
2024-03-21 11:33:52 -07:00
Frank Tang
fbc1f33e7e ICU-22679 Clean up Calendar code.
1. Remove redudant implementation of default system ceuntry by using
   macro
2. Fold long if / else block if one block return.
2024-03-21 09:50:10 -07:00
dependabot[bot]
94305fc59b ICU-22532 Bump the github-actions group with 9 updates
See #2916
2024-03-21 09:45:50 -07:00
Fredrik Roubert
028fa70c29 ICU-22701 Bugfix: Make test independent of the default locale.
The original intention behind this test case was to use the root locale,
but ures_getFunctionalEquivalent() is implemented by calling ures_open()
which sets URES_OPEN_LOCALE_DEFAULT_ROOT which will cause the default
locale to be loaded before the root locale.

To avoid that, pick a locale other than the root locale for the test.
2024-03-21 09:16:05 -07:00
Fredrik Roubert
e246d3b712 ICU-22643 Make UCHAR_TYPE work as intended with C++11, C11 & macOS.
Since ICU4C requires C++11 and C11 the char16_t data type can be used
everywhere, as long as the uchar.h header file gets included when
building as C (where it isn't a keyword as in C++), but this doesn't
work on macOS which for unknown reasons lacks the uchar.h header file
and therefore needs a workaround to define char16_t.
2024-03-21 15:44:20 +01:00
Fredrik Roubert
91721504ef ICU-22621 Clang-Tidy: modernize-return-braced-init-list
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/return-braced-init-list.html
2024-03-21 13:50:45 +01:00
Pedro Kaj Kjellerup Nacht
80a01a475b ICU-22482 Hash-pin GHA, add dependabot to keep them updated
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>

Use latest version, uses a version >= 2.0.6 to overcome invalid key bug
2024-03-20 22:14:52 -07:00
Markus Scherer
5e95ed8294 ICU-22689 reminder for 16.0 update 2024-03-20 15:49:44 -07:00
Frank Tang
0b77215040 ICU-22698 Clean up CalendarAstronomer 2024-03-20 13:36:17 -07:00
Markus Scherer
cce162bf4d ICU-11396 new properties Identifier_Status & Identifier_Type
See #2879
2024-03-20 13:20:14 -07:00
Elango Cheran
1be861209e ICU-22689 Add PPUCD-based data driven test for binary props
See #2889
2024-03-20 09:11:57 -07:00
Frank Tang
7a3dfe877d ICU-22679 Remove getType and string comparsion
Change the logic of handling year in era 0 counting backwards
to depend on a boolean virtual function instead of adding
string comparsion code in the base class to have specific knowledge of
behavior of subclass.
2024-03-19 17:44:37 -07:00
Frank Tang
6b67715a94 ICU-22633 Fix hang on large negative day in hebrew calendar
Check error status and return error early in the loop
2024-03-19 16:32:06 -07:00
Fredrik Roubert
7c22ff7541 ICU-22621 Clang-Tidy: readability-string-compare
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/readability/string-compare.html
2024-03-19 15:55:56 +01:00
Fredrik Roubert
ade671e252 ICU-22621 Clang-Tidy: readability-static-definition-in-anonymous-namespace
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/readability/static-definition-in-anonymous-namespace.html
2024-03-19 15:55:56 +01:00
Fredrik Roubert
6ad78a08c7 ICU-22621 Clang-Tidy: readability-redundant-control-flow
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/readability/redundant-control-flow.html
2024-03-19 15:55:56 +01:00
Fredrik Roubert
e017edc97d ICU-22621 Clang-Tidy: readability-qualified-auto
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/readability/qualified-auto.html
2024-03-19 15:55:56 +01:00
DraganBesevic
4f2cefb7ca ICU-22534 Integrate CLDR 45 release beta1 2024-03-18 20:49:00 -07:00
Frank Tang
606623cf30 ICU-22679 Refactor ChineseCalendar
See #2898
2024-03-18 18:51:27 -07:00
Markus Scherer
16b87419ed ICU-22612 remove obsolete comment 2024-03-18 17:13:53 -07:00
Rich Gillam
281d8ef140 ICU-22152 Uncommented a bunch of commented-out test cases in ULocaleCollationTest.TestNameList() and made them pass again. 2024-03-18 17:01:14 -07:00
Fredrik Roubert
ce052f52c2 ICU-22621 Clang-Tidy: readability-delete-null-pointer
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/readability/delete-null-pointer.html
2024-03-18 17:14:23 +01:00