| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-14 | Implement a deriving(Zero) attribute | Alex Crichton | -0/+98 | |
| 2013-06-14 | fixed code to placate new restrictions on form of function/method invocations. | Felix S. Klock II | -1/+1 | |
| 2013-06-13 | Revert "std: convert {vec,str}::to_owned to methods." | Brian Anderson | -8/+16 | |
| 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-14 | syntax: revert the uint -> u32 "fix"; make the names/comment match. | Huon Wilson | -4/+4 | |
| 2013-06-14 | syntax: correct the Rand::rand call to select enum variants in ↵ | Huon Wilson | -4/+5 | |
| #[deriving(Rand)]. Previously, this was not a global call, and so when `#[deriving(Rand)]` was in any module other than the top-level one, it failed (unless there was a `use std;` in scope). Also, fix a minor inconsistency between uints and u32s for this piece of code. | ||||
| 2013-06-13 | automated whitespace fixes | Daniel Micay | -1/+0 | |
| 2013-06-13 | Fix #3961 : use char range methods instead of byte offsets to detect whitespace. | Felix S. Klock II | -14/+23 | |
| 2013-06-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -451/+432 | |
| 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 | Fix a test-predicated use of the visit.rs api. | Felix S. Klock II | -1/+1 | |
| 2013-06-12 | Fix linebreak and whitespace issues to placate make tidy. | Felix S. Klock II | -1/+2 | |
| 2013-06-12 | Visitor refactoring: Step 1, couple (Env, vt<Env>) together in a tuple. | Felix S. Klock II | -337/+323 | |
| 2013-06-12 | libsyntax: Remove duplicate methods. | Luqman Aden | -7/+0 | |
| 2013-06-12 | std: convert str::escape_* to methods. | Huon Wilson | -3/+2 | |
| 2013-06-12 | std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵ | Huon Wilson | -9/+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 | -11/+9 | |
| 2013-06-11 | option: remove redundant old_iter impls | Daniel Micay | -23/+36 | |
| 2013-06-11 | lexer: show correct span on unrecognized token start | Philipp Brüschweiler | -1/+5 | |
| Fixes part of #7048. | ||||
| 2013-06-11 | fix tests, remove some warnings | Huon Wilson | -7/+2 | |
| 2013-06-10 | std: remove str::{connect,concat}*. | Huon Wilson | -22/+15 | |
| 2013-06-10 | clean-up unused import warnings | Huon Wilson | -3/+1 | |
| 2013-06-10 | std: convert str::char_at* to methods. | Huon Wilson | -2/+2 | |
| 2013-06-10 | std: convert str::reserve* to methods, and methodise str::push_*. | Huon Wilson | -19/+19 | |
| 2013-06-10 | std: replace str::{any,all}_between with the iterator equivalent. | Huon Wilson | -1/+1 | |
| 2013-06-10 | std: convert character-based str::find_* to methods. Add .slice_{to,from} ↵ | Huon Wilson | -6/+5 | |
| methods. | ||||
| 2013-06-10 | std: remove str::{len, slice, is_empty} in favour of methods. | Huon Wilson | -13/+12 | |
| 2013-06-10 | std: replace str::all/any fns and methods with iterators | Huon Wilson | -1/+2 | |
| 2013-06-10 | std: replace str::each_split* with an iterator | Huon Wilson | -6/+5 | |
| 2013-06-08 | remove deprecated vec::{is_empty, len} functions | Daniel Micay | -5/+5 | |
| 2013-06-08 | auto merge of #7004 : dotdash/rust/allocs, r=thestinger | bors | -44/+60 | |
| This removes some unnecessary allocations in the lexer, the typechecker and the metadata decoder. Reduces the time spent in the parsing and typechecking passes by about 10% for me. | ||||
| 2013-06-09 | remove unused import warnings | Huon Wilson | -16/+11 | |
| 2013-06-09 | std: replace the str::each* fns/methods with byte iterators | Huon Wilson | -1/+2 | |
| 2013-06-09 | std: remove each_char* fns and methods from str, replaced by iterators. | Huon Wilson | -2/+3 | |
| 2013-06-09 | std: remove foldr and alli methods in vec | Huon Wilson | -7/+9 | |
| 2013-06-09 | std: remove fold[lr] in favour of iterators | Huon Wilson | -12/+12 | |
| 2013-06-08 | Lexer: Fix offset handling in get_str_from() | Björn Steinbrink | -10/+8 | |
| As the comment said, the subtraction is bogus for multibyte characters. Fortunately, we can just use last_pos instead of pos to get the correct position without any subtraction hackery. | ||||
| 2013-06-08 | Lexer: Avoid unnecessary allocations | Björn Steinbrink | -42/+57 | |
| 2013-06-08 | Avoid unnecessary (re-)allocations in the lexer | Björn Steinbrink | -7/+8 | |
| 2013-06-08 | std: remove each[i]_mut functions, in favour of iterators. | Huon Wilson | -3/+4 | |
| 2013-06-08 | std: remove vec::each2 and vec::each2_mut in favour of iterators | Huon Wilson | -2/+3 | |
| 2013-06-07 | syntax: correct the modifications to deriving(Ord) so that it works. | Huon Wilson | -30/+13 | |
| 2013-06-07 | syntax: rewrite deriving(Ord) to not require Eq. | Huon Wilson | -57/+59 | |
| lt and gt are implement directly in terms of the corresponding method on their elements, and le and ge are the negations of these. | ||||
| 2013-06-07 | syntax: move expand_generic_deriving to be a method on TraitDef | Huon Wilson | -55/+37 | |
| 2013-06-07 | syntax: move functions from deriving/mod to deriving/generic. | Huon Wilson | -277/+199 | |
| These are now only called in generic and can be private. This includes manually inlining/merging some that are called once. | ||||
| 2013-06-06 | auto merge of #6982 : Aatch/rust/better-foreign-error, r=pcwalton | bors | -2/+2 | |
| I encountered this. A straight fail is not useful and most people aren't going to happily spelunk in `parser.rs` | ||||
| 2013-06-07 | Provide an actual error when expanding macros to foreign items | James Miller | -2/+2 | |
| 2013-06-06 | implement fold traversing macros | John Clements | -3/+38 | |
| 2013-06-06 | add test cases for fold traversing macros | John Clements | -0/+150 | |
| 2013-06-06 | Clean up a handful of build warnings. | Michael Sullivan | -13/+13 | |
| 2013-06-06 | Deduplicate words in code comments | Alexei Sholik | -3/+3 | |
| 2013-06-05 | moved TLS of sctable to ast_util, hid parameter in hygiene calls | John Clements | -81/+103 | |
