| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-07-01 | rustc: Fix memory corruption with ivectors-inside-ivectors by duplicating ↵ | Patrick Walton | -2/+2 | |
| *first*, and *then* copying subtypes. | ||||
| 2011-07-01 | rustc: Move path_to_str to front::ast | Patrick Walton | -19/+19 | |
| 2011-07-01 | Introduce --cfg argument for providing additional configuration. Issue #489 | Brian Anderson | -4/+27 | |
| 2011-07-01 | Add some FIXMEs for issue #607 | Brian Anderson | -1/+5 | |
| 2011-07-01 | Add some logging to attr when reading crate link attributes | Brian Anderson | -2/+1 | |
| Only link attributes of the meta_list type are considered when matching crate attributes. Instead of doing nothing we can at least log that link attributes of other types were ignored. | ||||
| 2011-07-01 | Revert "rustc: Change methods in ty::t to use interior vectors" | Patrick Walton | -48/+43 | |
| This reverts commit 6720ea760df41df82af880b593e5b6023608d6cd. | ||||
| 2011-07-01 | rustc: Change methods in ty::t to use interior vectors | Patrick Walton | -43/+48 | |
| 2011-07-01 | Export only what's in use from front::eval. Issue #604 | Brian Anderson | -0/+2 | |
| 2011-07-01 | Remove unused imports from front::eval | Brian Anderson | -7/+0 | |
| 2011-07-01 | Remove remaining unused eval methods. Issue #604 | Brian Anderson | -46/+0 | |
| 2011-07-01 | Remove the concept of crate directive let statements. Issue #604 | Brian Anderson | -123/+0 | |
| 2011-07-01 | Remove the concept of crate directive expressions. Issue #604 | Brian Anderson | -66/+1 | |
| 2011-07-01 | Remove the environment concept from front::eval | Brian Anderson | -75/+51 | |
| This is the old method of conditional compilation. It is going away. Issue #489 | ||||
| 2011-07-01 | Cleanup attribute code. Issue #487 | Brian Anderson | -28/+23 | |
| 2011-07-01 | Add some helper functions to front::attr | Brian Anderson | -0/+20 | |
| 2011-07-01 | Track def_ids of native types so that they can be distinguished | Marijn Haverbeke | -30/+49 | |
| Closes #526 | ||||
| 2011-07-01 | Allow dereferencing of single-variant, single-argument tag values | Marijn Haverbeke | -81/+141 | |
| (Using the * operator.) This makes tags more useful as nominal 'newtype' types, since you no longer have to copy out their contents (or construct a cumbersome boilerplate alt) to access them. I could have gone with a scheme where you could dereference individual arguments of an n-ary variant with ._0, ._1, etc, but opted not to, since we plan to move to a system where all variants are unary (or, I guess, nullary). | ||||
| 2011-07-01 | Allow 'newtype' syntax for tags | Marijn Haverbeke | -16/+47 | |
| Doing this: tag foo = mytype; is now equivalent to doing this: tag foo { foo(mytype); } | ||||
| 2011-07-01 | Do not store a tag num for single-variant tags | Marijn Haverbeke | -119/+142 | |
| This is a preparation for tags-as-nominal-types. A tag that has only a single variant is now represented, at run-time, as simply a tuple of the variant's parameters, with the variant id left off. | ||||
| 2011-07-01 | Make sure the pretty-printer understand resources | Marijn Haverbeke | -1/+4 | |
| 2011-07-01 | Implement autoderef for function calls. | Michael Sullivan | -23/+51 | |
| This is important since we are going to be making functions noncopyable soon, which means we'll be seeing a lot of boxed functions. (*f)(...) is really just too heavyweight. Doing the autodereferencing was a very little bit tricky since trans_call works with an *lval* of the function whereas existing autoderef code was not for lvals. | ||||
| 2011-07-01 | Move autoderefed_ty to ty.rs and rename it type_autoderef. | Michael Sullivan | -14/+15 | |
| 2011-06-30 | rustc: Duplicate heap data of interior vectors when passing them by value | Patrick Walton | -1/+15 | |
| 2011-06-30 | Minor pp cleanups. | Graydon Hoare | -4/+4 | |
| 2011-06-30 | Preserve hard \n\n pairs from source when pretty-printing, as explicit ↵ | Graydon Hoare | -13/+32 | |
| formatting control from users. | ||||
| 2011-06-30 | rustc: Remove unused variables from last commit | Patrick Walton | -2/+0 | |
| 2011-06-30 | rustc: Change function argument types to interior vectors | Patrick Walton | -75/+97 | |
| 2011-06-30 | Pretty-print view items in mod items | Brian Anderson | -5/+4 | |
| For mods that aren't defined at the file level we were forgetting to print the view items so, e.g. 'mod { use std; }' would not print correctly. | ||||
| 2011-06-30 | Use attributes for conditional compilation in std.rc | Brian Anderson | -2/+24 | |
| 2011-06-30 | Conditionally compile items declared as statements. Issue #489 | Brian Anderson | -1/+30 | |
| 2011-06-30 | Get rid of remaining unused variables | Tim Chevalier | -6/+4 | |
| 2011-06-30 | Don't warn about unused for-loop index variables | Tim Chevalier | -0/+4 | |
| 2011-06-30 | Kill unused variables | Tim Chevalier | -91/+37 | |
| 2011-06-30 | Warn for unused variables | Tim Chevalier | -69/+122 | |
| Modify typestate to check for unused variables and emit warnings where relevant. This exposed a (previously harmless) bug in collect_locals where outer functions had bit-vector entries for init constraints for variables declared in their inner nested functions. Fixing that required changing collect_locals to use visit instead of walk -- probably a good thing anyway. | ||||
| 2011-06-30 | rustc: Use interior vectors for record types | Patrick Walton | -27/+24 | |
| 2011-06-30 | rustc: Make mk_imm_tup() take an interior vector | Patrick Walton | -48/+65 | |
| 2011-06-30 | rustc: Use interior vectors for tuple types | Patrick Walton | -23/+27 | |
| 2011-06-30 | Added a nanosecond timer to time.rs, support for some floating point casts, ↵ | Eric Holk | -1/+16 | |
| and a commandline-driven mode for pfib.rs | ||||
| 2011-06-30 | Add a pass to fold out items that do not belong in the current configuration | Brian Anderson | -0/+71 | |
| The parser needs to parse unconfigured items into the AST so that they can make the round trip back through the pretty printer, but subsequent passes shouldn't care about items not being translated. Running a fold pass after parsing is the lowest-impact way to make this work. The performance seems fine. Issue #489 | ||||
| 2011-06-30 | Add missing item variants to fold_item_underscore | Brian Anderson | -0/+3 | |
| 2011-06-30 | Add missing expression variants to fold_expr | Brian Anderson | -0/+15 | |
| 2011-06-30 | Fold the crate-level module in front::fold | Brian Anderson | -1/+2 | |
| 2011-06-30 | Move middle::attr to front::attr | Brian Anderson | -4/+4 | |
| 2011-06-30 | Convert the eval::env to an ast::crate_cfg | Brian Anderson | -4/+19 | |
| crate_cfg will replace eval::env as the mechanism for conditional compilation. This is a transitional step so they can both exist together. Issue #489 | ||||
| 2011-06-30 | Introduce a config property to the crate AST node | Brian Anderson | -4/+12 | |
| This represents the compilation environment, defined as AST meta_items, Used for driving conditional compilation and will eventually replace the environment used by the parser for the current conditional compilation scheme. Issue #489 | ||||
| 2011-06-30 | Switch rustc's crate metadata to use the link attribute | Brian Anderson | -4/+5 | |
| 2011-06-30 | Support type parameters in resources | Marijn Haverbeke | -66/+151 | |
| Some rather dodgy code was added to trans in the process. I'd love to discuss it with someone who knows more about types during translation. | ||||
| 2011-06-30 | Make calling resource destructors work cross-crate | Marijn Haverbeke | -29/+60 | |
| Tydescs are currently re-created for each compilation unit (and I guess for structural types, they have to be, though the duplication still bothers me). This means a destructor can not be inlined in the drop glue for a resource type, since other crates don't have access to the destructor body. Destructors are now compiled as separate functions with an external symbol that can be looked up in the crate (under the resource type's def_id), and called from the drop glue. | ||||
| 2011-06-30 | Second try to remove -lssp. | Rafael Ávila de Espíndola | -5/+2 | |
| 2011-06-29 | More fixes to fast-check. | Graydon Hoare | -2/+10 | |
