summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-10-11Remove obsolete commentTim Chevalier-2/+0
2012-10-11Remove obsolete FIXMETim Chevalier-2/+0
2012-10-11Use truncate in typeck::infer; gets rid of FIXMETim Chevalier-5/+2
2012-10-11Remove obsolete commentTim Chevalier-5/+0
2012-10-11Update FIXME numbersTim Chevalier-7/+6
2012-10-11Remove obsolete FIXMETim Chevalier-3/+0
2012-10-11Update FIXME numbersTim Chevalier-2/+2
2012-10-11Remove obsolete FIXMETim Chevalier-6/+1
2012-10-11Remove obsolete FIXMETim Chevalier-1/+0
2012-10-11Update FIXME numberTim Chevalier-1/+1
2012-10-11Remove unneeded no_rt flagTim Chevalier-17/+11
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-2/+2
Two separate changes that got intertwined (sorry): Make to_str pure. Closes #3691 In str, change functions like push_char to take an &mut str instead of an &str. Closes #3710
2012-10-10Move the description of -(W|A|D|F) into the `-W help` messageKevin Cantu-10/+10
2012-10-10Touchup the debug flag description printingKevin Cantu-1/+1
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-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-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