Commit graph

32962 commits

Author SHA1 Message Date
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
Markus Scherer
37b41495d7 ICU-22876 C++ UnicodeSet/USet easy item iteration
See #3120
2024-09-10 17:38:03 -07:00
Elango Cheran
263c735400 ICU-22722 Remove old announcement of default git branch name 2024-09-10 14:36:29 -07:00
LamTrinh.Dev
f6b274a197 ICU-22721 Enhance #if for locdispnames.cpp
Enhance #if for locdispnames.cpp

ICU-22721 Enhance #if for locdispnames.cpp, remove auto-generate file in local git.

ICU-22721 Enhance #if for locdispnames.cpp.

ICU-22721 Enhance #if for locdispnames.cpp, revert old-xmls.tar.bz2 file from main branch.

ICU-22721 Enhance #if for locdispnames.cpp

Enhance #if for locdispnames.cpp

ICU-22721 Enhance #if for locdispnames.cpp, remove auto-generate file in local git.

ICU-22721 Enhance #if for locdispnames.cpp.

ICU-22721 Enhance #if for locdispnames.cpp, revert old-xmls.tar.bz2 file from main branch.
2024-09-10 14:32:14 -07:00
Markus Scherer
8e40ed3e78 ICU-22875 escape less-than sign in regex.md 2024-09-10 14:28:30 -07:00
Fredrik Roubert
7cad791fb6 ICU-22843 Simplify UTF-16 string literals. 2024-09-10 18:58:01 +02:00
yumaoka
937f4adba5 ICU-22723 Update BRS task doc for JDK TZ check 2024-09-10 12:31:48 -04:00
Fredrik Roubert
3abf474f26 ICU-22843 Check libc++ version for std::basic_string_view<uint16_t>.
As was pointed out in PR #3106, the standard doesn't mandate the
existence of std::char_traits<uint16_t> and libc++ did actually
deprecate it in release 18 and delete it in release 19.

As ICU4C uses this for backward compatibility for old code that still
depends on setting -DUCHAR_TYPE=uint16_t it'd be nice to keep using it
as long as possible but once it's gone from the standard library there
isn't really much useful that ICU4C could do about that so conditionally
compiling the code when the standard library version is old enough
should suffice for keeping backward compatibility for yet some time.

https://github.com/llvm/llvm-project/commit/cce062d
2024-09-10 18:18:15 +02:00
Rahul Pandey
94c309d9a6 ICU-22847 Remove instances of ADO pipelines 2024-09-10 11:36:26 +05:30
yumaoka
74d5e6d258 ICU-22723 Update currency numeric code mapping data. 2024-09-09 09:25:02 -04:00
yumaoka
394bebdb46 ICU-22596 IBM-1388 converter data update 2024-09-09 09:23:41 -04:00
yumaoka
7e05196abb ICU-22723 Organize import statements. 2024-09-09 09:22:42 -04:00
Fredrik Roubert
6c9d39a08c ICU-22843 Enable constructing UnicodeString from literal in fixed time.
When passing a string literal to any of the legacy constructors that
take just a plain pointer to a UTF-16 string it becomes necessary to
iterate through the string to find its length, even though this length
was known to the compiler (which just has no way of passing it on to the
constructor).

But when calling the new templated string view constructor instead it
becomes possible for the compiler to use the known length of a string
literal to directly create a string view of the correct size and pass
this on to the constructor.

By replacing the legacy constructors with the new constructor this is
made the default behaviour.
2024-09-09 13:50:58 +02:00
Markus Scherer
f062f52c12 ICU-22294 UTS46 transitional=deprecated, change DEFAULT 2024-09-06 14:38:11 -07:00
Markus Scherer
415a7accc5 ICU-22707 adjust UTS46 for Unicode 16
See #3130
2024-09-06 10:00:11 -07:00
Rahul Pandey
6d67afcf01 ICU-22874 Fix building with -Werror on macOS clang 2024-09-06 15:26:36 +05:30
Rahul Pandey
91ed39fb9d ICU-22847 Migrate ADO pipelines to GHA
See #3112
    - Update Docs
    - Make exhaustive tests run manually, based on cron for main and post merge for maint
2024-09-06 11:52:01 +05:30
Chris Chapman
46712bff3d ICU-22877 revised "Region code" (formerly "Country code") section 2024-09-05 15:23:33 -07:00
Frank Tang
4ef58328d0 ICU-22716 Reduce the data size to test calendar fuzzer
Calendar fuzzer test too many operations and cause timeout
which does not suerface the real issue. Limit the test data size to 100
instead of 1000 instead.
2024-09-05 11:17:07 -07:00
Fredrik Roubert
964bdc54f7 ICU-22881 Switch to using macOS instead of MacOSX in runConfigureICU.
The old names are kept as aliases, but not listed in the help messsage.
2024-09-05 19:37:32 +02:00
Shane F. Carr
5faea996b0 ICU-22723 Update double-conversion 2024-09-03 14:00:55 -07:00
Mihai Nita
edbf02094f ICU-22606 Correct urls in the scm entry; fix JCite styles in javadoc
1. The flatten plugin appended the relative module paths to the URLs in <scm>.
The same kind of problem solved earlier with ${proj.url}, and fixed the same way.
I was unable to find any way to tell the plugin to not do that append, even after
reading some of the plugin code.

2. The stylesheet containing the JCite styles was not copied in the generated javadoc.
The first part of our custom stylesheet is 100% the same as the oficial one.
So the only part that was visually affected was the code produced by JCite.
The code still used <pre> and <code>, so it was monospaced and well indented / wrapped,
but no syntax colors.
2024-08-31 15:37:10 -07:00
Frank Tang
63f29c621c ICU-22854 Add consistency test against Region API 2024-08-30 22:37:29 -07:00