external/v8-i18n.git
13 months agoHandle x- form of locale better (spec compliance) master
cira@chromium.org [Thu, 20 Jun 2013 15:24:33 +0000 (15:24 +0000)]
Handle x- form of locale better (spec compliance)

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@191 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoFix expectations.py. Manage significant digits better (spec fix).
cira@chromium.org [Thu, 20 Jun 2013 14:41:17 +0000 (14:41 +0000)]
Fix expectations.py. Manage significant digits better (spec fix).

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@190 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoUpdating expectations.py for test262
cira@chromium.org [Thu, 20 Jun 2013 12:33:43 +0000 (12:33 +0000)]
Updating expectations.py for test262

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@189 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoFix empty currency bug wrt. spec. Simplifies isWellFormedCurrency function.
cira@chromium.org [Thu, 20 Jun 2013 12:22:44 +0000 (12:22 +0000)]
Fix empty currency bug wrt. spec. Simplifies isWellFormedCurrency function.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@188 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoSetting DONT_ENUM property on some methods. Conformance fixes.
cira@chromium.org [Thu, 20 Jun 2013 09:06:28 +0000 (09:06 +0000)]
Setting DONT_ENUM property on some methods. Conformance fixes.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@187 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoPreventing ordinary methods to be created with new. Spec conformance.
cira@chromium.org [Wed, 19 Jun 2013 14:05:47 +0000 (14:05 +0000)]
Preventing ordinary methods to be created with new. Spec conformance.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@186 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoRemoving prototype from non-constructor methods. Improving spec compliance.
cira@chromium.org [Wed, 19 Jun 2013 11:45:59 +0000 (11:45 +0000)]
Removing prototype from non-constructor methods. Improving spec compliance.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@185 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoFix a header guard.
marja@google.com [Tue, 18 Jun 2013 08:14:15 +0000 (08:14 +0000)]
Fix a header guard.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@184 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoConvert more callbacks. Patch from dcarney@chromium.org.
marja@google.com [Fri, 14 Jun 2013 09:29:04 +0000 (09:29 +0000)]
Convert more callbacks. Patch from dcarney@chromium.org.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@183 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoRemove usage of to-be-deprecated version of Persistent::MakeWeak.
marja@google.com [Tue, 11 Jun 2013 09:51:20 +0000 (09:51 +0000)]
Remove usage of to-be-deprecated version of Persistent::MakeWeak.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@182 24c52dca-d3ef-abce-e343-6dbe4d066545

13 months agoDon't copy Persistent handles in callbacks.
marja@google.com [Tue, 4 Jun 2013 08:06:31 +0000 (08:06 +0000)]
Don't copy Persistent handles in callbacks.

Persistent handles will become uncopyable in the near future,
see crbug.com/236290 .

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@181 24c52dca-d3ef-abce-e343-6dbe4d066545

14 months agoRemoving calls to Persistent objects that got obsoleted.
cira@google.com [Wed, 15 May 2013 21:03:52 +0000 (21:03 +0000)]
Removing calls to Persistent objects that got obsoleted.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@180 24c52dca-d3ef-abce-e343-6dbe4d066545

14 months agoChanging permissions for real using svn propset.
cira@google.com [Wed, 15 May 2013 20:47:59 +0000 (20:47 +0000)]
Changing permissions for real using svn propset.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@178 24c52dca-d3ef-abce-e343-6dbe4d066545

14 months agoChanging mode for each script so we can ommit python run-tests...
cira@google.com [Wed, 15 May 2013 20:38:26 +0000 (20:38 +0000)]
Changing mode for each script so we can ommit python run-tests...

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@177 24c52dca-d3ef-abce-e343-6dbe4d066545

14 months agoAdding --chrome-dir parameter and changing script to be executable.
cira@google.com [Wed, 15 May 2013 20:31:54 +0000 (20:31 +0000)]
Adding --chrome-dir parameter and changing script to be executable.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@175 24c52dca-d3ef-abce-e343-6dbe4d066545

15 months agoFix a timing test.
cira@chromium.org [Thu, 18 Apr 2013 03:29:26 +0000 (03:29 +0000)]
Fix a timing test.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@174 24c52dca-d3ef-abce-e343-6dbe4d066545

15 months agoProvide scope for Unpacker where we allocate a v8::String.
cira@chromium.org [Thu, 18 Apr 2013 02:55:27 +0000 (02:55 +0000)]
Provide scope for Unpacker where we allocate a v8::String.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@173 24c52dca-d3ef-abce-e343-6dbe4d066545

15 months agoRemove HandleScope calls when not necessary to avoid crashes.
cira@google.com [Wed, 17 Apr 2013 19:43:44 +0000 (19:43 +0000)]
Remove HandleScope calls when not necessary to avoid crashes.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@172 24c52dca-d3ef-abce-e343-6dbe4d066545

16 months agoRemove obsolete library keyword from .gyp file.
cira@google.com [Thu, 7 Mar 2013 17:59:13 +0000 (17:59 +0000)]
Remove obsolete library keyword from .gyp file.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@170 24c52dca-d3ef-abce-e343-6dbe4d066545

17 months agoAdding two tests for localeCompare that are breaking current WebKit expectations...
cira@google.com [Fri, 15 Feb 2013 17:24:52 +0000 (17:24 +0000)]
Adding two tests for localeCompare that are breaking current WebKit expectations - which is ok, it's by the spec.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@169 24c52dca-d3ef-abce-e343-6dbe4d066545

17 months agoProper handling of IANA time zone names.
cira@google.com [Wed, 13 Feb 2013 00:15:47 +0000 (00:15 +0000)]
Proper handling of IANA time zone names.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@168 24c52dca-d3ef-abce-e343-6dbe4d066545

17 months agoRemove .join - plain + concatenation is faster.
cira@google.com [Fri, 8 Feb 2013 20:19:56 +0000 (20:19 +0000)]
Remove .join - plain + concatenation is faster.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@167 24c52dca-d3ef-abce-e343-6dbe4d066545

17 months agoFixing conformance tests/code. Using <use strict> mode.
cira@google.com [Fri, 8 Feb 2013 17:46:17 +0000 (17:46 +0000)]
Fixing conformance tests/code. Using <use strict> mode.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@166 24c52dca-d3ef-abce-e343-6dbe4d066545

17 months agoAdding perf tests and cleaning up the expectations.py
cira@google.com [Thu, 7 Feb 2013 19:21:08 +0000 (19:21 +0000)]
Adding perf tests and cleaning up the expectations.py

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@165 24c52dca-d3ef-abce-e343-6dbe4d066545

17 months agoLanding https://codereview.appspot.com/7306044/ for Sven.
cira@google.com [Tue, 5 Feb 2013 17:56:46 +0000 (17:56 +0000)]
Landing https://codereview.appspot.com/7306044/ for Sven.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@164 24c52dca-d3ef-abce-e343-6dbe4d066545

17 months agoOptimize default case for localeString methods. It improves speed up to 12x.
cira@google.com [Thu, 31 Jan 2013 01:34:08 +0000 (01:34 +0000)]
Optimize default case for localeString methods. It improves speed up to 12x.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@162 24c52dca-d3ef-abce-e343-6dbe4d066545

17 months agoRemove strlen that not needed and trips Win64 build
cira@google.com [Thu, 24 Jan 2013 00:32:39 +0000 (00:32 +0000)]
Remove strlen that not needed and trips Win64 build

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@160 24c52dca-d3ef-abce-e343-6dbe4d066545

19 months agoReplacing calls to deprecated Set/Get/PointerToInternalField method.
cira@google.com [Wed, 21 Nov 2012 21:19:41 +0000 (21:19 +0000)]
Replacing calls to deprecated Set/Get/PointerToInternalField method.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@159 24c52dca-d3ef-abce-e343-6dbe4d066545

20 months agoFix for b/161999, empty ObjectTemplate instance handle.
cira@google.com [Tue, 20 Nov 2012 19:31:01 +0000 (19:31 +0000)]
Fix for b/161999, empty ObjectTemplate instance handle.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@158 24c52dca-d3ef-abce-e343-6dbe4d066545

20 months agoRemove non-Apachee 2.0 license part to simplify integration with Chrome and Android.
cira@google.com [Fri, 9 Nov 2012 22:27:03 +0000 (22:27 +0000)]
Remove non-Apachee 2.0 license part to simplify integration with Chrome and Android.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@157 24c52dca-d3ef-abce-e343-6dbe4d066545

20 months agoAdded support for IANA time zones + GMT[+|-]XXXX form.
cira@google.com [Fri, 26 Oct 2012 20:32:45 +0000 (20:32 +0000)]
Added support for IANA time zones + GMT[+|-]XXXX form.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@154 24c52dca-d3ef-abce-e343-6dbe4d066545

21 months agoSetting normalization to true. Removing support for option and kk extension.
cira@google.com [Tue, 16 Oct 2012 17:05:12 +0000 (17:05 +0000)]
Setting normalization to true. Removing support for option and kk extension.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@152 24c52dca-d3ef-abce-e343-6dbe4d066545

21 months agoRedefine String.localeCompare, Date.toLocaleXXXString, Number.toLocaleString as per...
cira@google.com [Mon, 8 Oct 2012 16:45:55 +0000 (16:45 +0000)]
Redefine String.localeCompare, Date.toLocaleXXXString, Number.toLocaleString as per 402 spec, chapter 13.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@151 24c52dca-d3ef-abce-e343-6dbe4d066545

21 months agoIntroduce global Intl namespace - alias v8Intl to Intl.
cira@google.com [Mon, 1 Oct 2012 20:17:25 +0000 (20:17 +0000)]
Introduce global Intl namespace - alias v8Intl to Intl.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@146 24c52dca-d3ef-abce-e343-6dbe4d066545

21 months agoRemove Object.defineProperty calls that run on Context load path.
cira@google.com [Mon, 24 Sep 2012 23:02:16 +0000 (23:02 +0000)]
Remove Object.defineProperty calls that run on Context load path.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@143 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoComment fix in expectations.py file.
cira@google.com [Tue, 11 Sep 2012 21:35:06 +0000 (21:35 +0000)]
Comment fix in expectations.py file.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@142 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoRemove und fallback. ResolvedOptions are writable, config. and enumerable. Parse...
cira@google.com [Tue, 11 Sep 2012 16:11:48 +0000 (16:11 +0000)]
Remove und fallback. ResolvedOptions are writable, config. and enumerable. Parse renamed into v8Parse

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@141 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoDon't include optional properties in resolvedOptions for DateFormatter
cira@google.com [Fri, 7 Sep 2012 20:46:52 +0000 (20:46 +0000)]
Don't include optional properties in resolvedOptions for DateFormatter

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@140 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoFix DateTimeFormat.format method and add test for it. Update expected failure list.
cira@google.com [Fri, 7 Sep 2012 16:20:07 +0000 (16:20 +0000)]
Fix DateTimeFormat.format method and add test for it. Update expected failure list.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@139 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoAdd check after constructing percent formatter. Add tests to exceptions list.
cira@google.com [Thu, 6 Sep 2012 21:55:19 +0000 (21:55 +0000)]
Add check after constructing percent formatter. Add tests to exceptions list.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@138 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoNormalization is on by default. Removed extra code from number format for significant...
cira@google.com [Thu, 6 Sep 2012 16:44:14 +0000 (16:44 +0000)]
Normalization is on by default. Removed extra code from number format for significant digits.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@137 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoDon't show currency, currencyDisplay, min/maxSignificantDigits if they were not reque...
cira@google.com [Wed, 5 Sep 2012 23:28:30 +0000 (23:28 +0000)]
Don't show currency, currencyDisplay, min/maxSignificantDigits if they were not requested. Switch number formatting to kRoundHalfUp.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@136 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agojs2c.py now removes comments (bug fix). It also produces combined.js file for easy...
cira@google.com [Fri, 31 Aug 2012 21:56:07 +0000 (21:56 +0000)]
js2c.py now removes comments (bug fix). It also produces combined.js file for easy reference to errors from v8

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@135 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoMethod should check on which object are they invoked.
cira@google.com [Fri, 31 Aug 2012 21:25:50 +0000 (21:25 +0000)]
Method should check on which object are they invoked.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@134 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoMake service.prototype non-writable/enumerable/configurable per spec.
cira@google.com [Fri, 31 Aug 2012 17:28:35 +0000 (17:28 +0000)]
Make service.prototype non-writable/enumerable/configurable per spec.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@133 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoFurther security tightening. Fixed duplicate properties in some objects. Added new...
cira@google.com [Fri, 31 Aug 2012 15:26:07 +0000 (15:26 +0000)]
Further security tightening. Fixed duplicate properties in some objects. Added new tests.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@132 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoHardening the code vs. security issues. Resolved options are passed into C++ not...
cira@google.com [Wed, 29 Aug 2012 15:54:36 +0000 (15:54 +0000)]
Hardening the code vs. security issues. Resolved options are passed into C++ not created there.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@131 24c52dca-d3ef-abce-e343-6dbe4d066545

22 months agoAdd more fallback locales to make spec happy. Add print method to test-runner.
cira@google.com [Mon, 27 Aug 2012 18:35:08 +0000 (18:35 +0000)]
Add more fallback locales to make spec happy. Add print method to test-runner.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@130 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoImplement JS language tag validator since ICU is too permissive.
cira@google.com [Fri, 17 Aug 2012 23:28:31 +0000 (23:28 +0000)]
Implement JS language tag validator since ICU is too permissive.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@129 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoConvert all invalid -co- values to default in collation.
cira@google.com [Thu, 16 Aug 2012 23:56:47 +0000 (23:56 +0000)]
Convert all invalid -co- values to default in collation.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@128 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoPrevent re-initialization of the Intl objects.
cira@google.com [Thu, 16 Aug 2012 20:20:24 +0000 (20:20 +0000)]
Prevent re-initialization of the Intl objects.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@127 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoIncrease number of fraction digits for percent format, so we don't round 1.1%->2%
cira@google.com [Thu, 16 Aug 2012 19:57:37 +0000 (19:57 +0000)]
Increase number of fraction digits for percent format, so we don't round 1.1%->2%

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@126 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoTreat -0 as 0 for number formatting.
cira@google.com [Thu, 16 Aug 2012 19:38:28 +0000 (19:38 +0000)]
Treat -0 as 0 for number formatting.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@125 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoFix support for default locale. Use ICU default locale.
cira@google.com [Thu, 16 Aug 2012 17:50:05 +0000 (17:50 +0000)]
Fix support for default locale. Use ICU default locale.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@124 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoMake supportedLocalesOf non-enumerable by the spec.
cira@google.com [Wed, 15 Aug 2012 21:18:54 +0000 (21:18 +0000)]
Make supportedLocalesOf non-enumerable by the spec.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@123 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoReject null value in options with RangeError.
cira@google.com [Wed, 15 Aug 2012 18:41:03 +0000 (18:41 +0000)]
Reject null value in options with RangeError.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@122 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoRename BreakIterator to v8BreakIterator to avoid future spec conflicts.
cira@google.com [Wed, 15 Aug 2012 17:56:52 +0000 (17:56 +0000)]
Rename BreakIterator to v8BreakIterator to avoid future spec conflicts.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@120 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoMake constructors non-enumerable, and with 0 lentgh.
cira@google.com [Thu, 9 Aug 2012 21:51:06 +0000 (21:51 +0000)]
Make constructors non-enumerable, and with 0 lentgh.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@119 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoMake elements and length property of locale arrays frozen, as per spec.
cira@google.com [Wed, 8 Aug 2012 17:11:55 +0000 (17:11 +0000)]
Make elements and length property of locale arrays frozen, as per spec.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@118 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoRename files, drop intl- prefix.
cira@google.com [Tue, 7 Aug 2012 19:43:55 +0000 (19:43 +0000)]
Rename files, drop intl- prefix.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@117 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoRemove support for deprecated v8Locale.
cira@google.com [Tue, 7 Aug 2012 18:33:39 +0000 (18:33 +0000)]
Remove support for deprecated v8Locale.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@116 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoMatch function param lengths with test expectation. It will uglify the code.
cira@google.com [Fri, 3 Aug 2012 23:32:50 +0000 (23:32 +0000)]
Match function param lengths with test expectation. It will uglify the code.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@115 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoFixing test failures vs. test262 suite related to locale handing and currency.
cira@google.com [Fri, 3 Aug 2012 22:14:19 +0000 (22:14 +0000)]
Fixing test failures vs. test262 suite related to locale handing and currency.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@114 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoMake resolvedOptions non-enumerable as per spec.
cira@google.com [Fri, 3 Aug 2012 20:31:33 +0000 (20:31 +0000)]
Make resolvedOptions non-enumerable as per spec.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@113 24c52dca-d3ef-abce-e343-6dbe4d066545

23 months agoFix time zone problems in tests.
cira@google.com [Thu, 2 Aug 2012 22:42:19 +0000 (22:42 +0000)]
Fix time zone problems in tests.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@112 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoSplit intl.js into separate chunks for easier development and readablity.
cira@google.com [Fri, 13 Jul 2012 08:00:48 +0000 (08:00 +0000)]
Split intl.js into separate chunks for easier development and readablity.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@111 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoAdded support for number format parse. Currency and scientific are missing.
cira@google.com [Wed, 11 Jul 2012 15:46:02 +0000 (15:46 +0000)]
Added support for number format parse. Currency and scientific are missing.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@109 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoAdding parse() support to DateTimeFormat. Small cleanup in code.
cira@google.com [Wed, 11 Jul 2012 12:30:29 +0000 (12:30 +0000)]
Adding parse() support to DateTimeFormat. Small cleanup in code.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@107 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoAdding break iterator. Adding more tests. Fixing security bug crbug=129942
cira@google.com [Wed, 20 Jun 2012 11:20:46 +0000 (11:20 +0000)]
Adding break iterator. Adding more tests. Fixing security bug crbug=129942

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@105 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoAdded test for constructing default locale with {}. This should fail, but for now...
cira@google.com [Wed, 23 May 2012 00:00:57 +0000 (00:00 +0000)]
Added test for constructing default locale with {}. This should fail, but for now ChromeOS uses it.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@104 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoBUG=26, zh-TW mapped internally to zh-Hant-TW.
cira@google.com [Tue, 22 May 2012 22:43:55 +0000 (22:43 +0000)]
BUG=26, zh-TW mapped internally to zh-Hant-TW.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@100 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoSecond part of BUG=23.
cira@google.com [Tue, 22 May 2012 21:23:03 +0000 (21:23 +0000)]
Second part of BUG=23.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@99 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoBUG=23. Added tests.
cira@google.com [Tue, 22 May 2012 21:02:48 +0000 (21:02 +0000)]
BUG=23. Added tests.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@98 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoBUG=25 implemented.
cira@google.com [Tue, 22 May 2012 18:00:43 +0000 (18:00 +0000)]
BUG=25 implemented.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@97 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoBUG=24 implemented. Also fixed run-tests.py in each folder to take current dir into...
cira@google.com [Tue, 22 May 2012 17:37:00 +0000 (17:37 +0000)]
BUG=24 implemented. Also fixed run-tests.py in each folder to take current dir into the account.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@96 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoLicense fix.
cira@google.com [Fri, 18 May 2012 16:56:31 +0000 (16:56 +0000)]
License fix.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@90 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoFixing test-runner builder flags.
cira@google.com [Thu, 17 May 2012 18:30:58 +0000 (18:30 +0000)]
Fixing test-runner builder flags.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@89 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoAdding tests for depricated v8Locale API.
cira@google.com [Thu, 17 May 2012 18:17:54 +0000 (18:17 +0000)]
Adding tests for depricated v8Locale API.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@88 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoFix run-402-tests.py status output.
cira@google.com [Wed, 16 May 2012 23:29:18 +0000 (23:29 +0000)]
Fix run-402-tests.py status output.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@84 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoMaintain only one set of documentation.
cira@google.com [Wed, 16 May 2012 23:02:07 +0000 (23:02 +0000)]
Maintain only one set of documentation.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@83 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoMerging unittest branch to trunk.
cira@google.com [Wed, 16 May 2012 21:31:05 +0000 (21:31 +0000)]
Merging unittest branch to trunk.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@79 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoSimplify extension parsing. Add numeric, normalization and caseFirst options.
cira@google.com [Thu, 10 May 2012 23:00:58 +0000 (23:00 +0000)]
Simplify extension parsing. Add numeric, normalization and caseFirst options.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@68 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoRemoving static init. from new API classes. Added GetTemplate() method that creates...
cira@google.com [Wed, 9 May 2012 20:33:05 +0000 (20:33 +0000)]
Removing static init. from new API classes. Added GetTemplate() method that creates onetemplate for all services.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@67 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoUpdate collator.h license. Rename Match into Matcher per spec. Remove kc, kb, kh...
cira@google.com [Mon, 7 May 2012 17:47:37 +0000 (17:47 +0000)]
Update collator.h license. Rename Match into Matcher per spec. Remove kc, kb, kh switches for collation. Remove defineProperty new Intl.XXX().

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@65 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoFix unsigned-signed missmatch in language-matcher.
cira@google.com [Tue, 1 May 2012 21:48:01 +0000 (21:48 +0000)]
Fix unsigned-signed missmatch in language-matcher.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@57 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoAdding new API to the trunk. Intl is v8Intl for now.
cira@google.com [Tue, 1 May 2012 20:51:55 +0000 (20:51 +0000)]
Adding new API to the trunk. Intl is v8Intl for now.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@53 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoUpdating LICENSE file. git-svn
cira@google.com [Fri, 9 Mar 2012 23:05:34 +0000 (23:05 +0000)]
Updating LICENSE file.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@32 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoLicense file added to v8-i18n as per https://chromiumcodereview.appspot.com/9639009
cira@google.com [Fri, 9 Mar 2012 22:22:37 +0000 (22:22 +0000)]
License file added to v8-i18n as per https://chromiumcodereview.appspot.com/9639009

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@31 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoRemove icu header rule from gyp. See Chromium bug 103360
cira@google.com [Tue, 14 Feb 2012 00:58:26 +0000 (00:58 +0000)]
Remove icu header rule from gyp. See Chromium bug 103360

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@25 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoMerged testing branch of api.js into trunk
roozbeh@google.com [Thu, 2 Feb 2012 22:05:22 +0000 (22:05 +0000)]
Merged testing branch of api.js into trunk

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@21 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoMerged testing branch of api.js into trunk
roozbeh@google.com [Fri, 13 Jan 2012 00:35:40 +0000 (00:35 +0000)]
Merged testing branch of api.js into trunk

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@19 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoFix out of bounds array assignment in v8-i18n language-matcher.
cira@google.com [Tue, 15 Nov 2011 20:06:17 +0000 (20:06 +0000)]
Fix out of bounds array assignment in v8-i18n language-matcher.

BUG=104011
TEST=Use crash1.html file in the bug report.
Review URL: http://codereview.chromium.org/8570009

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@7 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoFixing a date time format bug (see http://codereview.chromium.org/7647027).
cira@google.com [Mon, 15 Aug 2011 22:28:38 +0000 (22:28 +0000)]
Fixing a date time format bug (see codereview.chromium.org/7647027).
Review URL: http://codereview.chromium.org/7633070

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@5 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoMissed a file in the other CL.
cira@google.com [Tue, 9 Aug 2011 22:41:44 +0000 (22:41 +0000)]
Missed a file in the other CL.
Review URL: http://codereview.chromium.org/7604011

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@4 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoInitial check in.
cira@google.com [Tue, 9 Aug 2011 22:38:34 +0000 (22:38 +0000)]
Initial check in.

Code's a clone of what's in v8/src/extensions/experimental except for changed build rules and include paths. Some files were renamed.

Logic was not changed.
Review URL: http://codereview.chromium.org/7605004

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@3 24c52dca-d3ef-abce-e343-6dbe4d066545

2 years agoInitial directory structure.
(no author) [Mon, 8 Aug 2011 17:34:33 +0000 (17:34 +0000)]
Initial directory structure.

git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@1 24c52dca-d3ef-abce-e343-6dbe4d066545