| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-02 | Move src/comp to src/rustc | Graydon Hoare | -2319/+0 | |
| 2012-03-02 | core: Remove _mut functions from vec | Brian Anderson | -3/+3 | |
| Instead, use vec::to_mut/from_mut to transform vectors in place as needed. | ||||
| 2012-02-24 | Encode/decode AST into metadata, re-instantiate inlined items | Niko Matsakis | -0/+2 | |
| 2012-02-23 | (core::str) remove len_bytes alias | Kevin Cantu | -4/+4 | |
| 2012-02-23 | (core::str) mostly rename len -> len_chars | Kevin Cantu | -2/+2 | |
| 2012-02-22 | Clean up small things in syntax submodules | Marijn Haverbeke | -48/+24 | |
| 2012-02-21 | rustc: Generate crates with #ast | Brian Anderson | -0/+4 | |
| 2012-02-17 | Refactor view_path to parse (but not yet process) export globs, unify code ↵ | Graydon Hoare | -45/+44 | |
| paths. | ||||
| 2012-02-15 | make mut a keyword synonymous with mutable | Niko Matsakis | -15/+15 | |
| first step towards issue #1273 | ||||
| 2012-02-15 | Rewrite exhaustiveness checker | Marijn Haverbeke | -1/+1 | |
| Issue #352 Closes #1720 The old checker would happily accept things like 'alt x { @some(a) { a } }'. It now properly descends into patterns, checks exhaustiveness of booleans, and complains when number/string patterns aren't exhaustive. | ||||
| 2012-02-15 | Support 'alt check' syntax | Marijn Haverbeke | -1/+2 | |
| It is only a way to flag an alt as intentionally non-exhaustive right now. Issue #1679 | ||||
| 2012-02-14 | rustc: Add crust functions to the AST | Brian Anderson | -0/+1 | |
| 2012-02-12 | (core::str) rename byte_len -> len_bytes and rename char_len -> len | Kevin Cantu | -4/+4 | |
| 2012-02-11 | make bind syntax unnecessary: just use _ for one of the arguments | Niko Matsakis | -1/+6 | |
| 2012-02-10 | Remove a vestige of return-by-reference | Marijn Haverbeke | -3/+1 | |
| 2012-02-09 | Remove some pointless imports | Marijn Haverbeke | -5/+0 | |
| 2012-02-07 | Minor class-related tweaks to the AST | Tim Chevalier | -2/+2 | |
| 2012-02-06 | Handle built-in typenames in the resolve pass, rather than in parser | Marijn Haverbeke | -11/+2 | |
| Closes #1728 Comments out a section of debuginfo.rs. This code was already broken (only being called when --xg was passed, and only working on trivial programs). | ||||
| 2012-02-05 | infer modes rather than overwriting with expected ty | Niko Matsakis | -8/+13 | |
| 2012-02-03 | Beginnings of front-end support for classes | Tim Chevalier | -1/+46 | |
| Added class support to the parser, prettyprinter, fold, and visit. (See Issue 1726.) This is WIP -- the test case is xfailed, and attempting to compile it will error out in resolve. | ||||
| 2012-02-03 | Fix various drift issues in the qq branch. | Graydon Hoare | -4/+12 | |
| 2012-02-03 | Make macro arg optional in syntax, again untested. | Kevin Atkinson | -2/+5 | |
| 2012-02-03 | Add support for parsing quasi-quotes, doesn't do anything useful yet. | Kevin Atkinson | -0/+2 | |
| 2012-02-01 | rustdoc: Add support for type items | Brian Anderson | -1/+5 | |
| 2012-02-01 | Remove support for native types | Marijn Haverbeke | -10/+0 | |
| Issue #1673 | ||||
| 2012-01-31 | Change option::t to option | Tim Chevalier | -11/+11 | |
| Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming). | ||||
| 2012-01-31 | Require alts to be exhaustive | Tim Chevalier | -22/+11 | |
| middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive. | ||||
| 2012-01-30 | rustc: Allow attributes on methods. Closes #1709 | Brian Anderson | -3/+4 | |
| 2012-01-30 | Remove ternary operator | Paul Woolcock | -14/+4 | |
| `expr_ternary`, `ternary_to_if`, and all parses & lexer definitions have been removed. | ||||
| 2012-01-30 | Revert self types | Marijn Haverbeke | -2/+1 | |
| 2012-01-26 | rustc: Add pprust::res_to_str | Brian Anderson | -8/+41 | |
| 2012-01-25 | rustc: Add pprust::variant_to_str | Brian Anderson | -17/+39 | |
| 2012-01-25 | rustc: Allow attributes on enum variants. Closes #1663 | Brian Anderson | -0/+1 | |
| 2012-01-25 | Implement implicit self type parameters for ifaces | Marijn Haverbeke | -1/+2 | |
| Closes #1661 | ||||
| 2012-01-25 | Rename tag to enum throughout the compiler | Marijn Haverbeke | -4/+4 | |
| This should reduce confusion of people trying to read the code. | ||||
| 2012-01-24 | rustc: Split diagnostics into "span diagnostics" and "diagnostics". | Patrick Walton | -2/+3 | |
| The former contain a codemap (which is per-crate), and the latter don't. This will be useful in order to allow more than one crate to be compiled in one run of the compiler. | ||||
| 2012-01-23 | s/block()/fn()/g | Niko Matsakis | -3/+3 | |
| 2012-01-23 | Export all enum variants by default; new syntax for selectively exporting ↵ | Tim Chevalier | -0/+13 | |
| variants See issue 1426 for details. Now, the semantics of "export t;" where t is a tag are to export all of t's variants as well. "export t{};" exports t but not its variants, while "export t{a, b, c};" exports only variants a, b, c of t. To do: - documentation - there's currently no checking that a, b, c are actually variants of t in the above example - there's also no checking that t is an enum type, in the second two examples above - change the modules listed in issue 1426 that should have the old export semantics to use the t{} syntax I deleted the test export-no-tag-variants since we're doing the opposite now, and other tests cover the same behavior. | ||||
| 2012-01-21 | issue #1352: change param order on vec::init_elt, putting block in final ↵ | Graham Fawcett | -3/+3 | |
| position. To match the init_fn() and init_fn_mut() changes. | ||||
| 2012-01-19 | rustc: Make the pretty printer output commas after enum variants. Update all ↵ | Patrick Walton | -1/+1 | |
| tests accordingly. | ||||
| 2012-01-19 | rustc: Fix fun_to_str | Brian Anderson | -0/+14 | |
| 2012-01-19 | rustc: ";" to "," in enums | Patrick Walton | -8/+8 | |
| 2012-01-19 | rustc: "tag" -> "enum" | Patrick Walton | -6/+6 | |
| 2012-01-19 | Rename fn*() to fn() as originally planned. | Niko Matsakis | -1/+1 | |
| 2012-01-19 | Remove support for the '.' after a nullary tag in a pattern | Tim Chevalier | -13/+13 | |
| (Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.) | ||||
| 2012-01-18 | Remove '.' after nullary tags in patterns | Tim Chevalier | -61/+61 | |
| Does what it says on the tin. The next commit will remove support for this syntax. | ||||
| 2012-01-17 | Allow omission of the '.' after nullary tag patterns | Tim Chevalier | -3/+5 | |
| This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'. | ||||
| 2012-01-16 | Be more careful about pretty-printing literals | Marijn Haverbeke | -12/+19 | |
| Before, literal printing would basically get derailed completely when a literal was encountered that did not end up being printed. This caused the strangeness seen in #1532. Also cleans up pretty-printing of discriminants a little. Closes #1510 Closes #1532 | ||||
| 2012-01-16 | Update pretty printer to print out disr. values. | Kevin Atkinson | -0/+8 | |
| Partly fixes issue #1510. "rustc --pretty=typed" fails. | ||||
| 2012-01-15 | rustc: Parse fn inner attributes. Closes #1506 | Brian Anderson | -1/+13 | |
