about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2011-10-21Record the internal reference count of environment boxes. Closes #981Brian Anderson-19/+38
2011-10-21Clean up character pattern in float.rsMarijn Haverbeke-1/+1
This is actually a test to see if I fixed the bot.
2011-10-21Be more careful when parsing block callsMarijn 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-21Remove some semicolons after block callsMarijn Haverbeke-41/+41
The remaining ones can be removed after the next snapshot. (Or we can let the next pretty-print pass take care of them.)
2011-10-21Change 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-21Drop support for iter, put, and for-eachMarijn Haverbeke-494/+66
Closes #1056
2011-10-21Remove remaining uses of iter and for-eachMarijn Haverbeke-223/+126
Issue #1056
2011-10-21Move ast_util::pat_bindings over to new iter system.Marijn Haverbeke-50/+41
Issue #1056
2011-10-21Remove last uses of iterators from stdlibMarijn Haverbeke-57/+46
Issue #1056
2011-10-21Move hash table iteration over to block-taking functionsMarijn Haverbeke-86/+82
Issue #1056
2011-10-21Register new snapshotMarijn Haverbeke-0/+5
(For block argument syntax.)
2011-10-21Support Ruby-style block argument syntaxMarijn Haverbeke-12/+21
Issue #1054
2011-10-20Run perf on the stage 2 compilerBrian Anderson-1/+1
2011-10-20Restore broken tests in stdtest::testBrian Anderson-9/+6
2011-10-20Remove unused empty_fn_ty from rustc::front::testBrian Anderson-9/+0
2011-10-20Give native functions proto_bareBrian Anderson-1/+1
2011-10-20Remove temporary fn# syntaxBrian Anderson-122/+111
2011-10-20Remove typeck::proto_to_ty_protoBrian Anderson-10/+2
2011-10-20Register snapshotsBrian Anderson-0/+5
2011-10-20Get windows working under the bare function regimeBrian Anderson-1/+18
Had to ignore some task failure tests due to the current implementation of spawn which guarantees that there's always something in the spawned task that needs to be unwound. Fixed some win-specific build problems.
2011-10-20Don't allow fn@ itemsBrian Anderson-3/+0
fn@ is intended to be caputring but isn't implemented.
2011-10-20Merge ast::proto_shared and ast::proto_closureBrian 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-20Rename ast::proto_fn to ast::proto_sharedBrian Anderson-31/+32
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-248/+263
2011-10-20Parse obj methods as proto_bareBrian 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-20Tweak typecheck to enforce covariance on higher-order function argumentsBrian Anderson-1/+18
2011-10-20Remove type coercion from fn to blockBrian Anderson-48/+4
fn is a proper subtype of block now
2011-10-20Give subtype relationships to function typesBrian Anderson-2/+64
2011-10-20Bare functions can coerce to blocksBrian Anderson-0/+11
2011-10-20Bare functions can coerce to shared closuresBrian Anderson-6/+22
2011-10-20Revert "Remove the environment argument from bare functions"Brian Anderson-35/+7
This reverts commit 1b0f1f0b79fb29d28bcabb7a8468f4a5a95c0712.
2011-10-20Split parsing of fn proto between types, items and anonsBrian Anderson-6/+30
The meaning of various fn incantations is going to get temporarily confusing
2011-10-20Drop the 2 from the spawn*2 functionsBrian Anderson-107/+107
Issue #1022
2011-10-20Rename std::task::spawn_inner to unsafe_spawn_innerBrian Anderson-15/+5
Delete the rest of the old, unused spawn functions. Issue #1022
2011-10-20Stop exporting unsafe spawn functionsBrian Anderson-3/+0
Issue #1022
2011-10-20Convert the test runners to typesafe spawnBrian Anderson-144/+153
Issue #1022
2011-10-20Convert std::aio to new spawn functionsBrian Anderson-11/+14
Issue #1022
2011-10-20XFAIL task-perf-word-count-genericBrian Anderson-0/+2
This can't be done with bare functions. Issue #1022
2011-10-20Convert tests to use bare-fn spawnBrian Anderson-214/+214
Issue #1022
2011-10-20Add safe versions of spawn using bare functionsBrian Anderson-0/+44
Currently they just wrap the unsafe versions. Will need to be rewritten eventually. Issue #1022
2011-10-20Convert DPRINT to LOG in rust_cc.cpp and add more loggingBrian Anderson-16/+18
2011-10-20Un-xfail-fast some testsBrian Anderson-4/+0
check-fast is more reliable now.
2011-10-20Change run-pass/lots-a-fail.rs from xfail-fast to xfail-win32Brian Anderson-1/+1
All failing tasks leak on windows now
2011-10-20Fix the problem with check-fast randomly failingBrian 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-20Register new snapshotsMarijn Haverbeke-0/+5
2011-10-20Remove the last vestiges of main.llMarijn Haverbeke-93/+1
Closes #992
2011-10-20Don't rely on main.ll anymoreMarijn Haverbeke-47/+63
I'll remove the actual file after I register a snapshot. Issue #992
2011-10-20Output linker errors, when linking failsMarijn Haverbeke-3/+4
2011-10-20Get rid of taskpointer-passing throughout the compilerMarijn Haverbeke-80/+52
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-20Do not pass taskpointers to "rust" native functionsMarijn Haverbeke-93/+67
Issue #466