summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-96/+95
Instead of using the new_ prefix just name them after their type
2012-03-14rustc: Universally quantify regions when looking up typeclass implementationsPatrick Walton-1/+17
2012-03-14fixup auto_serialize's treatment of nullary variantsNiko Matsakis-3/+10
2012-03-14allow immut vars to be moved. enforce mut vars after stage0 in std.Niko Matsakis-5/+12
2012-03-14rustc: Lift the @ from the type definition of crate_ctxt into its usesPatrick Walton-145/+146
This will make it easier to convert crate_ctxt into a region pointer, since there are functions that return crate contexts. There would be no way to type these functions if crate_ctxt had to be an inferred region pointer.
2012-03-14rustc: Fix a couple of bugs that prevented taking addresses of rvaluesPatrick Walton-7/+8
2012-03-14rustc: Make region dereference no longer require an unsafe blockPatrick Walton-7/+1
2012-03-14rustc: Autoderef through region pointersPatrick Walton-2/+6
2012-03-14rustc: Reword field/method-not-found error message to mention the ↵Patrick Walton-1/+1
possibility that a field wasn't found
2012-03-14rustc: Determine the region of pointer dereference expressionsPatrick Walton-6/+16
2012-03-14fix auto_serialize for enums with type parametersNiko Matsakis-34/+186
2012-03-14rustc: Make the self region work properly in enumsPatrick Walton-41/+91
2012-03-14rustc: Record the parent blocks of localsPatrick Walton-1/+12
2012-03-14Add crude support for casts in constant expressionsMarijn Haverbeke-73/+129
Only casts to integral and float types are supported Closes #1975
2012-03-14Properly walk pat_lit and pat_range in visit.rsMarijn Haverbeke-1/+3
Issue #1975
2012-03-14adjust auto_serialize to generate fns named serialize_T()Niko Matsakis-85/+70
We used to generate a module T with a serialize() and deserialize() fn, but this was suboptimal for a number of reasons: - it required moving serialization into core so that uint etc worked - it was harder to override the serialization behavior locally (this is now trivial)
2012-03-13rewrite unify in a modal style, extend result moduleNiko Matsakis-262/+289
2012-03-13implement deserialization, rename mk_mem_buffer() to mem_buffer()Niko Matsakis-150/+385
2012-03-13first (functional) version of the auto_serialize syntax extNiko Matsakis-124/+193
2012-03-13fixup serialize_variantNiko Matsakis-0/+564
2012-03-13get new decorator extensions workingNiko Matsakis-0/+53
2012-03-13rustc: Allow the addresses of rvalues to be takenPatrick Walton-4/+21
2012-03-13rustc: Instantiate "caller" regions when calling functionsPatrick Walton-12/+64
2012-03-13rustc: Don't make the while loop body's basic block a child of the conditionBrian Anderson-4/+6
As a child of the condition, when the body encounters a ret or break it incorrectly re-runs the cleanups of the condition.
2012-03-13rustc: Infer regions of variant arguments to the caller regionPatrick Walton-2/+6
2012-03-13rustc: Get reference typedefs workingPatrick Walton-15/+62
2012-03-13Name types after their modules instead of 't'Brian Anderson-34/+34
2012-03-13rustc: Thread the use site around in ast_ty_to_tyPatrick Walton-135/+152
2012-03-13rustc: Don't cache ast_ty_to_ty results for types that have referencesPatrick Walton-7/+21
2012-03-13rustc: Use only ast_ty_to_ty for region inferencePatrick Walton-27/+4
2012-03-13rustc: Use the inferred region as the self region in ast_ty_to_ty as wellPatrick Walton-2/+4
2012-03-13rustc: Look up inferred regions in ast_ty_to_tyPatrick Walton-1/+6
2012-03-13Overhaul constructor naming in libsBrian Anderson-81/+82
2012-03-13rustc: Fix long linePatrick Walton-1/+1
2012-03-13rustc: Record what `&` would resolve to for every AST typePatrick Walton-23/+24
2012-03-13Use type size/alignment of target, rather than host, in debuginfoMarijn Haverbeke-70/+24
2012-03-13rustc: Teach trans::alt.rs about exhaustive altsMarijn Haverbeke-72/+82
Closes #1971
2012-03-13Fix Issue #1926 by sorting the gather list.Kevin Atkinson-1/+6
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-269/+251
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-12rustc: Word a comment more clearly in region.rsPatrick Walton-4/+1
2012-03-12rustc: Use linked lists instead of hash tables for region binding scopesPatrick Walton-6/+16
Hash tables are overkill.
2012-03-12stdlib: Make list::find do what the docs say it does.Patrick Walton-2/+20
Talked on #rust about this change, got approval from graydon and brson. Will bring up tomorrow at meeting to verify.
2012-03-12rustc: Add node IDs to AST types so we can associate them with region ↵Patrick Walton-37/+84
environments
2012-03-12Revert "rustc: Add node IDs to AST types so we can associate them with ↵Patrick Walton-75/+34
region environments" This reverts commit 96e1bbd4a0abd2c8e76e7e02b396c5319dea7a8d.
2012-03-12rustc: Add node IDs to AST types so we can associate them with region ↵Patrick Walton-34/+75
environments
2012-03-12rustc: Use the name map to resolve region namesPatrick Walton-2/+2
2012-03-12rustc: Map region names to their functions. Also speed up region checking by ↵Patrick Walton-42/+65
17x.
2012-03-12rustc: Refactor regions to handle nested functions properly and fix the ↵Patrick Walton-105/+100
subtyping relation
2012-03-11Improve a typechecker error message (wrong type for main())Tim Chevalier-4/+5
As per #1903, state what type is expected for main(). Closes #1903
2012-03-11rustc: Record the parent function of each functionPatrick Walton-4/+23