| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-07-05 | Remove duplicate, un-used copy of astencode | Tim Chevalier | -940/+0 | |
| 2012-07-05 | Change 'iface' to 'trait' internally; parse `trait` as `iface` synonym | Lindsey Kuper | -5/+5 | |
| 2012-06-29 | Switch the compiler over to using ~[] notation instead of []/~. Closes #2759. | Michael Sullivan | -15/+15 | |
| 2012-06-26 | Change 'native' and 'crust' to 'extern'. | Graydon Hoare | -5/+5 | |
| This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI. | ||||
| 2012-06-25 | Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725. | Michael Sullivan | -11/+11 | |
| 2012-05-31 | Rename librustsyntax to libsyntax | Kevin Cantu | -1/+1 | |
| Per issue #2418. | ||||
| 2012-05-16 | pull out id visitor into ast_util from astencode | Niko Matsakis | -0/+940 | |
| 2012-05-14 | rustc: Move astencode from metadata to middle | Brian Anderson | -1093/+0 | |
| 2012-05-14 | First cut at dtors for classes | Tim Chevalier | -0/+7 | |
| Classes with dtors should compile now. Haven't yet tested whether they actually run correctly. Beginnings of support for #2295, though that won't be done until there's more test cases and resources are removed. | ||||
| 2012-05-13 | rustc: Eliminate a simple dependency from metadata mod | Brian Anderson | -1/+1 | |
| 2012-05-13 | rustc: Eliminate some indirection to the syntax crate | Brian Anderson | -1/+1 | |
| 2012-05-13 | rustc: Eliminate metadata's dependency on trans | Brian Anderson | -10/+8 | |
| 2012-05-09 | implement new borrow ck (disabled by default) | Niko Matsakis | -4/+6 | |
| 2012-05-07 | make it illegal to implicitly capture mutable variables | Niko Matsakis | -2/+1 | |
| this is the final part of #1273 | ||||
| 2012-04-23 | rustc: Eliminate trans dependency from metadata::tyencode | Brian Anderson | -1/+1 | |
| 2012-04-23 | encode the borrowing table, add a simple cross-crate borrowing test | Niko Matsakis | -0/+8 | |
| 2012-04-20 | Log decoded inline_items when debug is active. | Graydon Hoare | -0/+7 | |
| 2012-04-19 | make nominal types optionally parameterized by a self region. | Niko Matsakis | -5/+16 | |
| Issue #2201. | ||||
| 2012-04-18 | syntax: Put the main parser interface in mod parse | Brian Anderson | -4/+4 | |
| 2012-04-10 | Generic classes and generic class methods work cross-crate | Tim Chevalier | -2/+27 | |
| Classes can have ty params now. So can methods inside classes. That was probably true before, but now it should still work if you call methods in a class that's defined in a different crate. Yay! | ||||
| 2012-04-06 | Re-rename option functions | Tim Chevalier | -13/+13 | |
| get_with_default (nee from_maybe) => get_default with_option (nee maybe) => map_default with_option_do (nee may) => iter As per discussion of 21be1379d561b6679a8a2ea47dce88f948c5acca | ||||
| 2012-04-06 | Convert old-style for loops to new-style | Marijn Haverbeke | -1/+1 | |
| Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619 | ||||
| 2012-04-02 | Rename some core::option functions | Tim Chevalier | -13/+13 | |
| from_maybe => get_with_default maybe => with_option may => with_option_do I know these names are kind of ridiculous, but it's the best I could think of. Feel free to bikeshed. Closes #2081 | ||||
| 2012-03-29 | Require "self" as base expression for intra-class method or field references | Tim Chevalier | -6/+0 | |
| All field or method references within a class must begin with "self." now. A bare reference to a field or method in the same class will no longer typecheck. | ||||
| 2012-03-28 | Allow explicit self-calls within classes | Tim Chevalier | -4/+3 | |
| Allow writing self.f() within a class that has a method f. In a future commit, this syntax will be required. For now, you can write either self.f() or f(). I added a "privacy" field to all methods (whether class methods or not), which allowed me to refactor the AST somewhat (getting rid of the class_item type; now there's just class_member). | ||||
| 2012-03-26 | Bulk-edit mutable -> mut. | Graydon Hoare | -6/+6 | |
| 2012-03-26 | rustc: Begin eliminating ext's dependency on the session | Brian Anderson | -9/+6 | |
| 2012-03-23 | Implement new inference algorithm. | Niko Matsakis | -0/+1 | |
| 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 | Keep an explicit map of things that have to be spilled | Marijn Haverbeke | -1/+9 | |
| This prevents us from spilling locals more than once. Closes #2040 | ||||
| 2012-03-23 | Implement built-in native modules as an alternative to intrinsics | Marijn Haverbeke | -0/+6 | |
| Issue #1981 | ||||
| 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 | Make sure enum and resource constructors are inlined properly | Marijn Haverbeke | -0/+1 | |
| 2012-03-15 | Make sure resource destructors are properly monomorphized | Marijn Haverbeke | -0/+4 | |
| 2012-03-15 | Rename dict to vtable throughout the compiler | Marijn Haverbeke | -32/+33 | |
| The difference went away. | ||||
| 2012-03-15 | Hugely simplify iface handling | Marijn Haverbeke | -1/+7 | |
| With the assumption of monomorphization | ||||
| 2012-03-15 | Fix assumption that monomorphized method's impls are crate-local | Marijn Haverbeke | -1/+0 | |
| 2012-03-14 | std: Rename the hashmap constructors to conform to new standards | Brian Anderson | -1/+1 | |
| Instead of using the new_ prefix just name them after their type | ||||
| 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 | -1/+1 | |
| 2012-03-13 | first (functional) version of the auto_serialize syntax ext | Niko Matsakis | -14/+15 | |
| 2012-03-13 | Overhaul constructor naming in libs | Brian Anderson | -6/+6 | |
| 2012-03-12 | Libc/os/run/rand/io reorganization. Close #1373. Close #1638. | Graydon Hoare | -1/+0 | |
| - 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-09 | rustc: Add region def ids to the AST | Patrick Walton | -1/+2 | |
| 2012-03-09 | Revert "rustc: Create def IDs for region parameters" | Patrick Walton | -2/+1 | |
| This reverts commit 0d4cb759494f9589ba57c4f2c41f5a5737ab74e0. | ||||
| 2012-03-09 | rustc: Create def IDs for region parameters | Patrick Walton | -1/+2 | |
| 2012-03-08 | Properly serialize is_last_use values | Marijn Haverbeke | -3/+21 | |
| They were all normalized to the same thing by the serializer. | ||||
| 2012-03-08 | Explicitly store self_ids use for self locals in methods | Marijn Haverbeke | -1/+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 | -1/+1 | |
| This solves a problem with inlined functions that have inner functions. | ||||
