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

Issue 1307183002: Add access to the isolate package-root/package-map in Platform. (Closed)

Created:
5 years, 4 months ago by Lasse Reichstein Nielsen
Modified:
5 years, 2 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, sethladd
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add access to the isolate package-root/package-map in Platform. BUG= http://dartbug.com/24022

Patch Set 1 #

Total comments: 26

Patch Set 2 : replace packageRoot getter, remove C++ imp. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -23 lines) Patch
M CHANGELOG.md View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/io_natives.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M runtime/bin/platform.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download
M runtime/bin/platform_patch.dart View 1 1 chunk +0 lines, -1 line 0 comments Download
M sdk/lib/io/platform.dart View 1 1 chunk +19 lines, -5 lines 0 comments Download
M sdk/lib/io/platform_impl.dart View 1 2 chunks +17 lines, -2 lines 0 comments Download
M tests/standalone/io/platform_test.dart View 1 1 chunk +14 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (3 generated)
Lasse Reichstein Nielsen
WDYT?
5 years, 4 months ago (2015-08-24 14:28:30 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/1307183002/diff/1/sdk/lib/io/platform.dart File sdk/lib/io/platform.dart (right): https://codereview.chromium.org/1307183002/diff/1/sdk/lib/io/platform.dart#newcode183 sdk/lib/io/platform.dart:183: * If there is no --package-root flag, then ...
5 years, 4 months ago (2015-08-24 15:09:45 UTC) #3
nweiz
LGTM! https://codereview.chromium.org/1307183002/diff/1/sdk/lib/io/platform.dart File sdk/lib/io/platform.dart (right): https://codereview.chromium.org/1307183002/diff/1/sdk/lib/io/platform.dart#newcode192 sdk/lib/io/platform.dart:192: * URIs are resolved against. It would be ...
5 years, 4 months ago (2015-08-25 01:17:05 UTC) #5
Ivan Posva
More in-depth review forthcoming. -Ivan https://codereview.chromium.org/1307183002/diff/1/sdk/lib/io/platform.dart File sdk/lib/io/platform.dart (right): https://codereview.chromium.org/1307183002/diff/1/sdk/lib/io/platform.dart#newcode206 sdk/lib/io/platform.dart:206: * URIs. Should return ...
5 years, 4 months ago (2015-08-25 04:50:40 UTC) #6
Lasse Reichstein Nielsen
https://codereview.chromium.org/1307183002/diff/1/sdk/lib/io/platform.dart File sdk/lib/io/platform.dart (right): https://codereview.chromium.org/1307183002/diff/1/sdk/lib/io/platform.dart#newcode183 sdk/lib/io/platform.dart:183: * If there is no --package-root flag, then the ...
5 years, 4 months ago (2015-08-25 06:23:00 UTC) #7
Søren Gjesse
lgtm
5 years, 4 months ago (2015-08-25 07:36:41 UTC) #8
kevmoo
DBC: include a corresponding update to CHANGELOG.md, please :-)
5 years, 4 months ago (2015-08-25 21:32:00 UTC) #10
Ivan Posva
This does not Look Good in the current state as the accessors are all synchronous ...
5 years, 4 months ago (2015-08-26 04:29:36 UTC) #11
Lasse Reichstein Nielsen
https://codereview.chromium.org/1307183002/diff/1/runtime/bin/platform.cc File runtime/bin/platform.cc (right): https://codereview.chromium.org/1307183002/diff/1/runtime/bin/platform.cc#newcode88 runtime/bin/platform.cc:88: void FUNCTION_NAME(Platform_PackageResolution)(Dart_NativeArguments args) { Excellent. It did seem a ...
5 years, 4 months ago (2015-08-26 06:26:06 UTC) #12
nweiz
Making these APIs asynchronous would be a serious problem for package ecosystem users. Asynchrony is ...
5 years, 3 months ago (2015-08-26 19:21:58 UTC) #13
Ivan Posva
On 2015/08/26 19:21:58, nweiz wrote: > Making these APIs asynchronous would be a serious problem ...
5 years, 3 months ago (2015-08-27 04:28:23 UTC) #14
Lasse Reichstein Nielsen
On 2015/08/27 04:28:23, Ivan Posva wrote: > On 2015/08/26 19:21:58, nweiz wrote: > > Making ...
5 years, 3 months ago (2015-08-27 05:16:49 UTC) #15
Ivan Posva
On 2015/08/27 05:16:49, Lasse Reichstein Nielsen wrote: > On 2015/08/27 04:28:23, Ivan Posva wrote: > ...
5 years, 3 months ago (2015-08-27 05:21:09 UTC) #16
Ivan Posva
On 2015/08/27 05:21:09, Ivan Posva wrote: > On 2015/08/27 05:16:49, Lasse Reichstein Nielsen wrote: > ...
5 years, 3 months ago (2015-08-27 05:31:50 UTC) #17
Lasse Reichstein Nielsen
On 2015/08/27 05:31:50, Ivan Posva wrote: > On 2015/08/27 05:21:09, Ivan Posva wrote: > > ...
5 years, 3 months ago (2015-08-27 06:26:55 UTC) #18
sethladd
As someone who has written a lot of command-line Dart apps, and someone who has ...
5 years, 3 months ago (2015-08-27 16:46:29 UTC) #19
nweiz
> P.S. This is not even start taking into account how to make a synchronous ...
5 years, 3 months ago (2015-08-28 01:06:28 UTC) #20
kevmoo
On 2015/08/28 01:06:28, nweiz wrote: > > P.S. This is not even start taking into ...
5 years, 2 months ago (2015-10-08 23:14:31 UTC) #21
Lasse Reichstein Nielsen
5 years, 2 months ago (2015-10-09 08:21:14 UTC) #22
It is dead, Ivan took over the implementation.

Powered by Google App Engine
This is Rietveld 408576698