| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-07-08 | Nicer pretty-printing for anon objs. Closes #499. | Lindsey Kuper | -3/+50 | |
| (Incidentally, what's the right way to test changes to the pretty-printer? There has to be a better way than what I did, which was to log_err the results of expr_to_str as exprs passed through trans and glance at the output.) | ||||
| 2011-07-08 | Recursively load dependencies of external crates. Issue #632 | Brian Anderson | -5/+37 | |
| 2011-07-08 | Refactor load_library_crate and resolve_crate | Brian Anderson | -14/+23 | |
| 2011-07-08 | Add a map from external cnums to local cnums in cstore::crate_metadata | Brian Anderson | -3/+14 | |
| Once populated, this will allow us to load type info for types defined in external crates referenced by other external crates. | ||||
| 2011-07-08 | Extract resolve_crate from creader::visit_view_item | Brian Anderson | -8/+14 | |
| 2011-07-08 | Try to use static crate if we cannot find the dynamic one. This supports | Rafael Ávila de Espíndola | -3/+16 | |
| the common case of wanting to link statically with the project's libraries but dynamically with the system ones. | ||||
| 2011-07-08 | Add just enough logic to the driver so that we can link std statically. | Rafael Ávila de Espíndola | -2/+16 | |
| 2011-07-08 | Fix newlines when outputting crate attributes with --ls | Brian Anderson | -2/+2 | |
| 2011-07-08 | Encode/decode a crate's externel dependencies. Issue #632 | Brian Anderson | -1/+80 | |
| The encoding is very simple right now, just the crate name. Ultimately this won't be enough for our versioning needs, but it should fill our immediate need of being able to correlate encoded crate numbers to actual crates. | ||||
| 2011-07-08 | rustc: Do dynamic size calculations properly when concatenating interior ↵ | Patrick Walton | -23/+40 | |
| vectors. Closes #640. | ||||
| 2011-07-08 | Don't export tyencode from the metadata module | Brian Anderson | -53/+64 | |
| This involves pulling the type_abbrev cache out of crate_ctxt | ||||
| 2011-07-08 | Cleanup decoding and crate searching | Brian Anderson | -7/+16 | |
| 2011-07-08 | Make the interface to metadata::csearch more consistent | Brian Anderson | -21/+25 | |
| 2011-07-08 | Remove unused functions from metadata::csearch | Brian Anderson | -9/+0 | |
| 2011-07-08 | Extract various dependencies from metadata::decoder to metadata::csearch | Brian Anderson | -16/+20 | |
| 2011-07-08 | Begin splitting metadata::decoder into decoding and crate search modules | Brian Anderson | -14/+57 | |
| 2011-07-08 | Replace various ints with ast::crate_nums | Brian Anderson | -13/+17 | |
| 2011-07-08 | Move external crate/lib resolution to its own pass | Brian Anderson | -2/+2 | |
| The scope of external crate reading is beyond the resolve pass now, as it builds up tables of information needed for several different purposes. | ||||
| 2011-07-08 | Move crate_map from resolve to cstore | Brian Anderson | -58/+66 | |
| 2011-07-08 | Remove non-existant export from metadata::decoder | Brian Anderson | -1/+0 | |
| 2011-07-08 | Comment creader | Brian Anderson | -28/+29 | |
| 2011-07-08 | Comment cstore | Brian Anderson | -0/+3 | |
| 2011-07-08 | Move used_link_args from session to cstore | Brian Anderson | -10/+12 | |
| 2011-07-08 | Move used_libraries from session to cstore | Brian Anderson | -22/+21 | |
| 2011-07-08 | Move used_crate_files from session to cstore | Brian Anderson | -25/+24 | |
| 2011-07-08 | Replace the crate cache in session with the one in cstore | Brian Anderson | -16/+17 | |
| 2011-07-08 | Introduce metadata::cstore | Brian Anderson | -1/+43 | |
| I intend for this to be the location for storing all the data retrieved by creader, most of which is currently in the session. | ||||
| 2011-07-08 | Ignore current scope when resolving self-shadowing imports | Marijn Haverbeke | -18/+15 | |
| That is, for example, import x::y::x, which defines a local x, and thus wouldn't be able to find x::y anymore. Closes issue #624 | ||||
| 2011-07-08 | Don't unbox types in ty::is_binopable, do it on typeck side instead | Marijn Haverbeke | -17/+4 | |
| Closes issue #631 Removes ty::strip_boxes entirely, since unboxing is now more complicated anyway. | ||||
| 2011-07-08 | Remove useless return value in typeck::check_decl_local | Marijn Haverbeke | -6/+2 | |
| 2011-07-08 | Auto-bind generic functions when their value is taken in non-call context | Marijn Haverbeke | -4/+28 | |
| trans::trans_lval will now autobind if the given expression was the name of a generic functions. Those callees (trans_call and trans_bind) that are interested in the generics information call trans_lval_gen now. | ||||
| 2011-07-08 | Avoid superfluous take/drop for temp values passes as arguments | Marijn Haverbeke | -8/+16 | |
| 2011-07-08 | Make for-each bodies close over their parent's iterbody | Marijn Haverbeke | -6/+19 | |
| Closes issue #639 | ||||
| 2011-07-07 | rustc: Check iter return types. Closes #638. | Patrick Walton | -0/+2 | |
| 2011-07-07 | rustc: Fix long line | Patrick Walton | -1/+2 | |
| 2011-07-07 | rustc: Make trans use interior vectors | Patrick Walton | -781/+732 | |
| 2011-07-07 | rustc: Remove all exterior vectors from the AST | Patrick Walton | -70/+62 | |
| 2011-07-07 | Fix a bug that was interfering with method overriding. Issue #543. | Lindsey Kuper | -23/+36 | |
| Previously, we were creating both a normal vtable entry and a forwarding function for overriding methods, when they should have just gotten a vtable entry. This patch fixes that. | ||||
| 2011-07-07 | Merge pull request #634 from robarnold/upstream-stable | Patrick Walton | -8/+39 | |
| Allocate ivecs out of the kernel pool | ||||
| 2011-07-07 | Rename encoder::ty_str to encoded_str | Brian Anderson | -4/+4 | |
| 2011-07-07 | Don't expert def_to_str from metadata::encoder | Brian Anderson | -2/+1 | |
| 2011-07-07 | Move tyencode::ty_str to metadata::encoder | Brian Anderson | -11/+16 | |
| 2011-07-07 | Refactor tyencode::ty_str to not require a tyencode::ctxt | Brian Anderson | -10/+6 | |
| All users were constructing the context the same way. | ||||
| 2011-07-07 | Remove duplicate definition of def_to_str from middle::ty | Brian Anderson | -5/+1 | |
| 2011-07-07 | Refactor a few things in the metadata module | Brian Anderson | -20/+20 | |
| Rename metadata::tags to metadata::common. Move some utility functions from metadata::encoder to metadata::common. | ||||
| 2011-07-07 | Rename hash_def_id to hash_node_id | Brian Anderson | -4/+4 | |
| 2011-07-07 | Remove metadata::encoder's dependence on trans::node_id_type | Brian Anderson | -9/+9 | |
| 2011-07-07 | rustc: Change lots of AST nodes to use interior vectors | Patrick Walton | -373/+400 | |
| 2011-07-07 | Implement --lib --static. | Rafael Ávila de Espíndola | -8/+8 | |
| 2011-07-07 | Use an early exit to reduce indentation. | Rafael Ávila de Espíndola | -72/+74 | |
