| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-01-05 | rustc: Add cargo's lib directory to search paths | Brian Anderson | -0/+25 | |
| 2012-01-05 | Use precise return type to allocate retslot in trans_args | Marijn Haverbeke | -4/+11 | |
| Using type_of_or_i8 did, predictably, allocate an i8 for a type parameter, which leads to memory corruption and general confusion. Closes #1443 | ||||
| 2012-01-05 | fix pretty printer to correctly insert parens for disamb | Niko Matsakis | -35/+5 | |
| 2012-01-05 | require a non-semi expr acting as a stmt to have unit return type | Niko Matsakis | -33/+52 | |
| 2012-01-05 | make parser handle parenthesized block-sugar exprs properly | Niko Matsakis | -81/+114 | |
| 2012-01-05 | Merge branch 'master' into kmath | Stefan Plantikow | -222/+177 | |
| Conflicts: src/libcore/float.rs | ||||
| 2012-01-05 | Moved generic float::min, max to core::math and cleaned up some imports | Stefan Plantikow | -4/+3 | |
| 2012-01-05 | Clean up translating of def_ids in metadata reader | Marijn Haverbeke | -188/+149 | |
| Reduces the amount of closure allocation, and makes the code cleaner. | ||||
| 2012-01-05 | Switch to new param kind bound syntax | Marijn Haverbeke | -29/+27 | |
| And remove support for the old syntax | ||||
| 2012-01-05 | Clean up some FIXMEs related to impls | Marijn Haverbeke | -6/+2 | |
| 2012-01-05 | Get external interfaces / impls working | Marijn Haverbeke | -109/+152 | |
| Issue #1227 | ||||
| 2012-01-05 | Fix bad spans for ast::ty parsing | Marijn Haverbeke | -9/+6 | |
| The span would be pointing after the actual text. | ||||
| 2012-01-05 | Write the iface type of an impl in the crate data | Marijn Haverbeke | -105/+129 | |
| Also, move checking of ifaces into the collect phase of typeck to give further passes some guarantees. Issue #1227 | ||||
| 2012-01-05 | Remove ty::bind_params_in_type | Marijn Haverbeke | -56/+20 | |
| It does nothing that substitute_type_params can't do better. | ||||
| 2012-01-05 | Add more item types to the ast_map so the test suite can build with debug info. | Josh Matthews | -1/+9 | |
| 2012-01-04 | Use the right types for methods in trans_impl | Marijn Haverbeke | -12/+5 | |
| This prevents misalignment between function and argument types in corner cases. | ||||
| 2012-01-04 | Reformat typestate error messages so as not to confuse emacs compilation mode | Tim Chevalier | -3/+5 | |
| 2012-01-04 | Prevent typenames in param bounds from resolving to their own param | Marijn Haverbeke | -19/+38 | |
| I.e. fn foo<T: seq<T>>(...). This leads to weird circularities that seem to never make any sense, so it seems prudent to forbid it. Issue #1227 | ||||
| 2012-01-04 | Add visit_ty_params to visit.rs | Marijn Haverbeke | -28/+22 | |
| And use it to make typechecking of bounds less error-prone. | ||||
| 2012-01-04 | Properly typecheck and compile invocations of generic methods. | Marijn Haverbeke | -167/+225 | |
| Aligning the type parameters of the ifaces, impls, and methods correctly in typeck is almost brain surgery. Seems to work now for everything I threw at it, but might still break in other corner cases. Issue #1227 | ||||
| 2012-01-04 | "str": rename "str_from_cstr" to "from_cstr" (analogous to the other "from_*") | Lenny222 | -2/+2 | |
| 2012-01-03 | Add missing ty_constr cases to trans::type_of_inner and ty::fold_ty. | Tim Chevalier | -0/+11 | |
| Closes #970 | ||||
| 2012-01-03 | Allow tail expressions even in no_value blocks. Type checker | Niko Matsakis | -43/+74 | |
| will guarantee they have unit type. | ||||
| 2012-01-03 | extend parser so that expressions that do not require semi-colons | Niko Matsakis | -2/+2 | |
| to be statements are not considered expressions in the tail position | ||||
| 2012-01-03 | rewrite to put blk as 2nd arg | Niko Matsakis | -1/+1 | |
| 2012-01-03 | minimal changes to permit fn blocks in expr | Niko Matsakis | -68/+64 | |
| 2012-01-03 | Merge pull request #1392 from Lenny222/list | Brian Anderson | -2/+6 | |
| list: add "is_not_empty" requirement to "head" and "tail" (analogous to "vec") | ||||
| 2012-01-03 | Make resolution of dictionaries on bounded params work | Marijn Haverbeke | -6/+11 | |
| Issue #1227 | ||||
| 2012-01-03 | Wire in resolution of param bounds for method calls | Marijn Haverbeke | -15/+39 | |
| Issue #1227 | ||||
| 2012-01-03 | Make syntax for impls less magical | Marijn Haverbeke | -23/+18 | |
| The trick of interpreting parameters to the iface type as parameters to the impl was just too magical. Issue #1227 | ||||
| 2012-01-03 | More work on translating dictionary-passing | Marijn Haverbeke | -162/+387 | |
| Reached a point where simple uses of interfaces without bounds work. Issue #1227 | ||||
| 2012-01-02 | Add a clause ty_ptr to ppaux::ty_to_str | Marijn Haverbeke | -0/+1 | |
| Closes #1383 | ||||
| 2012-01-02 | Properly handle expression blocks in kind.rs | Marijn Haverbeke | -3/+10 | |
| It was only noticing them in expr_block form, not as function bodies. Closes #1390 | ||||
| 2012-01-02 | Write out vtables for interface implementations | Marijn Haverbeke | -13/+78 | |
| Issue #1227 | ||||
| 2012-01-02 | Drop two useless sub-passes from trans | Marijn Haverbeke | -98/+59 | |
| Neither collect_tag_ctors nor the second pass in collect_items needed to be separate passes. Also remove obsolete obj_methods table kludge. | ||||
| 2012-01-02 | Create a trans_impl module | Marijn Haverbeke | -16/+20 | |
| 2012-01-02 | Key tcx.ty_param_bounds on node_ids, not def_ids | Marijn Haverbeke | -9/+11 | |
| This makes it clearer that it's only valid for local nodes. | ||||
| 2012-01-02 | Box arrays of parameter bounds | Marijn Haverbeke | -42/+41 | |
| 2012-01-02 | Pass bounds to trans::type_of_fn | Marijn Haverbeke | -50/+65 | |
| 2012-01-02 | More resolving and typechecking of bounded type parameters. | Marijn Haverbeke | -55/+211 | |
| Extern interfaces still don't get recognized. Issue #1227 | ||||
| 2012-01-02 | Check that type parameter bounds are interface types | Marijn Haverbeke | -45/+96 | |
| Issue #1227 | ||||
| 2012-01-02 | Make last-use pass properly handle closed-over variables | Marijn Haverbeke | -3/+18 | |
| Closes #1399 | ||||
| 2012-01-01 | link with gcc44+ | Jyun-Yan You | -1/+3 | |
| 2012-01-01 | fix link error | Jyun-Yan You | -1/+4 | |
| 2012-01-01 | add missing library, enable segmented stacks for freebsd | Jyun-Yan You | -5/+4 | |
| 2012-01-01 | freebsd support | User Jyyou | -5/+42 | |
| 2011-12-30 | add cap clause to pretty printer, with a test | Niko Matsakis | -2/+34 | |
| 2011-12-30 | Print usage messages to rustc and rustdoc when invoked with no args. Close ↵ | Graydon Hoare | -0/+3 | |
| #1394. | ||||
| 2011-12-29 | split proto from fn_decl, as not all fn_decls know the proto. | Niko Matsakis | -200/+207 | |
| this will address the (crashing) new test added. | ||||
| 2011-12-29 | Add support in lexer for utf8 identifiers. No NFKC logic in char yet. | Graydon Hoare | -2/+4 | |
