summary refs log tree commit diff
path: root/src/libstd/io/comm_adapters.rs
AgeCommit message (Collapse)AuthorLines
2014-03-20rename std::vec -> std::sliceDaniel Micay-1/+1
Closes #12702
2014-03-13std: Rename Chan/Port types and constructorAlex Crichton-38/+39
* Chan<T> => Sender<T> * Port<T> => Receiver<T> * Chan::new() => channel() * constructor returns (Sender, Receiver) instead of (Receiver, Sender) * local variables named `port` renamed to `rx` * local variables named `chan` renamed to `tx` Closes #11765
2014-02-28std: Improve some I/O documentationAlex Crichton-1/+3
This lowers the #[allow(missing_doc)] directive into some of the lower modules which are less mature. Most I/O modules now require comprehensive documentation.
2014-02-14Fix all code examplesAlex Crichton-4/+13
2014-02-14extra: Capture stdout/stderr of tests by defaultAlex Crichton-0/+6
When tests fail, their stdout and stderr is printed as part of the summary, but this helps suppress failure messages from #[should_fail] tests and generally clean up the output of the test runner.
2014-02-03std: Fix tests with io_error usageAlex Crichton-28/+17
2014-02-03std: Remove io::io_errorAlex Crichton-8/+9
* All I/O now returns IoResult<T> = Result<T, IoError> * All formatting traits now return fmt::Result = IoResult<()> * The if_ok!() macro was added to libstd
2014-01-29auto merge of #11893 : Armavica/rust/copyable-cloneable, r=huonwbors-1/+1
I found awkward to have `MutableCloneableVector` and `CloneableIterator` on the one hand, and `CopyableVector` etc. on the other hand. The concerned traits are: * `CopyableVector` --> `CloneableVector` * `OwnedCopyableVector` --> `OwnedCloneableVector` * `ImmutableCopyableVector` --> `ImmutableCloneableVector` * `CopyableTuple` --> `CloneableTuple`
2014-01-29Removing do keyword from libstd and librustcScott Lawrence-3/+3
2014-01-28Rename CopyableVector to CloneableVectorVirgile Andreani-1/+1
2014-01-09Remove eof() from io::ReaderAlex Crichton-9/+0
2013-12-26std: remove some test warningsErick Tryzelaar-2/+1
2013-12-19Get comm_adapters building againAlex Crichton-2/+2
I accidentally removed this module from compilation awhile back, this adds it back in. Closes #11076
2013-12-16Fallout of rewriting std::commAlex Crichton-35/+13
2013-12-15std::vec: remove unnecessary count parameter on {bytes,Huon Wilson-1/+1
raw}::copy_memory. Slices carry their length with them, so we can just use that information.
2013-12-10Implement PortReader and ChanWriterRaphael Speyer-11/+172
2013-12-08Remove dead codesKiet Tran-4/+4
2013-11-11Move std::rt::io to std::ioAlex Crichton-0/+57