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

Issue 2785073002: [dart:io] Adds Platform.localeName (Closed)

Created:
3 years, 8 months ago by zra
Modified:
3 years, 8 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, goderbauer
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : Propagate error correctly #

Patch Set 4 : Add Linux, Android, Fuchsia #

Patch Set 5 : Implement on Mac OS #

Patch Set 6 : Update CHANGELOG #

Total comments: 7

Patch Set 7 : Add missing copyright message. Address comments #

Total comments: 4

Patch Set 8 : Fixup ddc patch file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -2 lines) Patch
M CHANGELOG.md View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/io_natives.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/platform.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/bin/platform.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/bin/platform_android.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/platform_fuchsia.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/platform_linux.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/platform_macos.cc View 1 2 3 4 2 chunks +56 lines, -0 lines 0 comments Download
M runtime/bin/platform_patch.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/platform_unsupported.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/bin/platform_win.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/io_patch.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M sdk/lib/io/platform.dart View 2 chunks +6 lines, -0 lines 0 comments Download
M sdk/lib/io/platform_impl.dart View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A tests/standalone/io/locale_name_test.dart View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
zra
3 years, 8 months ago (2017-03-30 17:19:49 UTC) #2
siva
DBC https://codereview.chromium.org/2785073002/diff/90001/tests/standalone/io/locale_name_test.dart File tests/standalone/io/locale_name_test.dart (right): https://codereview.chromium.org/2785073002/diff/90001/tests/standalone/io/locale_name_test.dart#newcode14 tests/standalone/io/locale_name_test.dart:14: } Need status file update for dart2js, analyzer ...
3 years, 8 months ago (2017-03-30 17:35:35 UTC) #5
vsm
https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart File sdk/lib/_internal/js_runtime/lib/io_patch.dart (right): https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart#newcode257 sdk/lib/_internal/js_runtime/lib/io_patch.dart:257: } DBC Can you add the same here as ...
3 years, 8 months ago (2017-03-30 17:38:55 UTC) #7
zra
https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart File sdk/lib/_internal/js_runtime/lib/io_patch.dart (right): https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart#newcode257 sdk/lib/_internal/js_runtime/lib/io_patch.dart:257: } On 2017/03/30 17:38:55, vsm wrote: > DBC > ...
3 years, 8 months ago (2017-03-30 17:48:39 UTC) #8
vsm
https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart File sdk/lib/_internal/js_runtime/lib/io_patch.dart (right): https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart#newcode257 sdk/lib/_internal/js_runtime/lib/io_patch.dart:257: } On 2017/03/30 17:48:38, zra wrote: > On 2017/03/30 ...
3 years, 8 months ago (2017-03-30 18:00:14 UTC) #9
zra
https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart File sdk/lib/_internal/js_runtime/lib/io_patch.dart (right): https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart#newcode257 sdk/lib/_internal/js_runtime/lib/io_patch.dart:257: } On 2017/03/30 18:00:14, vsm wrote: > On 2017/03/30 ...
3 years, 8 months ago (2017-03-30 18:08:20 UTC) #10
Alan Knight
https://codereview.chromium.org/2785073002/diff/110001/sdk/lib/io/platform.dart File sdk/lib/io/platform.dart (right): https://codereview.chromium.org/2785073002/diff/110001/sdk/lib/io/platform.dart#newcode74 sdk/lib/io/platform.dart:74: static final _localeName = _Platform.localeName; It's possible, although rare, ...
3 years, 8 months ago (2017-03-30 18:11:18 UTC) #11
zra
https://codereview.chromium.org/2785073002/diff/110001/sdk/lib/io/platform.dart File sdk/lib/io/platform.dart (right): https://codereview.chromium.org/2785073002/diff/110001/sdk/lib/io/platform.dart#newcode74 sdk/lib/io/platform.dart:74: static final _localeName = _Platform.localeName; On 2017/03/30 18:11:18, Alan ...
3 years, 8 months ago (2017-03-30 18:14:31 UTC) #12
zra
https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart File sdk/lib/_internal/js_runtime/lib/io_patch.dart (right): https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart#newcode257 sdk/lib/_internal/js_runtime/lib/io_patch.dart:257: } On 2017/03/30 18:08:19, zra wrote: > On 2017/03/30 ...
3 years, 8 months ago (2017-03-30 19:09:47 UTC) #13
Florian Schneider
Lgtm
3 years, 8 months ago (2017-03-30 19:28:08 UTC) #14
vsm
On 2017/03/30 19:09:47, zra wrote: > https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart > File sdk/lib/_internal/js_runtime/lib/io_patch.dart (right): > > https://codereview.chromium.org/2785073002/diff/90001/sdk/lib/_internal/js_runtime/lib/io_patch.dart#newcode257 > ...
3 years, 8 months ago (2017-03-30 19:34:44 UTC) #15
zra
Committed patchset #8 (id:130001) manually as ae6d854ec6134bda2f64d2747b5cd9b534c5bb04 (presubmit successful).
3 years, 8 months ago (2017-03-30 20:31:19 UTC) #17
zra
On 2017/03/30 20:31:19, zra wrote: > Committed patchset #8 (id:130001) manually as > ae6d854ec6134bda2f64d2747b5cd9b534c5bb04 (presubmit ...
3 years, 8 months ago (2017-03-30 20:35:47 UTC) #18
zra
3 years, 8 months ago (2017-03-30 20:52:43 UTC) #19
Message was sent while issue was closed.
On 2017/03/30 20:35:47, zra wrote:
> On 2017/03/30 20:31:19, zra wrote:
> > Committed patchset #8 (id:130001) manually as
> > ae6d854ec6134bda2f64d2747b5cd9b534c5bb04 (presubmit successful).
> 
> The build failed on the Mac buildbots, reverted here:
> https://codereview.chromium.org/2791453002/

Relanded here: https://codereview.chromium.org/2786183003/

Powered by Google App Engine
This is Rietveld 408576698