|
Revert "Make stdout/stderr async"
This makes writes to the stdout and stderr IOSinks in dart:io blocking again.
To get the non-blocking behaviour the getter "nonBlocking" will return an
IOSink with real non-blocking behaviour.
Updated the class exposed for stderr to also support checking for whether it
is connected to a terminal and checking the terminal size.
R=ajohnsen@google.com, iposva@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=42909
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+158 lines, -224 lines) |
Patch |
|
M |
pkg/analysis_server/lib/src/server/stdio_server.dart
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/io_natives.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/stdio.h
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/stdio.cc
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/stdio_linux.cc
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/bin/stdio_macos.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/stdio_patch.dart
|
View
|
1
|
2 chunks |
+8 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/bin/stdio_win.cc
|
View
|
1
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/js_lib/io_patch.dart
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
2 comments
|
Download
|
|
D |
sdk/lib/io/console.dart
|
View
|
1
|
1 chunk |
+0 lines, -97 lines |
0 comments
|
Download
|
|
M |
sdk/lib/io/io.dart
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/io/iolib_sources.gypi
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/io/stdio.dart
|
View
|
1
2
|
6 chunks |
+62 lines, -8 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/console_script.dart
|
View
|
1
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/console_test.dart
|
View
|
1
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
|
A |
tests/standalone/io/stdio_nonblocking_script.dart
|
View
|
1
2
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A + |
tests/standalone/io/stdio_nonblocking_test.dart
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A + |
tests/standalone/io/stdout_stderr_non_blocking_test.dart
|
View
|
1
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
A |
tests/standalone/io/stdout_stderr_terminal_test.dart
|
View
|
1
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/stdout_test.dart
|
View
|
1
|
1 chunk |
+0 lines, -22 lines |
0 comments
|
Download
|
Total messages: 11 (2 generated)
|