Markus Scherer
66460b9fad
ICU-13702 add missing API functions
...
and fix a bug in Java UnicodeSet.retain(String) which added the string even if the set did not contain it before,
and some drive-by API doc fixes/clarifications
2021-02-17 10:12:10 -08:00
Peter Edberg
7159e334ff
ICU-21480 integrate CLDR release 39 alpha1 to ICU trunk
2021-02-16 21:44:12 -08:00
Peter Edberg
3333fd557c
ICU-21480 integrate CLDR release 39 alpha0 to ICU trunk
2021-02-10 11:58:26 -08:00
Victor Chang
048e46674a
ICU-21455 Add new API ubrk_clone() and deprecate ubrk_safeClone()
2021-02-09 08:49:55 -08:00
Jeff Genovy
8082d0e145
ICU-21449 Infinite loop can occur with locale IDs that contain RES_PATH_SEPARATOR
2021-01-29 13:10:34 -08:00
Erik Torres Aguilar
bd3b202741
ICU-21018 Fix typos across repo that start with letter A
...
See #1506
2021-01-06 15:15:35 -08:00
Erik Torres Aguilar
6eea259143
ICU-21018 Fix typos across repo that start with letter C
...
See #1525
2021-01-06 15:15:26 -08:00
Markus Scherer
1863bea230
ICU-20698 UHashtable allow integer value zero
2020-12-29 10:33:33 -08:00
inokawa
bb5d29b143
ICU-21416 Fix typos in comments
2020-12-09 14:17:14 -08:00
Frank Tang
d9ff1888ee
ICU-21414 Fix toLanguageTag x-private
...
Also fix ICU-21433 forLanguageTag when there are variant and -x-
extension
2020-12-08 22:51:18 -08:00
Frank Tang
9663195189
ICU-21385 Fix assertion when setKeywordValue w/ long value.
...
See #1461
2020-11-12 10:00:28 -08:00
yumaoka
cf88993f02
ICU-21355 Fixed UCONFIG_NO_FORMATTING=1 build issue for ICU 68.1 release.
2020-10-27 13:50:36 -04:00
Peter Edberg
0583afebf3
ICU-13259 Check whether ulocdata_getDelimiter works in various locales including fr_CA
2020-10-09 10:01:30 -07:00
Frank Tang
f1a8a63f06
ICU-21316 Fix bug under different default locales
...
See #1399
2020-10-07 21:05:29 -07:00
Norbert Runge
c0d4065607
ICU-21249 Adds error code check to prevent segmentation fault if
...
See #1356
2020-10-02 09:57:19 -07:00
Markus Scherer
1c8bc80789
ICU-21249 restore tests of Version resources
2020-09-25 12:09:38 -07:00
Peter Edberg
43aa7ddda2
ICU-21249 integrate CLDR release-38-beta to ICU trunk
2020-09-25 09:33:13 -07:00
Frank Tang
cddb569261
ICU-21297 Fix crash when ICU runs with stubdata only
...
See #1361
2020-09-24 17:14:04 -07:00
Shane F. Carr
6b3a7a64ab
ICU-21190 Adding PluralRules select for number ranges
...
See #1309
2020-09-22 15:49:30 -05:00
gnrunge
10face8140
ICU-21249 Adds !UCONFIG_NO_BREAK_ITERATION around selected test data items.
...
The corresponding code that implements the feature under test is likewise
enclosed.
2020-09-17 13:22:05 -07:00
Shane F. Carr
6198151510
ICU-20775 Complete set of toDecimalNumber functions in ICU4C
...
See #1310
2020-09-14 21:02:59 -05:00
Peter Edberg
74c66351d8
ICU-20651 add setContext/getContext for [U]DateIntervalFormat
2020-09-11 20:12:44 -07:00
Markus Scherer
18c4a69f80
ICU-9961 replace U_DRAFT/U_STABLE/U_INTERNAL with U_CAPI
2020-09-10 11:23:44 -07:00
gnrunge
9e85ba5690
ICU-21268 Adds NULL string checks to assert statements to prevent
...
segmentation faults when unit tests run without ICU data.
ICU-21268 Fix value type: char* is not ompatible with u'..' value.
2020-09-09 17:50:45 -07:00
Jeff Genovy
2361a3258b
ICU-21264 Re-enable optimizations for various functions on MSVC for VS2019 and above.
2020-09-08 18:05:02 -07:00
Peter Edberg
b066f65a50
ICU-21249 integrate CLDR release-38-alpha1 to ICU trunk
2020-09-04 15:05:22 -07:00
Jeff Genovy
341608f7b6
ICU-21108 Update to use/support VS2019, and add extra CI builds for VS2017 and VS2019.
...
Change to use the Windows 10 SDK for Win32 (Win7) builds on the VS2019 ADO images.
The Windows 10 SDK is backwards compatible to Windows 7, if WINVER and
_WIN32_WINNT are set before compiling.
Clean up the vcxproj files from VC7.1
2020-09-02 13:01:27 -07:00
Peter Edberg
e618a1cc2d
ICU-21249 integrate CLDR release 38 alpha0 to ICU trunk
2020-09-02 10:23:14 -07:00
Frank Tang
3b188e46a4
ICU-21157 Fix test code
...
See #1256
2020-08-24 14:37:09 -07:00
Markus Scherer
c8aa800735
ICU-21035 add & use CharString::extract(dest buffer)
...
See #1253
2020-08-21 16:29:25 -07:00
Frank Tang
cde54fc5ba
ICU-21157 Fix incorrect null termination.
...
See #1236
2020-08-20 16:22:34 -07:00
Erik Torres
a7a8cc3809
ICU-20808 Add test for the C locale to default to en_US_POSIX
2020-08-20 14:12:09 -07:00
Jeff Genovy
26775d7d13
ICU-21159 Fix memory leaks in cintltst TestUsingDefaultWarning.
2020-08-19 16:50:55 -07:00
Frank Tang
e395e8abcd
ICU-21159 Document U_USING_DEFAULT_WARNING in .h
...
Document the fact
uloc_getDisplay(Language|Script|Country|Variant|Keyword|KeywordValue)
would fallback with the code, case canonicalied in same cases, and
set the status to U_USING_DEFAULT_WARNING.
No change to the implementation behavior. Only complete the missing
comments and tweak line wrap, remove double spaces and add test to
validate this pre-existing behavior that I added the documents now.
2020-08-17 15:18:01 -07:00
Shane F. Carr
2ea56b531a
ICU-21182 Adding UNumberRangeFormatter (C API).
...
See #1193
2020-08-12 21:33:38 -05:00
Frank Tang
0eed48038b
ICU-20725 Fix stack overflow of u_unescapeAt
...
See #1207
2020-08-10 14:59:38 -07:00
Frank Tang
8ca80c4b6d
ICU-21158 Fix doc of UDISPCTX_NO_SUBSTITUTE
...
See #1200
2020-07-31 18:39:46 -07:00
Frank Tang
d7ec310436
ICU-20684 Fix uninitialized in isMatchAtCPBoundary
...
Downstream bug https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15505
Fix Fuzzer-detected Use-of-uninitialized-value in isMatchAtCPBoundary
To test to show the bug in the new test case, configure and build with
CFLAGS="-fsanitize=memory" CXXFLAGS="-fsanitize=memory" ./runConfigureICU \
--enable-debug --disable-release Linux --disable-layoutex
Test with
cintltst /tsutil/custrtst
2020-07-29 14:21:53 -07:00
Frank Tang
0d4b1c1cb9
ICU-21160 Fix the length return by preflight
...
See #1178
2020-07-21 18:05:20 -07:00
Frank Tang
ec7e29f2b6
ICU-13786 Fix addLikelySubtags/minimizeSubtags
...
See #1140
2020-05-27 18:36:36 -07:00
Peter Edberg
d39899350d
ICU-21099 udat_toCalendarDateField should handle all UDateFormatFields and out of range
2020-04-28 09:58:50 -07:00
Shane F. Carr
a5c940dfd8
ICU-21087 Merge maint/maint-67 to master
2020-04-22 20:15:39 -05:00
Frank Tang
f0ada59042
ICU-20949 Fix compound unit in "ar", "ne" locales
...
Do not assume the "one" pattern always contains "{0}"
2020-04-22 10:39:01 -07:00
Frank Tang
a91a97c0c3
ICU-21069 Fix ucptrie_swap pointer logic
...
See #1102
2020-04-15 14:39:08 -07:00
Shane F. Carr
3b0772fff9
ICU-21015 Fixing gcc compiler warnings
2020-04-03 01:56:07 -05:00
Markus Scherer
d2ea4513dc
ICU-20700 reimplement acceptLanguage() using the LocaleMatcher; replace older accept-language-string parsing by LocalePriorityList
2020-03-08 08:01:31 -07:00
Jeff Genovy
7302079653
ICU-21000 Fix abort called by DateTimePatternGenerator::getDefaultHourCycle
...
If you call the API getDefaultHourCycle on an empty DateTimePatternGenerator
instance (ie: no locale) then it calls UPRV_UNREACHABLE which calls abort().
We should return an error code instead of aborting.
2020-03-05 18:19:04 -08:00
Jeff Genovy
bd08ba2c5b
ICU-21004 Fix buffer over-read in ucal_open
...
The issue shows under valgrind or as an Address Sanitizer failure.
2020-03-05 14:09:34 -08:00
Peter Edberg
63e480dedc
ICU-20987 integrate CLDR release-37-alpha1 to master (using new tooling)
2020-02-27 16:27:50 -08:00
Frank Tang
79fac50101
ICU-20310 omit "-true" in toLanguageTag
...
See #952
2019-12-30 15:39:59 -08:00