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/ubidi.cpp b/source/common/ubidi.cpp
index 8e2fc36..531ed64 100644
--- a/source/common/ubidi.cpp
+++ b/source/common/ubidi.cpp
@@ -152,9 +152,6 @@
/* reset the object, all pointers NULL, all flags FALSE, all sizes 0 */
uprv_memset(pBiDi, 0, sizeof(UBiDi));
- /* get BiDi properties */
- pBiDi->bdp=ubidi_getSingleton();
-
/* allocate memory for arrays as requested */
if(maxLength>0) {
if( !getInitialDirPropsMemory(pBiDi, maxLength) ||
@@ -925,7 +922,7 @@
else
match=0;
if(match!=c && /* has a matching char */
- ubidi_getPairedBracketType(bd->pBiDi->bdp, c)==U_BPT_OPEN) { /* opening bracket */
+ ubidi_getPairedBracketType(c)==U_BPT_OPEN) { /* opening bracket */
/* special case: process synonyms
create an opening entry for each synonym */
if(match==0x232A) { /* RIGHT-POINTING ANGLE BRACKET */
@@ -3033,7 +3030,7 @@
if( pBiDi->fnClassCallback == NULL ||
(dir = (*pBiDi->fnClassCallback)(pBiDi->coClassCallback, c)) == U_BIDI_CLASS_DEFAULT )
{
- dir = ubidi_getClass(pBiDi->bdp, c);
+ dir = ubidi_getClass(c);
}
if(dir >= U_CHAR_DIRECTION_COUNT) {
dir = (UCharDirection)ON;