| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-30 | Remove vec::{map, mapi, zip_map} and the methods, except for .map, since this | Huon Wilson | -2/+1 | |
| is very common, and the replacement (.iter().transform().collect()) is very ugly. | ||||
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -13/+7 | |
| 2013-06-23 | vec: remove BaseIter implementation | Daniel Micay | -4/+4 | |
| I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway. | ||||
| 2013-06-21 | vec: rm old_iter implementations, except BaseIter | Daniel Micay | -1/+1 | |
| The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`. | ||||
| 2013-06-14 | add IteratorUtil to the prelude | Daniel Micay | -2/+0 | |
| 2013-06-13 | Revert "std: convert {vec,str}::to_owned to methods." | Brian Anderson | -2/+3 | |
| This fixes the strange random crashes in compile-fail tests. This reverts commit 96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3. Conflicts: src/librustc/driver/driver.rs src/libstd/str.rs src/libsyntax/ext/quote.rs | ||||
| 2013-06-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -9/+9 | |
| This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately. | ||||
| 2013-06-12 | std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵ | Huon Wilson | -1/+0 | |
| .as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str). | ||||
| 2013-06-12 | std: convert {vec,str}::to_owned to methods. | Huon Wilson | -2/+2 | |
| 2013-06-11 | fix tests, remove some warnings | Huon Wilson | -3/+2 | |
| 2013-06-10 | std: remove str::{connect,concat}*. | Huon Wilson | -1/+1 | |
| 2013-06-09 | std: remove fold[lr] in favour of iterators | Huon Wilson | -8/+6 | |
| 2013-06-08 | std: remove each[i]_mut functions, in favour of iterators. | Huon Wilson | -1/+2 | |
| 2013-06-06 | Clean up a handful of build warnings. | Michael Sullivan | -2/+2 | |
| 2013-06-05 | removed unused imports (and one unused argument) | John Clements | -3/+2 | |
| 2013-06-05 | remove interner from tt_reader | John Clements | -8/+3 | |
| 2013-06-05 | token_to_ident takes argument by reference | John Clements | -8/+8 | |
| 2013-06-05 | interner just uses uints, not idents with syntax context | John Clements | -21/+22 | |
| 2013-06-05 | just use TLS interner | John Clements | -19/+19 | |
| 2013-05-30 | Remove copy bindings from patterns. | Niko Matsakis | -7/+7 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+6 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+6 | |
| to libextra | ||||
| 2013-05-22 | Fix ICE in macros | Corey Richardson | -4/+7 | |
| 2013-05-22 | syntax/ext: modernise ext_ctxt to be CamelCase and use new. | Huon Wilson | -4/+4 | |
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -12/+12 | |
| 2013-05-14 | syntax: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -34/+33 | |
| 2013-05-11 | Warning police | Tim Chevalier | -2/+2 | |
| 2013-05-11 | auto merge of #6389 : sonwow/rust/issue-3356, r=bstrie | bors | -2/+2 | |
| Fix for #3356 | ||||
| 2013-05-10 | renamed vec::from_slice to vec::to_owned | Youngsoo Son | -2/+2 | |
| 2013-05-09 | Use a specialized string interner to reduce the need for owned strings | Björn Steinbrink | -2/+2 | |
| &str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str. | ||||
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -8/+0 | |
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -6/+0 | |
| 2013-04-24 | Remove needless FIXME. Fixes #2811. | Niko Matsakis | -2/+0 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -14/+14 | |
| 2013-04-03 | auto merge of #5696 : thestinger/rust/hashmap, r=sanxiyn | bors | -10/+10 | |
| This naming is free now that `oldmap` has finally been removed, so this is a search-and-replace to take advantage of that. It might as well be called `HashMap` instead of being named after the specific implementation, since there's only one. SipHash distributes keys so well that I don't think there will ever be much need to use anything but a simple hash table with open addressing. If there *is* a better way to do it, it will probably be better in all cases and can just be the default implementation. A cuckoo-hashing implementation combining a weaker hash with SipHash could be useful, but that won't be as general purpose - you would need to write a separate fast hash function specialized for the type to really take advantage of it (like taking a page from libstdc++/libc++ and just using the integer value as the "hash"). I think a more specific naming for a truly alternative implementation like that would be fine, with the nice naming reserved for the general purpose container. | ||||
| 2013-04-03 | auto merge of #5559 : jbclements/rust/change-to-tt-based-parsing, r=jbclements | bors | -28/+29 | |
| Changes the parser to parse all streams into token-trees before hitting the parser proper, in preparation for hygiene. As an added bonus, it appears to speed up the parser (albeit by a totally imperceptible 1%). Also, many comments in the parser. Also, field renaming in token-trees (readme->forest, cur->stack). | ||||
| 2013-04-03 | rename Linear{Map,Set} => Hash{Map,Set} | Daniel Micay | -10/+10 | |
| 2013-04-03 | hashmap: rm linear namespace | Daniel Micay | -2/+2 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-29 | field renaming | John Clements | -28/+29 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -2/+2 | |
| 2013-03-26 | syntax: Removing uses of HashMap | Alex Crichton | -14/+18 | |
| 2013-03-26 | Remove unused imports throughout | Alex Crichton | -6/+2 | |
| 2013-03-22 | librustc: Add explicit lifetime binders and new lifetime notation in ↵ | Patrick Walton | -1/+1 | |
| core/std/syntax/rustc | ||||
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -4/+4 | |
| 2013-03-21 | back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵ | Marvin Löbel | -1/+1 | |
| slice_unique | ||||
| 2013-03-21 | renamed str::view -> slice_DBG_BRWD | Marvin Löbel | -1/+1 | |
| renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD | ||||
| 2013-03-18 | librustc: Make the compiler ignore purity. | Patrick Walton | -10/+23 | |
| 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-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -13/+19 | |
| 2013-03-08 | syntax: Remove uses of DVec | Alex Crichton | -9/+9 | |
