| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-06-15 | rustc: Parse module attributes | Brian Anderson | -6/+21 | |
| Issue #487 | ||||
| 2011-06-15 | rustc: Make room in item_mod for metadata | Brian Anderson | -5/+5 | |
| Issue #487 | ||||
| 2011-06-15 | rustc: Modernize front::eval | Brian Anderson | -37/+26 | |
| 2011-06-15 | Stop dropping object field mutability on the floor | Marijn Haverbeke | -12/+6 | |
| 2011-06-14 | Modernize some code in parser.rs | Marijn Haverbeke | -132/+82 | |
| No more explicit type params or working around rustboot bugs | ||||
| 2011-06-14 | Print parens on unops when necessary. 'make reformat' output now builds to ↵ | Graydon Hoare | -0/+1 | |
| stage3. | ||||
| 2011-06-14 | Fix bug in detecting trailing comments when at beginning-of-file. | Graydon Hoare | -1/+3 | |
| 2011-06-14 | Implement function expressions/anonymous functions | Marijn Haverbeke | -5/+25 | |
| Looks like 'fn(..arg..) -> ret {body;}. They don't support type parameters or upvars yet. | ||||
| 2011-06-14 | Remove 'peeking_at_item' from parser | Marijn Haverbeke | -52/+41 | |
| parse_item now returns a value to indicate it didn't find an item | ||||
| 2011-06-13 | Change decl to local in expr_for and expr_for_each | Tim Chevalier | -15/+15 | |
| Since the decl in a for or for-each loop must always be a local decl, I changed the AST to express this. Fewer potential match failures and "the impossible happened" error messages = yay! | ||||
| 2011-06-10 | Reject programs with unsatisfied predicate constraints | Tim Chevalier | -17/+60 | |
| Generate appropriate constraints for calls to functions with preconditions, and reject calls where those constraints don't hold true in the prestate. ...by which I mean that it works for one test case :-) | ||||
| 2011-06-10 | Implement meta tag matching in creader. Start using it in rustc.rc. Close ↵ | Graydon Hoare | -5/+48 | |
| #459. Close #457. | ||||
| 2011-06-10 | Encode meta tags in the crate and start sketching enhanced logic for ↵ | Graydon Hoare | -22/+79 | |
| resolving crate "use" directives. Now with extra "works on OSX" kludging. | ||||
| 2011-06-10 | Merge pull request #447 from paulstansifer/quick_error_message_fix | Patrick Walton | -0/+8 | |
| Error message, instead of segfault, when recursive types are used. | ||||
| 2011-06-10 | rustc: Remove the bitwise not operator | Patrick Walton | -9/+0 | |
| 2011-06-10 | Implement mutable/immutable alias distinction. | Marijn Haverbeke | -15/+10 | |
| Before, all aliases were implicitly mutable, and writing &mutable was the same as writing &. Now, the two are distinguished, and assignments to regular aliases are no longer allowed. | ||||
| 2011-06-10 | Fix all occurrences of writing to immutable aliases | Marijn Haverbeke | -4/+4 | |
| You'd be surprised. | ||||
| 2011-06-09 | Revert "Encode meta tags in the crate and start sketching enhanced logic for ↵ | Patrick Walton | -79/+22 | |
| resolving crate "use" directives." due to tree bustage This reverts commit ab3635eebef2b8cf0e19cdbc5b4e8dd7a49a4658. | ||||
| 2011-06-09 | rustc: Write interior vecs and strings into the metadata and add logic for ↵ | Patrick Walton | -0/+2 | |
| them in ty_to_str | ||||
| 2011-06-09 | Encode meta tags in the crate and start sketching enhanced logic for ↵ | Graydon Hoare | -22/+79 | |
| resolving crate "use" directives. | ||||
| 2011-06-09 | rustc: Annotate vector and string literals in the AST with their uniqueness ↵ | Patrick Walton | -27/+45 | |
| or lack thereof | ||||
| 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 | |
