summary refs log tree commit diff
path: root/src/rustc/metadata/decoder.rs
AgeCommit message (Collapse)AuthorLines
2012-03-27Enforce mutability declarations in classes; correct shapes for classesTim Chevalier-2/+14
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-26Enforce privacy declarations for class fields and methodsTim Chevalier-16/+15
2012-03-23Remove last vestiges of old-style intrinsicsMarijn Haverbeke-8/+0
Closes #2048
2012-03-23Revert removal of intrinsicsMarijn Haverbeke-0/+8
Oops. We can't do this yet until the next snapshot.
2012-03-23Remove support for the old-style intrinsicsMarijn Haverbeke-8/+0
Closes #2042 Closes #1981
2012-03-22Make cross-crate calls to class methods workTim Chevalier-1/+23
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-23/+26
2012-03-21methods workTim Chevalier-14/+24
Cross-crate method calls don't work yet. Added run-pass/class-method-cross-crate to test that, but it's xfailed References to fields within methods don't work yet. Added run-pass/class-methods to test that, but it's also xfailed
2012-03-20Class methods WIPTim Chevalier-27/+19
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-16Encode both private and public class fields in metadataTim Chevalier-6/+2
This is necessary to calculate the correct offsets for field references. Simple cross-crate class tests (still with fields only) now pass.
2012-03-16Fix encoding of class ctorsTim Chevalier-2/+2
Class tests still fail at runtime
2012-03-16Classes WIPTim Chevalier-4/+55
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-15Properly recognize external intrinsicsMarijn Haverbeke-0/+8
2012-03-15Make sure enum and resource constructors are inlined properlyMarijn Haverbeke-6/+25
2012-03-15Hugely simplify iface handlingMarijn Haverbeke-1/+1
With the assumption of monomorphization
2012-03-15Fix assumption that monomorphized method's impls are crate-localMarijn Haverbeke-0/+13
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-9/+9
Instead of using the new_ prefix just name them after their type
2012-03-12Libc/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-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick 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-07Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"Patrick Walton-1/+0
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick 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-02Move src/comp to src/rustcGraydon Hoare-0/+577