| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-06 | Forward OsStr::clone_into to the inner Vec | Josh Stone | -2/+1 | |
| Despite OS differences, they're all just `Vec<u8>` inside, so we can just forward `clone_into` calls to that optimized implementation. | ||||
| 2020-03-28 | add tracking issue | TyPR124 | -6/+6 | |
| 2020-03-28 | move doc links for consistency | TyPR124 | -4/+4 | |
| 2020-03-28 | remove unnecessary comments | TyPR124 | -2/+0 | |
| 2020-03-28 | ascii methods on osstr | TyPR124 | -0/+143 | |
| 2020-03-20 | add comment about maintaining OsStr encoding | TyPR124 | -0/+2 | |
| 2020-03-16 | add comments about safety | TyPR124 | -0/+4 | |
| 2020-03-16 | allowing getting &mut OsStr from OsString | TyPR124 | -0/+21 | |
| 2020-01-10 | inline `impl AsRef<OsStr> for OsString` | Lzu Tao | -0/+1 | |
| 2020-01-10 | Inline to make OsStr::is_empty zero cost | Lzu Tao | -0/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -23/+45 | |
| 2019-12-09 | inline some common methods on OsStr | Lzu Tao | -0/+8 | |
| 2019-08-22 | Fix for 7e13679. | Tomasz Różański | -2/+2 | |
| 2019-08-22 | Fix punctuation. | Tomasz Różański | -1/+1 | |
| 2019-08-22 | Remove redundant `mut`. | Tomasz Różański | -1/+1 | |
| 2019-08-11 | Rollup merge of #61969 - MikailBag:master, r=Centril | Mark Rousskov | -0/+6 | |
| Add #[repr(transparent)] for several types In some functions, types mentioned in this PR are transmuted into their inner value. Example for `PathBuf`: https://github.com/rust-lang/rust/blob/master/src/libstd/path.rs#L1132. This PR adds `#[repr(transparent)]` to those types, so their correct behavior doesn't depend on compiler details. (As far as I understand, currently that line, converting `PathBuf` to `Vec<u8>`, is UB). | ||||
| 2019-08-09 | Add FIXME-s that some types should be transparent | Mikail Bagishov | -0/+6 | |
| 2019-07-07 | Add missing urls for osstr | Guillaume Gomez | -3/+4 | |
| 2019-05-04 | Fix intra-doc link resolution failure on re-exporting libstd | Taiki Endo | -0/+2 | |
| 2019-04-04 | Mark unix::ffi::OsStrExt methods as inline | Konrad Borowski | -0/+1 | |
| 2019-03-31 | libstd: deny(elided_lifetimes_in_paths) | Mazdak Farrokhzad | -4/+4 | |
| 2019-03-09 | Use lifetime contravariance to elide more lifetimes in core+alloc+std | Scott McMurray | -8/+8 | |
| 2019-02-28 | libstd => 2018 | Taiki Endo | -12/+12 | |
| 2019-02-20 | Rollup merge of #58553 - scottmcm:more-ihle, r=Centril | kennytm | -2/+2 | |
| Use more impl header lifetime elision Inspired by seeing explicit lifetimes on these two: - https://doc.rust-lang.org/nightly/std/slice/struct.Iter.html#impl-FusedIterator - https://doc.rust-lang.org/nightly/std/primitive.u32.html#impl-Not And a follow-up to https://github.com/rust-lang/rust/pull/54687, that started using IHLE in libcore. Most of the changes in here fall into two big categories: - Removing lifetimes from common traits that can essentially never user a lifetime from an input (particularly `Drop`, `Debug`, and `Clone`) - Forwarding impls that are only possible because the lifetime doesn't matter (like `impl<R: Read + ?Sized> Read for &mut R`) I omitted things that seemed like they could be more controversial, like the handful of iterators that have a `Item: 'static` despite the iterator having a lifetime or the `PartialEq` implementations [where the flipped one cannot elide the lifetime](https://internals.rust-lang.org/t/impl-type-parameter-aliases/9403/2?u=scottmcm). I also removed two lifetimes that turned out to be completely unused; see https://github.com/rust-lang/rust/issues/41960#issuecomment-464557423 | ||||
| 2019-02-17 | Use more impl header lifetime elision | Scott McMurray | -2/+2 | |
| There are two big categories of changes in here - Removing lifetimes from common traits that can essentially never user a lifetime from an input (particularly `Drop` & `Debug`) - Forwarding impls that are only possible because the lifetime doesn't matter (like `impl<R: Read + ?Sized> Read for &mut R`) I omitted things that seemed like they could be more controversial, like the handful of iterators that have a `Item: 'static` despite the iterator having a lifetime or the `PartialEq` implementations where the flipped one cannot elide the lifetime. | ||||
| 2019-02-10 | libs: doc comments | Alexander Regueiro | -1/+1 | |
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-12 | use actual invalid string in OsStr::to_string_lossy example | Lyndon Brown | -8/+33 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-12-03 | Rollup merge of #56432 - ordovicia:shrink-to-issue, r=Centril | kennytm | -1/+1 | |
| Update issue number of `shrink_to` methods to point the tracking issue Tracking issue: #56431 | ||||
| 2018-12-02 | Update issue number of `shrink_to` methods to point the tracking issue | Hidehito Yabuuchi | -1/+1 | |
| 2018-11-21 | OsStr: clarify `len()` method documentation | Lyndon Brown | -6/+11 | |
| 2018-11-21 | OsString: mention storage form in discussion | Lyndon Brown | -0/+7 | |
| Helps users to understand capacity related values, which may surpise on Windows. Also is a step towards clarifying understanding of `OsStr`'s len() return value. | ||||
| 2018-09-17 | OsStr: Document that it's not NUL terminated | Colin Walters | -1/+4 | |
| I somehow got confused into thinking this was the case, but it's definitely not. Let's help the common case of people who have an `OsStr` and need to call e.g. Unix APIs. | ||||
| 2018-09-13 | Fix the stable release of os_str_str_ref_eq | Josh Stone | -2/+2 | |
| This was added and stabilized in commit 02503029b83a, but while that claimed to be for 1.28.0, it didn't actually make it until 1.29.0. | ||||
| 2018-09-06 | Fix link | Guillaume Gomez | -3/+0 | |
| 2018-08-11 | Add links to std::char::REPLACEMENT_CHARACTER from docs. | Corey Farwell | -1/+3 | |
| There are a few places where we mention the replacement character in the docs, and it could be helpful for users to utilize the constant which is available in the standard library, so let’s link to it! | ||||
| 2018-07-23 | Seperate summaries from rest of the comment | Markus Wein | -0/+1 | |
| 2018-07-16 | Document From conversions for OsString and OsStr | Markus Wein | -0/+21 | |
| 2018-07-12 | Rollup merge of #51912 - mbrubeck:more_box_slice_clone, r=alexcrichton | kennytm | -0/+8 | |
| impl Clone for Box<CStr>, Box<OsStr>, Box<Path> Implements #51908. | ||||
| 2018-07-06 | impl Clone for Box<CStr>, Box<OsStr>, Box<Path> | Matt Brubeck | -0/+8 | |
| Implements #51908. | ||||
| 2018-06-29 | Fix stability attributes | Gabriel Majeri | -2/+2 | |
| 2018-06-29 | Implement PartialEq between &str and OsString | Gabriel Majeri | -0/+14 | |
| Allows for example `os_string == "something"` | ||||
| 2018-05-09 | Update features to 1.28.0 | George Burton | -4/+4 | |
| 2018-04-27 | Update the stable attributes to use the current nightly version number | George Burton | -4/+4 | |
| 2018-04-27 | Add cstring_from_cow_cstr and osstring_from_cow_osstr | George Burton | -0/+8 | |
| 2018-04-22 | Implement From for more types on Cow | George Burton | -0/+24 | |
| 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 | |
