summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
jshin@chromium.org [Wed, 12 Jun 2013 21:37:05 +0000 (21:37 +0000)]
Fix the typo in the previous CL for uClibc support in ICU
patch by Mostyn Bramley-Moore
TBR=cpu
BUG=NONE
TEST=ICU build works fine on Linux/CrOS after DEPS change.
Review URL: https://codereview.chromium.org/
16862003
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@205936
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 11 Jun 2013 23:14:51 +0000 (23:14 +0000)]
Don't use __timezone when using uClibc
It appears that plinux.h is a generated file, created by autoconf on a
glibc system, so it naturally outputs a config for glibc. This patch
changes one of the settings so that it doesn't break when used with
uClibc.
Patch by Mostyn Bramley-Moore
BUG=NONE
TEST=Opera builds work fine.
R=jshin@chromium.org
Review URL: https://codereview.chromium.org/
15973007
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@205673
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
yfriedman@chromium.org [Thu, 9 May 2013 19:03:31 +0000 (19:03 +0000)]
Android: Disable 'sincos' optimization to avoid 'icu' link errors.
This started failing with the roll to Android NDK r8e. This only happens
with the component build, presumably because in the regular build this
code is optimized out.
BUG=237460
R=cjhopman@chromium.org
Review URL: https://codereview.chromium.org/
14759026
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@199252
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 9 Apr 2013 00:28:41 +0000 (00:28 +0000)]
Revert r172827 to fix the FTP directory listing on Windows.
r172827 (http://src.chromium.org/viewvc/chrome?revision=172827&view=revision )
was to take care of the race condition, but the condition is hard to exploit.
BUG=177428
TEST=See the bug.
TBR=tsepez
Review URL: https://codereview.chromium.org/
13812006
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@192960
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
benm@google.com [Thu, 14 Feb 2013 17:20:45 +0000 (17:20 +0000)]
Generate shim headers on Android when using system ICU.
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@182486
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
tfarina@chromium.org [Mon, 4 Feb 2013 21:51:50 +0000 (21:51 +0000)]
No need to compare library variable against 'shared_library'.
We don't need to compare it here, because as it is defined in build/common.gypi,
it's always 'static_library', so this condition is always true. Which turns out
we are always defining U_HIDE_DATA_SYMBOL. Just do it unconditionally.
BUG=111541
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/
12093111
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@180531
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
tfarina@chromium.org [Fri, 18 Jan 2013 21:08:15 +0000 (21:08 +0000)]
Remove <(library) usage from icu.gyp.
BUG=111541
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/
12018021
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@177751
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
phajdan.jr@chromium.org [Thu, 10 Jan 2013 18:45:47 +0000 (18:45 +0000)]
Fix build with system ICU headers.
BUG=165264
Review URL: https://codereview.chromium.org/
11826015
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@176115
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jschuh@chromium.org [Sat, 5 Jan 2013 19:39:03 +0000 (19:39 +0000)]
Make icu compile for Win64
This is just disabling a warning we're already ignoring on other 64-bit platforms. I'll circle back and investigate if code changes make sense.
BUG=http://crbug.com/166496
BUG=http://crbug.com/167187
TBR=jshin
Review URL: https://codereview.chromium.org/
11787014
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@175290
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
phajdan.jr@chromium.org [Thu, 3 Jan 2013 17:43:21 +0000 (17:43 +0000)]
Linux: generate shim headers for ICU.
BUG=165264
Review URL: https://codereview.chromium.org/
11642008
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@174977
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 13 Dec 2012 05:50:35 +0000 (05:50 +0000)]
Fix a race condition in ICU's locid.
Patch by tsepez.
The upstream bug is http://bugs.icu-project.org/trac/ticket/9737 and the
upstream has a different patch than this, but we can't take it now because
it uses UMutex not available in Chrome's copy of ICU. We'll get it when
we upgrade to 50.1
BUG=152442
TEST=No more 'heap-use-after-free' in ICU from clusterfuzz as shown in the bug report.
Review URL: https://chromiumcodereview.appspot.com/
11358202
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@172827
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
scottmg@chromium.org [Thu, 11 Oct 2012 23:25:34 +0000 (23:25 +0000)]
Fix compilation errors on VS2012
R=cpu@chromium.org
BUG=143646
Review URL: https://chromiumcodereview.appspot.com/
11103047
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@161442
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Fri, 21 Sep 2012 23:19:30 +0000 (23:19 +0000)]
Fix a heap buffer overaflow in ucstrTextExtract
Merge the upstream patch http://bugs.icu-project.org/trac/changeset/29356
BUG=146892
TEST=See the bug report.
Review URL: https://codereview.chromium.org/
10957050
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@158118
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
steveblock@chromium.org [Wed, 1 Aug 2012 00:42:33 +0000 (00:42 +0000)]
Make 'License' field in third-party metadata required
This will simplify the addition of a tool to check licenses for the purpose of
the Android WebView build.
See also http://codereview.chromium.org/
10821103.
BUG=138921
Review URL: https://chromiumcodereview.appspot.com/
10827099
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@149334
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
stuartmorgan@chromium.org [Fri, 13 Jul 2012 05:59:37 +0000 (05:59 +0000)]
Fix ICU time zone support on iOS
tzfile.h isn't available on iOS, and the time zone is not set the way it is on OS X, so don't define U_TIMEZONE. Also disables a code path in the non-U_TIMEZONE implmentation that makes a correction that is incorrect on iOS.
Fixes the following upstream ICU bugs:
http://bugs.icu-project.org/trac/ticket/9051
http://bugs.icu-project.org/trac/ticket/8661
BUG=None
TEST=None (will be covered by base unit tests once they come online upstream)
Review URL: https://chromiumcodereview.appspot.com/
10692124
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@146527
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
steveblock@chromium.org [Thu, 12 Jul 2012 15:05:15 +0000 (15:05 +0000)]
Fix ICU to work with Android's system stlport
The version of stlport in the Android ADK includes support for RTTI, but the
system version does not. ICU requires RTTI, so we have to explicitly depend
upon gabi++ to provide RTTI when using the system stlport.
Note that we can't simply include gabi++ with all modules when using the system
stlport, as the gabi++ headers conflict with bionic when used with some other
modules.
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@146346
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
torne@chromium.org [Tue, 10 Jul 2012 13:14:23 +0000 (13:14 +0000)]
Implement use_system_icu for Android.
It will be useful to be able to use the Android system version of ICU on
some future chromium build configs. Add the appropriate options to the
gyp file to enable this, since icu-config can't be used for
crosscompilation.
Review URL: https://chromiumcodereview.appspot.com/
10632003
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@145871
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
stuartmorgan@chromium.org [Thu, 5 Jul 2012 11:12:36 +0000 (11:12 +0000)]
Add iOS support to icu.gyp
This simply makes iOS follow all the same gyp paths as Mac does.
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/
10695096
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@145521
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
wangxianzhu@chromium.org [Sat, 2 Jun 2012 00:59:11 +0000 (00:59 +0000)]
Remove host target of ICU on Android
Previously host target of ICU is required on Android because ImageDiff
depends on WTF and in turn on icu. WTF dependency of ImageDiff has been
removed in https://bugs.webkit.org/show_bug.cgi?id=88147.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/
10491006/
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@140144
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
wangxianzhu@chromium.org [Fri, 4 May 2012 19:09:20 +0000 (19:09 +0000)]
Exclude most lang, all region and all curr data for chromium-android.
Curr data is unused by chromium-android which doesn't support JavaScript i18n
API for now. On Android, display name of region and lang are accessed through
Java API (except for zh_Hans and zh_Hant which are not supported by Java API),
so we also exclude lang (except for language zh and scripts Hans and Hant) and
region data. This could totally reduce the uncompressed binary size of
chromium-android by nearly 2MB.
Also BTW upstreaming some other Android local changes to third_party/icu.
BUG=none
TEST=L10nUtilTest.GetDisplayNameForLocale,L10nUtilTest.GetDisplayNameForCountry
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@135385
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
wangxianzhu@chromium.org [Wed, 7 Mar 2012 21:22:28 +0000 (21:22 +0000)]
Use original CJK segmetation rules on Android. (Part 2)
The original CJK segmenation rules are the rules before patches/brkitr.patch
applied. Use that to avoid using the cjdict to reduce binary size.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9599024/
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@125456
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
wangxianzhu@chromium.org [Wed, 7 Mar 2012 21:20:14 +0000 (21:20 +0000)]
Use original CJK segmetation rules on Android.
The original CJK segmenation rules are the rules before patches/brkitr.patch
applied. Use that to avoid using the cjdict to reduce binary size.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9599024/
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@125455
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Tue, 21 Feb 2012 18:37:24 +0000 (18:37 +0000)]
ICU: Merge upstream r30255 to fix a clang warning.
BUG=chromium:114969
Review URL: https://chromiumcodereview.appspot.com/9425042
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@122842
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Fri, 17 Feb 2012 22:50:10 +0000 (22:50 +0000)]
Add 4068 to the list of warnings to suppress in VS.
We added pragmas to disable warnings from clang to i18n/decNum.c. They're
not recognized by Visual Studio. To suppress that warning, add 4068
to the suppressed VC warning list.
BUG=84851
TEST=Visual Stuido doesn't complain while compiling decNumc.
Review URL: https://chromiumcodereview.appspot.com/9355015
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@122609
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Fri, 17 Feb 2012 01:21:04 +0000 (01:21 +0000)]
Take care of two Clang warnings.
- decNumber.c has several places where Clang complains about array index
out-of-bounds error. According to udecnum.h, it's done on purpose because
the array in question (lsu) is followed by additional spaces for digits.
So, we suppress 'array-bounds' warning with clang-specific pragmas.
GCC 4.6 also complains about this, but it's hard to make GCC 4.4 and
GCC 4.6 happy at the same time without getting too ugly because GCC 4.4
does not support 'pragra diagnostic {push|pop}'
See http://bugs.icu-project.org/trac/ticket/8954
- colldata.cpp copies an array of UnicodeString's with memcpy. It's changed to
to use a for-loop, instead. The upstream ToT has fixed this.
BUG=84851,92756
TEST=Compile with Clang and it does not complain any more in devNumber.c and colldata.cpp
Review URL: https://chromiumcodereview.appspot.com/9420032
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@122423
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Thu, 16 Feb 2012 22:44:56 +0000 (22:44 +0000)]
icu: Warning tweaks in preparation for the next clang roll.
BUG=chromium:84851,chromium:102390
Review URL: https://chromiumcodereview.appspot.com/9417025
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@122379
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 16 Feb 2012 21:45:13 +0000 (21:45 +0000)]
Fix another buffer overflow bug in ICU
This is a 'hot' fix and a better patch will be made in the upstream and will be merged down later. The investigation and the patch by tsepez.
BUG=114342
TEST=See the bug.
TBR=tsepez
Review URL: https://chromiumcodereview.appspot.com/9415012
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@122360
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Wed, 15 Feb 2012 17:47:29 +0000 (17:47 +0000)]
Move -Wno-switch in ICU to the target that actually needs it :-/
(Follow-up to http://codereview.chromium.org/9347044/)
TBR=evan
Review URL: https://chromiumcodereview.appspot.com/9407013
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@122103
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Wed, 15 Feb 2012 16:41:42 +0000 (16:41 +0000)]
Add -Wno-switch to ICU.
-Wswitch started warning about a construct that ICU uses here:
http://llvm.org/viewvc/llvm-project?view=rev&revision=148649
TBR=evan
Review URL: https://chromiumcodereview.appspot.com/9347044
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@122096
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 14 Feb 2012 00:21:48 +0000 (00:21 +0000)]
Fix two ICU bugs.
1. _getKeywords() in uloc.cpp has a buffer overflow error. Patch by tsepez
2. ubrk_setText() in ubrk.cpp has a null pointer access error.
The patch for the first one was added to existing canonicalize.patch, which is
renamed to uloc.patch because all the patches there touch uloc.cpp
The patch for the second one was in ubrk.patch.
These issues haven't been filed in the upstream bug tracker, yet because
I'm being on the safe side now. I'll file them upstreams once we have
them fixed in Chrome ToT and release branch. So, the bug reference in
README.chromium is currenly 'xxxx'.
BUG=112834,95486
TEST=See the bugs.
Review URL: https://chromiumcodereview.appspot.com/9387016
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@121777
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Fri, 3 Feb 2012 00:43:13 +0000 (00:43 +0000)]
Add Malay (ms) locale data to pre-build ICU data file.
lang, curr, zone files for ms are less populated in ICU 4.6 than we need. So, I got them from ICU 4.8.
icudt file size increase is about 7kB.
BUG=111670
TEST=None (until we have this version of ICU rolled in via DEPS)
TBR=tony
Review URL: https://chromiumcodereview.appspot.com/9317044
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@120256
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 31 Jan 2012 20:32:56 +0000 (20:32 +0000)]
Revise EUC-JP mapping so that {0x8E 0xE3} and {0x8E 0xE4} are not
mapped to U+005C and U+007E.
After this is landed, ICU has to be rolled in to get this change.
Patch originally by Tom Sepez. (see the bug).
BUG=109574
TEST=Go to http://i18nl10n.com/chrome/euc_webkit_8EEE3.html and make sure there's no alert box popping up.
Review URL: https://chromiumcodereview.appspot.com/9233048
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@119946
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jbauman@chromium.org [Mon, 30 Jan 2012 20:45:40 +0000 (20:45 +0000)]
Add plain-text copy of license
Needed to automatically generate about:credits.
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@119726
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
evan@chromium.org [Tue, 24 Jan 2012 18:24:54 +0000 (18:24 +0000)]
Switch 'settings' to 'none', as the former is deprecated.
Review URL: https://chromiumcodereview.appspot.com/9146044
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@118861
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Tue, 17 Jan 2012 19:17:27 +0000 (19:17 +0000)]
Disable harmless warnings for 3rdparty code: ICU.
BUG=102390
Review URL: https://chromiumcodereview.appspot.com/9178024
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@117933
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
falken@chromium.org [Thu, 8 Dec 2011 03:05:30 +0000 (03:05 +0000)]
Fix buffer overflow in _canonicalize.
Upstream bug is http://bugs.icu-project.org/trac/ticket/8984
BUG=chromium:106441
Review URL: http://codereview.chromium.org/8822005
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@113543
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Mon, 5 Dec 2011 21:55:31 +0000 (21:55 +0000)]
Update the pre-built ICU data file for the following changes:
1. Update Olson timezone data file to 2011n (the latest)
Among other things, Moscow time should be *always* 4 hrs ahead of UTC.
2. Fix a typoe in the timezone name for US Pacific time in Korean locale.
3. Fix AmPm markers in Indonesian locale
4. Fix the abbrebiated day name for Wednesday in Spanish
5. Add timezone display data for the following locales:
am, bn, fa, gu, kn, ml, mr, sw, ta, te
(they're supposed to be included, but were missing in the previous pre-built data check-in.)
For the first two changes, see
http://codereview.chromium.org/8724009
The pre-built data files are in source/data/in, windows, mac and linux. Assembly files in linux and mac are too large and don't show up here although they're included in the CL.
BUG=74566,chromium-os:23256
TEST=1. Change the timezone to MSK (Moscow timezone) during winter. It should be UT C+4:00 instead of UTC+3:00
2. In Korean locale, the US Pacific time display name should start with '북미 태평양' instead of '북미 평양'.
3. In Indonesian locale, AmPm markers should be 'AM' and 'PM'.
4. In locales listed for item 5 above, the timezone selection menu shows time zone names in the language on CrOS.
TBR=nkostylev
Review URL: http://codereview.chromium.org/8801026
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@113037
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 29 Nov 2011 23:44:51 +0000 (23:44 +0000)]
Update timezone data files to 2011n
This will update timezone data to the latest. Among other things, Moscow time
should be *always* 4 hrs ahead of UTC.
While doing so, I'm fixing the timezone name for US Pacific time in Korean locale. There's a typo.
As for MSK having 'Moscow Summer Time/Moscow Standard Time' in zone files,
it should not hurt. As long as DST is not used any more, we'll not get
'Moscow Summer Time' in our UI.
This CL will be follwed by actual data file updated for all the
platforms we care about.
BUG=74566,chromium-os:23256
TEST=Change the timezone to MSK (Moscow timezone) during winter. It should be UTC+4:00 instead of UTC+3:00
TBR=nkostylev
Review URL: http://codereview.chromium.org/8724009
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@112069
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
michaelbai@google.com [Mon, 31 Oct 2011 18:03:49 +0000 (18:03 +0000)]
Upstream: Android's ICU change
BUG=
TEST=
Review URL: http://codereview.chromium.org/8403006
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@107982
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Fri, 21 Oct 2011 20:47:51 +0000 (20:47 +0000)]
Make unistr.h compile with -Werror and gcc4.6
BUG=87490
TEST=icu builds with -Werror and gcc 4.6
Original Review: http://codereview.chromium.org/8120001
CL by pph34r@gmail.com
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@106776
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
mark@chromium.org [Thu, 20 Oct 2011 14:45:40 +0000 (14:45 +0000)]
Use the OpenBSD header for ICU on OpenBSD
add ICU header for OpenBSD
Patch by Robert Nagy <robert.nagy@gmail.com>
BUG=
TEST=
Review URL: http://codereview.chromium.org/8230006
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@106495
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
bradchen@google.com [Wed, 14 Sep 2011 22:57:13 +0000 (22:57 +0000)]
Fixing an oversite in my first fix (7891051).
BUG=81753
TEST=unit_tests
Review URL: http://codereview.chromium.org/7886048
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@101184
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
bradchen@google.com [Wed, 14 Sep 2011 21:45:11 +0000 (21:45 +0000)]
Fix for bug 81753, do not read past the end of unicode strings
BUG=81753
TEST=unit_tests
Review URL: http://codereview.chromium.org/7891051
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@101167
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 25 Aug 2011 23:12:27 +0000 (23:12 +0000)]
Remove a separate ICU data file for CrOS.
The set of languages CrOS is localized to is now sync'd to the set
of languages Chromium/Chrome is localized to.
This will not be included until DEPS file is updated to roll this change in along with the following Chrome change ( http://codereview.chromium.org/7726003/ )
BUG=chromium-os:19465
TEST=ChromeOS build goes through.
Review URL: http://codereview.chromium.org/7725002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@98343
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Mon, 25 Jul 2011 11:28:04 +0000 (11:28 +0000)]
Add the pre-built ICU data for Mac.
The previous check-in (http://crrev.com/93864) has the Linux data file in
Mac directory.
BUG=28604
TEST=None (actual roll CL will have tests).
TBR=cira
Review URL: http://codereview.chromium.org/7491042
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@93875
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
chrome-bot@google.com [Mon, 25 Jul 2011 09:40:25 +0000 (09:40 +0000)]
Update the pre-built ICU data files for Win, Linux, Mac and CrOS
Listed below are files being updated (they're not shown in codereview).
windows/icudt.dll
linux/icudt46l_dat.S
mac/icudt46l_dat.S
source/data/in/icudt46l.dat
cros/icudt46l_dat.S
For the description of changes made, see
http://codereview.chromium.org/7046066
http://codereview.chromium.org/7488050
This update increases the ICU data file size (uncompressed) by 900kB
because the curreny display names are added for ECMAScript I18N API.
BUG=28604
TEST=NumberFormat with currency works as expected.
TBR=cira
Review URL: http://codereview.chromium.org/7484064
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@93864
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Mon, 25 Jul 2011 09:19:35 +0000 (09:19 +0000)]
Add the currency display name for JavaScript I18N API
This CL does not update the pre-built ICU data files. They'll be
added in the next CL.
It'll increase the ICU data file about 900kB (uncompressed).
BUG=28604
TEST=No test yet until pre-built data files are checked in and rolled in via DEPS file update.
TBR=cira
Review URL: http://codereview.chromium.org/7488050
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@93861
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Mon, 25 Jul 2011 06:08:43 +0000 (06:08 +0000)]
Fix some ICU locale data
1. region name for '419' : drop 'Carribean' and make it just 'Latin America'.
: this cuts down the width of our language selection menu.
The CLDR upstream plans to make this change as well.
2. Delete the display names for all the numeric region codes other than 419 because
we don't use them at the moment. This saves about 50kB.
3. Swap the thousand separator and decimal mark symbol in Serbian
4. Fix some date formats in various locales.
5. Merge the upstream (CLDR) changes on the way line-breaking works with
small kana characters.
6. Update timezone (metazone) display names in ko, it, de, ja (for CrOS and JS I18N API).
BUG=None
TEST=No change in behavior until this change and a follow-up change to update
pre-built binary data files is rolled in to Chrome.
TBR=cira
Review URL: http://codereview.chromium.org/7046066
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@93846
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 20 Jul 2011 23:24:18 +0000 (23:24 +0000)]
Fix the Korean find-in-page bug.
Apply the upstream (ICU 4.6.1) patch to our copy of ICU 4.6
Upstream bug is http://bugs.icu-project.org/trac/ticket/8290
BUG=88434
TEST=See the bug description (http://crbug.com/89844)
TBR=finnur
Review URL: http://codereview.chromium.org/7465014
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@93281
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 28 Jun 2011 17:34:38 +0000 (17:34 +0000)]
ICU Regex patch.
Apply the upstream patch ( http://bugs.icu-project.org/trac/changeset/30244 ) to our
copy of ICU.
BUG=86900
TEST=In debug build, run Chrome and load testcase.htm file. It should not result in a sad tab.
Review URL: http://codereview.chromium.org/7276039
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@90787
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
joaodasilva@chromium.org [Wed, 8 Jun 2011 11:35:08 +0000 (11:35 +0000)]
Fixed handling of different decimal separators on DigitList::set().
BUG=chromium:60476
TEST=chromium unit_tests:TimeFormat.FAILS_DecimalPointNotDot
Review URL: http://codereview.chromium.org/7004021
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@88321
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 2 Jun 2011 20:36:27 +0000 (20:36 +0000)]
Fix an ICU bug found by PSV (static analysis tool)
Removes the unnecessary code. The bug found was
if (A) {...} else if (A) {...} in msgfmt.cpp
The other bug is about the condition being always true.
BUG=84112,83911,84749
TEST=ICU builds fine and PSV does not report bugs any more.
Review URL: http://codereview.chromium.org/7109008
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@87668
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Fri, 13 May 2011 20:55:19 +0000 (20:55 +0000)]
Add support for FreeBSD to Chrome's ICU
Landing on behalf of ruben (chromium@hybridsource.org)
BUG=NONE
TEST=After this change is rolled in with DEPS update, all the platforms build as usual.
Original Review: http://codereview.chromium.org/6953014
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@85319
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
maruel@chromium.org [Sat, 30 Apr 2011 15:18:54 +0000 (15:18 +0000)]
Disable warnings in VS that won't be fixed anyway.
This is to enable warnings as error.
TBR=jungshik@chromium.org
Review URL: http://codereview.chromium.org/6893058
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@83674
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
evan@chromium.org [Tue, 26 Apr 2011 00:01:16 +0000 (00:01 +0000)]
Define U_STATIC_IMPLEMENTATION on all platforms unless we're
building a non-static ICU.
This #define appears to control whether symbols are explicitly
exported or not. It also appears in headers used by ICU users,
so we need it in the export settings (and it doesn't hurt).
This is necessary for components=shared_library build on Linux.
Review URL: http://codereview.chromium.org/6905012
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@82955
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
mal@chromium.org [Fri, 22 Apr 2011 01:14:38 +0000 (01:14 +0000)]
Copy the README.chromium from icu42/.../brkitr to icu46/.../brkitr to make license checking happy.
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@82602
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thakis@chromium.org [Tue, 5 Apr 2011 17:36:59 +0000 (17:36 +0000)]
Landing http://codereview.chromium.org/6691033/
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@80478
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
bradnelson@google.com [Tue, 29 Mar 2011 00:06:45 +0000 (00:06 +0000)]
Fixing icu to work with msvs2010.
BUG=None
TEST=None
R=jeanluc@chromium.org
Review URL: http://codereview.chromium.org/6760010
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@79636
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
bradnelson@google.com [Tue, 15 Mar 2011 21:44:25 +0000 (21:44 +0000)]
Changing icu to use gyp 'copies', rather than use a rules file.
msbuild won't use the same rules files, so this blocks msbuild support.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6648016
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@78292
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
cdn@chromium.org [Mon, 14 Mar 2011 19:29:03 +0000 (19:29 +0000)]
Formatting the readmes in deps to follow the proper format and making sure they contain Short Name and Version fields for version tracking.
BUG=None
TEST=N/A
Review URL: http://codereview.chromium.org/6624034
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@78071
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
ctguil@chromium.org [Fri, 11 Mar 2011 01:57:17 +0000 (01:57 +0000)]
Coverity INFINITE_LOOP Fix.
CID=15208
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6676011
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@77756
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Mon, 7 Mar 2011 21:09:59 +0000 (21:09 +0000)]
Drop ICU version number from the name of icu data dll file on Windows.
This is to avoid having to update a bunch of build/release configuration files
whenever ICU is upgraded. (see http://crbug.com/73991)
This will be followed by three CLs (googleurl, chrome and internal build config).
BUG=74076
TEST=Chrome can be built and a binary built runs fine with an accompanying Chrome CL in place.
TBR=nsylvain
Review URL: http://codereview.chromium.org/6625032
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@77181
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 24 Feb 2011 18:40:41 +0000 (18:40 +0000)]
Make ICU build with Clang.
BUG=74018
TEST=ICU builds with Clang and -Wsign-compare turned on.
TBR=thakis
Review URL: http://codereview.chromium.org/6578023
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@75916
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
hbono@chromium.org [Thu, 24 Feb 2011 08:45:54 +0000 (08:45 +0000)]
Delete svn:executable properties.
This change just removes svn:executable properties from files under 'third_party/icu46'.
TBR=jshin
BUG=none
TEST=check_perms.py
Review URL: http://codereview.chromium.org/6579033
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@75856
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 23 Feb 2011 19:40:52 +0000 (19:40 +0000)]
Add back U_WCHAR_IS_UTF32 macro to pmac.h
That was accidentally dropped when upgrading to ICU 4.6.
That leads to a failure in ICUStringConversionsTest.ConvertCodepageUTF8
on Mac.
__STDC_ISO_10646__ is not defined on Mac. Neither is _UCS_4. So, u_strFromWCS
ends up calling wcstombs on Mac instead of u_strFromUTF32. I'm gonna change
WideToCodepage in base/i18n/icu_string*.cc to use u_strFromUTF32 directly.
However, there might be other places where the absence of U_WCHAR_IS_UTF32 can
lead to a problem. To be safe, I'm adding back this to pmac.h
BUG=61514
TEST=With this version of ICU 4.6 pulled in, all the tests pass
including 'base_unittests --gtest_filter=ICU*.Conv*'
Review URL: http://codereview.chromium.org/6578003
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@75773
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 23 Feb 2011 01:08:35 +0000 (01:08 +0000)]
Add the ICU 4.6 locale file (pre-generated) for CrOS along with
abridged locale files used in the generation of ICU data file on Linux.
BUG=61514
TEST=CrOS build goes fine with the ICU 4.6 pulled in.
TBR=mark
Review URL: http://codereview.chromium.org/6469108
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@75690
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 17 Feb 2011 19:19:49 +0000 (19:19 +0000)]
Add up-to-date README.chromium for ICU 4.6
In addition,
- add rtti.patch (see http://codereview.chromium.org/6484008)
- add platform.patch : this changes platform.h.in to
streamline the process of making plinux.h and pmac.h
Note that we don't need plinux.h.patch any more thanks to this
change.
- plinux.h, pmac.h and platform.h.in are updated accordingly.
- update brkitr.patch (which was not updated by mistake)
Note that cros directory is not yet populated. I'll add files
referred to in README.chromium in another CL.
BUG=61514
TEST=Chrome can be built on Linux and Mac.
Review URL: http://codereview.chromium.org/6537010
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@75292
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 16 Feb 2011 21:58:54 +0000 (21:58 +0000)]
Enable RTTI for ICU.
ICU 4.6 uses RTTI (dynamic_cast and typeid) in many places.
It'll increase the vtbl size. I'm gonna measure the size impact by
making two builds:
1. With rtti enabled
2. With rtti disabled, but with dynamic_cast replaced with
static_cast and typeid with 'something' buildable. This build wouldn't run
properly, but for the size comparision, just compiling it should be fine.
On Windows, we set _HAS_EXCEPTIONS to 0 in common.gypi. To build ICU
without enabling exception as well on Windows, we replaced the following line
#include <typeinfo>
with
#include "unicode/utypeinfo.h"
and add a new file 'common/unicode/utypeinfo.h' with the following:
#if defined(_MSC_VERSION) && _HAS_EXCEPTIONS == 0
#include <exception>
using std::exception;
#endif
#include <typeinfo>
BUG=61514
TEST=On all 3 platforms, Chrome can be built and can be run without crash.
Review URL: http://codereview.chromium.org/6484008
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@75186
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thomasvl@chromium.org [Fri, 11 Feb 2011 15:36:11 +0000 (15:36 +0000)]
Rename the variable to not end in "_file" since that triggers gyp relative
path munging when you try to set it in common.gypi.
Review URL: http://codereview.chromium.org/6474038
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@74592
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Fri, 11 Feb 2011 00:55:52 +0000 (00:55 +0000)]
Port wpo.patch to ICU 4.6
udata.c is replaced by udata.cpp.
Besides, I'm just adding eol styles to a few patch files.
See also:
http://bugs.icu-project.org/trac/ticket/8043
http://bugs.icu-project.org/trac/ticket/5701
BUG==61514
TEST=Build an official build.
Review URL: http://codereview.chromium.org/6462019
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@74538
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
thomasvl@chromium.org [Thu, 10 Feb 2011 18:04:31 +0000 (18:04 +0000)]
Add support for using ICU with a data file instead of compiling the data in.
Landed for icu42 already, just doing this in this version also.
icu42 version:
http://src.chromium.org/viewvc/chrome?view=rev&revision=74439
Review URL: http://codereview.chromium.org/6474002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@74453
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 9 Feb 2011 23:20:53 +0000 (23:20 +0000)]
Update build files for ICU on Windows for ICU 4.6
1. Update build/*.{vcproj, sln} files for ICU 4.6
They are only used for icudt DLL file (outside the chrome build process).
So, it's ok to be VS2008 format.
2. Fix icu.gyp to exclude '*.c' files that are included by other cpp/c source files.
This is used in actual Chrome builds.
3. Patch 5 files which trigger warnings (that are regarded as error) when compiled with
Visual C++ (gcc does not complain).
BUG=61514
TEST=1. icudt_build project (outside Chrome build) works fine.
2. chrome build goes fine on Windows after third_party/icu is made to point to third_party/icu46
(this won't work yet until RTTI is enabled for ICU).
Review URL: http://codereview.chromium.org/6460007
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@74374
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 9 Feb 2011 02:30:10 +0000 (02:30 +0000)]
Move header files (ICU 4.6) from source/{common,i18n}/unicode
to public/{common,i18n}/unicode for Chrome build.
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6463015
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@74230
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 8 Feb 2011 23:52:18 +0000 (23:52 +0000)]
Remove synthetic_alias list in data/*/reslocal.mk
reslocal.mk files have a line 'FOO_SYNTHETIC_ALIAS' with in_ID, iw_IL, no_NO,
but we don't include the corresponding targets (id_ID, he_IL and nb_NO).
For now, make FOO_SYNTHETIC_ALIAS empty because we don't have a strong
need to include id_ID, he_IL and nb_NO.
This issue was found while building icudt DLL file on Windows. Linux/Mac
didn't complain, though.
This CL updates icudt assembly files for Linux/Mac with the above change
and adds icudt46l.dat and pre-built icudt46.dll for Windows.
BUG=61514
TEST=icudt_build runs fine on Windows with CL 6460007 patched in.
TBR=mark
Review URL: http://codereview.chromium.org/6312192
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@74202
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 2 Feb 2011 02:39:23 +0000 (02:39 +0000)]
icu.gyp file for ICU 4.6 along with other build changes.
1. Add new files in ICU 4.6 to icu.gyp
2. Modify ICU's pkg_genc.c to generate '.S' file with a line to hide
icudt_* symbol enclosed with #ifdef U_HIDE_DATA_SYMBOL
3. Modify icu.gyp to define U_HIDE_DATA_SYMBOL when we're not building
shared_library build. This is the reverse of what we currently do
on Linux. It's done this way to make my life a bit easier when
pre-building/testing ICU data outside the Chrome tree.
It's also done for Mac (which is always built without shared_library
defined).
4. For both Mac and Linux, check in 'icudt46l_dat.S' instead of
'icudt46l_dat.s'.
linux/icudt46l_dat.S reads:
.globl icudt46_dat
.section .note.GNU-stack,"",%progbits
.section .rodata
.align 8
#ifdef U_HIDE_DATA_SYMBOL
.hidden icudt46_dat
#endif
.type icudt46_dat,%object
icudt46_dat:
mac/icudt46l_dat.S reads:
.globl _icudt46_dat
#ifdef U_HIDE_DATA_SYMBOL
.private_extern _icudt46_dat
#endif
.data
.const
.align 4
_icudt46_dat:
BUG=61514
TEST=Changes #2 - #4 were tested with the equivalent changes made to ICU 4.2.
1. On Mac, after building chrome/chromium, run the following:
$ nm Chromium.app/Contents/Versions/11.0.656.0/Chromium\ Framework.framework/Chromium\ Framework | grep " [A-TV-Z] " | egrep '(_4_|icudt)'
Nothing should be found.
Review URL: http://codereview.chromium.org/5991004
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@73411
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 27 Jan 2011 02:27:35 +0000 (02:27 +0000)]
CJK segmentation patch for ICU 4.6
This patch also requires brkitr.patch and data/brkitr/cjdict.txt
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6370014
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@72751
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 27 Jan 2011 00:15:41 +0000 (00:15 +0000)]
Breakiterator patch for ICU 4.6
word.txt : Chinese/Japanese segmentation rules, Hebrew-script-specific handling of U+0022, and
splitting of FQDN into labels at '.'.
line.txt : Incorporated line_he and minor changes in CL, OP and ID definitions.
brklocal.mk : build file changes to drop unnecessary brkitr rule files (e.g. word_ja.txt,
line_he.txt)
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6349014
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@72730
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 26 Jan 2011 23:50:31 +0000 (23:50 +0000)]
Check in Chinese/Japanese dictionary (cjdict.txt) that we use for the
segmentation and cc_cedict.txt along with LICENSE files.
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6263016
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@72725
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 26 Jan 2011 23:41:50 +0000 (23:41 +0000)]
Correct data/lang/{sw,fil}.txt.
There were duplicate entries in sw.txt and the incorrect name for tl in fil.txt.
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6341010
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@72722
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 26 Jan 2011 23:26:56 +0000 (23:26 +0000)]
Update the converter patch.
Instead of removing ucmebcdic.mk, set UCM_EBCDIC_SOURCE to empty in ucmlocal.mk
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@72715
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 26 Jan 2011 19:03:48 +0000 (19:03 +0000)]
ICU data build configuration changes.
This patch has data build changes that cannot be controlled by editing data/*/*local.mk files (see patches/locale3.patch) and is not covered by
segmentation.patch, converters.patch and brkiter.patch
- specifies '-R' option for genrb to exclude collation rule files (~200kB saving).
- excludes coll/invuca.icu (~300kB saving)
- excludes unames.icu ( ~200kB saving)
- exclude two hard-coded EBCDIC converters ( ~ 10kB saving)
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6314020
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@72660
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 26 Jan 2011 18:46:14 +0000 (18:46 +0000)]
resource bundle build changes.
1. Do not include any resource bundles for rbnf (rule-based number formatting) and currency.
They're not used. In the future when they become necessary (e.g. web store client-side UI?),
we can add them back.
2. Only include rfc3491 string prep file for IDNA 2003 handling and drop other stringprep
files (NFS, SNMP, SASL, LDAP, etc).
3. {region,zone,lang}/reslocal.mk files are updated to list only resource files that
are actually available. What's available in {region,zone,lang} directories are different from
locales directory.
#1 and #2 will save us about 1.2 MB (uncompressed).
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6347012
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@72656
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Thu, 20 Jan 2011 02:14:23 +0000 (02:14 +0000)]
Local changes to ICU 4.6 locale files
Exemplar character set changes : zh, ja, Indic languages
Language name changes/additions: da, sw, fil, am
Region name changes/additions: am, fil, sw
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6351009
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@71906
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 19 Jan 2011 23:53:49 +0000 (23:53 +0000)]
Add abridged locale files for locales Chrome is not localized to for which
Chrome need to know only a few things (native language name,
exemplar character set, layout direction).
There are 47 locales in this category. The patch file is patches/locale2.patch.
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6342009
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@71873
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 19 Jan 2011 23:30:35 +0000 (23:30 +0000)]
Tweak ICU locale build files. No material change in this CL. The actual
change will be made in the following CL for locale data files.
BUG=61514
TEST=NONE
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@71868
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 19 Jan 2011 22:57:01 +0000 (22:57 +0000)]
Tweak ICU data build files to include 'nominal abridged locale data' (language
name, exemplar character set, layout direction) for 14 more
locales.
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6323009
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@71863
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 12 Jan 2011 23:54:05 +0000 (23:54 +0000)]
Copy the build files for ICU 4.2 to ICU 4.6. These will be
revised as necessary for ICU 4.6
BUG=61514
TEST=NONE
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@71256
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 12 Jan 2011 22:49:39 +0000 (22:49 +0000)]
Add customized ICU data build files to include only locale data
we need.
BUG=61514
TEST=NONE (yet)
Review URL: http://codereview.chromium.org/6011015
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@71250
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 22 Dec 2010 02:22:41 +0000 (02:22 +0000)]
Apply the converter patches for ICU 4.2.1 to ICU 4.6
It requires a couple of minor changes, but is essentially the same change
we've used in ICU 4.2.1.
BUG=61514
TEST=None (yet)
Review URL: http://codereview.chromium.org/6010003
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@69920
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Wed, 22 Dec 2010 01:09:52 +0000 (01:09 +0000)]
Remove unihan collation rules from zh/ja/ko collation files.
This is the same patch as we used for ICU 4.2.1.
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6070005
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@69912
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 21 Dec 2010 22:43:27 +0000 (22:43 +0000)]
Patch the pre-generated pmac.h the same way as it's patched in ICU 4.2
This is 1) to make it work with older versions of Mac OS
2) to make all symbols invisible, which cuts down the
download size. (see the original cl for ICU 4.2.1
at http://codereview.chromium.org/281006 as well as
the ICU bug on the issue at
http://bugs.icu-project.org/trac/ticket/8248 )
BUG=61514
TEST=NONE
Review URL: http://codereview.chromium.org/6063003
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@69889
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Tue, 21 Dec 2010 17:58:32 +0000 (17:58 +0000)]
Pre-generate platform.h for Linux and Mac.
Generate platform.h on Linux and Mac with 'runConfigure Linux' and
'runConfigure MacOSX' in a clean tree of ICU 4.6.
Add them as plinux.h and pmac.h to source/common/unicode.
Modify ptypes.h to refer to them instead of platform.h (by applying
patches/platform.patch)
TBR=brettw
BUG=61514
TEST=None
Review URL: http://codereview.chromium.org/5963002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@69841
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c
jshin@chromium.org [Mon, 6 Dec 2010 23:14:47 +0000 (23:14 +0000)]
Check in the pristine copy of ICU 4.6
The following directories we don't use are removed:
as_is
packaging
source/extra
source/sample
source/layout
source/layoutex
We need 4.6 for IDN update among other things.
We'll apply some patches on top of this. Once we're done, we'll
turn the 'knob' in DEPS file to use this instead of ICU 4.2.1
BUG=61514
TEST=NONE (yet)
Review URL: http://codereview.chromium.org/5516007
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@68397
4ff67af0-8c30-449e-8e8b-
ad334ec8d88c