Commit graph

23413 commits

Author SHA1 Message Date
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
Peter Edberg
70d308731a ICU-22325 BRS 74 front-load update version to 74.0.1 2023-07-10 16:45:41 -07: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
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
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
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
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
e2fde33b4b ICU-22396 Fix tool until ICU4J add Temporal Calendar API
See #2488
2023-06-05 15:26:53 -07:00
Markus Scherer
f4234577ad ICU-22404 initial changes.txt for Unicode 15.1
See #2490
- copy 15.0 change log to the top, unchanged
- adjust changes.txt for 15.1, incl. diffs from CLDR 43 root collation update
2023-06-04 20:16:39 -07:00
Manish Goregaokar
8bbb8f506e ICU-22403 Fix icuexportdata out-of-bounds during decomposition 2023-05-26 13:27:55 -07:00
Nicholas Vinson
0fb1b5588e ICU-22377 Fix va_end errors found by gcc -fanalyzer
Fixes missing call to ‘va_end’ errors.

Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
2023-05-26 15:50:21 +02:00
Manish Goregaokar
43cd3ce647 ICU-22372 Fix headers in icuexportdata 2023-05-25 10:09:07 -07:00
Peter Edberg
8d2c78d160 ICU-22357 Rename gb18030.ucm to add -2022, follow-on to PR #2430 2023-05-25 09:25:35 -07:00
Peter Edberg
7f5d679a98 ICU-22357 Update gb18030 mappings for the -2022 version
See #2430
2023-05-18 08:51:47 -07:00
Peter Edberg
d205e03352 ICU-22325 CLDR release-43-1-beta1 to ICU main 2023-05-10 18:08:25 -07:00
Fredrik Roubert
e1e1c5feaf ICU-22349 Use -l with make -j to limit jobs based on load average.
It has been proposed that make running too many parallel jobs recently
has led to resource exhaustion in our CI, so that some kind of limit
would be helpful to set.

The load average 2.5 limit choosen here is simply the limit used as an
example in the make documentation, as we don't really have any way of
picking an initial value that's certain to be better.

https://www.gnu.org/software/make/manual/html_node/Parallel.html

See #2421
See #2422
2023-05-11 00:50:59 +02:00
Peter Edberg
5618203821 ICU-22360 revert portions of #2159 which included @ in ALetter for wordbreak, update tests 2023-05-06 21:36:46 -07:00
Victor Chang
530ca98176 ICU-22371 Fix ULocale.getISOLanguages() API docs 2023-05-03 11:13:32 -07:00
Mihai Nita
00bb6789b3 ICU-22323 Remove broken link from the Chinese Calendar documentation 2023-05-03 10:51:22 -07:00
Mihai Nita
0e4b10b112 ICU-22378 Fix temperature format ignoring -u-mu-fahrenhe 2023-05-03 09:24:53 -07:00
Shane F. Carr
62f493827f
ICU-22369 Merge maint/maint-73 into main (#2437) 2023-04-27 16:19:55 -07:00
Fredrik Roubert
4fd9d6ce9a ICU-22356 Use ConstChar16Ptr to safely cast from UChar* to char16_t*.
This is necessary for this header file to be usable by clients that
define UCHAR_TYPE as a type not compatible with char16_t, eg. uint16_t.
2023-04-24 23:56:49 +02:00
Shane F. Carr
2a2995951b ICU-20926 Add tests for identity behavior in DateIntervalFormat
See #2245
2023-04-17 14:57:50 -07:00
Steven R. Loomis
312bae8660 ICU-21964 use a single LICENSE file
- make the icu4c and icu4j LICENSE files symlinks
- fix paths
2023-04-12 14:36:09 -05:00
Peter Edberg
5861e1fd52 ICU-22221 update cldr-icu instructions, and ICU tag for integration 2023-04-11 11:38:40 -07:00
Markus Scherer
0d2a03dbba ICU-22338 getProperty(Value)Name accepts nameChoice above 1 2023-04-10 17:50:12 -07:00
Peter Edberg
80f94a636e ICU-22221 CLDR release-43-beta5 to ICU maint/maint-73 2023-04-07 11:15:47 -07:00
Rich Gillam
7d4e57dff1 ICU-22340 Fix it so that UNUM_NUMBERING_SYSTEM again always returns a RuleBasedNumberFormat.
(cherry picked from commit c702950294)
2023-04-07 10:13:51 -07:00
Markus Scherer
f4687fc25a ICU-22221 update root collation again from CLDR 43 2023-04-06 08:20:03 -07:00
Peter Edberg
2c584abf7e ICU-22221 rebase CLDR 43-beta4 import onto latest maint/maint-73 (new zoneinfo64) 2023-03-30 15:43:22 -07:00
Peter Edberg
c125cf67f0 ICU-22337 restore strict parsing length tolerance for non-abutting numeric date fields 2023-03-30 13:52:40 -07:00
Rich Gillam
c702950294 ICU-22340 Fix it so that UNUM_NUMBERING_SYSTEM again always returns a RuleBasedNumberFormat. 2023-03-29 16:31:55 -07:00
yumaoka
9f774e2b8c ICU-22339 Update ICU tzdata to 2023c for ICU 73.1 release 2023-03-29 17:31:51 -04:00
Markus Scherer
22bbc7e12e ICU-22308 add alignas(16) to the data entry point definition
not just to its struct declaration.
2023-03-28 14:20:21 -07:00
yumaoka
a6e9f51859 ICU-22334 Update ICU tzdata to 2023b for ICU 73.1 release 2023-03-24 16:23:50 -04:00
Ho Cheung
84e4762069 ICU-22295 Remove deprecated RBBI LBCMNoChain option
ICU-22295 Remove deprecated RBBI LBCMNoChain option

ICU-22295 Remove deprecated RBBI LBCMNoChain option
2023-03-24 12:59:44 -07:00
yumaoka
b31579920e ICU-22327 Update tzdata to 2023a 2023-03-23 13:56:40 -04:00
Elango Cheran
bfa5f4e6ae ICU-22270 Fix hex number formatting in icuexportdata 2023-03-22 20:02:57 -04:00
Rahul Pandey
68f5ef835b ICU-22220 BRS73RC Regenerate configure files and fix broken links in comments 2023-03-22 12:38:41 +05:30
Peter Edberg
e612a4f2ab ICU-22220 BRS 73rc update urename.h pass 2 2023-03-20 13:32:31 -07:00