| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-16 | Make uses of self in impls compile | Marijn Haverbeke | -0/+3 | |
| Get rid of expr_self_call, introduces def_self. `self` is now, syntactically, simply a variable. A method implicitly brings a `self` binding into scope. Issue #1227 | ||||
| 2011-12-16 | Parse and resolve implementations. | Marijn Haverbeke | -0/+1 | |
| Issue #1227 | ||||
| 2011-12-15 | rustc: Box the vectors returned from ty::tag_variants | Brian Anderson | -1/+1 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -1/+1 | |
| 2011-12-07 | Disallow binding by-mut-ref and by-move arguments | Marijn Haverbeke | -0/+25 | |
| Fix bug in bound by-copy arguments. Closes #1261 | ||||
| 2011-11-22 | Make ast::visit only descend into types when necessary | Marijn Haverbeke | -4/+3 | |
| If visit_ty is not overridden, it uses a stub function which does not descend into types. Closes #1204 | ||||
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-03 | Disallow writing to function arguments again | Marijn Haverbeke | -2/+4 | |
| Remove implicit copying hack. Closes #1118 | ||||
| 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-17 | Correct two more analyses of mutable? as mutable | Brian Anderson | -2/+2 | |
| I can't come up with test cases but this seems correct. | ||||
| 2011-10-17 | Don't allow assignment to mutable-wha? | Brian Anderson | -9/+9 | |
| 2011-10-07 | Parse and typecheck by-value and by-ref arg specs | Marijn Haverbeke | -3/+3 | |
| Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008 | ||||
| 2011-09-26 | Fix bug in mutability-checking pass | Marijn Haverbeke | -10/+13 | |
| It wasn't properly handling function arguments. | ||||
| 2011-09-22 | Fix ty_uniq case in maybe_auto_unbox | Brian Anderson | -0/+1 | |
| Closes #961 Issue #409 | ||||
| 2011-09-22 | Add support for mutable unique boxes | Brian Anderson | -1/+1 | |
| Issue #409 | ||||
| 2011-09-22 | Convert ty::ty_uniq to contain a mutable type | Brian Anderson | -1/+1 | |
| Issue #409 | ||||
| 2011-09-16 | Remove autoderef for calls | Marijn Haverbeke | -3/+1 | |
| We were only using it in a single place, and there for no discernable reason (probably as part of the bare-fn-vals-are-not-copyable plan). It seems more surprising than useful. | ||||
| 2011-09-16 | Clean up (and optimize) root-mutability analysis in alias.rs | Marijn Haverbeke | -5/+0 | |
| 2011-09-15 | Forbid assignment to by-reference bindings | Marijn Haverbeke | -0/+1 | |
| Issue #918 | ||||
| 2011-09-15 | Add representation for by-ref let bindings | Marijn Haverbeke | -1/+1 | |
| Issue #918 | ||||
| 2011-09-13 | Apply implicit copying for unsafe references to alt patterns | Marijn Haverbeke | -5/+0 | |
| 2011-09-12 | Rename alias to reference in docs and error messages | Marijn Haverbeke | -4/+4 | |
| Update docs to reflect new approach to aliases | ||||
| 2011-09-12 | Properly implement copy expressions | Marijn Haverbeke | -1/+1 | |
| (And use them in some places that were doing {expr} before.) | ||||
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -24/+19 | |
| 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 | -3/+4 | |
| 2011-09-12 | Pass all arguments by reference, make immut alias mode equiv to value | Marijn Haverbeke | -4/+8 | |
| Arguments that can't be safely referenced will be implicitly copied. (Warnings for expensive copies will be forthcoming.) This will allow us to get rid of most of the ampersands in function signatures. See [1]. [1] https://mail.mozilla.org/pipermail/rust-dev/2011-September/000759.html | ||||
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -40/+42 | |
| 2011-09-01 | Rename std::istr to std::str. Issue #855 | Brian Anderson | -2/+2 | |
| 2011-09-01 | Make resolve recognize upvars | Marijn Haverbeke | -2/+6 | |
| 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 | Move mutability checking into its own pass. | Marijn Haverbeke | -0/+258 | |
| Having it in the alias pass was slightly more efficient (finding expression roots has to be done in both passes), but further muddled up the already complex alias checker. Also factors out some duplication in the mutability-checking code. | ||||
