| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-27 | Enforce mutability declarations in classes; correct shapes for classes | Tim Chevalier | -4/+24 | |
| 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 | -30/+30 | |
| 2012-03-26 | rustc: Begin eliminating ext's dependency on the session | Brian Anderson | -9/+6 | |
| 2012-03-26 | Enforce privacy declarations for class fields and methods | Tim Chevalier | -35/+36 | |
| 2012-03-23 | Implement new inference algorithm. | Niko Matsakis | -5/+18 | |
| 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 | rustc: Redo region inference to be a bit less broken | Patrick Walton | -10/+10 | |
| 2012-03-23 | Keep an explicit map of things that have to be spilled | Marijn Haverbeke | -1/+10 | |
| This prevents us from spilling locals more than once. Closes #2040 | ||||
| 2012-03-23 | Remove last vestiges of old-style intrinsics | Marijn Haverbeke | -20/+1 | |
| Closes #2048 | ||||
| 2012-03-23 | Revert removal of intrinsics | Marijn Haverbeke | -1/+20 | |
| 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 | -19/+0 | |
| Closes #2042 Closes #1981 | ||||
| 2012-03-23 | Implement built-in native modules as an alternative to intrinsics | Marijn Haverbeke | -1/+12 | |
| Issue #1981 | ||||
| 2012-03-22 | Make cross-crate calls to class methods work | Tim Chevalier | -20/+96 | |
| 2012-03-21 | add mut decls to rustc and make them mandatory | Niko Matsakis | -69/+72 | |
| 2012-03-21 | methods work | Tim Chevalier | -15/+34 | |
| 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-21 | rustc: Introduce re_params into the typechecker | Patrick Walton | -1/+3 | |
| This is the first step of the region refactoring I need to do in order to handle named regions properly. | ||||
| 2012-03-20 | stdlib: Implement arenas | Patrick Walton | -2/+2 | |
| 2012-03-20 | Class methods WIP | Tim Chevalier | -96/+140 | |
| 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 | Revert order of arguments to option::maybe and from_maybe | Marijn Haverbeke | -1/+1 | |
| Closes #2019 | ||||
| 2012-03-20 | Move external-reachability checker to trans | Marijn Haverbeke | -153/+5 | |
| Preparation for a fix for issue #2020 | ||||
| 2012-03-19 | core: Move unsafe conversions to str::unsafe | Brian Anderson | -1/+1 | |
| 2012-03-16 | Encode both private and public class fields in metadata | Tim Chevalier | -14/+5 | |
| 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 | -22/+22 | |
| Class tests still fail at runtime | ||||
| 2012-03-16 | Classes WIP | Tim Chevalier | -20/+221 | |
| 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-16 | Remove shared tydescs | Marijn Haverbeke | -2/+0 | |
| All tydescs are static now, there's no need to worry about marshalling them between threads anymore. | ||||
| 2012-03-15 | rustc: Create self region bindings, and forbid the self region from being ↵ | Patrick Walton | -0/+3 | |
| used in places it shouldn't be | ||||
| 2012-03-15 | kill old serialization code | Niko Matsakis | -9189/+0 | |
| 2012-03-15 | switch over to using new serialize/deserialize code | Niko Matsakis | -20/+148 | |
| 2012-03-15 | Remove tests from astencode.rs | Marijn Haverbeke | -116/+0 | |
| They mysteriously fail on Windows, and Niko assures me this code is about be replaced anyway. | ||||
| 2012-03-15 | Properly recognize external intrinsics | Marijn Haverbeke | -9/+30 | |
| 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 | -20/+43 | |
| 2012-03-15 | Make sure resource destructors are properly monomorphized | Marijn Haverbeke | -7/+26 | |
| 2012-03-15 | Remove a large part of the tydesc-passing code | Marijn Haverbeke | -2/+3 | |
| 2012-03-15 | Rename dict to vtable throughout the compiler | Marijn Haverbeke | -33/+34 | |
| The difference went away. | ||||
| 2012-03-15 | Hugely simplify iface handling | Marijn Haverbeke | -2/+8 | |
| With the assumption of monomorphization | ||||
| 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 | -2/+21 | |
| 2012-03-15 | Write out the AST for all externally-reachable generics | Marijn Haverbeke | -2/+3 | |
| 2012-03-14 | Convert *u8 native string users to *c_char | Brian Anderson | -3/+3 | |
| 2012-03-14 | core: Rename str::from_cstr et. al to from_buf | Brian Anderson | -1/+1 | |
| 2012-03-14 | std: Rename the hashmap constructors to conform to new standards | Brian Anderson | -16/+16 | |
| Instead of using the new_ prefix just name them after their type | ||||
| 2012-03-14 | rustc: Lift the @ from the type definition of crate_ctxt into its uses | Patrick Walton | -4/+4 | |
| 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-14 | adjust auto_serialize to generate fns named serialize_T() | Niko Matsakis | -6/+6 | |
| We used to generate a module T with a serialize() and deserialize() fn, but this was suboptimal for a number of reasons: - it required moving serialization into core so that uint etc worked - it was harder to override the serialization behavior locally (this is now trivial) | ||||
| 2012-03-13 | implement deserialization, rename mk_mem_buffer() to mem_buffer() | Niko Matsakis | -4/+4 | |
| 2012-03-13 | first (functional) version of the auto_serialize syntax ext | Niko Matsakis | -14/+15 | |
| 2012-03-13 | rustc: Get reference typedefs working | Patrick Walton | -0/+1 | |
| 2012-03-13 | Name types after their modules instead of 't' | Brian Anderson | -16/+16 | |
| 2012-03-13 | Overhaul constructor naming in libs | Brian Anderson | -40/+40 | |
