| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-27 | Support an alternate for syntax that calls a higher-order function | Marijn Haverbeke | -2/+12 | |
| The last argument of the call must be a block, and the type of this argument must a function returning bool. `break` and `cont` are supported in the body of the block, and return `false` or `true` from the function. When the end of the function is reached, `true` is implicitly returned. for vec::all([1, 2, 3]) {|elt| if elt == 2 { break; } log(error, elt); } Issue #1619 | ||||
| 2012-03-26 | Bulk-edit mutable -> mut. | Graydon Hoare | -14/+14 | |
| 2012-03-22 | make --enforce-mut-vars always on, add mut annotations to remaining files | Niko Matsakis | -0/+7 | |
| 2012-03-21 | add mut decls to rustc and make them mandatory | Niko Matsakis | -15/+15 | |
| 2012-03-20 | Implement an initial version of placement new. | Niko Matsakis | -0/+7 | |
| 2012-03-20 | Class methods WIP | Tim Chevalier | -8/+12 | |
| 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-13 | implement deserialization, rename mk_mem_buffer() to mem_buffer() | Niko Matsakis | -4/+4 | |
| 2012-03-12 | Libc/os/run/rand/io reorganization. Close #1373. Close #1638. | Graydon Hoare | -2/+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-12 | rustc: Add node IDs to AST types so we can associate them with region ↵ | Patrick Walton | -3/+9 | |
| environments | ||||
| 2012-03-10 | Use loop instead of while(true) in libraries and compiler itself | Tim Chevalier | -2/+2 | |
| And remove spurious fails/unreachable() calls. | ||||
| 2012-03-09 | Add an infinite loop construct | Tim Chevalier | -0/+5 | |
| Add a loop {} construct for infinite loops, and use it in test cases. See #1906 for details. | ||||
| 2012-03-09 | rustc: Wrap regions in a node ID | Patrick Walton | -1/+1 | |
| 2012-03-09 | Revert "rustc: Create def IDs for region parameters" | Patrick Walton | -1/+1 | |
| This reverts commit 0d4cb759494f9589ba57c4f2c41f5a5737ab74e0. | ||||
| 2012-03-09 | rustc: Create def IDs for region parameters | Patrick Walton | -1/+1 | |
| 2012-03-08 | rustc: Add pretty printing support for the address-of operator. ↵ | Patrick Walton | -1/+14 | |
| Un-XFAIL-pretty simple-regions.rs. | ||||
| 2012-03-08 | rustc: Change the address-of operator to an explicit production so that we ↵ | Patrick Walton | -0/+4 | |
| can parse the mutability | ||||
| 2012-03-08 | Change util::unreachable to core::unreachable | Tim Chevalier | -1/+1 | |
| Closes #1931 | ||||
| 2012-03-08 | rustc: Add region-annoted type parameters to the AST; stub associated patterns | Patrick Walton | -0/+1 | |
| 2012-03-05 | rustc: Use std::util::unreachable | Brian Anderson | -1/+1 | |
| 2012-03-04 | Translate simple classes | Tim Chevalier | -3/+6 | |
| 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/+1793 | |
