| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-06-09 | rustc: Add ty_istr and ty_ivec types | Patrick Walton | -3/+3 | |
| 2011-06-09 | rustc: Parse istr and ivec | Patrick Walton | -0/+8 | |
| 2011-06-09 | Further support for predicate constraints | Tim Chevalier | -52/+98 | |
| Changed function types to include a list of constraints. Added code for parsing and pretty-printing constraints. This necessitated splitting pprust into two files (pprust and ppaux) to break a circulate dependency, as ty_to_str now needs to print out constraints, which may include literals, but pprust depended on ty. | ||||
| 2011-06-09 | A revised, improved alias-checker | Marijn Haverbeke | -0/+4 | |
| The old system tried to ensure that the location an alias pointed at would retain its type. That turned out to not be strong enough in the face of aliases to the inside of tags. The new system instead proves that values pointed to by aliases are not replaced (or invalidated in some other way) at all. It knows of two sufficient conditions for this, and tries to prove at least of them: A) The alias is 'immutably rooted' in a local, and this local is not reassigned for the lifetime of the alias. Immutably rooted means the alias refers to the local itself, or to something reachable from the local through immutable dereferencing. B) No value whose type might include the type of the 'inner mutable element' of the thing the alias refers to (for example, the box in rec(mutable x = @mutable int)) is from the outer scope is accessed for the lifetime of the alias. This means for functions, no other argument types may include the alias's inner mutable type. For alt, for each, and for, it means the body does not refer to any locals originating from outside their scope that include this type. The lifetime of an alias in an alt, for each, or for body is defined as the range from its definition to its last use, not to the point where it goes out of scope. This makes working around these restrictions somewhat less annoying. For example, you can assign to your alt-ed value you don't refer to any bindings afterwards. | ||||
| 2011-06-08 | Add optional message to fail. | Josh Matthews | -4/+13 | |
| 2011-06-07 | More work on proper linkage name-mangling. Almost right, aside from version ↵ | Graydon Hoare | -4/+18 | |
| numbers. | ||||
| 2011-06-07 | Add multiline, whitespace-eating strings. | Josh Matthews | -0/+3 | |
| 2011-06-04 | stdlib: Use spans for #fmt errors originating in std | Brian Anderson | -1/+7 | |
| Issue #444 | ||||
| 2011-06-04 | rustc: Reenable debug logging in extfmt | Brian Anderson | -8/+7 | |
| This is not obnoxious now that logging is off by default | ||||
| 2011-06-04 | rustc: Hide the parser from syntax extensions | Brian Anderson | -9/+5 | |
| Eventually extensions will probably need access to the parser again, but it'll be in a different form. | ||||
| 2011-06-04 | rustc: Generate extension annotations from ext_ctxt instead of parser | Brian Anderson | -65/+67 | |
| 2011-06-04 | rustc: Add a next_ann method to ext_ctxt | Brian Anderson | -4/+13 | |
| After this we can remove the parser from the syntax extensions, at least for now. | ||||
| 2011-06-04 | rustc: Use spans for #env errors | Brian Anderson | -5/+9 | |
| Issue #444 | ||||
| 2011-06-04 | rustc: Report unimplemented #fmt features with spans | Brian Anderson | -26/+22 | |
| 2011-06-04 | rustc: Add a span_unimpl method to ext_ctxt | Brian Anderson | -5/+13 | |
| 2011-06-04 | rustc: Use spans on extfmt error messages | Brian Anderson | -29/+31 | |
| Issue #444 | ||||
| 2011-06-04 | rustc: Return the correct span from parse_seq | Brian Anderson | -7/+4 | |
| 2011-06-04 | rustc: Pass the correct span to syntax extensions | Brian Anderson | -1/+2 | |
| 2011-06-04 | rustc: Introduce ext module. Move some things from parser to ext. | Brian Anderson | -24/+67 | |
| Introduce an ext_ctxt record to provide a span_err method for use while expanding syntax extensions. Hopefully it will be useful for other things. | ||||
| 2011-06-03 | "macro" -> "syntax extension" for now | Paul Stansifer | -22/+22 | |
| 2011-06-03 | Make the macro system more modular. | Paul Stansifer | -75/+59 | |
| 2011-06-03 | Add spans to fields, args, methods. Improve pp of same. | Graydon Hoare | -13/+17 | |
| 2011-06-03 | Parse pointers in metadata. | Rafael Ávila de Espíndola | -0/+1 | |
| 2011-06-03 | Accept *foo as a pointer to foo. | Rafael Ávila de Espíndola | -0/+6 | |
| This is accepted everywhere, since just passing a pointer is safe. | ||||
| 2011-06-02 | Pretty-print literals exactly as we saw them in the source. | Graydon Hoare | -5/+29 | |
| 2011-06-02 | Implement pcwalton's code review suggestions. | Paul Stansifer | -1/+1 | |
| 2011-06-02 | Error message, instead of segfault, when recursive types are used. | Paul Stansifer | -0/+8 | |
| 2011-06-01 | Allow constraint args to be literals | Tim Chevalier | -0/+1 | |
| 2011-06-01 | Add a space after @mutable. | Graydon Hoare | -1/+1 | |
| 2011-06-01 | Move brace/if/for/while/do/alt/spawn exprs into bottom_expr rule. | Graydon Hoare | -23/+19 | |
| 2011-05-31 | Now imports are not re-exported unless 'export' is explicitly used. | Paul Stansifer | -6/+26 | |
| 2011-05-31 | Support move as an initializer. | Michael Sullivan | -0/+6 | |
| 2011-05-31 | Insert plumbing for move that behaves just like assign. | Michael Sullivan | -0/+7 | |
| 2011-05-31 | Teach the compiler to understand yield and join, as well as using task as a ↵ | Eric Holk | -1/+3 | |
| type name. | ||||
| 2011-05-31 | Fix comment-scanning logic in lexer. | Graydon Hoare | -2/+4 | |
| 2011-05-31 | Consolidate formatting functions a bit more. | Graydon Hoare | -3/+3 | |
| 2011-05-31 | Add span to field to catch per-field comments in rec exprs. | Graydon Hoare | -5/+7 | |
| 2011-05-31 | Improve comment handling in pp. | Graydon Hoare | -58/+163 | |
| 2011-05-31 | rustc: Remove unneeded type params from alt patterns | Brian Anderson | -28/+28 | |
| 2011-05-27 | Change the syntax for RECV from "var <- port" to "port |> var". | Michael Sullivan | -2/+2 | |
| 2011-05-27 | Fix missing bump in RECV lexer case. | Michael Sullivan | -0/+1 | |
| 2011-05-27 | Pretty print the new RECV token... | Michael Sullivan | -0/+1 | |
| 2011-05-27 | Remove parser support for recv as an initializer in preparation for changing ↵ | Michael Sullivan | -5/+7 | |
| the recv syntax. | ||||
| 2011-05-27 | Lex '|>' as the RECV token. | Michael Sullivan | -6/+14 | |
| 2011-05-27 | "import module::*;" now works. | Paul Stansifer | -1/+0 | |
| 2011-05-27 | Parsing and folding changes for globbed imports. | Paul Stansifer | -12/+42 | |
| 2011-05-26 | Remove unused imports | Tim Chevalier | -4/+1 | |
| 2011-05-26 | Remove redisue of unused fields from 'ann'. | Graydon Hoare | -8/+2 | |
| 2011-05-26 | Remove residual uses of fold, and fold itself. | Graydon Hoare | -30/+35 | |
| 2011-05-25 | rustc: Fail better when the first argument to #fmt is not a string literal | Brian Anderson | -2/+3 | |
