| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-06-24 | Remove uses of variable name 'res' from rustc | Marijn Haverbeke | -22/+21 | |
| This in preparation of making 'res' a keyword for defining resources. Please don't introduce too many new ones in the meantime... | ||||
| 2011-06-24 | Remove def_obj | Marijn Haverbeke | -10/+2 | |
| Since obj constructors and types have different def_ids now, their def can simply be a def_fn and a def_ty. | ||||
| 2011-06-23 | rustc: Pretty-print ternary operator | Brian Anderson | -0/+2 | |
| 2011-06-23 | rustc: Add ternary operator. Closes #565 | Brian Anderson | -1/+42 | |
| The implementation is so simple it might be considered cheating: at almost every step the expr_ternary is just converted to expr_if. | ||||
| 2011-06-23 | Remove parse_str_lit_or_env_ident. | Rafael Ávila de Espíndola | -29/+13 | |
| We decided to use metadata for the more complex cases, and a simple string is enough for rustc right now. | ||||
| 2011-06-22 | rustc: Limit creader exports | Brian Anderson | -0/+7 | |
| 2011-06-22 | rustc: Handle valueless ret expressions as block results. Closes #521 | Brian Anderson | -0/+2 | |
| 2011-06-22 | rustc: Introduce and parse additional meta_item forms | Brian Anderson | -21/+62 | |
| Examples: #[test], #[link(name = "vers")] Issue #487 | ||||
| 2011-06-22 | rustc: Rename parser.err to parser.fatal | Brian Anderson | -29/+29 | |
| 2011-06-23 | Remove a simidgeon of dead code. | Paul Stansifer | -8/+1 | |
| 2011-06-21 | Serialize constraints in types (literal arguments still not supported) | Tim Chevalier | -26/+57 | |
| This involved, in part, changing the ast::def type so that a def_fn has a "purity" field. This lets the typechecker determine whether functions defined in other crates are pure. It also required updating some error messages in tests. As a test for cross-crate constrained functions, I added a safe_slice function to std::str (slice(), with one of the asserts replaced with a function precondition) and some test cases (various versions of fn-constraint.rs) that call it. Also, I changed "fn" to "pred" for some of the boolean functions in std::uint. | ||||
| 2011-06-21 | Move names and ids of native items into their recs, rather than their tags | Marijn Haverbeke | -12/+14 | |
| 2011-06-21 | Puts out burning tinderbox (oops, AST nodes don't have def_ids/anns). | Lindsey Kuper | -2/+1 | |
| 2011-06-21 | Some progress on support for extending objects with new fields (issue | Lindsey Kuper | -6/+16 | |
| into four separate issues (#538, #539, #540, #543) with corresponding tests. | ||||
| 2011-06-21 | Move expr ids into the expr record type | Marijn Haverbeke | -202/+184 | |
| This simplifies the tag variants a bit and makes expr_node_id obsolete. | ||||
| 2011-06-21 | rustc: Remove unused slice call from extfmt. Closes #532 | Brian Anderson | -2/+0 | |
| 2011-06-20 | Get rid of def_ids and anns in AST nodes, use single node_id | Marijn Haverbeke | -227/+207 | |
| This reduces some redundancy in the AST data structures and cruft in the code that works with them. To get a def_id from a node_id, apply ast::local_def, which adds the local crate_num to the given node_id. Most code only deals with crate-local node_ids, and won't have to create def_ids at all. | ||||
| 2011-06-20 | Remember the library files we used in rustc and pass them to the "linker". | Rafael Ávila de Espíndola | -1/+2 | |
| This avoid the hardcoded -lstd, allows programs to use other crates and avoids any differences that may exist in the rustc and ld search logic. | ||||
| 2011-06-19 | Remove various rustboot workarounds | Brian Anderson | -7/+3 | |
| 2011-06-19 | rustc: Rename session.span_err -> span_fatal, err -> fatal | Brian Anderson | -39/+44 | |
| Issue #440 | ||||
| 2011-06-19 | Revert previous 6 commits. Hopefully put out Windows fire. | Brian Anderson | -44/+39 | |
| Revert "rustc: Export only what's needed from middle::ty" This reverts commit 4255d58aa5db2a05362c4435a0e807205e1b8ed7. Revert "rustc: Make name resolution errors less fatal" This reverts commit b8ab9ea89c16c60237e7660804f4321f59ae0435. Revert "rustc: Make import resolution errors less fatal" This reverts commit 92a8ae94b971206bf0502da3dc5f416fcb24cc36. Revert "rustc: Export only what's used from middle::resolve" This reverts commit 4539a2cf7ad99851a165c98ed2f4e4a475cffd7d. Revert "rustc: Re-introduce session.span_err, session.err" This reverts commit 7fe9a88e31ae07f2fd89f6715efedd7e3edf49e6. Revert "rustc: Rename session.span_err -> span_fatal, err -> fatal" This reverts commit c394a7f49ac29a099994e243017065de2ff97f2a. | ||||
| 2011-06-19 | rustc: Rename session.span_err -> span_fatal, err -> fatal | Brian Anderson | -39/+44 | |
| Issue #440 | ||||
| 2011-06-18 | rustc: Store the lhs and rhs of receive exprs in left to right order | Brian Anderson | -1/+1 | |
| With the changing of receive semantics the parser has been putting the rhs expression in the first argument of expr_recv and the lhs in the second, and all subsequent passes have been referring to them backwords (but still doing the right thing because they were assuming that lhs was the port and rhs was the receiver). This makes all code agree on what lhs and rhs mean for receive expressions. | ||||
| 2011-06-18 | rustc: receive is spelled |> now | Brian Anderson | -1/+1 | |
| 2011-06-18 | rustc: Remove the meta keyword | Brian Anderson | -11/+0 | |
| Issue #487 | ||||
| 2011-06-17 | rustc: Remove metadata from the session. | Brian Anderson | -3/+1 | |
| This mechanism was not being used for anything. Issue #487. | ||||
| 2011-06-16 | Consistify ast::local. | Paul Stansifer | -16/+20 | |
| 2011-06-16 | Add better error messages for bad attributes in .rc files | Brian Anderson | -1/+2 | |
| Issue #487 | ||||
| 2011-06-16 | rustc: Fix regressed handling of bad attributes | Brian Anderson | -1/+6 | |
| Issue #487 | ||||
| 2011-06-16 | rustc: Change print_file to print_crate | Brian Anderson | -6/+10 | |
| The pretty-printer needs access to the crate attributes in order to reproduce inner crate attributes in standalone .rs files Issue #487 | ||||
| 2011-06-16 | rustc: Parse crate attributes in standalone .rs files | Brian Anderson | -1/+5 | |
| Issue #487 | ||||
| 2011-06-16 | rustc: Parse attributes in crate files | Brian Anderson | -5/+15 | |
| Issue #487 | ||||
| 2011-06-16 | rustc: Parse inner items of file-level modules linked from crate files | Brian Anderson | -4/+8 | |
| Issue #487 | ||||
| 2011-06-16 | Reformat a bunch of recent churn. | Graydon Hoare | -26/+32 | |
| 2011-06-16 | rustc: Parse T[mutable?] | Patrick Walton | -1/+6 | |
| 2011-06-16 | rustc: Correctly mark attributes as inner attributes | Brian Anderson | -8/+14 | |
| Issue #487 | ||||
| 2011-06-16 | rustc: Parse inner attributes of modules | Brian Anderson | -17/+49 | |
| Issue #487 | ||||
| 2011-06-16 | rustc: Parse interior vector types in which the base type is a path properly | Patrick Walton | -14/+36 | |
| 2011-06-16 | Bring back if-check | Tim Chevalier | -2/+20 | |
| Add "if check" (expr_if_check), a variation on check that executes an "else" clause rather than failing if the check doesn't hold. | ||||
| 2011-06-16 | Parse swap. | Michael Sullivan | -5/+15 | |
| 2011-06-16 | Add "<->" to the token definition and the lexer. | Michael Sullivan | -1/+9 | |
| 2011-06-16 | rustc: Change interior vector syntax to `T[]` | Patrick Walton | -6/+21 | |
| 2011-06-16 | Refactor ast::item representation | Marijn Haverbeke | -47/+39 | |
| Most of the fields in an AST item were present in all variants. Things could be simplified considerably by putting them in the rec rather than in the variant tags. | ||||
| 2011-06-15 | Improve and test failure behavior for malformed attributes | Brian Anderson | -1/+13 | |
| 2011-06-15 | rustc: Support outer attributes on items that are defined as statements | Brian Anderson | -9/+61 | |
| Issue #487 | ||||
| 2011-06-15 | Refactor data structures representing constraints (again...) | Tim Chevalier | -13/+11 | |
| I added a "resolved" version of the ast::constr type -- ty::constr_def -- that has a def_id field instead of an ann_field. This is more consistent with other types and eliminates some checking. Incidentally, I removed the def_map argument to the top-level function in middle::alias, since the ty::ctxt already has a def_map field. | ||||
| 2011-06-15 | Small simplification in parser.rs' crate parsing | Marijn Haverbeke | -7/+1 | |
| 2011-06-15 | Reformat source tree (minus a couple tests that are still grumpy). | Graydon Hoare | -2090/+1287 | |
| 2011-06-15 | rustc: Make room in remaining AST item nodes for attributes | Brian Anderson | -35/+40 | |
| Issue #487 | ||||
| 2011-06-15 | rustc: Introduce an attribute type to the AST | Brian Anderson | -9/+32 | |
| Right now the only thing that it adds to meta_item is an indication of whether the attribute was declared inside or outside the item, but I expect it will become more useful. Issue #487 | ||||
