| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2012-08-13 | core: Camel case some lesser-used modules | Brian Anderson | -5/+5 | |
| 2012-08-13 | De-mode-ify a few minor libcore modules. | Graydon Hoare | -0/+4 | |
| 2012-08-02 | Remove modes from map API and replace with regions. | Niko Matsakis | -0/+11 | |
| API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map). | ||||
| 2012-07-26 | core: Mark a bunch of numeric functions as pure | Patrick Walton | -4/+4 | |
| 2012-07-04 | convert doc-attributes to doc-comments using ↵ | Gareth Daniel Smith | -1/+1 | |
| ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498 | ||||
| 2012-06-06 | Revert "Revert "Merge pull request #2516 from mozilla/incoming" due to failures" | Tim Chevalier | -0/+10 | |
| This reverts commit 9fae95860de510f6874810cf43efb83f101246ef. | ||||
