about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-10-10rustc: fix size computation of structs for the FFIPhilipp Brüschweiler-3/+4
It didn't take alignment into account. Fixes #3656.
2012-10-09Remove old serialization2 vestigial codeErick Tryzelaar-2/+2
2012-10-08Revert "Revert "Remove old auto_serialize2 code (needs snapshot)""Tim Chevalier-22/+0
This reverts commit a33535e441dc5461fec0489069a1491367ad1c91.
2012-10-08Revert "Remove old auto_serialize2 code (needs snapshot)"Tim Chevalier-0/+22
This reverts commit 0bd6da8a8c93143325cb45e8a074ccf7121ca168.
2012-10-07Remove old auto_serialize2 code (needs snapshot)Erick Tryzelaar-22/+0
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-208/+230
2012-10-07migrate libsyntax/rustc to auto_serialize2Erick Tryzelaar-279/+284
2012-10-06Merge remote-tracking branch 'original/incoming' into incomingSimon BD-238/+453
2012-10-05Remove by-mutable-ref mode from the compilerTim Chevalier-46/+12
and test cases. Closes #3513
2012-10-05De-mode mysterious unused functions in middle::trans::shape (see comment)Tim Chevalier-4/+8
2012-10-05rustc: Add a new method_self method call origin. Part of default methods.Patrick Walton-15/+61
2012-10-05rustc: Thread a self type through trans_impl; fix cross-crate trait issuePatrick Walton-10/+27
2012-10-05rustc: Translate default methods on traits for each impl in which they're ↵Patrick Walton-5/+27
used instead of once. This is a step on the way to default methods.
2012-10-05Remove uses of mutable ref mode.Tim Chevalier-13/+12
It's still in the compiler right now, but warned about
2012-10-05rustc: Implement simple uses of &traitPatrick Walton-69/+180
2012-10-05Revert "wip"Tim Chevalier-29/+62
This reverts commit ca49fd402af8e7bf613c43e996274b5a017958d2.
2012-10-05wipTim Chevalier-62/+29
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-1/+3
The parser now warns about use of mutbl-ref mode, though it's kind of a lie since this commit doesn't remove support for the mode. Changed move_val_init to have stage0 and stage1/2 versions, the latter of which is demoded. Changed the type that the typechecker expects the move_val_init intrinsic to have. After this is pushed, I can make a new snapshot, which will remove the need for the stage0 versions.
2012-10-05rustc: Implement simple trait inheritance.Patrick Walton-35/+110
Generic trait inheritance, cross-crate trait inheritance, and vtable-based trait inheritance don't work yet.
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-10/+10
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-04De-mode comm::ChanTim Chevalier-1/+1
2012-10-04Remove arg vectors from main functions. Stop supporting them.Brian Anderson-48/+21
2012-10-03Merge remote-tracking branch 'original/incoming' into incomingSimon BD-1638/+1236
Conflicts: src/libstd/json.rs src/libstd/sort.rs
2012-10-03rustc: Fix ICE when de-exporting rtPatrick Walton-3/+8
2012-10-03rustc man page and usage text update.Orphée Lafond-Lummis-1/+1
* Mark --static as experimental; * Remove --stats, as the option isn't implemented. * Bold and surround by pointy brackets (<>) all the URLs of rustc man page, for consistency.
2012-10-03rustc: Unbreak old-style boxed traitsPatrick Walton-5/+4
2012-10-03rustc: Implement "@Foo as @Bar" for boxed traitsPatrick Walton-31/+89
2012-10-03Change default mode for fns to be by-copy, except for fn&Tim Chevalier-6/+9
2012-10-03Revert "rustc: Don't error out early when constructing a boxed trait."Tim Chevalier-35/+20
This reverts commit 5e7ff924b5931bb90f381d2bf5936616224d4e85.
2012-10-02rustc: Only allow imports marked with "pub" to be imported from other modulesPatrick Walton-4/+19
2012-10-02rustc: Add a side table for legacy boxed traits, not filled in.Patrick Walton-3/+14
This is part of the transition to "@int as @Trait".
2012-10-02rustc: Don't error out early when constructing a boxed trait.Patrick Walton-20/+35
This improves error messages a bit and helps pave the way for "@int as @Trait" (as opposed to "int as @Trait").
2012-10-02Removing explicit uses of + modeTim Chevalier-2/+6
This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes.
2012-10-02libstd: Switch off legacy modes in both core and std.Patrick Walton-25/+25
2012-10-02Don't warn about non-camel-case types by defaultBrian Anderson-1/+1
2012-10-01rename vec::raw::form_slice to buf_as_sliceErick Tryzelaar-2/+2
This matches the str::raw function.
2012-10-01In lint, don't complain about infer mode if legacy modes aren't enabledTim Chevalier-9/+12
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-7/+7
Everything should now call ptr::addr_of instead of ptr::p2::addr_of. Only the pipes macro code when compiled by stage0 will call ptr::p2::addr_of. Needs a snapshot to get rid of that.
2012-09-30rustc: llvm grew some new enum variantsErick Tryzelaar-13/+15
2012-09-30rustc: uniquely mangle expr_fn namesErick Tryzelaar-1/+1
two closures in the same function body can end up having the same mangled name. This small patch uses gensym to uniquely name each closure body so there won't be conflicts.
2012-09-30When a vec/str bounds check fails, include the bad index and the length of ↵Gareth Daniel Smith-1/+21
the str/vec in the fail message.
2012-09-28Add allow(deprecated_\*) to syntax, rustc, rustdoc, et alBrian Anderson-1/+2
2012-09-28Demode iter::foldl and friendsTim Chevalier-10/+10
2012-09-28Demoding in iter: any, all, map_to_vec, flat_map_to_vec, filter_to_vecTim Chevalier-8/+8
2012-09-28Long linesBrian Anderson-1/+3
2012-09-28Merge pull request #3621 from z0w0/jit-cratesBrian Anderson-36/+49
Add support for crate loading to JIT
2012-09-28rename iter2 to each2, make it follow iterator protocolNiko Matsakis-18/+21
2012-09-28Demode extfmtTim Chevalier-1/+1
Needs a snapshot before this can be completed, because I changed the mode for conv_poly.
2012-09-28demode vecNiko Matsakis-70/+69
2012-09-28jit: Change expected main signatureZack Corr-1/+1