| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-01-06 | Don't read forever on a file descriptor | Alex Crichton | -0/+22 | |
| Similarly to the recent commit to do this for networking, there's no reason that a read on a file descriptor should continue reading until the entire buffer is full. This makes sense when dealing with literal files, but when dealing with things like stdin this doesn't make sense. | ||||
| 2013-12-24 | std: Expose that LocalIo may not always be available | Alex Crichton | -12/+6 | |
| It is not the case that all programs will always be able to acquire an instance of the LocalIo borrow, so this commit exposes this limitation by returning Option<LocalIo> from LocalIo::borrow(). At the same time, a helper method LocalIo::maybe_raise() has been added in order to encapsulate the functionality of raising on io_error if there is on local I/O available. | ||||
| 2013-12-10 | librustuv: Change `with_local_io` to use RAII. | Patrick Walton | -9/+8 | |
| 2013-11-26 | libstd: Remove all non-`proc` uses of `do` from libstd | Patrick Walton | -2/+2 | |
| 2013-11-11 | Move std::rt::io to std::io | Alex Crichton | -0/+89 | |
