| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-16 | reorder args to the various vec, option fns so blk comes last | Niko Matsakis | -1/+1 | |
| 2011-12-14 | push changes through to get things compiling, if not running. | Niko Matsakis | -2/+3 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -3/+3 | |
| 2011-12-08 | Allow binding of nested patterns | Marijn Haverbeke | -1/+1 | |
| See src/test/run-pass/nested-patterns.rs for some examples. The syntax is boundvar@subpattern Which will match the subpattern as usual, but also bind boundvar to the whole matched value. Closes #838 | ||||
| 2011-12-07 | Remove stmt_crate_directive, it's vestigial and confusing. | Graydon Hoare | -4/+0 | |
| 2011-11-30 | Box ast::path values | Marijn Haverbeke | -3/+3 | |
| It seems inefficient to copy them around. Let's measure whether that's actually > the case | ||||
| 2011-11-22 | Only warn about unreachable range patterns when appropriate | Marijn Haverbeke | -1/+0 | |
| Also simplifies the literal-munging, and moves it into ast_util Closes #1170 | ||||
| 2011-11-21 | rustc: Remove abi from ast::native_mod | Haitao Li | -1/+1 | |
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-10 | Cleanup unused imports | Haitao Li | -10/+7 | |
| 2011-10-21 | Change the way block calls are parsed, mark them as block-calls. | Marijn Haverbeke | -1/+1 | |
| This makes it possible to omit the semicolon after the block, and will cause the pretty-printer to properly print such calls (if pretty-printing of blocks wasn't so broken). Block calls (with the block outside of the parentheses) can now only occur at statement level, and their value can not be used. When calling a block-style function that returns a useful value, the block must be put insde the parentheses. Issue #1054 | ||||
| 2011-10-21 | Move ast_util::pat_bindings over to new iter system. | Marijn Haverbeke | -2/+2 | |
| Issue #1056 | ||||
| 2011-10-21 | Move hash table iteration over to block-taking functions | Marijn Haverbeke | -8/+6 | |
| Issue #1056 | ||||
| 2011-09-15 | Forbid assignment to by-reference bindings | Marijn Haverbeke | -4/+5 | |
| Issue #918 | ||||
| 2011-09-15 | Add representation for by-ref let bindings | Marijn Haverbeke | -2/+4 | |
| Issue #918 | ||||
| 2011-09-14 | Rename ast::controlflow to ast::ret_style | Marijn Haverbeke | -3/+3 | |
| It will include information about returning by alias. | ||||
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -34/+12 | |
| 2011-09-12 | Pretty-print for new arg-mode syntax | Marijn Haverbeke | -1/+1 | |
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -117/+113 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-12 | Make the names of the arg mode tag reflect their (revised) meaning | Marijn Haverbeke | -1/+1 | |
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -86/+81 | |
| 2011-09-01 | Rename std::istr to std::str. Issue #855 | Brian Anderson | -1/+1 | |
| 2011-09-01 | Remove std::str. Issue #855 | Brian Anderson | -1/+0 | |
| 2011-09-01 | No, not all fn constraints have the same args as the fn does, in the same ↵ | Tim Chevalier | -4/+18 | |
| order... derp! Closes #862 | ||||
| 2011-09-01 | Remove various istr conversions. Issue #855 | Brian Anderson | -4/+4 | |
| 2011-09-01 | Make resolve recognize upvars | Marijn Haverbeke | -33/+10 | |
| Upvars are now marked with def_upvar throughout, not just when going through freevars::lookup_def. This makes things less error-prone. One thing to watch out for is that def_upvar is used in `for each` bodies too, when they refer to a local outside the body. | ||||
| 2011-09-01 | Store arg mode and objfield mutability in their def | Marijn Haverbeke | -4/+4 | |
| 2011-08-27 | Convert rustc::driver::session to istrs. Issue #855 | Brian Anderson | -21/+21 | |
| 2011-08-27 | Convert pretty-printer to istrs. Issue #855 | Brian Anderson | -10/+10 | |
| 2011-08-27 | Convert rustc::util to istrs. Issue #855 | Brian Anderson | -2/+3 | |
| 2011-08-27 | Convert the rest of rustc::middle to istrs. Issue #855 | Brian Anderson | -38/+39 | |
| 2011-08-27 | Convert ast::ident to istr. Issue #855 | Brian Anderson | -7/+12 | |
| 2011-08-27 | Convert std::int to istrs. Issue #855 | Brian Anderson | -5/+9 | |
| 2011-08-27 | Convert std::uint to istrs. Issue #855 | Brian Anderson | -1/+2 | |
| 2011-08-26 | Let typestate constraints mention pattern-bound vars | Tim Chevalier | -5/+10 | |
| 2011-08-22 | Move functions from syntax::ast to syntax::ast_util | Brian Anderson | -0/+1 | |
| This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer | ||||
| 2011-08-20 | Reformat | Brian Anderson | -103/+94 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 2011-08-18 | Remove or _-prefix all unused function arguments | Marijn Haverbeke | -5/+5 | |
| This should make the compilation process a bit less noisy. | ||||
| 2011-08-16 | Port the compiler to the expr foo::<T> syntax. | Erick Tryzelaar | -5/+5 | |
| 2011-08-16 | Port the compiler to foo<T> decl syntax. | Erick Tryzelaar | -3/+3 | |
| 2011-08-16 | Port the compiler to the typaram foo<T> syntax. | Erick Tryzelaar | -22/+22 | |
| 2011-08-16 | Rename std::ivec to std::vec | Brian Anderson | -13/+13 | |
| 2011-08-15 | The wonky for...in... whitespace was bothering me. Sorry! | Lindsey Kuper | -23/+23 | |
| 2011-08-09 | Port the compiler to the ivec type [T] syntax. | Erick Tryzelaar | -48/+48 | |
| 2011-08-08 | Implement typestate checking for move-mode args. Un-XFAIL ↵ | Graydon Hoare | -7/+38 | |
| compile-fail/move-arg.rs. | ||||
| 2011-08-03 | Make ast::pat_bindings an iterator | Marijn Haverbeke | -1/+1 | |
| And use it to get rid of some repetetive code | ||||
| 2011-08-01 | Handle bang functions correctly in typestate | Tim Chevalier | -6/+46 | |
| The logic for how the "returns" constraint was handled was always dodgy, for reasons explained in the comments I added to auxiliary::fn_info in this commit. Fixed it by adding distinct "returns" and "diverges" constraints for each function, which are both handled positively (that is: for a ! function, the "diverges" constraint must be true on every exit path; for any other function, the "returns" constraint must be true on every exit path). Closes #779 | ||||
| 2011-08-01 | Partially implement destructuring locals | Marijn Haverbeke | -6/+11 | |
| You can now say let {bcx, val} = some_result_returner(); Similar for loop variables. Assigning to such variables is not safe yet. Function arguments also remain a TODO. | ||||
| 2011-07-29 | Refactor typestate code involving stmt_decls | Tim Chevalier | -0/+21 | |
| To handle multiple-LHS declarations with initializers properly, I changed seq_states to take a list of expressions paired with optional names, not just a list of expressions. Then, the same logic that handles ordered lists of subexpressions everywhere else can handle multi- declarations. | ||||
| 2011-07-29 | Add in some missing cases for typestate with closures. | Michael Sullivan | -0/+3 | |
