| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-05-17 | Rollup merge of #50170 - burtonageo:more_cow_from, r=alexcrichton | kennytm | -0/+64 | |
| Implement From for more types on Cow This is basically https://github.com/rust-lang/rust/pull/48191, except that it should be implemented in a way that doesn't break third party crates. | ||||
| 2018-05-09 | Fix typo | George Burton | -1/+1 | |
| 2018-05-09 | Update features to 1.28.0 | George Burton | -8/+8 | |
| 2018-04-30 | Auto merge of #48925 - zackmdavis:fn_must_stabilize, r=nikomatsakis | bors | -0/+2 | |
| stabilize `#[must_use]` for functions and must-use comparison operators (RFC 1940) r? @nikomatsakis | ||||
| 2018-04-29 | Fix some broken links in docs. | Eric Huss | -0/+1 | |
| 2018-04-28 | stabilize `#[must_use]` for functions and must-use operators | Zack M. Davis | -0/+2 | |
| This is in the matter of RFC 1940 and tracking issue #43302. | ||||
| 2018-04-27 | Update the stable attributes to use the current nightly version number | George Burton | -8/+8 | |
| 2018-04-27 | Add cstring_from_cow_cstr and osstring_from_cow_osstr | George Burton | -0/+16 | |
| 2018-04-22 | Implement From for more types on Cow | George Burton | -0/+48 | |
| 2018-04-16 | Remove unwanted auto-linking and update | Guillaume Gomez | -2/+3 | |
| 2018-03-27 | Implement `shrink_to` method on collections | Diggory Blake | -0/+30 | |
| 2018-02-24 | Add new warning for CStr::from_ptr | Guillaume Gomez | -0/+2 | |
| 2018-02-18 | Mark doc examples w/ `extern` blocks as `ignore`. | Corey Farwell | -7/+7 | |
| Fixes https://github.com/rust-lang/rust/issues/48218. | ||||
| 2018-01-27 | Make wording around 0-cost casts more precise | Tobias Bucher | -9/+9 | |
| 2018-01-13 | Rollup merge of #47357 - whentze:osstr-doc-fix, r=GuillaumeGomez | kennytm | -2/+5 | |
| Fix docs for OsStr At present, there are two small issues with the [docs](https://doc.rust-lang.org/std/ffi/struct.OsStr.html) for std::ffi::OsStr: - The docs say "OsStr is to OsString as String is to &str: the former in each pair are borrowed references; the latter are owned strings.". The latter pair is mixed up: String is the owned variant whereas &str is the borrowed reference. - The doc links to String and &str are broken and render as [String] and [&str]. This PR fixes these issues. | ||||
| 2018-01-11 | s/OsStr/&OsStr in docs to align with &str/String comparison | muvlon | -2/+3 | |
| 2018-01-11 | Fix dead links in docs for OsStr | muvlon | -0/+2 | |
| 2018-01-11 | Fix confusing documentation for OsStr | muvlon | -1/+1 | |
| 2018-01-10 | Fix typo. | Alexis Hunt | -1/+1 | |
| 2017-12-27 | Correct a few stability attributes | Oliver Middleton | -8/+8 | |
| 2017-11-25 | Implement `Rc`/`Arc` conversions for string-like types | Murarth | -0/+115 | |
| Provides the following conversion implementations: * `From<`{`CString`,`&CStr`}`>` for {`Arc`,`Rc`}`<CStr>` * `From<`{`OsString`,`&OsStr`}`>` for {`Arc`,`Rc`}`<OsStr>` * `From<`{`PathBuf`,`&Path`}`>` for {`Arc`,`Rc`}`<Path>` | ||||
| 2017-11-09 | std: Avoid use of `libc` in portable modules | Alex Crichton | -3/+3 | |
| This commit removes usage of the `libc` crate in "portable" modules like those at the top level and `sys_common`. Instead common types like `*mut u8` or `u32` are used instead of `*mut c_void` or `c_int` as well as switching to platform-specific functions like `sys::strlen` instead of `libc::strlen`. | ||||
| 2017-10-20 | Fix most rendering warnings from switching to CommonMark | steveklabnik | -2/+1 | |
| 2017-10-13 | Rollup merge of #44855 - federicomenaquintero:master, r=steveklabnik | kennytm | -67/+386 | |
| Improved docs for CStr, CString, OsStr, OsString This expands the documentation for those structs and their corresponding traits, per https://github.com/rust-lang/rust/issues/29354 | ||||
| 2017-10-11 | ffi/mod.rs: Use only one space after a period ending a sentence | Federico Mena Quintero | -20/+20 | |
| 2017-10-11 | ffi/mod.rs: Keep the one-sentence summary at the beginning of the module | Federico Mena Quintero | -0/+2 | |
| 2017-10-11 | ffi/c_str.rs: Use only one space after a period ending a sentence | Federico Mena Quintero | -8/+8 | |
| 2017-10-11 | ffi/c_str.rs: Fix method/function confusion | Federico Mena Quintero | -3/+3 | |
| Per https://github.com/rust-lang/rust/pull/44855#discussion_r144049179 | ||||
| 2017-10-11 | ffi/c_str.rs: Make all descriptions have a single-sentence summary at the ↵ | Federico Mena Quintero | -15/+16 | |
| beginning Per https://github.com/rust-lang/rust/pull/44855#discussion_r144048837 and subsequent ones. | ||||
| 2017-10-02 | Fix broken links in documentation | Federico Mena Quintero | -3/+3 | |
| 2017-10-02 | Clarify the ffi module's toplevel docs, per @clarcharr's comments | Federico Mena Quintero | -54/+65 | |
| 2017-10-02 | Remove the implication that CString contains UTF-8 data. | Federico Mena Quintero | -3/+4 | |
| 2017-09-30 | Cast inner type in OsStr::bytes | Nikolai Vazquez | -1/+1 | |
| The innermost type is not [u8] on all platforms but is assumed to have the same memory layout as [u8] since this conversion was done via mem::transmute before. | ||||
| 2017-09-28 | Remove unused 'mem' import in 'os_str' module | Nikolai Vazquez | -1/+0 | |
| 2017-09-28 | Remove mem::transmute used in OsStr conversions | Nikolai Vazquez | -7/+10 | |
| 2017-09-28 | Fix mutability error in CString::from_raw | Nikolai Vazquez | -1/+1 | |
| 2017-09-28 | Remove mem::transmute used in CStr conversions | Nikolai Vazquez | -7/+8 | |
| 2017-09-26 | os_str: Fix too-long lines | Federico Mena Quintero | -4/+4 | |
| 2017-09-25 | Overhaul the documentation for OsString / OsStr | Federico Mena Quintero | -5/+91 | |
| 2017-09-25 | Module overview for std::os::windows:ffi | Federico Mena Quintero | -1/+1 | |
| 2017-09-25 | Point from the error structs back to the method that created them, like in ↵ | Federico Mena Quintero | -5/+24 | |
| iterators | ||||
| 2017-09-25 | Overhaul the ffi::CStr documentation. | Federico Mena Quintero | -30/+46 | |
| 2017-09-25 | Overhaul the ffi::CString docs | Federico Mena Quintero | -31/+115 | |
| Explain the struct's reason for being, and its most common usage patterns. Add a bunch of links. Clarify the method docs a bit. Part of https://github.com/rust-lang/rust/issues/29354 | ||||
| 2017-09-25 | Expand the introduction to the ffi module. | Federico Mena Quintero | -1/+100 | |
| We describe the representation of C strings, and the purpose of OsString/OsStr. Part of https://github.com/rust-lang/rust/issues/29354 | ||||
| 2017-09-10 | Use rvalue promotion to 'static instead of static items. | Eduard-Mihai Burtescu | -1/+1 | |
| 2017-08-15 | Fix typos & us spellings | Fourchaux | -2/+2 | |
| 2017-07-25 | std: Stabilize the `str_{mut,box}_extras` feature | Alex Crichton | -8/+0 | |
| Stabilizes * `<&mut str>::as_bytes_mut` * `<Box<str>>::into_boxed_bytes` * `std::str::from_boxed_utf8_unchecked` * `std::str::from_utf8_mut` * `std::str::from_utf8_unchecked_mut` Closes #41119 | ||||
| 2017-07-25 | std: Stabilize CString/OsString/PathBuf extra methods | Alex Crichton | -5/+5 | |
| Stabilizes: * `CString::as_c_str` * `CString::into_boxed_c_str` * `CStr::into_c_string` * `OsString::into_boxed_os_str` * `OsStr::into_os_string` * `PathBuf::into_boxed_path` * `PathBuf::into_path_buf` Closes #40380 | ||||
| 2017-07-04 | Rollup merge of #42227 - ollie27:into_to_from, r=aturon | Mark Simulacrum | -8/+8 | |
| Convert Intos to Froms. This is a resubmission of #42129 without `impl<T> From<Vec<T>> for Box<[T]>`. | ||||
| 2017-06-28 | Auto merge of #42745 - sfackler:1.19-stabilization, r=alexcrichton | bors | -3/+1 | |
| 1.19 stabilization r? @alexcrichton | ||||
