Commit graph

32984 commits

Author SHA1 Message Date
Mihai Nita
531f595043 ICU-22853 Do not try to format java.time.Instant and Clock 2024-09-19 09:40:21 -07:00
Rahul Pandey
30efee0d3a ICU-22723 BRS_76_RC: Update version number to 76.1-SNAPSHOT 2024-09-19 21:49:13 +05:30
Peter Edberg
23c641f8c9 ICU-22397 Better UserGuide explanation of date pattern char Y 2024-09-19 08:27:24 -07:00
Fredrik Roubert
0bf8a95309 ICU-22793 Remove superfluous return value typecasts to UBool. 2024-09-19 17:11:38 +02:00
Peter Edberg
07e0f7ee2f ICU-22318 Fix bad spacing in utxttest.cpp 2024-09-19 14:51:01 +02:00
Rahul Pandey
eec5082ddb ICU-22723 Improve documentation for running exhaustive tests 2024-09-19 12:16:19 +05:30
Rahul Pandey
59d39a2aa5 ICU-22873 Update to clang18 and enable -Werror
See #3134
2024-09-19 12:14:38 +05:30
Craig
f19e598155 ICU-22723 Frontload ICU4J change report 75-76 2024-09-18 16:36:12 -07:00
Mihai Nita
09c5aa1b74 ICU-22893 Remove support for Unsupported, Private & Reserved constructs
- Matching PR #883 in the message-format-wg repo.
- Also removes some unused imports
2024-09-18 16:12:54 -07:00
Rich Gillam
1b33f5e30b ICU-22889 Implemented a recursion limit in the RBNF parsing code to match the one already present in the RBNF
formatting code.
2024-09-18 16:05:13 -07:00
Markus Scherer
17608b6b72 ICU-22874 sync config.guess license 2024-09-18 15:45:19 -07:00
Craig
c92bf3dfec ICU-22723 Frontload ICU4J API promotions (BRS #18) 2024-09-18 15:09:03 -07:00
Craig
feca6eea68 ICU-22723 Frontload ICU4C change report 75 -> 76 2024-09-18 14:56:40 -07:00
Frank Tang
303b7e81d7 ICU-22897 Fix memory leak and int overflow
1. Rewrite to use LocalPointer to prevent memory leak
2. Rewrite the if/else to switch to make the logic clear
3. Delete the rule if not remember inside the rule set to fix memory
leak.
4. Check base value calculation to avoid int64_t overflow.
5. Add memory leak test
2024-09-18 14:40:13 -07:00
DraganBesevic
ce4b90e484 ICU-22723 Integrate CLDR 46 release beta1, part 3, source files 2024-09-18 10:41:49 -07:00
DraganBesevic
c7fe2558be ICU-22723 Integrate CLDR 46 release beta1, part 2, data and test files 2024-09-18 10:41:49 -07:00
DraganBesevic
6c6186efba ICU-22723 Integrate CLDR 46 release beta1, part 1, binary files 2024-09-18 10:41:49 -07:00
Fredrik Roubert
32056302fc ICU-22722 Add example code for UnicodeString and the standard library. 2024-09-18 18:08:24 +02:00
Tim Chevalier
747d5eef3b ICU-22834 Update tests to reflect MF2 schema in conformance repo
This also updates the spec tests from the current version of the MFWG
repository and removes some duplicate tests.
Spec tests now reflect the message-format-wg repo as of
5612f3b050

It also updates both the ICU4C and ICU4J parsers to follow the
current test schema in the conformance repository.

This includes adding code to both parsers to allow `src` to be
either a single string or an array of strings (per
https://github.com/unicode-org/conformance/pull/255 ),
and eliminating `srcs` in tests.

It also includes other changes to make updated spec tests pass:

ICU4C: Allow trailing whitespace for complex messages, due to spec change
ICU4C: Parse number literals correctly in Number::format
ICU4J: Allow trailing whitespace after complex body, per spec change
ICU4C: Fix bug that was assuming an .input variable can't have a reserved annotation
ICU4C: Fix bug where unsupported '.i' was parsed as an '.input'
ICU4C/ICU4J: Handle markup with space after the initial left curly brace
ICU4C: Check for duplicate variant errors
ICU4C/ICU4J: Handle leading whitespace in complex messages
ICU4J: Treat whitespace after .input keyword as optional
ICU4J: Don't format unannotated number literals as numbers
2024-09-18 07:46:29 -07:00
Robin Leroy
bfc53547d1 ICU-22879 Test the collator predicates in maps 2024-09-17 20:44:21 +02:00
Fredrik Roubert
b160feaac2 ICU-22879 Provide collator based predicates for use with STL algorithms. 2024-09-17 20:44:21 +02:00
Fredrik Roubert
6020a98fbb ICU-22873 Update configure files from configure.ac using autoreconf. 2024-09-17 15:06:39 +05:30
Fredrik Roubert
e53f1df472 ICU-22873 Make configure log versions of the compilers used. 2024-09-17 15:06:39 +05:30
Rich Gillam
ee7cc23cd3 ICU-22856 Fix ICUCurrencyDisplayInfoProvider.fetchUnitPatterns() so that it doesn't skip inheriting patterns
from root.
2024-09-16 13:29:45 -07:00
Fredrik Roubert
688957e94e ICU-22874 Remove now obsolete -Wstrict-prototypes workarounds. 2024-09-16 16:12:35 +02:00
Fredrik Roubert
5c026623f1 ICU-22874 Update configure files from configure.ac using autoreconf. 2024-09-16 16:12:35 +02:00
Fredrik Roubert
b542ae9d91 ICU-22874 Update to use autoconf 2.72 for generating configure files. 2024-09-16 16:12:35 +02:00
Fredrik Roubert
e8cc2ec282 ICU-22874 Update the config.* files to current upstream versions.
https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
2024-09-16 16:12:35 +02:00
Fredrik Roubert
87a9284500 ICU-22310 Update configure files from configure.ac using autoreconf. 2024-09-13 13:44:17 +02:00
Fredrik Roubert
30fdd06cba ICU-22310 Delete long since obsolete configure.ac sections.
Having commented-out checks for things that don't even need to be
checked serves no purpose.

MSVC floating point optimizations don't need to be set, /fp:precise is
the default and has been so for a very long time now:

https://learn.microsoft.com/en-us/cpp/build/reference/fp-specify-floating-point-behavior?view=msvc-140

ICU4C requires C++17 and there aren't any compilers capable of that
without namespace support so there's no need to check that.
2024-09-13 13:44:17 +02:00
Markus Scherer
4433a94a57 ICU-22722 toTitle does not use UTR 21 2024-09-12 16:05:33 -07:00
Markus Scherer
5447a23070 ICU-22876 add U_SHOW_CPLUSPLUS_HEADER_API for C++ header-only APIs 2024-09-12 15:36:40 -07:00
Elango Cheran
33a788b353 ICU-22721 Set delay for CI enforce checks job to allow other jobs to init
See #3160
2024-09-12 15:18:28 -07:00
Frank Tang
70caba0027 ICU-22716 Turn on message_formatter_fuzzer 2024-09-12 14:53:01 -07:00
Frank Tang
fd8a552527 ICU-22884 Fix assertion and Heap-use-after-free
Issue in icu_76::message2::MessageFormatter::~MessageFormatter
2024-09-12 11:57:38 -07:00
dependabot[bot]
923d02f8d1 ICU-22721 Bump the github-actions group across 1 directory with 3 updates
See #3132
2024-09-12 10:55:16 -07:00
Peter Edberg
e14347b77a ICU-22883 Update CLDR-ICU instructions with CLDR prereqs for BRS integrations 2024-09-12 08:11:17 -07:00
Frank Tang
752da7303f ICU-22730 Fix int overflow inside CE Calendar 2024-09-11 22:07:01 -07:00
Fredrik Roubert
0cb5bc6707 ICU-22843 Disambiguate UnicodeString::readOnlyAlias() for MSVC.
Both std::u16string_view and std::wstring_view are possible matches for
UnicodeString as a template parameter, but adding an explicit overload
avoids both having to make that choice and taking the detour through
creating any string view at all.
2024-09-12 00:36:49 +02:00
Fredrik Roubert
376f10db47 ICU-22843 Add a test case that's ambiguous to MSVC and fails to compile. 2024-09-12 00:36:49 +02:00
Rich Gillam
fda2223952 ICU-22723 Regenerated urename.h. 2024-09-11 14:42:46 -07:00
Rich Gillam
d0fb2d54b3 ICU-22723 Promoted all @draft ICU 74 APIs to @stable ICU 74 2024-09-11 14:06:45 -07:00
Elango Cheran
c7caebd823 ICU-22722 Prevent running PR check enforcement after merging PRs 2024-09-11 13:33:58 -07:00
Frank Tang
36555b7800 ICU-22716 Temp turn off message_formatter_fuzzer
The running of message_formatter_fuzzer cause out of memory problem.
We will address that in later PR.
2024-09-11 12:12:36 -07:00
Frank Tang
6b00ed56d8 ICU-22814 Run CIFuzz on PR
CIFuzz ran on post merged since 7/20
https://github.com/unicode-org/icu/actions/workflows/cifuzz.yml

Turn to run on every PR
2024-09-11 11:24:51 -07:00
Frank Tang
9270216cb7 ICU-22863 Remove extra line in Islamic calendar
Fix a regression caused by d43d216feb
2024-09-10 22:53:06 -07:00
Frank Tang
4f246ab17f ICU-22716 Test VTimeZone in fuzzer 2024-09-10 22:51:12 -07:00
Frank Tang
1c3bf0bf82 ICU-22716 Extend Collator fuzzing 2024-09-10 22:51:00 -07:00
Frank Tang
3a74fcf052 ICU-22716 Test more number format 2024-09-10 22:50:47 -07:00
Frank Tang
266a2b8de2 ICU-22716 Add MessageFormat fuzzer
ICU-22716 improve
2024-09-10 22:50:33 -07:00