Commit graph

23215 commits

Author SHA1 Message Date
Shane F. Carr
d7c424b00f ICU-22073 Do not throw away CompactDecimalFormat's affixes 2022-06-27 12:53:22 -07:00
allenwtsu
929cf40ecb ICU-22059 Add one Thai word into the Thai dictionary
See #2112
2022-06-27 09:27:56 -07:00
Frank Tang
43f2ae75ca ICU-22004 Avoid UBSan bug by casting only when success 2022-06-24 18:00:03 -07:00
Paul Harris
86cc2b98cb ICU-22002 Don't undef __STRICT_ANSI__ 2022-06-23 11:55:06 -07:00
Frank Tang
2f6cc2f7e7 ICU-22070 Return if UErrorCode is error in calendar.cpp 2022-06-23 09:26:41 -07:00
gnrunge
5a77fd9d11 ICU-21997 Fixes currency code retrieval for locale: instead of selecting the
first currency in the list now select the first legal tender currency in the
list. Or the first currency if the list has no legal tender currencies (which
is the previous behaviour).

ICU-21997 Removed an overlooked earlier unit test attempt.

ICU-21997 Shields C++ unit test from compilation when configuration flag
UCONFIG_NO_FORMATTING is set.
2022-06-16 13:49:15 -07:00
Shane Carr
c5872e7f67 ICU-22017 Fix numbering system resolution in NumberRangeFormatter
See #2085
2022-06-15 13:08:46 -07:00
Cyndy Ishida
1eb6f38b96 ICU-22053 Clean up usages of Macro Header Guards 2022-06-09 10:18:28 -07:00
Cyndy Ishida
0dcb1cb065 ICU-22035 Remove instances of pre c++11 default constructor prevention pattern 2022-06-08 16:28:02 -07:00
agrieve
18dd0e4c22 ICU-21960 Add missing "const" to kAttributeKey
This variable was flagged by a chromium check that looks for variables named like constants that end up in the `.data` ELF section (rather than in `.rodata`).
2022-06-08 16:56:24 +00:00
Peter Edberg
33af80e980 ICU-21957 improve logKnownIssue skip for FormattedStringBuilderTest::testInsertOverflow crash 2022-06-03 09:02:31 -07:00
Younies Mahmoud
d6fc9b828c ICU-21935 Add DisplayOptions to NumberFormatterSettings
See #2099
2022-05-31 13:02:01 -07:00
Peter Edberg
64b3548126 ICU-21957 integrate CLDR release-42-m1 (early milestone) to ICU main for 72 (rebased on main) +
FormattedStringBuilderTest::testInsertOverflow infolns,logKnownIssue skip for CI exhaustive crash
2022-05-27 13:50:43 -07:00
Frank Tang
fc64f8db3f ICU-22041 Fix "Africa/Casablanca" show strange LONG displayName
See #2096
2022-05-26 14:59:10 -07:00
Markus Scherer
8d5a97ae0f ICU-21935 DisplayOptions cleanup 2022-05-26 18:30:07 +00:00
Markus Scherer
e17219582e ICU-21980 add missing comments, finish change log 2022-05-25 18:23:11 +00:00
Markus Scherer
98c5793ffd ICU-21980 update ICU4J data & test files
and adjust a default Bidi_Class range in UCharacterTest.java just like in cucdtst.c before.
2022-05-25 18:23:11 +00:00
Markus Scherer
3859735e3b ICU-21980 Unicode 15 collation data 2022-05-25 18:23:11 +00:00
Markus Scherer
1276b0a4f7 ICU-21980 generated data files 2022-05-25 18:23:11 +00:00
Markus Scherer
e1be738ccb ICU-21980 Unicode 15 pre-beta data files, new prop values 2022-05-25 18:23:11 +00:00
Markus Scherer
3ba6f2b32c ICU-21980 update Unicode version numbers 2022-05-25 18:23:11 +00:00
Markus Scherer
6b2b783a20 ICU-21980 copy the Unicode 14 changes.txt log 2022-05-25 18:23:11 +00:00
Frank Tang
f5f4813d16 ICU-22043 Change minimum ZONE_OFFSET value from -12h to -16h
See #2100
2022-05-24 16:11:39 -07:00
Younies Mahmoud
fcc981a5b7 ICU-21935 Add DisplayOptions
See #2061
2022-05-21 03:20:37 +02:00
Frank Yung-Fong Tang
3d89af0f72 ICU-22023 Fix Calendar::get() return out of bound value and SimpleDateTime::format assert while TimeZone is "UTC" and value is -1e-9
See #2086
2022-05-19 13:45:59 -07:00
Andy Heninger
85705f04e0 ICU-21960 C++20 Warnings from ATOMIC_VAR_INIT
Remove the ICU macros ATOMIC_INT32_T_INITIALIZER and U_INITONCE_INITIALIZER,
which made use of C++ ATOMIC_VAR_INIT, which has been removed from C++20.

With modern C++ features being available, these macros no longer served
any real need.
2022-05-17 15:45:06 -07:00
allenwtsu
bdcec144b9 ICU-22012 Add four Japanese word into the dictionary
See #2072
2022-05-11 08:19:53 -07:00
Chetan Laddha
5961aacd3c ICU-21945 Add support for Visual Studio 2022
See #2059
2022-05-10 22:57:18 +05:30
Markus Scherer
fda4a82bba ICU-21960 fix clang 13 C++20 warnings 2022-05-07 15:21:08 +00:00
Markus Scherer
eea7985e5a ICU-22016 utrie2.h need not include mutex.h 2022-05-06 20:50:58 +00:00
Frank Tang
e96e9410bd ICU-22005 Fix int32 overflow in FormattedStringBuilder
See #2070
2022-04-29 18:25:01 -07:00
Markus Scherer
07a50207b7 ICU-21679 avoid escape of U+FFFF in a character literal 2022-04-29 20:43:53 +00:00
Markus Scherer
505535813f ICU-22007 remove outdated terms of use from Unicode conversion files 2022-04-29 19:51:01 +00:00
Markus Scherer
43d082665e ICU-22006 icupkg: %%ALIAS & %%Parent do not need truncation parent 2022-04-29 17:50:11 +00:00
Frank Tang
fca6b342c0 ICU-21994 Fix heap-buffer-overflow 2022-04-20 12:03:35 -07:00
Shane F. Carr
d16df5843e ICU-21956 Merge remote-tracking branch 'upstream/maint/maint-71' into ICU-21956-merge 2022-04-13 11:39:20 -07:00
Rich Gillam
87cee860e0 ICU-21984 Fix DateIntervalFormat.normalizeHourMetacharacters() so that it doesn't require the hour and day-period
fields to appear in any particular order or position in the skeleton string.
2022-04-11 14:37:15 -07:00
Frank Yung-Fong Tang
4747484273 ICU-21966 Cleanup -Wunused-but-set-variable
See #2055
2022-04-06 12:51:46 -07:00
Markus Scherer
4833cc89b2 ICU-20715 CollationDataBuilder reset outdated prefix+contraction values
See #2052
2022-04-04 16:10:13 +00:00
Daniel Ju
f4f74c1f2e ICU-21957 BRS72RC Update version number to 72.0.1 2022-03-31 16:39:13 -07:00
Julien Brianceau
a2c90781f1 ICU-21967 Remove obsolete references in makedata.vcxproj and makedata_uwp.vcxproj
These references should have been removed in ICU-20489 and ICU-21420.
Take the opportunity to update the doc as well.
2022-03-31 11:23:29 -07:00
Jeff Genovy
861e55c246 ICU-21972 Use a shared props file for the ICU Major Version number in the Windows Visual Studio project files. 2022-03-30 20:55:36 -07:00
yumaoka
c205e7ee49 ICU-21971 Added a new numeric currecny code SLE/695 for Sierra Leone Leone. 2022-03-30 13:49:51 -07:00
Shane Carr
b144aac447 ICU-21762 Export Script_Extensions with --all flag in icuexportdata
See #2054
2022-03-30 11:44:02 -07:00
Markus Scherer
ed1d9efc15 ICU-21954 LICENSE: add more license texts from icu4c files 2022-03-24 21:22:05 +00:00
Markus Scherer
2aa2a7221c ICU-21953 remove outdated ucdterms.txt
This is an old version of the Unicode license from 2004,
when the ICU license was different from the Unicode license.

We should have removed this file in 2016,
when the Unicode license was revised,
and when the ICU project became a project of the Unicode Consortium,
adopting the Unicode license for all of ICU.

Since 2016, the Unicode data files are covered by the same license as the
top license text in the ICU LICENSE file.
2022-03-24 00:14:02 +00:00
Peter Edberg
9b3c0c328c ICU-21901 integrate CLDR release-41-beta2 to ICU main for 71ga 2022-03-23 16:43:02 -07:00
yumaoka
ee6433c297 ICU-21949 tzdata2022a update in ICU 2022-03-17 13:56:20 -04:00
Peter Edberg
8575c0dace ICU-21900 check non-stable API macros, move class boilerplate out of conditionals 2022-03-16 09:03:05 -07:00
Peter Edberg
6330704974 ICU-21944 Sync recent uloc_getLanguage/Countries updates to ICU4J; add "mo" mapping for C 2022-03-16 09:01:59 -07:00