DraganBesevic
42c2b39c14
ICU-22935 Add ZWG to static currency lists
2024-10-04 12:11:02 -07:00
Rich Gillam
9adcf8bd09
ICU-22668 Added unit tests to verify that CLDR-17892 addresses the original problem reported here and took out an
...
earlier hack in the Java code to work around the original problem.
2024-09-20 16:00:33 -07:00
Fredrik Roubert
55c5895923
ICU-22793 Clang-Tidy: google-readability-casting
...
https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-casting.html
2024-09-19 18:59:13 +02:00
Fredrik Roubert
0bf8a95309
ICU-22793 Remove superfluous return value typecasts to UBool.
2024-09-19 17:11:38 +02:00
Rich Gillam
967babdc5f
ICU-22669 Fix circular dependency in DateTimePatternGenerator::addICUPatterns().
2024-08-27 10:37:19 -07: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
ebceedde21
ICU-22723 Integrate CLDR 46 release alpha0, part 3, source files
2024-08-22 08:22:56 -07: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
Elango Cheran
3663cc1e0f
ICU-22707 Add support for property Modifier_Combining_Mark
2024-07-30 15:44:32 -07:00
Elango Cheran
06c077bd35
ICU-22503 add property Indic_Conjunct_Break
2024-07-26 14:47:39 -07:00
Gary L. Wade
b29eb331e1
ICU-22720 Update ICU4J to be comparable for relative date formatting as ICU4C for days of the week and quarters
...
Added enums for the days of week to RelativeUnit of RelativeDateTimeFormatter and changed QUARTERS to be included in this change rather than deprecated. Removed short-circuiting of unit tests for the comparable formatting in ICU4C. Added changes in formatNumericImpl and RelDateTimeDataSink to use the enums. Added unit tests to RelativeDateTimeFormatter.java to test the enums proposed and removed the short-circuiting of days-of-week tests.
2024-06-18 13:56:07 -07:00
Markus Scherer
6543634649
ICU-22707 fix hst=V: hst=NA for Kirat Rai
2024-06-05 08:10:21 -07:00
Markus Scherer
0d8a3ccd11
ICU-22785 move Block bits from propsvec0 to new trie
2024-06-04 10:49:53 -07:00
Frank Yung-Fong Tang
faac745421
ICU-22768 Fix bidi buffer overflow
...
See #3016
2024-05-29 15:16:32 -07:00
Fredrik Roubert
ed52e0a25b
ICU-22721 Rename scoped variable to not shadow variable in outer scope.
2024-05-14 19:03:14 +02:00
Markus Scherer
d79c7bf5a0
ICU-22707 expectedLong script names
2024-04-29 17:00:55 -07: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
Fredrik Roubert
d8ee6843b9
ICU-22726 Add new CLDR 45 currency code XCG also to gCurrencyList.
2024-04-15 15:56:45 -07:00
Frank Tang
6d4cea57ed
ICU-22727 fix addLikelySubtags for 5-8 chars lang codes
...
Fix C++ code, add tests for C, C++ and Java API
2024-04-11 12:31:36 -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
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
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
Frank Tang
de9910659d
ICU-22661 Limit the size of variants in Locale
...
See #2821
2024-03-14 16:23:51 -07:00
Fredrik Roubert
929cd9bb4f
ICU-22520 Standardize return on error for all locale functions.
...
· No function should do anything if an error has already occurred.
· On error, a value of 0, nullptr, {}, etc., should be returned.
· Values shouldn't have overloaded meanings (eg. index or found).
· Values that are never used should not be returned at all.
2024-02-29 20:42:03 +01:00
Markus Scherer
d1fa15bc1f
ICU-22571 add Aran script code variant
2024-02-27 14:23:59 -08:00
Peter Edberg
12cbf73e39
ICU-22583 BRS 75rc CLDR 45-alpha0 to ICU main part 3 (source and test code changes)
2024-02-06 18:07:44 -08:00
Fredrik Roubert
ca53838b83
ICU-22576 Remove now obsolete pre-C11 backward compatibility code.
2024-01-19 08:05:24 +09:00
Mihai Nita
47b9a517be
ICU-21107 Specify language standard versions C11 & C++17 also for MSVC
...
ICU-21107 Specify language standard versions C11 & C++17 also for MSVC
2024-01-17 09:26:22 -08:00
Fredrik Roubert
078b88a11a
ICU-21107 Specify language standard versions C11 & C++17 also for MSVC.
...
There were until now no versions specified at all, relying on the
default (or commandline overrides) to be sufficiently recent.
2024-01-16 22:22:05 +09:00
Fredrik Roubert
85b7f5fda2
ICU-22604 Use 'void' for empty C parameter lists (-Wstrict-prototypes).
2023-12-19 09:27:01 +09:00
Frank Tang
7bef50e71d
ICU-22609 Fix nulldef w/ bogus locale in DateFormat::create*
2023-12-15 16:14:56 -08:00
Fredrik Roubert
e2d1d3ed43
ICU-22592 Rename source file that should not be directly compiled.
2023-12-14 20:11:50 +01:00
Fredrik Roubert
e112f896a2
ICU-22576 Use standard alignof() with modern C.
2023-12-14 19:11:29 +01:00
Rich Gillam
bcae6f2a43
ICU-22575 Change AvailableFormatsSink to allow locales to inherit availableFormats items from the root locale.
2023-12-04 12:47:50 -08:00
Fredrik Roubert
f99f8c678b
ICU-22522 Delete unused variables.
...
Clang 16 is more thorough in finding unused variables, so these must be
removed to be able to compile this code using Clang 16 and -Werror.
2023-11-30 15:34:36 +01:00
Frank Tang
fa6a4661ba
ICU-22545 Fix addLikelySubtags for pseudo Locales
2023-10-31 15:00:34 -07:00
Shane F. Carr
b070c932ad
ICU-22560 Merge ICU 74 maintenance branch to main ( #2689 )
2023-10-30 13:50:52 -07:00
Frank Tang
92eeb45811
ICU-22547 fix addLikelySubtags for 4 chars script code
...
Also fix ICU-22546 to correct the comments in the API doc
and add additional unit tests
2023-10-27 17:29:05 -07:00
Peter Edberg
d44f5bc9f0
ICU-22326 logKnownIssue skip for exhaustive test failures with kxv(_Deva)? day/month names
2023-10-27 14:59:16 -07:00
Shane F. Carr
fc386c3a9a
ICU-22149 Be more graceful with missing lang bundle data
...
See #2635
2023-10-03 14:20:26 -07:00
Markus Scherer
d8659b476d
ICU-22404 new properties IDS_Unary_Operator, ID_Compat_Math_*, NFKC_SCF
2023-09-16 14:41:51 -07:00
Rich Gillam
14ca2b0e6d
ICU-22313 Various fixes for duration formatting:
...
- Changed the C++ and Java interfaces to that the URBNF_DURATION ruleset is marked deprecated.
- Fixed a bug in RuleBasedNumberFormat in both Java and C++ that caused the existing duration-formatting rules to produce bogus results when used on a non-integral value.
(Earlier versions of this PR added code to use a MeasureFormat under the covers when a caller used
unum_open(UNUM_DURATION). I took that out because of backward compatibility concerns, so we're still using RBNF
in the C API. I'm hoping to add a "real" duration formatter in ICU 75.)
2023-09-15 16:27:58 -07:00
DraganBesevic
bb7352990e
ICU-22325 CLDR 44 alpha2 integration to ICU part three, source files changes
2023-09-13 11:06:53 -07:00
Rich Gillam
916452befc
ICU-22169 Fixed ures_getFunctionalEquivalent() to check the resource bundles' %%Parent resources when ascending
...
the parent tree.
2023-09-11 12:58:41 -07:00
Frank Tang
c294c3272c
ICU-22365 Add adoptULocale and buildULocale to ULocaleBuilder
...
Add two methods related to ULocale to ULocaleBuilder API
void ulocbld_adoptULocale(ULocaleBuilder* builder, ULocale* locale);
ULocale* ulocbld_buildULocale(ULocaleBuilder* builder, UErrorCode* err);
ICU TC approved this in 2023-08-31
2023-09-05 16:37:39 -07:00
Mihai Nita
5fb2a6ad06
ICU-22324 Mavenization, updating the cldr-to-icu scripts and instructions
2023-09-05 10:24:23 -07:00
Frank Tang
35bae683a5
ICU-22475 Fix double free in Locale under OOM
...
See #2567
2023-08-30 12:35:15 -07:00
Rich Gillam
8817c25c1e
ICU-22449 Fixed SimpleDateFormat (in C++ and Java) to correctly honor the rg and hc subtags in the locale when choosing the hour cycle.
2023-08-28 13:30:45 -04:00