Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Issue 18487004: Import the v8-i18n extension into v8 (Closed)

Created:
7 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Import the v8-i18n extension into v8 This adds the gyp flag v8_enable_i18n_support (off by default), and the v8 flag FLAG_enable_i18n (on by default, but without effect if v8_enable_i18n_support is off). BUG=v8:2745 R=cira@chromium.org, danno@chromium.org, jkummerow@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=15464

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+4701 lines, -116 lines) Patch
M Makefile View 1 chunk +4 lines, -0 lines 0 comments Download
M build/common.gypi View 2 chunks +7 lines, -0 lines 0 comments Download
M src/api.cc View 3 chunks +23 lines, -0 lines 1 comment Download
M src/bootstrapper.cc View 3 chunks +13 lines, -0 lines 0 comments Download
A src/extensions/i18n/break-iterator.h View 1 chunk +85 lines, -0 lines 0 comments Download
A src/extensions/i18n/break-iterator.cc View 1 chunk +331 lines, -0 lines 0 comments Download
A src/extensions/i18n/break-iterator.js View 1 chunk +192 lines, -0 lines 1 comment Download
A + src/extensions/i18n/collator.h View 1 chunk +30 lines, -19 lines 0 comments Download
A src/extensions/i18n/collator.cc View 1 chunk +363 lines, -0 lines 0 comments Download
A src/extensions/i18n/collator.js View 1 chunk +208 lines, -0 lines 0 comments Download
A + src/extensions/i18n/date-format.h View 1 chunk +33 lines, -19 lines 0 comments Download
A src/extensions/i18n/date-format.cc View 1 chunk +329 lines, -0 lines 0 comments Download
A src/extensions/i18n/date-format.js View 1 chunk +473 lines, -0 lines 2 comments Download
A + src/extensions/i18n/footer.js View 1 chunk +14 lines, -19 lines 0 comments Download
A src/extensions/i18n/globals.js View 1 chunk +168 lines, -0 lines 0 comments Download
A + src/extensions/i18n/header.js View 1 chunk +11 lines, -7 lines 0 comments Download
A + src/extensions/i18n/i18n-extension.h View 2 chunks +14 lines, -10 lines 0 comments Download
A src/extensions/i18n/i18n-extension.cc View 1 chunk +116 lines, -0 lines 0 comments Download
A src/extensions/i18n/i18n-utils.h View 1 chunk +91 lines, -0 lines 0 comments Download
A src/extensions/i18n/i18n-utils.cc View 1 chunk +174 lines, -0 lines 0 comments Download
A src/extensions/i18n/i18n-utils.js View 1 chunk +537 lines, -0 lines 0 comments Download
A + src/extensions/i18n/locale.h View 1 chunk +27 lines, -22 lines 0 comments Download
A src/extensions/i18n/locale.cc View 1 chunk +248 lines, -0 lines 0 comments Download
A src/extensions/i18n/locale.js View 1 chunk +192 lines, -0 lines 0 comments Download
A + src/extensions/i18n/number-format.h View 1 chunk +31 lines, -19 lines 0 comments Download
A src/extensions/i18n/number-format.cc View 1 chunk +418 lines, -0 lines 0 comments Download
A src/extensions/i18n/number-format.js View 1 chunk +290 lines, -0 lines 0 comments Download
A src/extensions/i18n/overrides.js View 1 chunk +210 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/mksnapshot.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/natives.h View 2 chunks +2 lines, -1 line 0 comments Download
M tools/gyp/v8.gyp View 5 chunks +63 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jochen (gone - plz use gerrit)
PTAL I'll add the unit tests tomorrow. The next steps I plan are: - turn ...
7 years, 5 months ago (2013-07-02 14:31:48 UTC) #1
danno
Generally, looks like the right direction as long as you do indeed execute your long-term ...
7 years, 5 months ago (2013-07-03 08:39:06 UTC) #2
Nebojša Ćirić
I guess next step should be disabling the extension in the WebKit code (our Blink ...
7 years, 5 months ago (2013-07-03 09:23:40 UTC) #3
Jakob Kummerow
Build system changes LGTM. I've verified that by default it builds fine even when ICU ...
7 years, 5 months ago (2013-07-03 11:21:03 UTC) #4
Jakob Kummerow
Committed patchset #1 manually as r15464 (presubmit successful).
7 years, 5 months ago (2013-07-03 11:22:50 UTC) #5
Jakob Kummerow
Oops, overlooked Cira's comment. Sorry. Please fix in a follow-up CL.
7 years, 5 months ago (2013-07-03 11:25:18 UTC) #6
arv (Not doing code reviews)
This implementation leaks a lot of internal implementation details and depends on no one changing ...
7 years, 5 months ago (2013-07-08 17:59:23 UTC) #7
jochen (gone - plz use gerrit)
7 years, 5 months ago (2013-07-08 18:28:08 UTC) #8
Message was sent while issue was closed.
These are all excellent points, Erik, and I intend to address this issue.

The plan is to change the code from an extension to proper v8 code, so it can
eventually be part of the snapshot. In this process, we can remove all the
hacks.

Note that this is a 1:1 copy of the v8-i18n extension which is already compiled
in by chrome, so the issues you listed already apply to our shipping product :-/

Powered by Google App Engine
This is Rietveld 408576698