Commit graph

32930 commits

Author SHA1 Message Date
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
Mihai Nita
eda184e6af ICU-22606 Make the ICU4J release easier & more predictable 2024-08-29 12:55:59 -07:00
Markus Scherer
6645cc4935 ICU-22843 UnicodeString::operator!=(string view) 2024-08-29 08:45:03 -07:00
Craig Cornelius
1414e80f6c ICU-22722 Add RelativeDateTimeFormatter to main API page via docmain.h
See #3119
2024-08-27 14:53:04 -07:00
Sergey Fedorov
a4ace3ace7 ICU-22807 Fix for missing __STDC_FORMAT_MACROS before inttypes.h
Co-authored-by: Markus Scherer <markus.icu@gmail.com>
2024-08-27 10:52:14 -07:00
Rich Gillam
967babdc5f ICU-22669 Fix circular dependency in DateTimePatternGenerator::addICUPatterns(). 2024-08-27 10:37:19 -07:00
Markus Scherer
7c66c5cc4a ICU-22723 start ICU 76 download page 2024-08-25 16:00:31 -07:00
Steven R. Loomis
9bb4536ad7 ICU-22374 guard gCollationBinKey behind if !UCONFIG_NO_COLLATION
See #2442
2024-08-24 17:39:30 -05:00
Frank Tang
5e22f0076e ICU-22854 Implement subdivision validation 2024-08-22 11:02:36 -07:00
DraganBesevic
aabadf7289 ICU-22723 Integrate CLDR 46 release alpha2, part 5, exclude failing unit tests for exhaust tests; spaces <-> tabs 2024-08-22 08:22:56 -07:00
DraganBesevic
18ff73e239 ICU-22723 Integrate CLDR 46 cleaning 2024-08-22 08:22:56 -07:00
DraganBesevic
ebceedde21 ICU-22723 Integrate CLDR 46 release alpha0, part 3, source files 2024-08-22 08:22:56 -07:00
DraganBesevic
c2312370c2 ICU-22723 Integrate CLDR 46 release alpha2, part 2, data and test files 2024-08-22 08:22:56 -07:00
DraganBesevic
c4daf676f3 ICU-22723 Integrate CLDR 46 release alpha2, part 1, binary files 2024-08-22 08:22:56 -07:00
Mihai Nita
01d755749c ICU-22853 Support formatting types in java.time 2024-08-21 10:38:58 -07:00
Markus Scherer
51e21af692 ICU-22707 Unicode 16 aug16 2024-08-19 17:15:00 -07:00
Anton Voloshin
e4cba341b6 ICU-22850 ucol_openRules: fix ucol_open reference in the description
It should obviously be ucol_open here. This typo was introduced in the
0335b3b9c3
2024-08-19 13:03:21 -07:00
Steven R. Loomis
305098bdf8 ICU-22722 Update README.md
See #3111 and ICU-22722
2024-08-19 13:41:03 -05:00
taiyang-li
0253c828d9 ICU-22832 Fix msan complain about use-of-uninitialized-value 2024-08-19 08:43:38 -07:00
Mihai Nita
40189ffe57 ICU-21205 Fix Eclipse failing to import the icu4j maven project 2024-08-16 13:38:56 -07:00
Fredrik Roubert
ed117b9957 ICU-22864 Move main() out of the ICU namespace. 2024-08-16 20:14:50 +02:00
Esther Wang
1c312f7caa ICU-22861 std::max deduced conflicting types in unifiedcache.cpp 2024-08-16 10:33:38 +02:00
dependabot[bot]
f4a04631cd ICU-22722 Bump the github-actions group across 1 directory with 4 updates
See #3075
2024-08-15 17:52:40 -04:00
DraganBesevic
045350e7c1 ICU-22723 Integrate CLDR 46 release alpha0, part 4, fixes for exausting tests 2024-08-14 17:09:35 -07:00
DraganBesevic
d04154833c ICU-22723 Integrate CLDR 46 release alpha0, part 3, source files 2024-08-14 17:09:35 -07:00
DraganBesevic
b865f26876 ICU-22723 Integrate CLDR 46 release alpha0, part 2, data files 2024-08-14 17:09:35 -07:00
DraganBesevic
24966d7a21 ICU-22723 Integrate CLDR 46 release alpha0, part 1, binary files 2024-08-14 17:09:35 -07:00
Fredrik Roubert
37b2bc6999 ICU-22721 Use correct initializer list syntax.
This will make the code ever so slightly simpler but more importantly
make it possible to compile also when using -D_GLIBCXX_DEBUG.
2024-08-13 21:33:53 -07:00
Fredrik Roubert
bae2aa65d8 ICU-22696 Avoid unnecessary copies of already NUL terminated strings. 2024-08-13 21:15:26 +02:00
Markus Scherer
72206495de ICU-22843 UnicodeString <-> std::u16string_view / wstring_view via templates 2024-08-13 09:10:01 -07:00
Fredrik Roubert
7ffbe77e12 ICU-22696 Update ulocimp_setKeywordValue() to use std::string_view. 2024-08-13 14:03:18 +02:00
Frank Tang
0bd2b4d10c ICU-22849 Fix memLeak in RBBIRuleBuilder by using LocalMemory 2024-08-09 16:19:06 -07:00
Mihai Nita
b5b3e16afa ICU-22845 Better iterations for the ICU4J UnicodeSet 2024-08-09 08:56:25 -07:00