| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-16 | Make uses of self in impls compile | Marijn Haverbeke | -17/+1 | |
| Get rid of expr_self_call, introduces def_self. `self` is now, syntactically, simply a variable. A method implicitly brings a `self` binding into scope. Issue #1227 | ||||
| 2011-12-16 | Parse and resolve implementations. | Marijn Haverbeke | -5/+18 | |
| Issue #1227 | ||||
| 2011-12-15 | Iterate over an array when creating the parser's reserved word table | Marijn Haverbeke | -38/+8 | |
| 2011-12-14 | change syntax from lambda[send] to sendfn | Niko Matsakis | -79/+14 | |
| 2011-12-14 | restructure, temporarily working around what looks like an LLVM bug | Niko Matsakis | -3/+37 | |
| 2011-12-14 | remove extra trailing semicolon | Niko Matsakis | -1/+1 | |
| 2011-12-14 | push changes through to get things compiling, if not running. | Niko Matsakis | -13/+19 | |
| 2011-12-14 | first attempt, not happy with it | Niko Matsakis | -28/+30 | |
| 2011-12-14 | define ty and update parser for sendable lambdas | Niko Matsakis | -6/+85 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -11/+14 | |
| 2011-12-09 | Allow type annotations for blocks | Marijn Haverbeke | -10/+8 | |
| I.e. {|foo: int| -> int foo + 2} Issue #1275 | ||||
| 2011-12-08 | Error when parsing the empty record type | Marijn Haverbeke | -0/+1 | |
| Issue #1200 | ||||
| 2011-12-08 | Allow binding of nested patterns | Marijn Haverbeke | -5/+6 | |
| See src/test/run-pass/nested-patterns.rs for some examples. The syntax is boundvar@subpattern Which will match the subpattern as usual, but also bind boundvar to the whole matched value. Closes #838 | ||||
| 2011-12-08 | Consider variant constructors pure functions for the purpose of purity checking | Marijn Haverbeke | -1/+0 | |
| Closes #1269 | ||||
| 2011-12-07 | Remove stmt_crate_directive, it's vestigial and confusing. | Graydon Hoare | -18/+1 | |
| 2011-12-07 | Change literal representation to not truncate | Marijn Haverbeke | -140/+87 | |
| Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252 | ||||
| 2011-12-02 | parse: typeck: enabling trivial casts of tail-call return values | Stefan Plantikow | -1/+1 | |
| introduces ctypes::m_* machine type aliases for int, uint, float depending on cfg(target_arch) that are used in tests | ||||
| 2011-12-02 | Stop lexing -1 as a single token | Marijn Haverbeke | -62/+3 | |
| And remove the hack that made 1-1 work given that other hack. Issue #954 | ||||
| 2011-12-02 | Allow literal patterns to contain arbitrary literal expressions | Marijn Haverbeke | -9/+11 | |
| This removes the need for the unary minus hacks, and allows some other neat things like matching on 1 >> 4. Issue #954 | ||||
| 2011-11-30 | Box ast::path values | Marijn Haverbeke | -17/+16 | |
| It seems inefficient to copy them around. Let's measure whether that's actually > the case | ||||
| 2011-11-24 | rustc: Fix a bug in cdir attribute parsing | Brian Anderson | -0/+2 | |
| The first attribute of the first mod was being applied to every mod. | ||||
| 2011-11-24 | rustc: Add a path attribute for crate directives | Haitao Li | -15/+16 | |
| The path information was an optional "filename" component of crate directive AST. It is now replaced by an attribute with metadata named "path". With this commit, a directive mod foo = "foo.rs"; should be written as: #[path = "foo.rs"] mod foo; Closes issue #906. | ||||
| 2011-11-24 | rustc: Accepts `path` attributes for crate directives | Haitao Li | -1/+3 | |
| Temporarily allow path specified in either as attribute or in AST, like: #[path = "mymod.rs"] mod mymod = "mymod.rs"; This is a transitional commit to avoid creating a stage1 snapshot. | ||||
| 2011-11-23 | Allow import directives in any block | Marijn Haverbeke | -3/+4 | |
| Closes #49 | ||||
| 2011-11-23 | Rollback return-by-reference | Marijn Haverbeke | -26/+4 | |
| It's proving too inflexible, so I'm ripping out the extra complexity in the hope that regions will, at some point, provide something similar. Closes #918 | ||||
| 2011-11-23 | Remove last traces of auth keyword | Marijn Haverbeke | -14/+0 | |
| The reference now has an empty hole where the auth keyword used to be. Changing the keyword table seems to require manually sorting the keywords and putting them back into some kind of arcane interleaved order. I'll open an issue to actually fix this. Closes #1211 | ||||
| 2011-11-22 | rustc: Allow trailing comma in record fields | Haitao Li | -28/+48 | |
| 2011-11-22 | comp: allowed the declaration of pure fn's in native mods | Stefan Plantikow | -0/+3 | |
| This is especially useful for the native calls in std::math This commit does NOT yet point to new snapshots | ||||
| 2011-11-22 | Add hacks to extract and compile tutorial code | Marijn Haverbeke | -10/+0 | |
| Not included in the build by default, since it's fragile and kludgy. Do something like this to run it: cd doc/tutorial RUSTC=../../build/stage2/bin/rustc bash test.sh Closes #1143 | ||||
| 2011-11-21 | rustc: Remove abi from ast::native_mod | Haitao Li | -22/+3 | |
| 2011-11-18 | Update stdlib, compiler, and tests to new kind system | Marijn Haverbeke | -35/+30 | |
| This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177 | ||||
| 2011-11-18 | Add a pass-by-copy parameter passing convention | Marijn Haverbeke | -1/+4 | |
| This is intended to solve the problem of how to pass arguments to constructor functions -- you want to move in rvalues, but not have to explicitly copy stuff that is not an rvalue. The by-copy passing convention will ensure the callee gets its own copy of the value. For rvalues, it'll just pass off the value. For lvalues, it'll make a copy. Issue #1177 | ||||
| 2011-11-18 | Preparation for kind system overhaul | Marijn Haverbeke | -13/+16 | |
| This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177 | ||||
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -4/+0 | |
| 2011-11-16 | Replace 'mutable?' with 'const' | Brian Anderson | -2/+1 | |
| 2011-11-16 | rustc: Accept 'const' as synonym for 'mutable?' | Brian Anderson | -3/+6 | |
| 2011-11-16 | Use attributes for native module ABI and link name | Haitao Li | -46/+20 | |
| This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547 | ||||
| 2011-11-16 | Use attributes for native module ABI and link name [temp] | Haitao Li | -1/+25 | |
| This patch adds support of using attributes to specify native mode ABI and link name. The old optional syntax like: native "cdecl" mod llvm = "rustllvm" { ... } is still supported. This is a transitional commit to avoid making a stage1 (backward imcompatible) snapshot. | ||||
| 2011-11-16 | rustc: Use link_name attribute for native function | Haitao Li | -3/+1 | |
| Fixes issue #906 | ||||
| 2011-11-10 | Cleanup unused imports | Haitao Li | -7/+3 | |
| 2011-11-09 | Rename "c-stack-stdcall" ABI to "stdcall" | Brian Anderson | -2/+0 | |
| 2011-11-09 | Rename "c-stack-cdecl" ABI to "cdecl" | Brian Anderson | -2/+0 | |
| 2011-11-09 | Add "cdecl" as synonym for "c-stack-cdecl" | Brian Anderson | -0/+2 | |
| 2011-11-09 | Add "stdcall" as synonym for "c-stack-stdcall" | Brian Anderson | -0/+2 | |
| 2011-11-09 | rustc: Rename native_abi_c_stack_cdecl to native_abi_cdecl | Brian Anderson | -2/+2 | |
| 2011-11-09 | rustc: Rename native_abi_c_stack_stdcall to native_abi_stdcall | Brian Anderson | -1/+1 | |
| 2011-11-09 | Remove native "x86stdcall" ABI | Brian Anderson | -2/+0 | |
| 2011-11-08 | Remove native "cdecl" ABI | Brian Anderson | -3/+2 | |
| 2011-11-07 | Remove native "llvm" ABI | Brian Anderson | -2/+0 | |
| 2011-11-07 | Remove native "rust" ABI | Brian Anderson | -2/+0 | |
