| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-30 | rename-unique: Rename Unique::empty() to Unique::dangling() | cohenarthur | -5/+5 | |
| rename-unique: Change calls and doc in raw_vec.rs rename-unique: Change empty() -> dangling() in const-ptr-unique-rpass.rs | ||||
| 2020-04-26 | remove Unique::from for shared pointer types | Ralf Jung | -2/+2 | |
| 2020-04-06 | Use usize::MAX as assoc const in liballoc | Linus Färnstrand | -1/+1 | |
| 2020-04-05 | clarify safety in RawVec::into_box | Ralf Jung | -3/+6 | |
| 2020-04-04 | use ManuallyDrop instead of forget inside collections | Trevor Spiteri | -9/+7 | |
| This commit changes some usage of mem::forget into mem::ManuallyDrop in some Vec, VecDeque, BTreeMap and Box methods. Before the commit, the generated IR for some of the methods was longer, and even after optimization, some unwinding artifacts were still present. | ||||
| 2020-04-01 | Add missing allocation guard in `RawVec::grow` | Tim Diekmann | -0/+1 | |
| 2020-03-28 | Make fields in `MemoryBlock` public | Tim Diekmann | -4/+4 | |
| 2020-03-26 | Remove alignment from `MemoryBlock` | Tim Diekmann | -23/+19 | |
| 2020-03-26 | Fix safety section of `RawVec::into_box` | Tim Diekmann | -1/+2 | |
| 2020-03-26 | Fix wording in `RawVec::from_raw_parts(_in)` | Tim Diekmann | -2/+2 | |
| 2020-03-26 | Remove check for ZST in `RawVec::needs_to_grow` | Tim Diekmann | -2/+1 | |
| 2020-03-26 | Refine docs for `RawVec::from_raw_parts(_in)` | Tim Diekmann | -4/+6 | |
| 2020-03-26 | Remove the note on the internal capacity field in `RawVec` | Tim Diekmann | -3/+1 | |
| 2020-03-26 | Fix assertion in `shrink` to use `capacity()` instead | Tim Diekmann | -1/+1 | |
| 2020-03-26 | Fix comment in `RawVec::into_box()` | Tim Diekmann | -1/+1 | |
| 2020-03-26 | Fix ZST handling for `RawVec` | Tim Diekmann | -6/+6 | |
| 2020-03-26 | Fix issues from review and unsoundness of `RawVec::into_box` | Tim Diekmann | -114/+114 | |
| 2020-03-26 | Overhaul of the `AllocRef` trait to match allocator-wg's latest consens | Tim Diekmann | -347/+221 | |
| 2020-03-08 | Allow ZSTs in `AllocRef` | Tim Diekmann | -20/+18 | |
| 2020-03-03 | Remove `usable_size` APIs | Tim Diekmann | -8/+13 | |
| 2020-02-10 | Remove common usage pattern from `AllocRef` | Tim Diekmann | -6/+7 | |
| 2020-01-27 | Rename `Alloc` to `AllocRef` | Tim Diekmann | -8/+8 | |
| 2019-12-22 | Format the world | Mark Rousskov | -71/+55 | |
| 2019-12-21 | Require issue = "none" over issue = "0" in unstable attributes | Ross MacArthur | -1/+1 | |
| 2019-12-18 | no need to bootstrap | Mark Mansi | -8/+1 | |
| 2019-12-18 | add fixme | Mark Mansi | -0/+1 | |
| 2019-12-18 | fix import | Mark Mansi | -1/+1 | |
| 2019-12-18 | use usize::MAX instead of !0 | Mark Mansi | -1/+1 | |
| 2019-12-18 | remove a bit more hackery | Mark Mansi | -41/+8 | |
| 2019-12-18 | Remove a const-if-hack in RawVec | Mark Mansi | -8/+32 | |
| 2019-09-16 | Const-stabilize `Vec::new`. | Mazdak Farrokhzad | -1/+26 | |
| 2019-09-14 | Update src/liballoc/raw_vec.rs | Alexander Regueiro | -1/+1 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-09-06 | A few cosmetic improvements to code & comments in liballoc and libcore | Alexander Regueiro | -76/+74 | |
| 2019-08-16 | Add the Layout of the failed allocation to TryReserveError::AllocError | Simon Sapin | -9/+11 | |
| … and add a separately-unstable field to force non-exhaustive matching (`#[non_exhaustive]` is no implemented yet on enum variants) so that we have the option to later expose the allocator’s error value. CC https://github.com/rust-lang/wg-allocators/issues/23 | ||||
| 2019-08-16 | Rename CollectionAllocError to TryReserveError | Simon Sapin | -6/+6 | |
| 2019-08-02 | liballoc: Unconfigure tests during normal build | Vadim Petrochenkov | -79/+3 | |
| Remove additional libcore-like restrictions from liballoc, turns out the testing works ok if the tests are a part of liballoc itself. | ||||
| 2019-07-25 | Auto merge of #60340 - mgeier:cap-vs-capacity, r=alexcrichton | bors | -59/+60 | |
| Rename .cap() methods to .capacity() As mentioned in #60316, there are a few `.cap()` methods, which seem out-of-place because such methods are called `.capacity()` in the rest of the code. This PR renames them to `.capacity()` but leaves `RawVec::cap()` in there for backwards compatibility. I didn't try to mark the old version as "deprecated", because I guess this would cause too much noise. | ||||
| 2019-06-25 | Remove RawVec::cap() | Matthias Geier | -6/+0 | |
| As suggested in https://github.com/rust-lang/rust/pull/60340#issuecomment-493681032 | ||||
| 2019-05-27 | avoid materializing unintialized Boxes in RawVec | Aleksey Kladov | -4/+6 | |
| 2019-04-27 | Rename .cap() methods to .capacity() | Matthias Geier | -59/+66 | |
| ... but leave the old names in there for backwards compatibility. | ||||
| 2019-04-12 | Stabilize the `alloc` crate. | Simon Sapin | -2/+2 | |
| This implements RFC 2480: * https://github.com/rust-lang/rfcs/pull/2480 * https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md Closes https://github.com/rust-lang/rust/issues/27783 | ||||
| 2019-02-10 | libs: doc comments | Alexander Regueiro | -2/+2 | |
| 2019-02-03 | liballoc: revert nested imports style changes. | Mazdak Farrokhzad | -13/+9 | |
| 2019-02-02 | liballoc: apply uniform_paths. | Mazdak Farrokhzad | -2/+2 | |
| 2019-02-02 | liballoc: adjust abolute imports + more import fixes. | Mazdak Farrokhzad | -1/+1 | |
| 2019-02-02 | liballoc: refactor & fix some imports. | Mazdak Farrokhzad | -11/+14 | |
| 2019-02-02 | liballoc: cargo check passes on 2018 | Mazdak Farrokhzad | -5/+5 | |
| 2019-01-08 | RawVec doesn't always abort on allocation errors | Jonathan Behrens | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
