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

Issue 299323004: Fix dartbug.com/18725 by avoiding to rewrite into the console at process (Closed)

Created:
6 years, 7 months ago by kasperl
Modified:
6 years, 7 months ago
Reviewers:
devoncarew, keertip
CC:
reviews_dartlang.org, ricow1
Visibility:
Public.

Description

Fix dartbug.com/18725 by avoiding to rewrite into the console at process launch time (writes apparently appear on the stdin of the launched process). This is not necessarily the fix you want to go with, but I thought I'd send it your way because it fixes the (pretty bad) issue that puts extra stuff on the stdin for processes. I also like that the output from the process is cleanly separated from the editor UI bits (showing the cmdline). Ideally, we can also make the Observatory print (from the VM) go away so the output in the console is completely under the app's control. R=devoncarew@google.com, keertip@google.com BUG=dartbug.com/18725 Committed: https://code.google.com/p/dart/source/detail?r=36643

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -25 lines) Patch
M editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/console/DartConsoleView.java View 1 4 chunks +6 lines, -25 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
kasperl
6 years, 7 months ago (2014-05-26 09:15:27 UTC) #1
devoncarew
lgtm Thanks for the fix! lgtm, with one suggested change. https://codereview.chromium.org/299323004/diff/1/editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/console/DartConsoleView.java File editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/console/DartConsoleView.java (left): https://codereview.chromium.org/299323004/diff/1/editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/console/DartConsoleView.java#oldcode201 ...
6 years, 7 months ago (2014-05-26 18:10:38 UTC) #2
kasperl
Thanks for the review! https://codereview.chromium.org/299323004/diff/1/editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/console/DartConsoleView.java File editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/console/DartConsoleView.java (left): https://codereview.chromium.org/299323004/diff/1/editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/console/DartConsoleView.java#oldcode201 editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/console/DartConsoleView.java:201: private static final String NEW_LINE ...
6 years, 7 months ago (2014-05-27 06:35:08 UTC) #3
kasperl
6 years, 7 months ago (2014-05-27 06:36:25 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r36643 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698