| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-07-12 | rustc: Simplify tritv::copy; shaves a couple of seconds off typestate. | Patrick Walton | -17/+4 | |
| 2011-07-12 | Add missing files | Tim Chevalier | -111/+44 | |
| git add didn't, so this actually has the changes that should have been in the previous commit | ||||
| 2011-07-12 | Fix potential use-before-init bug in trans | Tim Chevalier | -5/+9 | |
| This was being masked by a bug in typestate (fixed in the next commit). | ||||
| 2011-07-12 | Update pretty-printing of '...' in record patterns to be ', _' instead | Marijn Haverbeke | -1/+4 | |
| 2011-07-11 | Fix pretty-printing of literals again. Issue #672 | Brian Anderson | -1/+6 | |
| The pos variable is one character beyond where I thought it was. | ||||
| 2011-07-11 | Make the parser add correct spans to view_items | Tim Chevalier | -30/+19 | |
| Closes #650. | ||||
| 2011-07-11 | Pass command-line args to the test runner. Issue #428 | Brian Anderson | -5/+28 | |
| This will let the test runner filter the tests it runs. | ||||
| 2011-07-11 | So... I can't spell 'ellipsis'. | Paul Stansifer | -8/+8 | |
| 2011-07-11 | Change "etc" syntax for record patterns from `{a:b ...}` to `{a:b, _}`. | Paul Stansifer | -5/+6 | |
| 2011-07-11 | Add elipses, reorganize the macro components into their own AST node. | Paul Stansifer | -103/+206 | |
| 2011-07-11 | Move macro expansion to a separate phase, change macro syntax, and add ↵ | Paul Stansifer | -168/+330 | |
| parse_sess to session. | ||||
| 2011-07-11 | Add nodes for embedding types and blocks in expressions for macros. | Paul Stansifer | -45/+58 | |
| 2011-07-11 | Only print up to six lines on error. Print ^~~~~ to highlight error span. | Josh Matthews | -1/+50 | |
| 2011-07-11 | Hack to print lines when error spans are available. | Josh Matthews | -2/+55 | |
| 2011-07-11 | Visit the type argument in a port expression | Tim Chevalier | -1/+8 | |
| This closes #664. | ||||
| 2011-07-11 | Add parser::parse_crate_from_source_str | Brian Anderson | -0/+18 | |
| The fuzzer wants to be able to do stuff like this | ||||
| 2011-07-11 | In typeck, check for dynamically sized by-value arguments to thunks | Tim Chevalier | -11/+49 | |
| A check in trans didn't have a corresponding check in typeck, causing some programs (to wit, compile-fail/chan-parameterized-args.rs - part of this commit) to fail with an assertion failure in trans instead of a type error. Fixed it. In short, arguments that are future thunk arguments (any spawn arguments, and _ arguments in bind) need to either not contain type params or type vars, or be by-reference. Closes #665. | ||||
| 2011-07-11 | Pull lexer creation out of new_parser | Brian Anderson | -15/+20 | |
| This will allow custom lexers to be injected into the parser (for fuzzing) | ||||
| 2011-07-11 | Pull file reading out of the lexer | Brian Anderson | -10/+11 | |
| 2011-07-11 | rustc: Implement explicit global scope resolution via leading "::"; add a ↵ | Patrick Walton | -31/+56 | |
| test case | ||||
| 2011-07-11 | Unify the rhs and lhs types in a send | Tim Chevalier | -0/+1 | |
| Closes #662. One-line fixes are always the best :-D | ||||
| 2011-07-11 | rustc: Implement pointer dereference; add a test case | Patrick Walton | -2/+5 | |
| 2011-07-11 | Fix comparisons of the nil type to do something sensible. | Michael Sullivan | -21/+19 | |
| Closes #576. | ||||
| 2011-07-11 | The lexer's get_mark_str should slice by byte position, not char. Closes #654 | Brian Anderson | -3/+4 | |
| 2011-07-11 | Use some actual or-patterns in resolve.rs | Marijn Haverbeke | -70/+34 | |
| 2011-07-11 | Fix pretty-printing of record patterns | Marijn Haverbeke | -3/+3 | |
| 2011-07-11 | Fix autoderef of function calls when the function is not an lval. | Michael Sullivan | -18/+4 | |
| As it turns out, the correct way to handle this is much simpler than what I did originally. Also add more tests. | ||||
| 2011-07-11 | Fix handling of derived tydescs in bind. | Michael Sullivan | -4/+10 | |
| In trans_bind_thunk, we need to load the tydescs from the environment *before* we try to construct derived tydescs from them. | ||||
| 2011-07-11 | Fix bind to work with boxed arguments with type parameters. | Michael Sullivan | -2/+6 | |
| This still doesn't work with bare fn arguments with type parameters. | ||||
| 2011-07-11 | Implement record patterns | Marijn Haverbeke | -2/+164 | |
| Closes #469. | ||||
| 2011-07-11 | Move visit to newtype-style nominal type | Marijn Haverbeke | -129/+126 | |
| This makes getting the function fields out of the visitor less cumbersome and more efficient (no take/drop). | ||||
| 2011-07-11 | Output a meaningful error when too few or too many type parameters given | Marijn Haverbeke | -3/+11 | |
| Closes #619 | ||||
| 2011-07-11 | Implement or-patterns in case clauses | Marijn Haverbeke | -40/+129 | |
| You can now say expr_move(?dst, ?src) | expr_assign(?dst, ?src) { ... } to match both expr_move and expr_assign. The names, types, and number of bound names have to match in all the patterns. Closes #449. | ||||
| 2011-07-11 | Spill instead of copy when binding a pattern that's only a var binding | Marijn Haverbeke | -17/+11 | |
| The alias rules guarantee that the alt-ed value will outlive the binding's last use, so this is safe. This is a preparation for or-patterns. Joining scoped bindings seems like it would get messy. | ||||
| 2011-07-10 | Add a missing case so nbody.rs can pp | Jesse Ruderman | -0/+1 | |
| 2011-07-10 | Export noop_fold_expr so the fuzzer can use it | Jesse Ruderman | -0/+1 | |
| 2011-07-10 | Make #fmt work from inside std. Issue #175 | Brian Anderson | -10/+25 | |
| At long last, this patch makes #fmt usable from inside the standard library. The way it does it us very hackish, but at least it works now. | ||||
| 2011-07-10 | Use more encapsulation for metadata::cstore | Brian Anderson | -25/+69 | |
| 2011-07-09 | rustc: Make rust-intrinsics take an explicit return pointer | Patrick Walton | -23/+48 | |
| 2011-07-09 | Generate code to load a crate's tests into the std test runner. Issue #428 | Brian Anderson | -37/+218 | |
| 2011-07-09 | Collect functions that look like unit tests. Issue #428 | Brian Anderson | -3/+31 | |
| 2011-07-09 | Track the path as we fold over the AST looking for unit tests. Issue #428 | Brian Anderson | -4/+21 | |
| 2011-07-08 | Propagate constraints through copy, move, and swap | Tim Chevalier | -133/+442 | |
| Assignments and moves with a simple local variable reference on the RHS now propagate any typestate constraints the RHS was involved in to the LHS. Swaps where both sides are local variables exchange the constraints. This was a pain in the butt and I'm still not proud of the resulting code. Needs refactoring like whoa. | ||||
| 2011-07-08 | Minor refactoring | Tim Chevalier | -3/+11 | |
| 2011-07-08 | Alias-ify some prettyprinting functions | Tim Chevalier | -3/+4 | |
| 2011-07-08 | Improve impossible-case handling in ty::get_element_type | Tim Chevalier | -4/+5 | |
| 2011-07-08 | Improve the error message for import glob collisions. Closes #482 | Brian Anderson | -17/+31 | |
| Instead of noting where the imported things were defined, note where they were imported. This is more useful and avoids issue #482. | ||||
| 2011-07-08 | rustc: Use interior vectors for the union-find in rustc | Patrick Walton | -21/+24 | |
| 2011-07-08 | rustc: Fix a level-of-indirection problem by using size_of() to compute ↵ | Patrick Walton | -4/+2 | |
| dynamically sized interior vector element sizes instead of field_of_tydesc() | ||||
| 2011-07-08 | Decode types across multiple crates. Closes #632 | Brian Anderson | -27/+71 | |
