| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-29 | Merge remote-tracking branch 'remotes/origin/incoming' into serial | Erick Tryzelaar | -143/+143 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -143/+143 | |
| 2013-03-29 | Merge remote-tracking branch 'remotes/origin/incoming' into serial | Erick Tryzelaar | -2/+2 | |
| 2013-03-29 | core: add LinearMap::with_capacity | Erick Tryzelaar | -3/+17 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -2/+2 | |
| 2013-03-27 | hashmap: improve docstring | Daniel Micay | -1/+4 | |
| 2013-03-26 | librustc: Modify all code to use new lifetime binder syntax | Patrick Walton | -4/+3 | |
| 2013-03-26 | syntax: Removing uses of HashMap | Alex Crichton | -0/+5 | |
| 2013-03-24 | expose find_mut in the Map trait | Daniel Micay | -11/+11 | |
| 2013-03-24 | hashmap: add find_mut method | Daniel Micay | -1/+34 | |
| 2013-03-22 | librustc: Remove the `const` declaration form everywhere | Patrick Walton | -1/+1 | |
| 2013-03-22 | libcore: Remove `pure` from libcore. rs=depure | Patrick Walton | -58/+49 | |
| 2013-03-22 | librustc: Remove all uses of `static` from functions. rs=destatic | Patrick Walton | -2/+2 | |
| 2013-03-18 | librustc: Make the compiler ignore purity. | Patrick Walton | -4/+4 | |
| For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed. | ||||
| 2013-03-18 | librustc: Convert all uses of old lifetime notation to new lifetime ↵ | Patrick Walton | -8/+8 | |
| notation. rs=delifetiming | ||||
| 2013-03-14 | auto merge of #5365 : thestinger/rust/map, r=catamorphism | bors | -0/+13 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -0/+1 | |
| 2013-03-13 | add the mutate_values method to the Map trait | Daniel Micay | -0/+13 | |
| 2013-03-11 | libsyntax: Stop parsing bare functions in preparation for switching them over | Patrick Walton | -1/+3 | |
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -12/+12 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -140/+140 | |
| 2013-03-06 | Add manual &self/ and &static/ and /&self declarations that | Niko Matsakis | -1/+3 | |
| are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations. | ||||
| 2013-03-05 | libcore: Implement an `Equiv` trait and use it on hashmaps. | Patrick Walton | -1/+50 | |
| 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-04 | Remove unused imports throughout src/ | Alex Crichton | -3/+0 | |
| 2013-03-02 | make LinearMap fields private | Daniel Micay | -313/+313 | |
| Closes #4764 | ||||
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -7/+6 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-20 | librustc: Separate most trait bounds with '+'. rs=plussing | Patrick Walton | -15/+15 | |
| 2013-02-15 | add reserve_at_least method to LinearMap/LinearSet | Daniel Micay | -4/+25 | |
| 2013-02-15 | rm FIXME from LinearMap's to_bucket | Daniel Micay | -4/+2 | |
| There are no more poor hash functions left in the codebase, and it makes sense to rely on there being a good hash function thanks to the inclusion of SipHash and the ease of using it with custom types. Closes #3041 | ||||
| 2013-02-14 | auto merge of #4934 : nickdesaulniers/rust/issue4524cleanup, r=brson | bors | -3/+3 | |
| review? @brson Issue #4524 | ||||
| 2013-02-14 | librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵ | Patrick Walton | -10/+10 | |
| rs=implflipping | ||||
| 2013-02-14 | Remove all final references to die! | Nick Desaulniers | -3/+3 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -3/+3 | |
| 2013-02-12 | Adjust borrow checker algorithm to address #4856 unsoundness, | Niko Matsakis | -2/+6 | |
| and then adjust code to match. rs=unsound (will review post-landing) | ||||
| 2013-02-10 | core: add LinearMap::find_or_insert{,_with} | Erick Tryzelaar | -13/+81 | |
| This allows for inserting a new value into the map only if it doesn't already exist in the map. | ||||
| 2013-02-10 | core: rename hashmap test functions | Erick Tryzelaar | -10/+10 | |
| 2013-02-10 | libcore: LinearMap doesn't need to pass around the bucket vec | Erick Tryzelaar | -10/+7 | |
| 2013-02-07 | implement BaseIter for LinearMap | Daniel Micay | -17/+21 | |
| 2013-02-07 | rm each method from the Map trait | Daniel Micay | -13/+13 | |
| the map types should implement BaseIter instead | ||||
| 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-02-06 | remove issue #3148 workarounds (no longer needed) | Daniel Micay | -5/+2 | |
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -1/+1 | |
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -3/+3 | |
| 2013-01-30 | Use task local random when initializing maps | Alex Crichton | -1/+1 | |
| 2013-01-29 | core tests: Add use vec; directive inside core::hashmap tests | Tim Chevalier | -0/+1 | |
| This is probably to work around a bug. | ||||
| 2013-01-29 | add intersection and union to the Set trait | Daniel Micay | -1/+83 | |
| 2013-01-29 | add difference and symmetric_difference to Set | Daniel Micay | -0/+65 | |
| 2013-01-29 | add is_disjoint to the Set trait | Daniel Micay | -3/+30 | |
| 2013-01-29 | add is_subset and is_superset to the Set trait | Daniel Micay | -1/+46 | |
| 2013-01-29 | Long line | Tim Chevalier | -2/+2 | |
