| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-16 | reorder args to the various vec, option fns so blk comes last | Niko Matsakis | -3/+3 | |
| 2011-12-14 | change syntax from lambda[send] to sendfn | Niko Matsakis | -1/+0 | |
| 2011-12-14 | push changes through to get things compiling, if not running. | Niko Matsakis | -1/+10 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -1/+1 | |
| 2011-12-06 | Fix next-node-id "hackasaurus" in comp/front/test.rs. | Graydon Hoare | -37/+25 | |
| 2011-11-30 | Box ast::path values | Marijn Haverbeke | -14/+14 | |
| It seems inefficient to copy them around. Let's measure whether that's actually > the case | ||||
| 2011-11-23 | Allow import directives in any block | Marijn Haverbeke | -0/+1 | |
| Closes #49 | ||||
| 2011-11-18 | Update stdlib, compiler, and tests to new kind system | Marijn Haverbeke | -1/+3 | |
| 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-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-10 | Cleanup unused imports | Haitao Li | -1/+1 | |
| 2011-11-01 | Add should_fail annotation for unit tests | Matt Brubeck | -3/+19 | |
| This allows test cases to assert that a function is expected to fail. Tests annotated with "should_fail" will succeed only if the function fails. | ||||
| 2011-10-29 | Add the ability to ignore tests by compiler config | Brian Anderson | -3/+14 | |
| [test] [ignore(cfg(target_os = "win32"))] | ||||
| 2011-10-25 | Update our code to new type parameter kind syntax | Marijn Haverbeke | -1/+1 | |
| Closes #1067 | ||||
| 2011-10-21 | Change the way block calls are parsed, mark them as block-calls. | Marijn Haverbeke | -3/+3 | |
| This makes it possible to omit the semicolon after the block, and will cause the pretty-printer to properly print such calls (if pretty-printing of blocks wasn't so broken). Block calls (with the block outside of the parentheses) can now only occur at statement level, and their value can not be used. When calling a block-style function that returns a useful value, the block must be put insde the parentheses. Issue #1054 | ||||
| 2011-10-20 | Remove unused empty_fn_ty from rustc::front::test | Brian Anderson | -9/+0 | |
| 2011-10-20 | Merge ast::proto_shared and ast::proto_closure | Brian Anderson | -2/+2 | |
| Now they are both just proto_shared and proto_shared takes an argument indicating that it is sugared as 'lambda' | ||||
| 2011-10-20 | Rename ast::proto_fn to ast::proto_shared | Brian Anderson | -2/+2 | |
| 2011-10-20 | Make fn denote a bare function. Convert fn to fn@ as needed | Brian Anderson | -2/+2 | |
| 2011-10-20 | Convert the test runners to typesafe spawn | Brian Anderson | -2/+58 | |
| Issue #1022 | ||||
| 2011-10-12 | make a good error msg if you try to use an unsafe fn for a test | Niko Matsakis | -7/+20 | |
| 2011-10-12 | improve the span used in test generation | Niko Matsakis | -6/+8 | |
| 2011-10-12 | make treatment of unchecked/unsafe blocks more uniform | Niko Matsakis | -2/+2 | |
| also repair various errors in the parser related to such blocks. rename checked_blk to default_blk to reflect the fact that it inherits its purity from the surrounding context. | ||||
| 2011-10-12 | Extend the unchecked block stuff to allow unsafe blocks as well. | Niko Matsakis | -2/+3 | |
| 2011-10-10 | Make vectors and strings immediates again | Marijn Haverbeke | -1/+1 | |
| There's no good reason to force them to be spilled anymore. Some pieces of trans become more elegant this way, and less stack allocs and load/stores are needed. Issue #1021 | ||||
| 2011-10-07 | Give up on providing a by-value version of map, convert fold over to | Marijn Haverbeke | -1/+1 | |
| passing pointers by ref Issue #1008 | ||||
| 2011-10-07 | Parse and typecheck by-value and by-ref arg specs | Marijn Haverbeke | -1/+1 | |
| Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008 | ||||
| 2011-09-19 | Break fold's circular reference during unwinding | Brian Anderson | -2/+0 | |
| This converts the AST fold into a resource that breaks it's own circular reference (just a temporary workaround until GC), so that failure during fold will unwind correctly. Issue #936 | ||||
| 2011-09-16 | Remove autoderef for calls | Marijn Haverbeke | -2/+2 | |
| We were only using it in a single place, and there for no discernable reason (probably as part of the bare-fn-vals-are-not-copyable plan). It seems more surprising than useful. | ||||
| 2011-09-14 | Rename ast::controlflow to ast::ret_style | Marijn Haverbeke | -3/+3 | |
| It will include information about returning by alias. | ||||
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -5/+2 | |
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -18/+19 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-12 | Make the names of the arg mode tag reflect their (revised) meaning | Marijn Haverbeke | -1/+2 | |
| 2011-09-02 | Rename ty_istr to ty_str. Issue #855 | Brian Anderson | -1/+1 | |
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -33/+24 | |
| 2011-09-01 | Remove lots of estr code from rustc. Issue #855 | Brian Anderson | -1/+1 | |
| 2011-09-01 | Convert all uses of #ifmt to #fmt. Issue #855 | Brian Anderson | -5/+5 | |
| 2011-09-01 | Rename std::istr to std::str. Issue #855 | Brian Anderson | -1/+1 | |
| 2011-09-01 | Convert std::test to istrs. Issue #855 | Brian Anderson | -2/+2 | |
| 2011-08-31 | Convert uses of #fmt to #ifmt. Issue #855 | Brian Anderson | -8/+8 | |
| 2011-08-27 | Convert rustc::syntax::ast_util to istrs. Issue #855 | Brian Anderson | -4/+5 | |
| 2011-08-27 | Convert pretty-printer to istrs. Issue #855 | Brian Anderson | -1/+2 | |
| 2011-08-27 | Convert rest of the AST to istrs. Issue #855 | Brian Anderson | -1/+3 | |
| 2011-08-27 | Convert ast::ident to istr. Issue #855 | Brian Anderson | -14/+14 | |
| 2011-08-25 | Support unchecked blocks | Tim Chevalier | -7/+6 | |
| This patch supports the syntax unchecked { ... } to disable purity checking within a block. Presumably it will only be used within a declared "pure fn". However, there is no checking that it doesn't occur elsewhere, and it would be harmless for it to do so. I went with Lindsey's suggestion for the syntax, but it's subject to change. This allows you to write code that uses predicates that call arbitrary Rust functions, but you must declare your intentions by wrapping it in an unchecked { ... } block. The test case run-pass/unchecked-predicates.rs demonstrates how to do that. | ||||
| 2011-08-23 | Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught ↵ | Graydon Hoare | -1/+1 | |
| kinding-violations in rustc and libstd. | ||||
| 2011-08-22 | Move functions from syntax::ast to syntax::ast_util | Brian Anderson | -18/+20 | |
| This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer | ||||
| 2011-08-20 | Reformat | Brian Anderson | -49/+42 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 2011-08-18 | Rename various things from ivec to vec | Brian Anderson | -4/+4 | |
| 2011-08-18 | Change ast::ty_ivec, ty::ty_ivec to ty_vec | Brian Anderson | -2/+2 | |
| 2011-08-18 | Remove seq_kind from ast::expr_vec | Brian Anderson | -1/+1 | |
