| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-10-24 | kill errant log_err | Niko Matsakis | -2/+0 | |
| 2011-10-24 | switch over sqrt from llvm to c-stack-cdecl, exposing a bug in | Niko Matsakis | -7/+24 | |
| the supported return types of upcall_c_stack | ||||
| 2011-10-21 | Remove hack to break the AST fold cycle. Closes #998 | Brian Anderson | -38/+2 | |
| 2011-10-21 | update trans_c_stack_native_call() to use type_of_explicit_args() | Niko Matsakis | -28/+18 | |
| currently trans_c_stack_native_call() had some ad-hoc code for determining the type of the arguments. this code was not in agreement with the rest of trans. now it uses the same code path. | ||||
| 2011-10-21 | avoid extra load for by_mutable_ref parameters | Niko Matsakis | -4/+7 | |
| 2011-10-21 | Be more careful when parsing block calls | Marijn Haverbeke | -1/+2 | |
| Previously, the parser would try to interpret this as a block call: if true {} // No semicolon {|i, am, a, block|}; Which, though unlikely, might come up in practice. | ||||
| 2011-10-21 | Change the way block calls are parsed, mark them as block-calls. | Marijn Haverbeke | -46/+56 | |
| 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-21 | Drop support for iter, put, and for-each | Marijn Haverbeke | -491/+66 | |
| Closes #1056 | ||||
| 2011-10-21 | Remove remaining uses of iter and for-each | Marijn Haverbeke | -5/+3 | |
| Issue #1056 | ||||
| 2011-10-21 | Move ast_util::pat_bindings over to new iter system. | Marijn Haverbeke | -50/+41 | |
| Issue #1056 | ||||
| 2011-10-21 | Remove last uses of iterators from stdlib | Marijn Haverbeke | -34/+25 | |
| Issue #1056 | ||||
| 2011-10-21 | Move hash table iteration over to block-taking functions | Marijn Haverbeke | -76/+67 | |
| Issue #1056 | ||||
| 2011-10-21 | Support Ruby-style block argument syntax | Marijn Haverbeke | -12/+21 | |
| Issue #1054 | ||||
| 2011-10-20 | Remove unused empty_fn_ty from rustc::front::test | Brian Anderson | -9/+0 | |
| 2011-10-20 | Give native functions proto_bare | Brian Anderson | -1/+1 | |
| 2011-10-20 | Remove temporary fn# syntax | Brian Anderson | -15/+4 | |
| 2011-10-20 | Remove typeck::proto_to_ty_proto | Brian Anderson | -10/+2 | |
| 2011-10-20 | Don't allow fn@ items | Brian Anderson | -3/+0 | |
| fn@ is intended to be caputring but isn't implemented. | ||||
| 2011-10-20 | Merge ast::proto_shared and ast::proto_closure | Brian Anderson | -44/+62 | |
| 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 | -31/+32 | |
| 2011-10-20 | Make fn denote a bare function. Convert fn to fn@ as needed | Brian Anderson | -188/+199 | |
| 2011-10-20 | Parse obj methods as proto_bare | Brian Anderson | -11/+9 | |
| I don't know if this is the right thing to do, but it works and it lets 'fn' always mean proto_bare | ||||
| 2011-10-20 | Tweak typecheck to enforce covariance on higher-order function arguments | Brian Anderson | -1/+4 | |
| 2011-10-20 | Remove type coercion from fn to block | Brian Anderson | -48/+4 | |
| fn is a proper subtype of block now | ||||
| 2011-10-20 | Give subtype relationships to function types | Brian Anderson | -2/+57 | |
| 2011-10-20 | Bare functions can coerce to blocks | Brian Anderson | -0/+4 | |
| 2011-10-20 | Bare functions can coerce to shared closures | Brian Anderson | -6/+15 | |
| 2011-10-20 | Revert "Remove the environment argument from bare functions" | Brian Anderson | -35/+7 | |
| This reverts commit 1b0f1f0b79fb29d28bcabb7a8468f4a5a95c0712. | ||||
| 2011-10-20 | Split parsing of fn proto between types, items and anons | Brian Anderson | -6/+30 | |
| The meaning of various fn incantations is going to get temporarily confusing | ||||
| 2011-10-20 | Convert the test runners to typesafe spawn | Brian Anderson | -2/+58 | |
| Issue #1022 | ||||
| 2011-10-20 | Fix the problem with check-fast randomly failing | Brian Anderson | -5/+18 | |
| Trans has been assuming that tag node id's are unique across crates and they are not so, depending on which way the wind is blowing, it would choose to use a crate-local tag variant instead of the correct one from std. No test case since I can't come up with a reliable one that compiles in a reasonable amount of time. | ||||
| 2011-10-20 | Don't rely on main.ll anymore | Marijn Haverbeke | -33/+62 | |
| I'll remove the actual file after I register a snapshot. Issue #992 | ||||
| 2011-10-20 | Output linker errors, when linking fails | Marijn Haverbeke | -3/+4 | |
| 2011-10-20 | Get rid of taskpointer-passing throughout the compiler | Marijn Haverbeke | -62/+35 | |
| Only intrinsics still take a dummy taskptr. We'll have to do some makefile stunts to snapshot a version without taskptrs-in-intrinsics. Issue #466 | ||||
| 2011-10-20 | Do not pass taskpointers to "rust" native functions | Marijn Haverbeke | -1/+1 | |
| Issue #466 | ||||
| 2011-10-20 | Remove taskptr argument from upcalls | Marijn Haverbeke | -44/+31 | |
| Issue #466 | ||||
| 2011-10-20 | Remove spawn_wrap and main_wrap kludges | Marijn Haverbeke | -1/+1 | |
| This isn't needed now that our functions are cdecl (and was apparently only still working by accident). Issue #992 | ||||
| 2011-10-19 | Fail nicer when the parser doesn't find an expected string literal | Brian Anderson | -2/+4 | |
| Closes #1028 | ||||
| 2011-10-18 | Introduce fn@ as a synonym for fn | Brian Anderson | -0/+3 | |
| 2011-10-18 | Immutable and mutable? are covariant on their inner types | Brian Anderson | -3/+10 | |
| Whereas [mutable T] is invariant with respect to T, [T] and [mutable? T] are covariant with respect to T. | ||||
| 2011-10-18 | Add a math module to the standard lib | Marijn Haverbeke | -21/+14 | |
| I need some rudimentary stdlib stuff for the tutorial. Closes #1042 | ||||
| 2011-10-18 | Don't try to build an LLVM switch on floats | Marijn Haverbeke | -1/+2 | |
| Closes #1046 | ||||
| 2011-10-17 | Enforce variance rules for mutable types | Brian Anderson | -40/+48 | |
| 2011-10-17 | Add a variance transform for calculation of recursive variance | Brian Anderson | -14/+53 | |
| 2011-10-17 | Introduce covariance, contravariance and invariance to the type unifier | Brian Anderson | -22/+47 | |
| This will be used to resolve some problems with mutable? covariance and also to implement function subtyping | ||||
| 2011-10-17 | Don't unify from mutable? to immutable | Brian Anderson | -1/+0 | |
| Immutable is supposed to be a subtype of mutable-huh. | ||||
| 2011-10-17 | Split record_var_binding into methods for expected and actual | Brian Anderson | -4/+26 | |
| This allows unify to maintain the same subtype relationship between expected and actual throughout unify, which we are going to need for mutable? and for function types. | ||||
| 2011-10-17 | Correct two more analyses of mutable? as mutable | Brian Anderson | -2/+2 | |
| I can't come up with test cases but this seems correct. | ||||
| 2011-10-17 | Don't allow assignment to mutable-wha? | Brian Anderson | -9/+9 | |
| 2011-10-17 | Change the linkage order on linux and add -ldl | Brian Anderson | -5/+6 | |
| -lrt and -ldl need to be specified after -lrustrt since they are only used by rustrt. | ||||
