about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-10-31rustc: Find crates by matching the name metadataHaitao Li-22/+9
2011-10-31rustc: Enable segmented stacks in LLVM when --stack-growth is onPatrick Walton-0/+3
2011-10-29Add the ability to ignore tests by compiler configBrian Anderson-21/+34
[test] [ignore(cfg(target_os = "win32"))]
2011-10-29Add more logging to crate resolutionBrian Anderson-1/+12
2011-10-29rustc: Support 'companion mod's for crates and directory modsBrian Anderson-8/+65
Under this scheme when parsing foo.rc the parser will also look for foo.rs to fill in the crate-level module, and when evaluating a directory module directive it will look for a .rs file with the same name as the directory.
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-9/+30
2011-10-28Cleanup: Remove uneccesary generic_cmp function.Matt Brubeck-27/+13
2011-10-28Use IEEE 754 semantics for NaN (Issue #1084)Matt Brubeck-58/+47
2011-10-28stdlib: Make reinterpret_cast and leak unsafeBrian Anderson-4/+6
2011-10-28rustc: Remove broken --depend flagBrian Anderson-10/+0
2011-10-28rustc: -h cleanupBrian Anderson-2/+2
2011-10-28rustc: Change --OptLevel to --opt-levelBrian Anderson-7/+7
2011-10-28rustc: Use consistent error handling in mainBrian Anderson-16/+17
2011-10-28rustc: Extract error reporting from codemapBrian Anderson-13/+42
2011-10-28Reorder statements in rustc main to avoid bounds checkBrian Anderson-3/+3
2011-10-28rustc: Lift output file name handling out of mainHaitao Li-40/+53
2011-10-28Produce dyn libraries with proper namesHaitao Li-23/+22
Issue #744
2011-10-28Make shared kind the default only for generic functionsMarijn Haverbeke-51/+49
You almost never want a function with pinned type params. For types, objects, resources, and tags, pinned types are actually often more sane. For most of these, shared rarely makes sense. Only tricky case is objs -- you'll have to think about the kinds you want there. Issue #1076
2011-10-28Move to blocks, rather than fn@s, in parser.rsMarijn Haverbeke-16/+17
2011-10-28Move to short type parameter keywordsMarijn Haverbeke-9/+9
Issue #1076
2011-10-28Start accepting short keywords for parameter kindsMarijn Haverbeke-3/+5
This is a pre-snapshot commit to be able to implement #1076 without the bootstrap compiler getting in my way.
2011-10-27Use the std::term color constants in the codemapBrian Anderson-3/+3
Exported constants work now. Woo!
2011-10-27Remove uint::max/min in favor if math::max/minMatt Brubeck-2/+4
2011-10-25Properly take mutable object fields into account during alias analysisMarijn Haverbeke-16/+23
Closes #1055
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-31/+31
Closes #1067
2011-10-25Remove support for @/~-style type param kind annotationMarijn Haverbeke-9/+2
Issue #1067
2011-10-25Step one towards new type param kind syntaxMarijn Haverbeke-3/+7
Issue #1067 Needs a snapshot to finalize.
2011-10-24fix c-stack-cdecl when used w/ i64Niko Matsakis-5/+15
2011-10-24kill errant log_errNiko Matsakis-2/+0
2011-10-24switch over sqrt from llvm to c-stack-cdecl, exposing a bug inNiko Matsakis-7/+24
the supported return types of upcall_c_stack
2011-10-21Remove hack to break the AST fold cycle. Closes #998Brian Anderson-38/+2
2011-10-21update 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-21avoid extra load for by_mutable_ref parametersNiko Matsakis-4/+7
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-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-491/+66
Closes #1056
2011-10-21Remove remaining uses of iter and for-eachMarijn Haverbeke-5/+3
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-34/+25
Issue #1056
2011-10-21Move hash table iteration over to block-taking functionsMarijn Haverbeke-76/+67
Issue #1056
2011-10-21Support Ruby-style block argument syntaxMarijn Haverbeke-12/+21
Issue #1054
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-15/+4
2011-10-20Remove typeck::proto_to_ty_protoBrian Anderson-10/+2
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-188/+199
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