- 15 Aug, 2011 1 commit
-
-
cira@chromium.org authored
BUG=v8:1602 TEST=new (new v8Locale().createDateTimeFormat()).getWeekdays should return Error not a Null. Review URL: http://codereview.chromium.org/7647027 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8935 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Jul, 2011 1 commit
-
-
cira@chromium.org authored
ICU 4.6 NumberFormat::EStyle enum is gone in ICU 4.8. Adding #if #else to make it work across versions. There was an ICU cleanup (removing all C++ style enums and replacing them with plain C enums). NumberFormat::EStyle had a draft status (from ICU 4.2) and it was cut. Confusion came up because DateFormat::EStyle is stable and won't be removed. TEST=Compile Chromium with ICU 4.6 and ICU 4.8 BUG=1561 Review URL: http://codereview.chromium.org/7421003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8701 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Jun, 2011 1 commit
-
-
cira@chromium.org authored
Change timeType and dateType in i18n date format API into timeStyle and dateStyle to match the proposal. I've kept old keys too, until ChromeOS user switches to time/dateStyle. Fixed regex for matching styles in date and number format. TEST=i18n.kaziprst.org/datetimeformat.html should show proper results for both timeType and timeStyle. Review URL: http://codereview.chromium.org/7244008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8423 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Jun, 2011 1 commit
-
-
cira@chromium.org authored
This is the last part of the API that belongs in public spec. Methods supported: - format - derive Options supported: - style (decimal, scientific, currency and percent) - pattern - skeleton TEST= Visit i18n.kaziprst.org/numberformat.html Review URL: http://codereview.chromium.org/7129051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8379 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Jun, 2011 1 commit
-
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/7205030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8335 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Jun, 2011 2 commits
-
-
karlklose@chromium.org authored
Review URL: http://codereview.chromium.org/7187007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8315 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
karlklose@chromium.org authored
This reverts commit ceb31498b9d69edca3260820fb4047045891ce6d. TBR=kmillikin@chromium.org Review URL: http://codereview.chromium.org/7172030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8308 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Jun, 2011 1 commit
-
-
karlklose@chromium.org authored
Review URL: http://codereview.chromium.org/7167006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8300 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Jun, 2011 1 commit
-
-
http://codereview.chromium.org/7014019cira@chromium.org authored
Adding DateTimeFormat class to i18n API with following methods: - format - getWeekdays - getMonths - get Eras - getAmPm Difference from the reverted revision: Removed all references to v8/src, like ASSERT_EQ. All #includes have full path to include/v8.h or extension headers. TEST=Visit i18n.kaziprst.org/datetimeformat.html Review URL: http://codereview.chromium.org/7105002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8151 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 31 May, 2011 1 commit
-
-
cira@chromium.org authored
Removed I18N enum from v8/src/natives.h Removed use of Vector and natives.h from i18n-extension.cc. Added new python script that generates i18n-js.cc from i18n.js. Made all paths absolute pointing to either v8/include or v8/src/extensions/experimental. Exported -Iv8 for embedders (-Iv8/include was there already). Review URL: http://codereview.chromium.org/7077012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8127 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 25 May, 2011 1 commit
-
-
http://codereview.chromium.org/7033038cira@chromium.org authored
Make 'ignoreCase' work in collator. BUG=28604 TEST=http://www.i18nl10n.com/chrome/coll.html Review URL: http://codereview.chromium.org/7008023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8066 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 May, 2011 2 commits
-
-
ager@chromium.org authored
changes to unblock V8 release. Revert "Adding DateTimeFormat class to i18n API with following methods:" Revert "Some internal methods are requested when v8 is built as DLL (V8_SHARED), and" R=sgjesse@chromium.org Review URL: http://codereview.chromium.org/7060005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7981 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
they are not available. Make them no-op (or better yet part of public API). TEST = Build Chromium with V8_SHARED Review URL: http://codereview.chromium.org/7004051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7973 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 May, 2011 1 commit
-
-
cira@chromium.org authored
- format - getWeekdays - getMonths - get Eras - getAmPm TEST=Visit i18n.kaziprst.org/datetimeformat.html Review URL: http://codereview.chromium.org/7014019 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7967 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 May, 2011 1 commit
-
-
http://codereview.chromium.org/6901141cira@chromium.org authored
Changes from previus revision: - Made my own strncpy in I18NUtils class (we can't use OS::SNPrintF nor snprintf). - Fixed a crashing bug related to ICU call in LanguageMatcher::BCP47ToICUFormat. TEST=Visit i18n.kaziprst.org/locale.html Review URL: http://codereview.chromium.org/6928017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7796 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 May, 2011 1 commit
-
-
sgjesse@chromium.org authored
This broke the Chromium Windows shared build. BUG=none TEST=Windows shared build works when pushed to Chromium Review URL: http://codereview.chromium.org/6932007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7777 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 May, 2011 1 commit
-
-
cira@chromium.org authored
Change v8Locale to match proposal - constructor is different (takes settings object, not a plain string) and I've added derive method to it. Added comments to i18n.js methods and properties, and util functions to check settings and locale validity. Added LanguageMatcher class until ICU gets C implementation (in progress, but late for our current deadline). I added TODO to remove LanguageMatcher code. TEST=Visit http://i18n.kaziprst.org/locale.html. Review URL: http://codereview.chromium.org/6901141 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7768 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Apr, 2011 1 commit
-
-
ricow@chromium.org authored
Revert 7634, Fix experimental.gyp to include i18n-empty-js.cc so that js2c.py get correct parameters. This caused all chromium based builds to fail (e.g., DumpRenderTree) Review URL: http://codereview.chromium.org/6882003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7643 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Apr, 2011 2 commits
-
-
cira@chromium.org authored
Bug occured somewhere in the merge process. Review URL: http://codereview.chromium.org/6875013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7634 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Clean up the use of js2c. We generated two identical files. R=sgjesse@chromium.org,rossberg@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6865013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7630 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Apr, 2011 1 commit
-
-
cira@chromium.org authored
This is a partial implementation of Collator per what's agreed upon at the last ECMAScript meeting + mailing list. Only the following three options are implemented: ignoreAccent, ignoreCase, numeric. ChromeOS and Chrome need this feature for M12. This could be added as chrome extension API. Giiven that we have a rough agreement on the collation part of ECMAScript API, we thought it'd save us some duplicated work adding this to v8 (experimental i18n api) now rather than implementing it in Chrome now and moving it later. BUG=28604 TEST=http://i18nl10n.com/chrome/coll2.html Review URL: http://codereview.chromium.org/6673011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7620 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Apr, 2011 1 commit
-
-
cira@chromium.org authored
Moving locale code from i18n-extension.cc. Each part of the API now has separate cc file, and only extension related code is left in i18n-extension.{cc,h}. There are no functional changes in this CL. Review URL: http://codereview.chromium.org/6840024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7608 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Apr, 2011 1 commit
-
-
cira@chromium.org authored
tools/js2c.py script. Added new type I18N to natives.h enum. Review URL: http://codereview.chromium.org/6825049 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7591 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Apr, 2011 1 commit
-
-
ager@chromium.org authored
Chromium builds with U_USING_ICU_NAMESPACE=0, so we need this. Landing for thakis@chromium.org. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7487 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Mar, 2011 3 commits
-
-
vitalyr@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7271 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7269 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
Review URL: http://codereview.chromium.org/6685088 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7268 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Mar, 2011 1 commit
-
-
cira@chromium.org authored
Icu setText method keeps pointer to text, it doesn't copy it so we have to keep text around for the lifetime of the break iterator object, or next setText operation. Review URL: http://codereview.chromium.org/6609038 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7063 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Mar, 2011 1 commit
-
-
cira@chromium.org authored
This is vendor specific, and is prefixed by v8. WebKit layout tests will be added in a separate CL. Review URL: http://codereview.chromium.org/6610006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7051 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 02 Mar, 2011 2 commits
-
-
ager@chromium.org authored
the Windows WebCore build. http://build.chromium.org/p/client.v8/builders/Webkit/builds/854/steps/compile/logs/stdio TBR=cira@chromium.org Review URL: http://codereview.chromium.org/6596100 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7009 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
If this does not work I will revert the latests changes to the experimental i8n extension. TBR=cira@chromium.org Review URL: http://codereview.chromium.org/6594111 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7008 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Mar, 2011 1 commit
-
-
cira@chromium.org authored
This is vendor specific, and is prefixed by v8. WebKit layout tests will be added in a separate CL. Review URL: http://codereview.chromium.org/6598014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7006 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Feb, 2011 1 commit
-
-
ricow@chromium.org authored
In addition to the regression test I changed the gc-extension to take a boolean flag specifying if compaction should be used (default is false, existing tests will not change behaviour) The regression test is disabled on arm and x64 with crankshaft enabled. I made a bug to track this: http://code.google.com/p/v8/issues/detail?id=1094 Review URL: http://codereview.chromium.org/6312118 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6619 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 31 Jan, 2011 1 commit
-
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/6332022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6530 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Jan, 2011 1 commit
-
-
ager@chromium.org authored
Chromium already sets this variable in common.gypi which is force included to all gyp files in the build. Review URL: http://codereview.chromium.org/6250025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6433 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Jan, 2011 1 commit
-
-
ager@chromium.org authored
Adding gyp file for all of the experimental extensions (currently i18n-extension only). Embedder should define icu_src_path to point to their copy of ICU library. Code review URL: http://codereview.chromium.org/6246003/ git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6296 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Dec, 2010 1 commit
-
-
ager@chromium.org authored
Adding experimental JavaScript internationalization API to V8 as an extension. This CL implements Locale object only. Each embeder has to decide whether to include this extension or not by editing their build rules. See ecmascript strawman document for details on i18n API. http://wiki.ecmascript.org/doku.php?id=strawman:i18n_api TEST=WebKit CL (in progress) will have layout tests for extension. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5983 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Nov, 2010 1 commit
-
-
ager@chromium.org authored
Remove extensions from the external reference table. They should never be part of the serialized code. Create extensions/experimental subdirectory for experimental extensions not officially supported by V8. Review URL: http://codereview.chromium.org/5094003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-