| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-05-15 | core: Derive Show impls wherever possible | Alex Crichton | -1/+1 | |
| These were temporarily moved to explicit implementations, but now that fmt is in core it's possible to derive again. | ||||
| 2014-05-15 | core: Remove the unit module | Brian Anderson | -1/+17 | |
| 2014-05-14 | auto merge of #14133 : db48x/rust/ord-for-mut-refs, r=alexcrichton | bors | -1/+33 | |
| Also Show, which is useful in assertions. Fixes #14074 | ||||
| 2014-05-14 | define Eq,TotalEq,Ord,TotalOrd for &mut T | Daniel Brooks | -1/+33 | |
| Also Show, which is useful in assertions. Fixes #14074 | ||||
| 2014-05-13 | std: Move the owned module from core to std | Alex Crichton | -24/+0 | |
| The compiler was updated to recognize that implementations for ty_uniq(..) are allowed if the Box lang item is located in the current crate. This enforces the idea that libcore cannot allocated, and moves all related trait implementations from libcore to libstd. This is a breaking change in that the AnyOwnExt trait has moved from the any module to the owned module. Any previous users of std::any::AnyOwnExt should now use std::owned::AnyOwnExt instead. This was done because the trait is intended for Box traits and only Box traits. [breaking-change] | ||||
| 2014-05-07 | Test fixes and rebase conflicts | Alex Crichton | -12/+13 | |
| 2014-05-07 | core: Inhert ~/@/& cmp traits, remove old modules | Alex Crichton | -0/+75 | |
| This commit removes the std::{managed, reference} modules. The modules serve essentially no purpose, and the only free function removed was `managed::ptr_eq` which can be achieved by comparing references. [breaking-change] | ||||
| 2014-05-07 | core: Inherit the cmp module | Alex Crichton | -0/+244 | |
| This removes the TotalOrd and TotalEq implementation macros, they will be added later to the numeric modules (where the other comparison implementations live). | ||||
| 2013-05-22 | libstd: Rename libcore to libstd and libstd to libextra; update makefiles. | Patrick Walton | -265/+0 | |
| This only changes the directory names; it does not change the "real" metadata names. | ||||
| 2013-05-18 | Convert various inner doc-comments to outer doc-comments | Brendan Zabarauskas | -2/+1 | |
| 2013-05-06 | Move FuzzyEq trait into core::cmp and rename it to 'ApproxEq' | Brendan Zabarauskas | -0/+7 | |
| 2013-04-25 | implement Ord, TotalEq and TotalOrd for char | Daniel Micay | -0/+4 | |
| Closes #6063 | ||||
| 2013-04-12 | auto merge of #5827 : ↵ | bors | -0/+21 | |
| nikomatsakis/rust/issue-5656-change-meaning-of-borrowed-self, r=pcwalton See #5656 for details. r? @pcwalton | ||||
| 2013-04-12 | libcore: combine cmp::Ordering instances in lexical order. | Huon Wilson | -0/+27 | |
| 2013-04-10 | Reason about nested free variables that appear in a function | Niko Matsakis | -0/+21 | |
| signature. In a nutshell, the idea is to (1) report an error if, for a region pointer `'a T`, the lifetime `'a` is longer than any lifetimes that appear in `T` (in other words, if a borrowed pointer outlives any portion of its contents) and then (2) use this to assume that in a function like `fn(self: &'a &'b T)`, the relationship `'a <= 'b` holds. This is needed for #5656. Fixes #5728. | ||||
| 2013-04-07 | cmp: add Ord+TotalOrd impls for Ordering itself | Daniel Micay | -1/+25 | |
| 2013-04-07 | cmp: derive Clone for Ordering | Daniel Micay | -1/+1 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -2/+2 | |
| 2013-03-27 | add a TotalEq trait | Daniel Micay | -11/+44 | |
| 2013-03-27 | cmp: rm TotalOrd impl code duplication | Daniel Micay | -53/+22 | |
| 2013-03-22 | libcore: Remove `pure` from libcore. rs=depure | Patrick Walton | -27/+27 | |
| 2013-03-22 | core: replace uses of old deriving attribute with new one | Andrew Paseltiner | -1/+1 | |
| 2013-03-20 | change some uses of fail_unless to assert_eq | John Clements | -5/+5 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -5/+5 | |
| 2013-03-05 | libcore: Implement an `Equiv` trait and use it on hashmaps. | Patrick Walton | -0/+8 | |
| 7.3x speedup in string map search speed on a microbenchmark of pure hashmap searching against a constant string, due to the lack of allocations. I ran into a few snags. 1. The way the coherence check is set up, I can't implement `Equiv<@str>` and `Equiv<~str>` for `&str` simultaneously. 2. I wanted to implement `Equiv<T>` for all `T:Eq` (i.e. every type can be compared to itself if it implements `Eq`), but the coherence check didn't like that either. 3. I couldn't add this to the `Map` trait because `LinearMap` needs special handling for its `Q` type parameter: it must not only implement `Equiv<T>` but also `Hash` and `Eq`. 4. `find_equiv(&&"foo")` doesn't parse, because of the double ampersand. It has to be written `find_equiv(& &"foo")`. We can probably just fix this. Nevertheless, this is a huge win; it should address a major source of performance problems, including the one here: http://maniagnosis.crsr.net/2013/02/creating-letterpress-cheating-program.html | ||||
| 2013-03-02 | inline the implementation of TotalOrd for integers | Daniel Micay | -0/+1 | |
| 2013-03-02 | add a TotalOrd trait | Daniel Micay | -0/+76 | |
| 2013-02-20 | librustc: Separate most trait bounds with '+'. rs=plussing | Patrick Walton | -8/+8 | |
| 2013-02-13 | core: add min and max to cmp, re-export various places. | Graydon Hoare | -0/+9 | |
| 2013-02-07 | Make ~fn non-copyable, make &fn copyable, split barefn/closure types, | Niko Matsakis | -4/+0 | |
| correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719. | ||||
| 2013-01-30 | librustc: Change `self` as a type to `Self` everywhere. r=brson | Patrick Walton | -6/+6 | |
| 2013-01-13 | core: Align cmp::le() with the other implementations | Peter Williams | -4/+10 | |
| Also add comments reminding that IEEE 754 requires unusual semantics for comparison operators as applied to NaNs (x != x, if x = NaN), in case someone in the future wants to get clever. | ||||
| 2013-01-14 | Inlining methods/functions in core. | gifnksm | -0/+6 | |
| Also inlining some functions which take functions as arguments. | ||||
| 2012-12-03 | Update license, add license boilerplate to most files. Remainder will follow. | Graydon Hoare | -0/+10 | |
| 2012-11-30 | core: Make core.rc more readable. Cleanup | Brian Anderson | -60/+25 | |
| 2012-11-28 | Register snapshots | Brian Anderson | -38/+0 | |
| 2012-11-19 | rustc: Implement explicit self for Eq and Ord. r=graydon | Patrick Walton | -0/+39 | |
| 2012-09-28 | De-export ops, cmp, num. Part of #3583. | Graydon Hoare | -2/+0 | |
| 2012-09-26 | libcore: De-export box, cast, and dlist | Patrick Walton | -15/+14 | |
| 2012-09-23 | Register snapshots. Remove redundant Eq impls, Makefile hacks | Brian Anderson | -79/+0 | |
| 2012-09-21 | Install new pub/priv/export rules as defaults, old rules accessible under ↵ | Graydon Hoare | -2/+6 | |
| #[legacy_exports]; | ||||
| 2012-09-20 | rustc: De-mode all overloaded operators | Patrick Walton | -38/+130 | |
| 2012-09-19 | core: Clean up crate docs and give all mods a brief description | Brian Anderson | -2/+14 | |
| 2012-09-12 | Document IterBytes, Eq, Cmp, Hash. Close #3449. | Graydon Hoare | -0/+16 | |
| 2012-09-07 | rustc: Add an "ne" method to the Eq trait, and implement it everywhere | Patrick Walton | -0/+6 | |
| 2012-08-29 | rustc: Make `<=`, `>=`, and `>` use traits as well | Patrick Walton | -0/+15 | |
| 2012-08-29 | rustc: Make `<` and `=` into traits | Patrick Walton | -3/+3 | |
| 2012-08-27 | libcore: Fix build harder | Patrick Walton | -3/+11 | |
| 2012-08-27 | libcore: Fix core test | Patrick Walton | -0/+3 | |
| 2012-08-27 | libcore: Implement ord and eq language items | Patrick Walton | -0/+4 | |
