| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-27 | Enforce mutability declarations in classes; correct shapes for classes | Tim Chevalier | -2/+9 | |
| 1. Enforce mutability declarations on class fields. Don't allow any mutation of class fields not declared as mutable (except inside the constructor). 2. Handle classes correctly in shape (treat classes like records). | ||||
| 2012-03-26 | Bulk-edit mutable -> mut. | Graydon Hoare | -13/+13 | |
| 2012-03-26 | Enforce privacy declarations for class fields and methods | Tim Chevalier | -10/+21 | |
| 2012-03-23 | Implement new inference algorithm. | Niko Matsakis | -1/+6 | |
| 2012-03-23 | Remove last vestiges of old-style intrinsics | Marijn Haverbeke | -5/+1 | |
| Closes #2048 | ||||
| 2012-03-23 | Revert removal of intrinsics | Marijn Haverbeke | -1/+5 | |
| Oops. We can't do this yet until the next snapshot. | ||||
| 2012-03-23 | Rename builtin back to intrinsic | Marijn Haverbeke | -1/+1 | |
| As per Graydon's request Issue #1981 | ||||
| 2012-03-23 | Remove support for the old-style intrinsics | Marijn Haverbeke | -4/+0 | |
| Closes #2042 Closes #1981 | ||||
| 2012-03-23 | Implement built-in native modules as an alternative to intrinsics | Marijn Haverbeke | -1/+6 | |
| Issue #1981 | ||||
| 2012-03-22 | Make cross-crate calls to class methods work | Tim Chevalier | -18/+61 | |
| 2012-03-21 | add mut decls to rustc and make them mandatory | Niko Matsakis | -12/+12 | |
| 2012-03-20 | stdlib: Implement arenas | Patrick Walton | -2/+2 | |
| 2012-03-20 | Class methods WIP | Tim Chevalier | -66/+93 | |
| In particular, use the ast::method type to represent a class method, and try to reuse as much iface code as possible. (This makes sense now since I'll be allowing polymorphic class methods.) | ||||
| 2012-03-20 | Move external-reachability checker to trans | Marijn Haverbeke | -11/+5 | |
| Preparation for a fix for issue #2020 | ||||
| 2012-03-16 | Encode both private and public class fields in metadata | Tim Chevalier | -8/+3 | |
| This is necessary to calculate the correct offsets for field references. Simple cross-crate class tests (still with fields only) now pass. | ||||
| 2012-03-16 | Fix encoding of class ctors | Tim Chevalier | -20/+18 | |
| Class tests still fail at runtime | ||||
| 2012-03-16 | Classes WIP | Tim Chevalier | -6/+122 | |
| Cross-crate metadata for classes works well enough that programs with classes in other crates compile successfully, but output wrong results. Checking in work so far to avoid merge hassles. (Tests are xfailed.) | ||||
| 2012-03-15 | Properly recognize external intrinsics | Marijn Haverbeke | -9/+15 | |
| 2012-03-15 | Only write metadata for items that actually appear in the root AST | Marijn Haverbeke | -31/+39 | |
| Not for imported ASTs from inlined items. | ||||
| 2012-03-15 | Make sure enum and resource constructors are inlined properly | Marijn Haverbeke | -11/+6 | |
| 2012-03-15 | Make sure resource destructors are properly monomorphized | Marijn Haverbeke | -5/+4 | |
| 2012-03-15 | Remove a large part of the tydesc-passing code | Marijn Haverbeke | -2/+3 | |
| 2012-03-15 | Stop generating generic versions of generic functions | Marijn Haverbeke | -4/+8 | |
| Monomorphic instances are generated on demand. | ||||
| 2012-03-15 | Fix assumption that monomorphized method's impls are crate-local | Marijn Haverbeke | -1/+1 | |
| 2012-03-15 | Write out the AST for all externally-reachable generics | Marijn Haverbeke | -2/+3 | |
| 2012-03-14 | rustc: Lift the @ from the type definition of crate_ctxt into its uses | Patrick Walton | -2/+2 | |
| 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 | implement deserialization, rename mk_mem_buffer() to mem_buffer() | Niko Matsakis | -2/+2 | |
| 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-08 | Explicitly store self_ids use for self locals in methods | Marijn Haverbeke | -2/+4 | |
| 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 | -12/+15 | |
| 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-06 | Add a reachability checker, only export metadata for reachable items | Marijn Haverbeke | -7/+20 | |
| Closes #1934 | ||||
| 2012-03-06 | Track all exports in exp_map | Marijn Haverbeke | -3/+8 | |
| This is needed because the reachability checker needs to be able to follow exports. Issue #1934 | ||||
| 2012-03-05 | give user control of whether we use inline hint or inline always | Niko Matsakis | -2/+10 | |
| supply inline hints for resource ctors/dtors | ||||
| 2012-03-05 | set LLVM inline hint for all #[inline] methods, whether CC or local | Niko Matsakis | -6/+2 | |
| 2012-03-04 | Translate simple classes | Tim Chevalier | -2/+2 | |
| 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/+766 | |
