| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-03-23 | use TotalEq for HashMap | Daniel Micay | -1/+8 | |
| Closes #5283 | ||||
| 2014-03-22 | rustc: Remove all usage of manual deref() | Alex Crichton | -13/+12 | |
| Favor using '*' instead | ||||
| 2014-03-22 | std: Remove the get() method from RefCell wrappers | Alex Crichton | -1/+1 | |
| This method has been entirely obsoleted by autoderef, so there's no reason for its existence. | ||||
| 2014-03-22 | auto merge of #13052 : sfackler/rust/clean-refcell, r=alexcrichton | bors | -4/+2 | |
| These are superfluous now that we have fixed rvalue lifetimes and Deref. I'd also like to kill off `get` and `set`, but that'll be a large change so I want to make sure that we actually want to do that first. | ||||
| 2014-03-21 | Rewrite rc::Rc using cell::Cell | Edward Wang | -34/+65 | |
| Since `Arc` has been using `Atomic`, this closes 12625. Closes #12625. | ||||
| 2014-03-20 | Remove RefCell::{with, with_mut} | Steven Fackler | -4/+2 | |
| These are superfluous now that we have fixed rvalue lifetimes and Deref. | ||||
| 2014-03-20 | Make `Rc`, `Cell` and `RefCell` NoShare | Flavio Percoco | -7/+14 | |
| 2014-03-13 | Remove Rc's borrow method to avoid conflicts with RefCell's borrow in ↵ | Eduard Burtescu | -21/+15 | |
| Rc<RefCell<T>>. | ||||
| 2014-03-08 | Removed DeepClone. Issue #12698. | Michael Darakananda | -18/+1 | |
| 2014-03-04 | Implement DerefImm for Rc and DerefImm/DerefMut for RefCell's Ref/RefMut. | Eduard Burtescu | -1/+9 | |
| 2014-02-15 | std: clean up ptr a bit | Corey Richardson | -5/+5 | |
| 2014-02-06 | Ensure an Rc isn't freed while running its own destructor. | Huon Wilson | -2/+27 | |
| A weak pointer inside itself will have its destructor run when the last strong pointer to that data disappears, so we need to make sure that the Weak and Rc destructors don't duplicate work (i.e. freeing). By making the Rcs effectively take a weak pointer, we ensure that no Weak destructor will free the pointer while still ensuring that Weak pointers can't be upgraded to strong ones as the destructors run. This approach of starting weak at 1 is what libstdc++ does. Fixes #12046. | ||||
| 2014-01-31 | Introduce marker types for indicating variance and for opting out | Niko Matsakis | -9/+13 | |
| of builtin bounds. Fixes #10834. Fixes #11385. cc #5922. | ||||
| 2014-01-22 | Replace C types with Rust types in libstd, closes #7313 | Florian Hahn | -2/+2 | |
| 2014-01-14 | remove reference counting headers from ~ | Daniel Micay | -0/+8 | |
| Unique pointers and vectors currently contain a reference counting header when containing a managed pointer. This `{ ref_count, type_desc, prev, next }` header is not necessary and not a sensible foundation for tracing. It adds needless complexity to library code and is responsible for breakage in places where the branch has been left out. The `borrow_offset` field can now be removed from `TyDesc` along with the associated handling in the compiler. Closes #9510 Closes #11533 | ||||
| 2014-01-09 | port over the old tests to the new `Rc` | Daniel Micay | -1/+42 | |
| 2014-01-09 | rename Strong -> Rc, replacing `rc` with `weak` | Daniel Micay | -96/+102 | |
| 2014-01-09 | stop treating `Rc` cycles as unsafe | Daniel Micay | -45/+9 | |
| 2014-01-07 | stdtest: Fix all leaked trait imports | Alex Crichton | -0/+1 | |
| 2013-12-27 | std: uniform modules titles for doc | Luca Bruno | -1/+1 | |
| This commit uniforms the short title of modules provided by libstd, in order to make their roles more explicit when glancing at the index. Signed-off-by: Luca Bruno <lucab@debian.org> | ||||
| 2013-11-26 | librustc: Fix merge fallout. | Patrick Walton | -22/+0 | |
| 2013-11-26 | libstd: Remove all non-`proc` uses of `do` from libstd | Patrick Walton | -4/+26 | |
| 2013-11-24 | Implement cmp traits for Rc<T> and add a ptr_eq method. | Léo Testard | -0/+55 | |
| 2013-11-23 | Move mutable::Mut to cell::RefCell | Steven Fackler | -8/+8 | |
| 2013-11-22 | Add Rc::from_mut | Steven Fackler | -0/+17 | |
| 2013-11-22 | Change Mut::map to Mut::with | Steven Fackler | -4/+4 | |
| 2013-11-22 | Move Rc tests away from Cell | Steven Fackler | -7/+7 | |
| 2013-11-22 | Remove RcMut | Steven Fackler | -237/+0 | |
| Rc<Mut<T>> should be used instead | ||||
| 2013-11-19 | libstd: Change all uses of `&fn(A)->B` over to `|A|->B` in libstd | Patrick Walton | -2/+2 | |
| 2013-11-07 | add `from_send` to Rc, since #9509 is fixed | Daniel Micay | -21/+24 | |
| 2013-10-12 | rc: fix docstring | Daniel Micay | -1/+1 | |
| 2013-10-11 | clean up the `Rc`/`RcMut` types and move to libstd | Daniel Micay | -0/+383 | |
| 2013-05-22 | libstd: Rename libcore to libstd and libstd to libextra; update makefiles. | Patrick Walton | -368/+0 | |
| This only changes the directory names; it does not change the "real" metadata names. | ||||
| 2013-05-19 | Register snapshots | Brian Anderson | -32/+0 | |
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -1/+1 | |
| 2013-05-15 | allow constructing Rc/RcMut from Const types too | Daniel Micay | -42/+66 | |
| 2013-05-15 | rc: fix tests | Daniel Micay | -15/+7 | |
| 2013-05-15 | add a DeepClone trait | Daniel Micay | -4/+80 | |
| for deep copies through shared ownership boundaries | ||||
| 2013-05-12 | libsyntax: Remove `extern mod foo { ... }` from the language. | Patrick Walton | -2/+9 | |
| 2013-05-10 | Stop using the '<->' operator | Alex Crichton | -15/+5 | |
| 2013-05-09 | Add intrinsic declaration where I missed them | James Miller | -0/+2 | |
| 2013-05-09 | Make staged versions of the functions that use uninit | James Miller | -0/+33 | |
| 2013-05-09 | Replace init() with uninit() where appropriate | James Miller | -2/+2 | |
| 2013-05-08 | fix incorrect region code based on the old 'self | Daniel Micay | -6/+6 | |
| also removes unnecessary casts from the RcMut implementation | ||||
| 2013-05-07 | rc: remove the managed pointer workaround | Daniel Micay | -6/+7 | |
| 2013-05-06 | add task-local reference counted smart pointers | Daniel Micay | -0/+275 | |
| To provide a reference counted pointer type with deterministic destruction once managed boxes are switched over to a garbage collector. Unlike managed boxes, these can be moved instead of just copied/cloned which is helpful for avoiding reference counts. | ||||
