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

Issue 10917069: Async initialization for DateFormat (Closed)

Created:
8 years, 3 months ago by Alan Knight
Modified:
8 years, 3 months ago
Reviewers:
vsm, Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Async initialization for DateFormat Committed: https://code.google.com/p/dart/source/detail?r=11901

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 45

Patch Set 6 : #

Patch Set 7 : #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+987 lines, -3973 lines) Patch
A pkg/intl/data/dates/README.txt View 1 2 3 4 5 1 chunk +16 lines, -0 lines 1 comment Download
A pkg/intl/data/dates/localeList.dart View 1 chunk +85 lines, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/af.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/am.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ar.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/bg.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/bn.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ca.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/cs.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/da.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/de.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/de_AT.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/de_CH.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/el.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en_AU.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en_GB.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en_IE.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en_IN.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en_ISO.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en_SG.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en_US.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/en_ZA.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/es.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/es_419.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/et.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/eu.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/fa.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/fi.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/fil.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/fr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/fr_CA.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/gl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/gsw.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/gu.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/he.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/hi.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/hr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/hu.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/id.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/in.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/is.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/it.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/iw.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ja.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/kn.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ko.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ln.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/lt.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/lv.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ml.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/mr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ms.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/mt.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/nl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/no.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/or.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/pl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/pt.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/pt_BR.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/pt_PT.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ro.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ru.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/sk.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/sl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/sq.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/sr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/sv.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/sw.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ta.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/te.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/th.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/tl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/tr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/uk.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/ur.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/vi.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/zh.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/zh_CN.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/zh_HK.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/zh_TW.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/patterns/zu.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/af.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/am.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ar.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/bg.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/bn.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ca.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/cs.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/da.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/de.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/de_AT.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/de_CH.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/el.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en_AU.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en_GB.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en_IE.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en_IN.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en_ISO.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en_SG.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en_US.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/en_ZA.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/es.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/es_419.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/et.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/eu.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/fa.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/fi.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/fil.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/fr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/fr_CA.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/gl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/gsw.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/gu.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/he.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/hi.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/hr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/hu.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/id.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/in.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/is.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/it.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/iw.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ja.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/kn.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ko.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ln.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/lt.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/lv.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ml.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/mr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ms.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/mt.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/nl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/no.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/or.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/pl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/pt.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/pt_BR.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/pt_PT.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ro.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ru.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/sk.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/sl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/sq.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/sr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/sv.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/sw.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ta.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/te.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/th.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/tl.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/tr.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/uk.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/ur.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/vi.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/zh.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/zh_CN.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/zh_HK.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/zh_TW.json View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/intl/data/dates/symbols/zu.json View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/intl/date_format.dart View 1 2 3 4 5 2 chunks +8 lines, -3 lines 0 comments Download
D pkg/intl/date_symbol_data.dart View 1 chunk +0 lines, -3548 lines 0 comments Download
A pkg/intl/date_symbol_data_file.dart View 1 2 3 4 5 1 chunk +44 lines, -0 lines 2 comments Download
A + pkg/intl/date_symbol_data_local.dart View 1 2 3 4 5 80 chunks +102 lines, -82 lines 2 comments Download
M pkg/intl/date_symbols.dart View 1 2 3 4 5 3 chunks +69 lines, -7 lines 0 comments Download
M pkg/intl/date_time_patterns.dart View 1 2 3 4 5 2 chunks +56 lines, -1 line 0 comments Download
A pkg/intl/lib/date_format_internal.dart View 1 2 3 4 5 1 chunk +64 lines, -0 lines 0 comments Download
A pkg/intl/lib/file_data_reader.dart View 1 chunk +27 lines, -0 lines 0 comments Download
A pkg/intl/lib/intl_helpers.dart View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
A pkg/intl/lib/lazy_locale_data.dart View 1 2 3 4 5 1 chunk +121 lines, -0 lines 0 comments Download
A pkg/intl/test/data_directory.dart View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
A pkg/intl/test/date_time_format_file_test.dart View 1 chunk +28 lines, -0 lines 0 comments Download
A pkg/intl/test/date_time_format_local_test.dart View 1 chunk +26 lines, -0 lines 0 comments Download
D pkg/intl/test/date_time_format_test.dart View 1 chunk +0 lines, -311 lines 0 comments Download
A + pkg/intl/test/date_time_format_test_core.dart View 1 2 3 4 5 4 chunks +19 lines, -19 lines 0 comments Download
M pkg/intl/test/date_time_format_test_data.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/intl/test/intl_test.dart View 1 chunk +8 lines, -2 lines 0 comments Download
A pkg/intl/tools/generate_locale_data_files.dart View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
M pkg/pkg.status View 1 2 3 4 5 1 chunk +4 lines, -0 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
Alan Knight
This looks like considerably more changes than it is because it includes re-arranging some files ...
8 years, 3 months ago (2012-09-03 23:48:36 UTC) #1
Emily Fortuna
looking good. mostly minor details. https://chromiumcodereview.appspot.com/10917069/diff/6001/pkg/intl/data/dates/symbols/af.json File pkg/intl/data/dates/symbols/af.json (right): https://chromiumcodereview.appspot.com/10917069/diff/6001/pkg/intl/data/dates/symbols/af.json#newcode1 pkg/intl/data/dates/symbols/af.json:1: {"DATEFORMATS":["EEEE dd MMMM y","dd ...
8 years, 3 months ago (2012-09-04 20:14:42 UTC) #2
Alan Knight
PTAL https://chromiumcodereview.appspot.com/10917069/diff/6001/pkg/intl/data/dates/symbols/af.json File pkg/intl/data/dates/symbols/af.json (right): https://chromiumcodereview.appspot.com/10917069/diff/6001/pkg/intl/data/dates/symbols/af.json#newcode1 pkg/intl/data/dates/symbols/af.json:1: {"DATEFORMATS":["EEEE dd MMMM y","dd MMMM y","dd MMM y","yyyy-MM-dd"],"NARROWWEEKDAYS":["S","M","D","W","D","V","S"],"STANDALONESHORTMONTHS":["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],"ERANAMES":["voor ...
8 years, 3 months ago (2012-09-04 23:39:03 UTC) #3
Emily Fortuna
lgtm with a few minor comments! https://chromiumcodereview.appspot.com/10917069/diff/6001/pkg/intl/data/dates/symbols/ar.json File pkg/intl/data/dates/symbols/ar.json (right): https://chromiumcodereview.appspot.com/10917069/diff/6001/pkg/intl/data/dates/symbols/ar.json#newcode1 pkg/intl/data/dates/symbols/ar.json:1: {"DATEFORMATS":["EEEE، d MMMM، ...
8 years, 3 months ago (2012-09-05 01:06:20 UTC) #4
Alan Knight
Committed as 11901 https://chromiumcodereview.appspot.com/10917069/diff/3182/pkg/intl/date_symbol_data_file.dart File pkg/intl/date_symbol_data_file.dart (right): https://chromiumcodereview.appspot.com/10917069/diff/3182/pkg/intl/date_symbol_data_file.dart#newcode23 pkg/intl/date_symbol_data_file.dart:23: * The [path] parameter should end ...
8 years, 3 months ago (2012-09-05 19:56:02 UTC) #5
vsm
8 years, 3 months ago (2012-09-05 21:09:35 UTC) #6
https://chromiumcodereview.appspot.com/10917069/diff/3182/pkg/pkg.status
File pkg/pkg.status (right):

https://chromiumcodereview.appspot.com/10917069/diff/3182/pkg/pkg.status#newc...
pkg/pkg.status:19: [ $runtime == opera || $runtime == ff || $runtime == ie ||
$runtime == dartium || $runtime == chrome || $runtime == safari || $runtime ==
dartium ]
I think one of these runtimes should be 'drt'.  It's failed on the bot now.

Powered by Google App Engine
This is Rietveld 408576698