Commit graph

32403 commits

Author SHA1 Message Date
James Choi
b70b2d0433 ICU-22363 Add support for QNX 7.1
Signed-off-by: James Choi <chachoi@blackberry.com>
2023-08-10 17:46:01 -07:00
Rich Gillam
ca3fd47f4c ICU-22402 Add options to PersonNameFormatter and update nativeSpaceReplacement logic 2023-08-10 15:15:49 -07:00
Peter Edberg
cc2ddc0d11 ICU-22325 Convert cldr-icu-readme to md, update it, point to it from older docs 2023-08-10 14:03:06 -07:00
Robin Leroy
a6fc915e05 ICU-22404 Strip default ignorable code points in the skeleton for confusable detection 2023-08-10 17:55:14 +02:00
Robin Leroy
86193b1b98 ICU-22404 Improve documentation of segmentation rules 2023-08-10 03:01:20 +02:00
Frank Tang
ca1435c3ea ICU-22453 Fix non null terminated buffer issue.
See #2543
2023-08-09 15:36:04 -07:00
Rich Gillam
56850c9a42 ICU-22402 Add support in ICU and in the CLDR-to-ICU tool for the new nativeSpaceReplacement and parameterDefault
resources for PersonNameFormatter in CLDR. Regenerated the ICU4J data resources as well as the ICU4C resources
to include the new resources.
2023-08-08 14:42:02 -07:00
Robin Leroy
47e47ec439 ICU-22433 uppercase decomposed greek to decomposed greek and precomposed greek to precomposed greek. 2023-08-08 22:20:20 +02:00
Rich Gillam
720e5741cc ICU-22362 Fix build error in exhaustive tests resulting from last PersonName change. 2023-08-04 18:44:00 -07:00
Rich Gillam
89b952dffd ICU-22362 Fix the name order derivation code in PersonNameFormatter to match the CLDR spec. 2023-08-04 12:34:20 -07:00
Frank Tang
6ba5a1a1b7 ICU-22365 C API for ULocaleBuilder
See #2520

ICU-22365 Fix comments
2023-08-03 14:11:12 -07:00
Frank Tang
9511fff62a ICU-22407 Suppress Calendar Consistency
Similar to changes to C++ in
https://github.com/unicode-org/icu/pull/2298
2023-07-31 20:57:01 -07:00
Frank Tang
d511cad90d ICU-22407 Implement Java Temporal Calendar API
See #2526
2023-07-28 18:17:38 -07:00
DraganBesevic
1f07d2b29f ICU-22325 Integrate CLDR 44.1 to ICU, add personName testdata, fix RBBITestMonkey 2023-07-28 16:53:50 -07:00
Frank Tang
19bac42f98 ICU-22446 Fix incorrect Hebrew ORDINAL MONTH bug 2023-07-27 22:18:00 -07:00
Frank Tang
73b61ceece ICU-22444 Remove "unknown" from Calendar.getKeywordValuesForLocale
Remove CalType enum value UNKNOWN and use null for unknown CalType
This value is an internal enum and the only place use it is inside Calendar.java
Use null for that instead (same as C++)
2023-07-27 17:07:01 -07:00
Frank Tang
03e98c04f3 ICU-22442 Sync the spelling of NEHASSA to ICU4J NEHASSE
ICU4J has that as part of public API but ++ is private
so we should sync to the ICU4J one.
2023-07-27 09:56:31 -07:00
Shane F. Carr
2238f1c2c1 ICU-20297 Improve discoverability of currency formatting 2023-07-23 09:23:13 -07:00
Rich Gillam
85e75ecc13 ICU-22304 Miscellanous PersonNameFormatter fixes; made ExhaustivePersonNameFormatterTest into a real unit test. 2023-07-20 10:52:37 -07:00
Pedro Kaj Kjellerup Nacht
281a2a77ec ICU-22350 Give maven.yml packages:write
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-07-20 08:12:16 -07:00
Jiawen Geng
c7e967c456 ICU-22401 fix build on MSVC with cpp20 2023-07-14 14:31:40 +02:00
Elango Cheran
2e45e6ec0e ICU-22404 Unicode 15.1 beta data files & API constants
See #2492

Co-authored-by: Andy Heninger <andy.heninger@gmail.com>
Co-authored-by: Robin Leroy <egg.robin.leroy@gmail.com>
2023-07-13 19:26:14 -07:00
Frank Tang
5826bf7ed7 ICU-22434 Not calling setFirstDayOfWeek(MONDAY) if the locale has fw
The Calendar constructor already take care of the fw override.
We should not set the first day of week for iso8601 to Monday if
we have a fw keyword/type in the locale.

ICU-22434 Fix incorrect calendar keyword extraction
2023-07-13 09:49:32 -07:00
Shane F. Carr
034a808604 ICU-20898 Improve number skeleton rounding increment docs
See #2475
2023-07-13 18:41:05 +02:00
Peter Edberg
70d308731a ICU-22325 BRS 74 front-load update version to 74.0.1 2023-07-10 16:45:41 -07:00
Jake Wharton
cd6ff4a64d ICU-22425 Eliminate double map lookup for common case of present argument
In the uncommon case where the map lookup returns null, only then perform a second map lookup to determine whether it was an absent value or explicit null.
2023-07-06 17:17:49 +03:00
Frank Tang
1b15a4e9db ICU-22424 Fix Calendar::clear(UCAL_MONTH)
Make the calling of clear(UCAL_MONTH or UCAL_ORDINAL_MONTH) clear both fields.
2023-06-30 00:48:34 -07:00
Jake Wharton
adbcfb1e07 ICU-22426 Do not create nested StringBuilder when appending 2023-06-29 15:01:24 -07:00
Frank Tang
f1b13a850a ICU-22354 Revert benchmark-action changes
Revert the change of benchmark-action in
https://github.com/unicode-org/icu/pull/2428 which cause
post merge test brekage.

See https://github.com/unicode-org/icu/actions/runs/5393383252/jobs/9793048045
for the problem
2023-06-27 14:53:04 -07:00
Mohammed Keyvanzadeh
b575f7c8f5 ICU-22354 Update actions and platforms in GitHub Actions workflows 2023-06-27 11:32:57 -07:00
Shane F. Carr
4a255c4301 ICU-21239 Improve docs for MeasureUnit default constructor 2023-06-27 11:27:25 -07:00
Victor Chang
83ee7e662f ICU-22390 Transliterator.<clinit> can be optimized - part 2
WIDTH_FIX instance could be lazily initialized, because it's used
only if transliterate() is called on the AnyTransliterator instance,
but apparently not used by other Transliterator instance.
2023-06-27 11:25:43 -07:00
Frank Tang
a9f7570892 ICU-22412 Fix C API ucal_(g|s)etGregorianChange for iso8601 calendar
See #2510
2023-06-22 15:44:37 -07:00
Frank Tang
26bd70e301 ICU-22421 Remove two unused internal methods in gregorian cal
Remove pinDayOfMonth() and yearLength(int32_t year)
from GregorianCalendar.

These two methods are
1. Unused by any code inside ICU, not in source/{common,i18n,test}.
2. Marked as @internal in the header.
3. Wrap inside #ifndef U_HIDE_INTERNAL_API block in the header
4. In "protected:" section.
5. No ICU4J counterpart.

The yearLength(int32_t year) dup the functionality as
handleGetYearLength of the same class and that one is the correct one to
be keep and used..
There is another yearLength() w/o the year as parameter should NOT be
removed and still needed internally.
2023-06-22 15:44:05 -07:00
Frank Tang
e83b0715a1 ICU-22368 Reduce ~200K langInfo.res size by encode LSR into 32bits int.
See #2458
2023-06-22 01:18:41 -07:00
Henri Sivonen
3fec4e718e ICU-22260 Allow relative datetime formatting without context adjustment with UCONFIG_NO_BREAK_ITERATION 2023-06-20 18:48:01 -07:00
Elango Cheran
c94469b9a0 ICU-22323 Correct alt='ascii' paths, point Readme.txt to .md 2023-06-15 11:25:32 -07:00
Pedro Kaj Kjellerup Nacht
758099ab3b ICU-22410 Add security policy
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
Co-authored-by: Markus Scherer <markus.icu@gmail.com>
2023-06-14 13:54:42 -07:00
Frank Tang
9411a940ea ICU-22414 Fix bogus locale in collation res fallback 2023-06-14 11:30:00 -07:00
Fredrik Roubert
e567b50df8 ICU-22389 Set STRIP_FROM_PATH to enable Doxygen out-of-source builds.
Without this flag, the full path to the source directory will be
included in the output generated by Doxygen.
2023-06-14 15:08:59 +02:00
Fredrik Roubert
53e0486855 ICU-22389 Add missing git lfs install to instructions. 2023-06-14 15:08:35 +02:00
Frank Tang
f00ff4f5e3 ICU-22406 Add LIBRARY_DATA_DIR 2023-06-13 22:01:59 -07:00
Frank Tang
ea7ed9a9db ICU-22406 passing -i to genrb
Passing -i to genrb to include ucadata.icu data in
--disable-shared build
2023-06-13 22:01:59 -07:00
Frank Tang
e4eb997f41 ICU-22406 limit the configuration 2023-06-13 22:01:59 -07:00
Frank Tang
ded6244035 ICU-22406 Fix test breakage w/ --disabled-shared 2023-06-13 22:01:59 -07:00
Pedro Kaj Kjellerup Nacht
7a101d68ea ICU-22350 Fix broken performance CI
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-06-13 16:41:39 -07:00
Elango Cheran
bb758fd745 ICU-22323 Update cldr-to-icu converter readme for example with alts
See #2500
2023-06-13 11:29:52 -07:00
Shane F. Carr
ceec2ee64b ICU-22405 Move coll_tree filter into data so it doesn't affect testdata 2023-06-12 17:41:06 -07:00
Peter Edberg
388b768262 ICU-22325 CLDR release-43-1-beta2 to ICU main 2023-06-07 10:17:18 -07:00
Frank Yung-Fong Tang
1cede3cb3f ICU-22409 Update README.md for Maven build
See #2489
2023-06-06 16:35:15 -07:00