| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-17 | deny intra-doc link resolution failures in libstd | Andy Russell | -1/+4 | |
| 2018-12-04 | Replace usages of `..i + 1` ranges with `..=i`. | Corey Farwell | -1/+1 | |
| 2018-11-02 | Fix compile errors in test | Jonathan Behrens | -9/+9 | |
| 2018-11-02 | Suggested edits | Jonathan Behrens | -24/+24 | |
| 2018-11-02 | Add some tests | Jonathan Behrens | -11/+20 | |
| 2018-11-02 | Add BufWriter::buffer method | Jonathan Behrens | -0/+19 | |
| 2018-09-06 | Fix invalid urls | Guillaume Gomez | -4/+2 | |
| 2018-08-19 | Fix typos found by codespell. | Matthias Krüger | -1/+1 | |
| 2018-07-30 | Remove unstable and deprecated APIs | Simon Sapin | -46/+0 | |
| 2018-07-26 | State default capacity for BufReader/BufWriter | Jonathan Behrens | -2/+4 | |
| 2018-07-11 | simplify assertions | Andy Russell | -5/+4 | |
| 2018-07-08 | rework `LineWriter` example | Andy Russell | -10/+24 | |
| The original example didn't check the return value of `write()`, didn't flush the writer, and didn't properly demonstrate the buffering. Fixes #51621. | ||||
| 2018-04-15 | Deprecate Read::chars and char::decode_utf8 | Simon Sapin | -0/+2 | |
| Per FCP: * https://github.com/rust-lang/rust/issues/27802#issuecomment-377537778 * https://github.com/rust-lang/rust/issues/33906#issuecomment-377534308 | ||||
| 2018-04-05 | Rollup merge of #49594 - mbrubeck:docs, r=steveklabnik | kennytm | -0/+12 | |
| Add some performance guidance to std::fs and std::io docs Adds more documentation about performance to various "read" functions in `fs` and `io`, and to `BufReader`/`BufWriter`, with the goal of helping developers choose the best option for a given task. | ||||
| 2018-04-03 | Add performance notes to BufReader/BufWriter docs | Matt Brubeck | -0/+12 | |
| 2018-04-02 | Fix typo | Rolf van de Krol | -1/+1 | |
| 2018-03-28 | Remove hidden `foo` functions from doc examples; use `Termination` trait. | Corey Farwell | -109/+110 | |
| Fixes https://github.com/rust-lang/rust/issues/49233. | ||||
| 2018-03-18 | Add BufReader::buffer | Steven Fackler | -1/+29 | |
| This subsumes the need for an explicit is_empty function, and provides access to the buffered data itself which has been requested from time to time. | ||||
| 2018-02-17 | fix more typos found by codespell. | Matthias Krüger | -1/+1 | |
| 2018-01-15 | Rollup merge of #47330 - bmusin:patch-2, r=shepmaster | kennytm | -4/+4 | |
| fix off-by-one error Fixes https://github.com/rust-lang/rust/issues/47325. | ||||
| 2018-01-14 | Auto merge of #46832 - Diggsey:bufread-cheaper-seek, r=alexcrichton | bors | -0/+46 | |
| BufRead: Only flush the internal buffer if seeking outside of it. Fixes #31100 r? @dtolnay | ||||
| 2018-01-13 | Add note to documentation | Diggory Blake | -0/+4 | |
| 2018-01-13 | Implement "seek_relative" | Diggory Blake | -0/+42 | |
| 2018-01-13 | fix off-by-one error | Bulat Musin | -4/+4 | |
| 2018-01-02 | Document when LineWriter flushes; document errors for into_inner. | Corey Farwell | -0/+11 | |
| Fixes https://github.com/rust-lang/rust/issues/42468. | ||||
| 2017-12-21 | docs: do not call integer overflows as underflows | Trevor Spiteri | -1/+1 | |
| 2017-10-18 | Implement is_empty() for BufReader | Jonathan Behrens | -0/+25 | |
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -1/+1 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-07-20 | Remove mut where possible | Evan Cameron | -10/+10 | |
| 2017-07-09 | Add warning to BufWriter documentation | John Gallagher | -1/+5 | |
| 2017-06-20 | Add `Read::initializer`. | Steven Fackler | -6/+16 | |
| This is an API that allows types to indicate that they can be passed buffers of uninitialized memory which can improve performance. | ||||
| 2017-04-06 | Fix Markdown issues in the docs | Oliver Middleton | -8/+9 | |
| * Since the switch to pulldown-cmark reference links need a blank line before the URLs. * Reference link references are not case sensitive. * Doc comments need to be indented uniformly otherwise rustdoc gets confused. | ||||
| 2017-01-22 | libstd: replace all `try!` with `?` in documentation examples | Utkarsh Kukreti | -16/+16 | |
| See #38644. | ||||
| 2016-11-28 | std: Fix partial writes in LineWriter | Alex Crichton | -13/+86 | |
| Previously the `LineWriter` could successfully write some bytes but then fail to report that it has done so. Additionally, an erroneous flush after a successful write was permanently ignored. This commit fixes these two issues by (a) maintaining a `need_flush` flag to indicate whether a flush should be the first operation in `LineWriter::write` and (b) avoiding returning an error once some bytes have been successfully written. Closes #37807 | ||||
| 2016-11-10 | Remove one bounds check from BufReader | Arthur Silva | -1/+4 | |
| Otherwise the optimizer can't be sure that pos <= cap. Added a paranoid debug_assert to ensure correctness instead. | ||||
| 2016-10-14 | Rollup merge of #37115 - GuillaumeGomez:buf_reader_urls, r=kmcallister | Jonathan Turner | -5/+13 | |
| add missing urls for BufWriter and BufReader r? @steveklabnik | ||||
| 2016-10-12 | add missing urls for BufWriter and BufReader | Guillaume Gomez | -5/+13 | |
| 2016-10-12 | Deprecate `Reflect` | Nick Cameron | -2/+1 | |
| [tracking issue](https://github.com/rust-lang/rust/issues/27749) | ||||
| 2016-10-05 | Fixed small typo in `BufRead` comments | Razican | -1/+1 | |
| `BufRead` comments, in the `Seek` trait implementation, was talking about allocating 8 *ebibytes*. It was a typo, the correct unit is *exbibytes*, since *ebibytes* don't even exist. The calculation is correct, though. | ||||
| 2016-09-30 | Ignore lots and lots of std tests on emscripten | Brian Anderson | -0/+1 | |
| 2016-09-21 | Fix outdated Doc Comment on BufReader::seek | Christopher Serr | -2/+2 | |
| A long time ago non-panicking `unwrap` methods were renamed to `into_inner` in this Pull Request: https://github.com/rust-lang/rust/pull/19149 Looks like this doc comment was not updated however. | ||||
| 2016-09-11 | Remove unnecessary `cmp::min` from BufWriter::write | Richard Janis Goldschmidt | -2/+1 | |
| The first branch of the if statement already checks if `buf.len() >= self.buf.capacity()`, which makes the `cmp::min(buf.len(), self.buf.capacity())` redundant: the result will always be `buf.len()`. Therefore, we can pass the `buf` slice directly into `Write::write`. | ||||
| 2016-08-24 | Use `#[prelude_import]` in `libstd`. | Jeffrey Seyfried | -2/+0 | |
| 2016-05-09 | Utilize `Result::unwrap_err` in more places. | Corey Farwell | -1/+1 | |
| 2016-03-22 | try! -> ? | Jorge Aparicio | -9/+9 | |
| Automated conversion using the untry tool [1] and the following command: ``` $ find -name '*.rs' -type f | xargs untry ``` at the root of the Rust repo. [1]: https://github.com/japaric/untry | ||||
| 2016-03-07 | Add test case for #32085 | Steven Allen | -0/+28 | |
| 2016-03-07 | Never return an error after a partial write | Steven Allen | -2/+4 | |
| If LineWriter fails to flush, return the number of bytes written instead of an error. Fixes #32085 | ||||
| 2016-01-26 | Fix warnings during tests | Alex Crichton | -2/+2 | |
| The deny(warnings) attribute is now enabled for tests so we need to weed out these warnings as well. | ||||
| 2016-01-22 | Auto merge of #31070 - sfackler:bufreader-box-slice, r=alexcrichton | bors | -2/+2 | |
| Saves a word, and also prevents the impl from accidentally changing the buffer length. r? @alexcrichton | ||||
