| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-08-31 | Implement the `min_const_fn` feature gate | Oliver Schneider | -8/+12 | |
| 2018-08-06 | make Lazy::new unsafe and check reentrancy condition in the callers | Ralf Jung | -3/+7 | |
| 2018-07-10 | Deny bare trait objects in `src/libstd`. | ljedrz | -4/+4 | |
| 2018-07-02 | Make Stdio handle UnwindSafe | Evan Simmons | -0/+22 | |
| 2018-03-28 | Remove hidden `foo` functions from doc examples; use `Termination` trait. | Corey Farwell | -53/+53 | |
| Fixes https://github.com/rust-lang/rust/issues/49233. | ||||
| 2018-03-01 | Fix a bug introduced in previous commit | Stjepan Glavina | -2/+2 | |
| 2018-02-28 | Remove thread_local_state | Stjepan Glavina | -20/+19 | |
| 2018-02-28 | Stabilize LocalKey::try_with | Stjepan Glavina | -1/+4 | |
| 2017-11-08 | std: Change how EBADF is handled in `sys` | Alex Crichton | -3/+1 | |
| This commit removes the reexport of `EBADF_ERR` as a constant from libstd's portability facade, instead opting for a platform-specific function that specifically queries an `io::Error`. Not all platforms may have a constant for this, so it makes the intent a little more clear that a code need not be supplied, just an answer to a query. | ||||
| 2017-06-20 | Add `Read::initializer`. | Steven Fackler | -11/+12 | |
| This is an API that allows types to indicate that they can be passed buffers of uninitialized memory which can improve performance. | ||||
| 2017-05-10 | Fix up stability annotations per feedback. | Zack Weinberg | -2/+2 | |
| 2017-05-10 | Revise the eprint(ln)! feature. | Zack Weinberg | -50/+29 | |
| * Factor out the nigh-identical bodies of `_print` and `_eprint` to a helper function `print_to` (I was sorely tempted to call it `_doprnt`). * Update the issue number for the unstable `eprint` feature. * Add entries to the "unstable book" for `eprint` and `eprint_internal`. * Style corrections to the documentation. | ||||
| 2017-05-10 | Add `eprint!` and `eprintln!` macros to the prelude. | Zack Weinberg | -0/+36 | |
| These are exactly the same as `print!` and `println!` except that they write to stderr instead of stdout. Issue #39228. | ||||
| 2017-03-13 | Remove function invokation parens from documentation links. | Corey Farwell | -2/+2 | |
| This was never established as a convention we should follow in the 'More API Documentation Conventions' RFC: https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md | ||||
| 2017-01-29 | Fix a few impl stability attributes | Oliver Middleton | -6/+6 | |
| The versions show up in rustdoc. | ||||
| 2017-01-22 | libstd: replace all `try!` with `?` in documentation examples | Utkarsh Kukreti | -9/+9 | |
| See #38644. | ||||
| 2016-12-18 | Implement `fmt::Debug` for all structures in libstd. | Corey Farwell | -0/+42 | |
| Part of https://github.com/rust-lang/rust/issues/31869. Also turn on the `missing_debug_implementations` lint at the crate level. | ||||
| 2016-12-16 | Address fallout | Aaron Turon | -3/+3 | |
| 2016-11-28 | Move stdout/err flush into sys | Jeremy Soller | -6/+0 | |
| 2016-11-10 | Merge branch 'master' into redox | Jeremy Soller | -1/+2 | |
| 2016-11-10 | Fixes for stdio and processes on Redox | Jeremy Soller | -0/+6 | |
| 2016-11-05 | add missing urls on io structs | Guillaume Gomez | -1/+2 | |
| 2016-11-01 | std: Move a plattform-specific constant to sys::stdio | Brian Anderson | -9/+1 | |
| 2016-10-01 | std: Move platform specific stdio code into sys | Brian Anderson | -5/+2 | |
| 2016-09-30 | Change the sigs of set_print/set_panic to allow restoring the default objects | Brian Anderson | -4/+4 | |
| 2016-09-30 | Ignore lots and lots of std tests on emscripten | Brian Anderson | -0/+1 | |
| 2016-08-24 | Use `#[prelude_import]` in `libstd`. | Jeffrey Seyfried | -1/+0 | |
| 2016-07-30 | Add doc example for Stdout | Guillaume Gomez | -0/+15 | |
| 2016-07-30 | Add doc example for Stdin | Guillaume Gomez | -0/+15 | |
| 2016-07-30 | Add doc example for io::Stderr | Guillaume Gomez | -0/+15 | |
| 2016-03-23 | doc: Stdin is locked for reads, not writes | Brian Anderson | -2/+2 | |
| 2016-03-10 | Fixup stout/stderr on Windows | Oliver Middleton | -19/+2 | |
| WriteConsoleW can fail if called with a large buffer so we need to slice any stdout/stderr output. However the current slicing has a few problems: 1. It slices by byte but still expects valid UTF-8. 2. The slicing happens even when not outputting to a console. 3. panic! output is not sliced. This fixes these issues by moving the slice to right before WriteConsoleW and slicing on a char boundary. | ||||
| 2016-03-08 | std: Funnel read_to_end through to one location | Alex Crichton | -2/+10 | |
| This pushes the implementation detail of proxying `read_to_end` through to `read_to_end_uninitialized` all the way down to the `FileDesc` and `Handle` implementations on Unix/Windows. This way intermediate layers will also be able to take advantage of this optimized implementation. This commit also adds the optimized implementation for `ChildStdout` and `ChildStderr`. | ||||
| 2016-01-25 | std: Fix some behavior without stdio handles | Alex Crichton | -1/+1 | |
| On all platforms, reading from stdin where the actual stdin isn't present should return 0 bytes as having been read rather than the entire buffer. On Windows, handle the case where we're inheriting stdio handles but one of them isn't present. Currently the behavior is to fail returning an I/O error but instead this commit corrects it to detecting this situation and propagating the non-set handle. Closes #31167 | ||||
| 2015-12-30 | doc: missed these in a4da9ac | Tshepang Lekhonkhobe | -2/+2 | |
| 2015-12-30 | doc: add graves | Tshepang Lekhonkhobe | -23/+23 | |
| 2015-12-30 | doc: add some links for io::stdio | Tshepang Lekhonkhobe | -14/+35 | |
| 2015-12-23 | doc: make line visible | Tshepang Lekhonkhobe | -1/+1 | |
| 2015-11-09 | std: Migrate to the new libc | Alex Crichton | -3/+2 | |
| * Delete `sys::unix::{c, sync}` as these are now all folded into libc itself * Update all references to use `libc` as a result. * Update all references to the new flat namespace. * Moves all windows bindings into sys::c | ||||
| 2015-10-31 | std: Prevent print panics when using TLS | Alex Crichton | -8/+26 | |
| Currently if a print happens while a thread is being torn down it may cause a panic if the LOCAL_STDOUT TLS slot has been destroyed by that point. This adds a guard to check and prints to the process stdout if that's the case (as we do for if the slot is already borrowed). Closes #29488 | ||||
| 2015-10-08 | typos: fix a grabbag of typos all over the place | Cristi Cobzarenco | -3/+3 | |
| 2015-08-30 | Auto merge of #27588 - cesarb:read_all, r=alexcrichton | bors | -0/+3 | |
| This implements the proposed "read_exact" RFC (https://github.com/rust-lang/rfcs/pull/980). Tracking issue: https://github.com/rust-lang/rust/issues/27585 | ||||
| 2015-08-24 | Implement read_exact for the Read trait | Cesar Eduardo Barros | -0/+3 | |
| This implements the proposed "read_exact" RFC (https://github.com/rust-lang/rfcs/pull/980). | ||||
| 2015-08-15 | std: Add issues to all unstable features | Alex Crichton | -3/+6 | |
| 2015-08-11 | correct copy/paste typos in stdio.rs comments | Alex Burka | -4/+4 | |
| I'm not 100% sure lines 63 and 73 are typos. | ||||
| 2015-07-31 | Auto merge of #26897 - RalfJung:stdin-mut, r=alexcrichton | bors | -1/+1 | |
| This fixes #26890. To be honest, the local compile-test is still running. This just takes so long. But this looks trivial enough... | ||||
| 2015-07-15 | Add specializations of read_to_end for Stdin, TcpStream and File, | Alisdair Owens | -0/+4 | |
| allowing them to read into a buffer containing uninitialized data, rather than pay the cost of zeroing. | ||||
| 2015-07-10 | Add more std::io documentation. | Steve Klabnik | -15/+97 | |
| This round: io::Result and the free functions. | ||||
| 2015-07-08 | Stdin::read_line: read_line does not need a mutable borrow | Ralf Jung | -1/+1 | |
| 2015-06-30 | doc: add example for Stdin::read_line | Tshepang Lekhonkhobe | -0/+22 | |
