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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/io_patch.dart

Issue 807833002: Revert "Make stdout/stderr async" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review commetns Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/stdio_win.cc ('k') | sdk/lib/io/console.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:_js_helper' show patch; 5 import 'dart:_js_helper' show patch;
6 6
7 @patch 7 @patch
8 class _Directory { 8 class _Directory {
9 @patch 9 @patch
10 static _current() { 10 static _current() {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 } 178 }
179 @patch 179 @patch
180 static _length(int id) { 180 static _length(int id) {
181 throw new UnsupportedError("RandomAccessFile._length"); 181 throw new UnsupportedError("RandomAccessFile._length");
182 } 182 }
183 @patch 183 @patch
184 static _flush(int id) { 184 static _flush(int id) {
185 throw new UnsupportedError("RandomAccessFile._flush"); 185 throw new UnsupportedError("RandomAccessFile._flush");
186 } 186 }
187 @patch 187 @patch
188 static _lock(int id, int lock, int start, int end) { 188 static _lock(int id, int lock, int start, int end) {
Anders Johnsen 2015/01/14 13:56:59 Unrelated?
Søren Gjesse 2015/01/15 14:15:20 Yes, added after rebase.
189 throw new UnsupportedError("RandomAccessFile._lock"); 189 throw new UnsupportedError("RandomAccessFile._lock");
190 } 190 }
191 } 191 }
192 192
193 @patch 193 @patch
194 class _IOCrypto { 194 class _IOCrypto {
195 @patch 195 @patch
196 static Uint8List getRandomBytes(int count) { 196 static Uint8List getRandomBytes(int count) {
197 throw new UnsupportedError("_IOCrypto.getRandomBytes"); 197 throw new UnsupportedError("_IOCrypto.getRandomBytes");
198 } 198 }
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 } 488 }
489 @patch 489 @patch
490 void set lineMode(bool enabled) { 490 void set lineMode(bool enabled) {
491 throw new UnsupportedError("Stdin.lineMode"); 491 throw new UnsupportedError("Stdin.lineMode");
492 } 492 }
493 } 493 }
494 494
495 @patch 495 @patch
496 class Stdout { 496 class Stdout {
497 @patch 497 @patch
498 bool get hasTerminal { 498 bool _hasTerminal(int fd) {
499 throw new UnsupportedError("Stdout.hasTerminal"); 499 throw new UnsupportedError("Stdout.hasTerminal");
500 } 500 }
501 @patch 501 @patch
502 int get terminalColumns { 502 int _terminalColumns(int fd) {
503 throw new UnsupportedError("Stdout.terminalColumns"); 503 throw new UnsupportedError("Stdout.terminalColumns");
504 } 504 }
505 @patch 505 @patch
506 int get terminalLines { 506 int _terminalLines(int fd) {
507 throw new UnsupportedError("Stdout.terminalLines"); 507 throw new UnsupportedError("Stdout.terminalLines");
508 } 508 }
509 } 509 }
510 510
511 @patch 511 @patch
512 class _FileSystemWatcher { 512 class _FileSystemWatcher {
513 @patch 513 @patch
514 static Stream<FileSystemEvent> watch( 514 static Stream<FileSystemEvent> watch(
515 String path, int events, bool recursive) { 515 String path, int events, bool recursive) {
516 throw new UnsupportedError("_FileSystemWatcher.watch"); 516 throw new UnsupportedError("_FileSystemWatcher.watch");
517 } 517 }
518 @patch 518 @patch
519 static bool get isSupported { 519 static bool get isSupported {
520 throw new UnsupportedError("_FileSystemWatcher.isSupported"); 520 throw new UnsupportedError("_FileSystemWatcher.isSupported");
521 } 521 }
522 } 522 }
523 523
524 @patch 524 @patch
525 class _IOService { 525 class _IOService {
526 @patch 526 @patch
527 static Future dispatch(int request, List data) { 527 static Future dispatch(int request, List data) {
528 throw new UnsupportedError("_IOService.dispatch"); 528 throw new UnsupportedError("_IOService.dispatch");
529 } 529 }
530 } 530 }
OLDNEW
« no previous file with comments | « runtime/bin/stdio_win.cc ('k') | sdk/lib/io/console.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698