about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2011-03-31rustc: Write out a path index as wellPatrick Walton-67/+124
2011-03-31Couple minor bug fixes in creader, lib-bitv, int, rand, sort, sha1, uint and ↵Graydon Hoare-0/+8
vec all work.
2011-03-31rustc: Use the crate index to look up defsPatrick Walton-29/+58
2011-03-31More stuff to go with the new expr_call_self AST nodeLindsey Kuper-0/+75
2011-03-31More machinery for adding an expr_call_self AST node.Lindsey Kuper-1/+18
2011-03-31rustc: Index only the local part of definition IDsPatrick Walton-16/+21
2011-03-31rustc: Write out an index of definition info in crate metadataPatrick Walton-40/+111
2011-03-31rustc: Mix the bits more when hashing def idsPatrick Walton-9/+8
2011-03-31stdlib: Add a write_be_uint() function to writersPatrick Walton-0/+14
2011-03-31rustc: Use the scaled index, not the raw index, if a vector has generic ↵Patrick Walton-2/+12
size. lib-vec.rs works now.
2011-03-31Rename incr_all_refcnts to take_ty, to match drop_tyBrian Anderson-4/+4
2011-03-31Restore scope block contexts to the translation of expr_block.Brian Anderson-2/+20
I removed this previously but that was wrong because it caused block expressions to not create a new scope.
2011-03-31Remove redundant parser logic.Brian Anderson-33/+0
These cases are all dealt with in parse_expr_inner.
2011-03-31handle unterminated block comments and line comment at eofMarijn Haverbeke-4/+9
2011-03-31Improve line comment positioningMarijn Haverbeke-73/+117
This involved making ast.variant spanned.
2011-03-31Support break and cont in pretty-printerMarijn Haverbeke-0/+8
2011-03-31Add effect field to ast.ty_fn.Marijn Haverbeke-31/+35
Still not used, except by the pretty-printer.
2011-03-31Preserve comments when pretty-printing.Marijn Haverbeke-788/+1060
The patch also includes a number of smaller fixes to the pretty-printer that were encountered on the way.
2011-03-31Tweak build command on rustc.Graydon Hoare-1/+1
2011-03-30rustc: Read 'y' tags from external cratesPatrick Walton-6/+10
2011-03-30rustc: Use the type cache to construct external item referencesPatrick Walton-19/+38
2011-03-30rustc: Thread an item-to-type mapping throughout the typechecking and ↵Patrick Walton-353/+395
translation phases
2011-03-30Um, that'd be, align the word *before* retpc. Addresses point to the low ↵Graydon Hoare-7/+7
part of a word. Un-XFAIL nbody on Darwin.
2011-03-30Ensure task stacks start out with a 16-byte aligned entry frame. Should make ↵Graydon Hoare-23/+50
OSX behave a bit better.
2011-03-29Re-XFAIL lib-int.rs and lib-uint.rs.Graydon Hoare-0/+2
2011-03-29Re-XFAIL lib-bitv.rs harderGraydon Hoare-1/+1
2011-03-29Re-XFAIL lib-bitv.rsGraydon Hoare-0/+1
2011-03-29rustc: Add all items to the item table during translation. lib-vec now ↵Patrick Walton-1/+16
compiles, but asserts and then segfaults.
2011-03-29rustc: Un-XFAIL lib-uint.rsPatrick Walton-1/+0
2011-03-29rustc: Un-XFAIL lib-int.rs.Patrick Walton-1/+0
2011-03-29rustc: Parse parameter IDs in external crate metadata. Un-XFAIL lib-bitv.rs.Patrick Walton-8/+13
2011-03-29rustc: Partially resolve external module importsPatrick Walton-20/+104
2011-03-29rustc: Tolerate def id tags inside module tags. Fixes metadata reading.Patrick Walton-32/+33
2011-03-29Beginnings of support for magical self prefix; nothing profound happening yet.Lindsey Kuper-1/+56
2011-03-29Ignore 'mutable foo' in plain field contexts.Graydon Hoare-0/+6
2011-03-29rustc: Resolve external modules and native modules to definition IDs as wellPatrick Walton-11/+22
2011-03-29Rename trans_native to trans_native_call, for clarity.Graydon Hoare-10/+10
2011-03-29Teach trans to emit undefined references to 'use'd symbols. Can compile and ↵Graydon Hoare-0/+61
run a simple 'use std;' example now.
2011-03-28Add partial support for if expressions resulting in generic typesBrian Anderson-4/+60
2011-03-28Add an XFAILed test for if expressions resulting in boxesBrian Anderson-0/+14
2011-03-28Handle structural types as the result of if expressionsBrian Anderson-0/+27
2011-03-28Teach rustc to use the result of if expressionsBrian Anderson-4/+111
2011-03-28Add expr_spawn, spawn parsing, folding, typechecking, ty_taskBrian Anderson-16/+107
2011-03-28Add long-while.rs to check on frame growth.Graydon Hoare-0/+8
2011-03-28Move all allocas to dedicated basic block at top of function, to keep frames ↵Graydon Hoare-61/+151
finite. Un-comment next size in nbody.rs.
2011-03-28rustc: Parse types in external metadataPatrick Walton-25/+74
2011-03-28rustc: Populate the item types table with types of items from external ↵Patrick Walton-12/+43
crates; remove the redundant typeck.ty_and_params type on the way
2011-03-28rustc: Remove commented out "encode_tag_variant_info" call that sneaked inPatrick Walton-1/+1
2011-03-28rustc: Resolve def ids in external cratesPatrick Walton-4/+61
2011-03-28rustc: Don't include a trailing null when writing out metadata; it corrupts ↵Patrick Walton-4/+5
the EBML