| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-01-27 | Move various trans_ modules under a trans:: umbrella module | Marijn Haverbeke | -432/+0 | |
| Closes #1304 | ||||
| 2012-01-27 | Stop passing spans to middle::trans functions that don't need them | Marijn Haverbeke | -3/+2 | |
| Removes a bunch of (eventually) unused arguments. Makes span passing to debuginfo explicit, instead of relying on the (usually incorrect) spans held in the contexts. Closes #1439 | ||||
| 2012-01-26 | First stab at operator overloading | Marijn Haverbeke | -10/+27 | |
| When no built-in interpretation is found for one of the operators mentioned below, the typechecker will try to turn it into a method call with the name written next to it. For binary operators, the method will be called on the LHS with the RHS as only parameter. Binary: + op_add - op_sub * op_mul / op_div % op_rem & op_and | op_or ^ op_xor << op_shift_left >> op_shift_right >>> op_ashift_right Unary: - op_neg ! op_not Overloading of the indexing ([]) operator isn't finished yet. Issue #1520 | ||||
| 2012-01-23 | s/block()/fn()/g | Niko Matsakis | -1/+1 | |
| 2012-01-21 | issue #1352: change param order on vec::init_elt, putting block in final ↵ | Graham Fawcett | -1/+1 | |
| position. To match the init_fn() and init_fn_mut() changes. | ||||
| 2012-01-18 | Remove '.' after nullary tags in patterns | Tim Chevalier | -1/+1 | |
| Does what it says on the tin. The next commit will remove support for this syntax. | ||||
| 2012-01-19 | rustc: Use integer from ctypes consistently | Haitao Li | -10/+14 | |
| 2012-01-19 | Use ctypes in native function declarations | Haitao Li | -9/+10 | |
| 2012-01-13 | Obj system? What obj system? | Marijn Haverbeke | -7/+5 | |
| Removes the obj system from the compiler. Closes #1484 | ||||
| 2012-01-13 | Remove all remaining uses of objs from the compiler | Marijn Haverbeke | -1/+1 | |
| 2012-01-12 | Make driver::session::session no longer an object | Marijn Haverbeke | -1/+1 | |
| Rather, it is now a struct where properties like opts are accessed directly, and the error-reporting methods are part of a static impl (with the same name as the type). | ||||
| 2012-01-12 | Implement passing cast-to-vtable values as bounded params | Marijn Haverbeke | -42/+135 | |
| Closes #1492 | ||||
| 2012-01-11 | Pass type with params intact as item_type for method callees | Marijn Haverbeke | -2/+2 | |
| This prevents trans_args from optimizing out nil return types. The method might be generic, in which case it *will* write to a nil retptr. | ||||
| 2012-01-08 | correct long line | Niko Matsakis | -2/+2 | |
| 2012-01-08 | First barely-working version of casting to iface | Marijn Haverbeke | -13/+57 | |
| Issue #1437 | ||||
| 2012-01-06 | rejigger impl to have an opaque closure ptr rather than | Niko Matsakis | -1/+1 | |
| opaque closure | ||||
| 2012-01-06 | Add some basic comments to trans_imp.rs | Marijn Haverbeke | -0/+30 | |
| 2012-01-06 | Make binding of fns with bounded type parameters work | Marijn Haverbeke | -2/+6 | |
| Interns non-static dicts to heap-allocated equivalents so that they no longer have stack scope. Closes #1436 | ||||
| 2012-01-06 | Statically allocate static dicts | Marijn Haverbeke | -24/+89 | |
| Issue #1436 | ||||
| 2012-01-06 | Fix bug in method type parameter passing | Marijn Haverbeke | -1/+2 | |
| It would occasionally pass the wrong type parameter, when calling a generic method from a generic impl on a bounded param type. | ||||
| 2012-01-05 | Get external interfaces / impls working | Marijn Haverbeke | -4/+8 | |
| Issue #1227 | ||||
| 2012-01-04 | Use the right types for methods in trans_impl | Marijn Haverbeke | -4/+4 | |
| This prevents misalignment between function and argument types in corner cases. | ||||
| 2012-01-04 | Properly typecheck and compile invocations of generic methods. | Marijn Haverbeke | -3/+21 | |
| 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-03 | Make resolution of dictionaries on bounded params work | Marijn Haverbeke | -1/+3 | |
| Issue #1227 | ||||
| 2012-01-03 | More work on translating dictionary-passing | Marijn Haverbeke | -11/+92 | |
| Reached a point where simple uses of interfaces without bounds work. Issue #1227 | ||||
| 2012-01-02 | Write out vtables for interface implementations | Marijn Haverbeke | -1/+51 | |
| Issue #1227 | ||||
| 2012-01-02 | Drop two useless sub-passes from trans | Marijn Haverbeke | -1/+4 | |
| 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 | -0/+18 | |
