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

Issue 27112002: Make print interceptable. (Closed)

Created:
7 years, 2 months ago by floitsch
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, vsm, sra1, srdjan
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix dart2js import. #

Patch Set 3 : Create specialized root zones. #

Total comments: 2

Patch Set 4 : Make it easier on dart2js. #

Patch Set 5 : Make it easier for dart2js. #

Total comments: 11

Patch Set 6 : Address comments. #

Total comments: 6

Patch Set 7 : Address comments. #

Patch Set 8 : Address comment. #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -52 lines) Patch
M runtime/bin/dartutils.cc View 2 chunks +7 lines, -5 lines 2 comments Download
M runtime/lib/collection_dev_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/lib/corelib_sources.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/lib/print_patch.dart View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_collection_dev/collection_dev.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_collection_dev/collection_dev_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A sdk/lib/_collection_dev/print.dart View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
M sdk/lib/_internal/lib/collection_dev_patch.dart View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 1 comment Download
M sdk/lib/_internal/lib/core_patch.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M sdk/lib/_internal/lib/js_helper.dart View 1 2 3 4 5 6 1 chunk +0 lines, -36 lines 1 comment Download
M sdk/lib/async/async.dart View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/async/zone.dart View 1 2 3 4 5 14 chunks +43 lines, -0 lines 5 comments Download
M sdk/lib/core/print.dart View 1 2 3 4 5 6 7 1 chunk +8 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mirrors_used_test.dart View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A tests/lib/async/intercept_print1_test.dart View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
floitsch
This is not yet ready to commit, but very close. Missing pieces: - how do ...
7 years, 2 months ago (2013-10-12 19:32:37 UTC) #1
Lasse Reichstein Nielsen
https://codereview.chromium.org/27112002/diff/1/sdk/lib/core/core.dart File sdk/lib/core/core.dart (right): https://codereview.chromium.org/27112002/diff/1/sdk/lib/core/core.dart#newcode160 sdk/lib/core/core.dart:160: import "dart:async" show Zone; Core imports async. Is that ...
7 years, 2 months ago (2013-10-14 07:45:34 UTC) #2
floitsch
PTAL. Size for "Hello World" is now much better, but unfortunately still very noticeable (from ...
7 years, 2 months ago (2013-10-14 13:28:47 UTC) #3
vsm
https://codereview.chromium.org/27112002/diff/8001/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://codereview.chromium.org/27112002/diff/8001/runtime/bin/dartutils.cc#newcode669 runtime/bin/dartutils.cc:669: Dart_Handle result = Dart_SetField(internal_lib, Florian: I assume this is ...
7 years, 2 months ago (2013-10-14 14:49:30 UTC) #4
floitsch
https://codereview.chromium.org/27112002/diff/8001/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://codereview.chromium.org/27112002/diff/8001/runtime/bin/dartutils.cc#newcode669 runtime/bin/dartutils.cc:669: Dart_Handle result = Dart_SetField(internal_lib, On 2013/10/14 14:49:30, vsm wrote: ...
7 years, 2 months ago (2013-10-14 15:17:31 UTC) #5
floitsch
PTAL. @vsm: what should I do for dartium? Size-increase is now down to a few ...
7 years, 2 months ago (2013-10-15 12:50:15 UTC) #6
kasperl
https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_collection_dev/print.dart File sdk/lib/_collection_dev/print.dart (right): https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_collection_dev/print.dart#newcode7 sdk/lib/_collection_dev/print.dart:7: /** Isn't this a seriously weird place for this ...
7 years, 2 months ago (2013-10-15 13:14:45 UTC) #7
floitsch
https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_collection_dev/print.dart File sdk/lib/_collection_dev/print.dart (right): https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_collection_dev/print.dart#newcode7 sdk/lib/_collection_dev/print.dart:7: /** On 2013/10/15 13:14:46, kasperl wrote: > Isn't this ...
7 years, 2 months ago (2013-10-15 13:46:48 UTC) #8
kasperl
https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_internal/lib/collection_dev_patch.dart File sdk/lib/_internal/lib/collection_dev_patch.dart (right): https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_internal/lib/collection_dev_patch.dart#newcode13 sdk/lib/_internal/lib/collection_dev_patch.dart:13: Primitives.printString(line); On 2013/10/15 13:46:49, floitsch wrote: > On 2013/10/15 ...
7 years, 2 months ago (2013-10-15 14:01:27 UTC) #9
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/27112002/diff/23001/sdk/lib/_collection_dev/print.dart File sdk/lib/_collection_dev/print.dart (right): https://codereview.chromium.org/27112002/diff/23001/sdk/lib/_collection_dev/print.dart#newcode8 sdk/lib/_collection_dev/print.dart:8: * This function is set by the first ...
7 years, 2 months ago (2013-10-15 14:12:02 UTC) #10
floitsch
https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_internal/lib/collection_dev_patch.dart File sdk/lib/_internal/lib/collection_dev_patch.dart (right): https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_internal/lib/collection_dev_patch.dart#newcode13 sdk/lib/_internal/lib/collection_dev_patch.dart:13: Primitives.printString(line); On 2013/10/15 14:01:27, kasperl wrote: > On 2013/10/15 ...
7 years, 2 months ago (2013-10-15 15:56:19 UTC) #11
floitsch
Committed patchset #8 manually as r28650 (presubmit successful).
7 years, 2 months ago (2013-10-15 16:02:24 UTC) #12
Ivan Posva
-Ivan https://codereview.chromium.org/27112002/diff/34001/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://codereview.chromium.org/27112002/diff/34001/runtime/bin/dartutils.cc#newcode665 runtime/bin/dartutils.cc:665: Dart_LookupLibrary(NewString("dart:_collection-dev")); In my opinion this has nothing to ...
7 years, 2 months ago (2013-10-16 07:19:51 UTC) #13
floitsch
https://codereview.chromium.org/27112002/diff/34001/runtime/bin/dartutils.cc File runtime/bin/dartutils.cc (right): https://codereview.chromium.org/27112002/diff/34001/runtime/bin/dartutils.cc#newcode665 runtime/bin/dartutils.cc:665: Dart_LookupLibrary(NewString("dart:_collection-dev")); On 2013/10/16 07:19:51, Ivan Posva wrote: > In ...
7 years, 2 months ago (2013-10-16 07:38:55 UTC) #14
Ivan Posva
On 2013/10/16 07:38:55, floitsch wrote: > https://codereview.chromium.org/27112002/diff/34001/runtime/bin/dartutils.cc > File runtime/bin/dartutils.cc (right): > > https://codereview.chromium.org/27112002/diff/34001/runtime/bin/dartutils.cc#newcode665 > ...
7 years, 2 months ago (2013-10-16 07:44:42 UTC) #15
ahe
DBC https://codereview.chromium.org/27112002/diff/34001/sdk/lib/_internal/lib/collection_dev_patch.dart File sdk/lib/_internal/lib/collection_dev_patch.dart (right): https://codereview.chromium.org/27112002/diff/34001/sdk/lib/_internal/lib/collection_dev_patch.dart#newcode5 sdk/lib/_internal/lib/collection_dev_patch.dart:5: import 'dart:_foreign_helper' show JS; In the future, please ...
7 years, 1 month ago (2013-11-04 09:01:19 UTC) #16
ahe
7 years, 1 month ago (2013-11-04 09:02:21 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_internal/lib/col...
File sdk/lib/_internal/lib/collection_dev_patch.dart (right):

https://codereview.chromium.org/27112002/diff/16001/sdk/lib/_internal/lib/col...
sdk/lib/_internal/lib/collection_dev_patch.dart:13:
Primitives.printString(line);
On 2013/10/15 14:01:27, kasperl wrote:
> On 2013/10/15 13:46:49, floitsch wrote:
> > On 2013/10/15 13:14:46, kasperl wrote:
> > > Maybe inline the Primitives.printString method in here?
> > 
> > Could do, but I thought that we wanted to avoid "JS" outside the js_helper
> > library.
> > Should I inline?
> 
> I think it would be nice to get rid of Primitives.printString. We do use the
JS
> helper from outside libraries -- for one example you can take a look at the
> patch that contains hash maps, etc.

OK conflicting messages.

I'll discuss this with Kasper.

Powered by Google App Engine
This is Rietveld 408576698