| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-27 | Move some code over to iterator-for to see how it performs. | Marijn Haverbeke | -3/+3 | |
| 2012-03-27 | Support returning from loop blocks | Marijn Haverbeke | -1/+1 | |
| The code is somewhat invasive, but it seems hard to do this in a clean way, since the design itself involves a bunch of 'action at a distance'. Issue #1819 | ||||
| 2012-03-23 | Handle self correctly when translating classes | Tim Chevalier | -1/+1 | |
| This change uses the same code for handling the "self" reference for classes as is already used for impls/ifaces. This allows removing the extra maybe_self_id argument (which was just for classes) to trans_closure that I added before. I also rewrote the translation for class ctors so that it doesn't generate new AST nodes (instead translating directly). Also changed visit so that it visits class ctors correctly with visit_fn, and changed typestate to not do return-checking when visiting a class ctor. | ||||
| 2012-03-23 | Remove last vestiges of old-style intrinsics | Marijn Haverbeke | -1/+1 | |
| Closes #2048 | ||||
| 2012-03-23 | Remove more needless context threading in trans | Marijn Haverbeke | -2/+2 | |
| 2012-03-23 | Revert removal of intrinsics | Marijn Haverbeke | -1/+1 | |
| Oops. We can't do this yet until the next snapshot. | ||||
| 2012-03-23 | Remove support for the old-style intrinsics | Marijn Haverbeke | -1/+1 | |
| Closes #2042 Closes #1981 | ||||
| 2012-03-23 | Implement built-in native modules as an alternative to intrinsics | Marijn Haverbeke | -1/+1 | |
| Issue #1981 | ||||
| 2012-03-22 | Add an LLVM-instruction-counting mode to trans. | Graydon Hoare | -0/+9 | |
| Pipe to xdu to see a trans call graph of generated insns. | ||||
| 2012-03-21 | add mut decls to rustc and make them mandatory | Niko Matsakis | -3/+3 | |
| 2012-03-16 | Forbid boxed ifaces with self types or generic methods in bounded params | Marijn Haverbeke | -4/+7 | |
| They are a soundness hole. Closes #1994 | ||||
| 2012-03-16 | Support binding of methods off boxed iface values | Marijn Haverbeke | -4/+4 | |
| Closes #435 | ||||
| 2012-03-15 | Fix bug in vtable builder | Marijn Haverbeke | -1/+8 | |
| Closes #1947 , which I completely misdiagnosed. | ||||
| 2012-03-15 | Reuse monomorphized functions more aggressively | Marijn Haverbeke | -6/+7 | |
| Adds a trans::type_use pass that, given a function body, detects how dependant that function is on properties of its type parameters. | ||||
| 2012-03-15 | Remove support for dynamically-sized types from translation code | Marijn Haverbeke | -2/+2 | |
| 2012-03-15 | Properly recognize external intrinsics | Marijn Haverbeke | -14/+8 | |
| 2012-03-15 | Huge kludge to get intrinsics' type parameters passed | Marijn Haverbeke | -10/+2 | |
| 2012-03-15 | Never pass tydesc to functions | Marijn Haverbeke | -160/+6 | |
| My assumption that native generics needed them was wrong, so tydescs can be eliminated from function signatures completely. | ||||
| 2012-03-15 | Properly replace iface tps with impl tps in static method calls | Marijn Haverbeke | -5/+19 | |
| Un-xfail iface-generic.rs | ||||
| 2012-03-15 | Remove a large part of the tydesc-passing code | Marijn Haverbeke | -7/+5 | |
| 2012-03-15 | Rename dict to vtable throughout the compiler | Marijn Haverbeke | -41/+41 | |
| The difference went away. | ||||
| 2012-03-15 | Hugely simplify iface handling | Marijn Haverbeke | -220/+91 | |
| With the assumption of monomorphization | ||||
| 2012-03-15 | Stop generating generic versions of generic functions | Marijn Haverbeke | -5/+8 | |
| Monomorphic instances are generated on demand. | ||||
| 2012-03-15 | Fix assumption that monomorphized method's impls are crate-local | Marijn Haverbeke | -13/+18 | |
| 2012-03-14 | Convert *u8 native string users to *c_char | Brian Anderson | -2/+2 | |
| 2012-03-14 | rustc: Lift the @ from the type definition of crate_ctxt into its uses | Patrick Walton | -9/+9 | |
| This will make it easier to convert crate_ctxt into a region pointer, since there are functions that return crate contexts. There would be no way to type these functions if crate_ctxt had to be an inferred region pointer. | ||||
| 2012-03-13 | Overhaul constructor naming in libs | Brian Anderson | -1/+1 | |
| 2012-03-12 | Libc/os/run/rand/io reorganization. Close #1373. Close #1638. | Graydon Hoare | -1/+1 | |
| - Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os. | ||||
| 2012-03-10 | core: Rename vec::tail_n to vec::tailn to match other fns | Brian Anderson | -1/+1 | |
| 2012-03-08 | Explicitly store self_ids use for self locals in methods | Marijn Haverbeke | -3/+2 | |
| This makes it possible to move them between crates without confusion, and to instantiate them at a point where the monomorphizing substitutions are known. Issue #1944 | ||||
| 2012-03-08 | Drop collect_items pass, create decls on demand | Marijn Haverbeke | -16/+9 | |
| This solves a problem with inlined functions that have inner functions. | ||||
| 2012-03-07 | stdlib: Stop incurring vtable dispatch costs when hashmaps are used | Patrick Walton | -0/+1 | |
| This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict. | ||||
| 2012-03-07 | Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used" | Patrick Walton | -1/+0 | |
| This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed. | ||||
| 2012-03-07 | stdlib: Stop incurring vtable dispatch costs when hashmaps are used | Patrick Walton | -0/+1 | |
| This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict. | ||||
| 2012-03-05 | rustc: Lower case error messages | Brian Anderson | -4/+4 | |
| 2012-03-04 | Translate simple classes | Tim Chevalier | -1/+1 | |
| Programs using classes with fields only (no methods) compile and run, as long as nothing refers to a class in a different crate (todo). Also changed the AST representation of classes to have a separate record for constructor info (instead of inlining the fields in the item_class node), and fixed up spans and pretty-printing for classes. | ||||
| 2012-03-02 | Move src/comp to src/rustc | Graydon Hoare | -0/+547 | |
