Update ICU to 61.1 + local patches
What's new in ICU 61.1:
- CLDR 33 (locale data; http://cldr.unicode.org/index/downloads/cldr-33 )
- A new number formatting API
- Rewrote U8_NEXT
- See http://site.icu-project.org/download/61 for more details.
The update steps are recorded in
https://chromium.googlesource.com/chromium/deps/icu/+log/f7ab784..b0e0b84
On top of the above, IANA timezone db was updated once more to the
latest 2018e (released on May 4th).
The list of local changes are:
* Update the currency list. For desktop, include all the national
currencies (see https://bugs.chromium.org/p/v8/issues/detail?id=7472 )
* Clean up disabled warning list in BUILD.gn/icu.gyp
* Fix clang on Windows and MSVC build failures
https://github.com/google/double-conversion/issues/66
http://bugs.icu-project.org/trac/ticket/13752
http://bugs.icu-project.org/trac/ticket/13750
* Rebuild the data files
Size is reduced by ~100kB for non-desktop.
Desktop(common): increase by 90kB
6,386,176 android/icudtl.dat (6,502,048)
4,929,248 cast/icudtl.dat (5,032,368)
10,264,208 common/icudtl.dat (10,171,920)
6,372,480 ios/icudtl.dat (6,488,384)
* Update IANA tz DB to 2018e
* Update README.chromium
* Drop patches that became unnecessary.
* Apply the remaining patches
Isvalidenum.patch, simplify_smallintformatter.patch,
word_long.patch, locid_map.patch
* Apply data-build related patches
{wpo,vscomp,data.build,data.build.win,data_symb}.patch
* Apply BreakIterator related patches + locale1 patch
* Apply Google's patch for locale data
* ICU 61.1 update step 1
Check in ICU 61.1 to the tree (61staging branch) by
running scripts/update.sh.
Build files are updated by the script.
* Update prep
TBR=thakis@chromium.org
Bug: 838383
Test: None
Change-Id: Ib83ed624fe764abdb7fbfd567ae5e982497089bd
Reviewed-on: https://chromium-review.googlesource.com/1041578
Reviewed-by: Jungshik Shin <jshin@chromium.org>
diff --git a/source/common/usprep.cpp b/source/common/usprep.cpp
index d96e825..cc8069d 100644
--- a/source/common/usprep.cpp
+++ b/source/common/usprep.cpp
@@ -347,10 +347,6 @@
newProfile->doNFKC = (UBool)((newProfile->indexes[_SPREP_OPTIONS] & _SPREP_NORMALIZATION_ON) > 0);
newProfile->checkBiDi = (UBool)((newProfile->indexes[_SPREP_OPTIONS] & _SPREP_CHECK_BIDI_ON) > 0);
- if(newProfile->checkBiDi) {
- newProfile->bdp = ubidi_getSingleton();
- }
-
LocalMemory<UStringPrepKey> key;
LocalMemory<char> keyName;
LocalMemory<char> keyPath;
@@ -735,7 +731,7 @@
}
if(profile->checkBiDi) {
- direction = ubidi_getClass(profile->bdp, ch);
+ direction = ubidi_getClass(ch);
if(firstCharDir == U_CHAR_DIRECTION_COUNT){
firstCharDir = direction;
}