Update ICU to 63.1 + Chromium patches
What's new in ICU 63.1:
- CLDR 34 locale data
http://cldr.unicode.org/index/downloads/cldr-34-1
- Curreny/Number range format
- Better/more support for field iterator in formatters - necessary
for v8's Ecma 402 implementation
- Better/safer locale APIs
- See http://site.icu-project.org/download/62 for more details.
The update steps are recorded :
https://chromium.googlesource.com/chromium/deps/icu/+log/ccad447..b0bb170
* Update update.sh to point to ICU's new repo location
* Import the pristine copy of ICU 63.1 and update BUILD
files with update.sh
* Update and apply locale data patches
- locale_google.patch
- locale1.patch
* Adjust/apply/update brkiter related patches
- In place of line_normal_fi.txt, add back
line_loose.txt (Finnish tailoring is absorbed into
root).
- data/brkitr/* are adjusted accordingly
- android/brkitr.patch and flutter/brkitr.patch
are updated
- Use 'normal-cj' for line-breaking in zh/ja locales by
default
- Apply cjdict.patch and khmerdict.patch
* Apply build-related patches
{wpo,vscomp,data.build,data.build.win,data_symb}.patch
* Delete obsolete patches and apply still relevant patches
{isvalidenum,doubleconversion}.patch
* Fix a Windows compilation issue with clang
* Drop pluralrange.res from flutter's data
* Update the timezone data update script and update the
timezone data to 2018f
* Add VES (new Venezuelan currency) to and drop VEF
- {scripts/android}/currencies.list
* ICU data files are rebuilt (up to 22kB increase)
ICU 62 ICU 63 Platform
6364832 6375056 android
4907488 4916608 cast
10246512 10268240 common
884352 880512 flutter
6351136 6361376 ios
TBR=ftang@chromium.org
Bug: 893196, v8:8272
Change-Id: Icac23f6c065f38a9b1b4ae397fbe0e6b62934f15
Reviewed-on: https://chromium-review.googlesource.com/c/1296893
Reviewed-by: Jungshik Shin <jshin@chromium.org>
diff --git a/source/tools/toolutil/udbgutil.cpp b/source/tools/toolutil/udbgutil.cpp
index dcc80eb..285f68a 100644
--- a/source/tools/toolutil/udbgutil.cpp
+++ b/source/tools/toolutil/udbgutil.cpp
@@ -400,7 +400,7 @@
paramStatic(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *status) {
if(param->paramStr==NULL) return paramEmpty(param,target,targetCapacity,status);
if(U_FAILURE(*status))return 0;
- int32_t len = uprv_strlen(param->paramStr);
+ int32_t len = static_cast<int32_t>(uprv_strlen(param->paramStr));
if(target!=NULL) {
uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity));
}
@@ -412,14 +412,14 @@
static int32_t stringToStringBuffer(char *target, int32_t targetCapacity, const char *str, UErrorCode *status) {
if(str==NULL) str=nullString;
- int32_t len = uprv_strlen(str);
+ int32_t len = static_cast<int32_t>(uprv_strlen(str));
if (U_SUCCESS(*status)) {
if(target!=NULL) {
uprv_strncpy(target,str,uprv_min(len,targetCapacity));
}
} else {
const char *s = u_errorName(*status);
- len = uprv_strlen(s);
+ len = static_cast<int32_t>(uprv_strlen(s));
if(target!=NULL) {
uprv_strncpy(target,s,uprv_min(len,targetCapacity));
}