summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2012-10-11Change FIXME numberTim Chevalier-1/+1
2012-10-11Revert "Use a constant vector for the sudoku board, delete a FIXME"Tim Chevalier-13/+32
This reverts commit 06d0bf7555c55dc6c9d5b9945c06d30d0edf090b.
2012-10-11Re-xfail two tests that I tried to resurrect (no time right now)Tim Chevalier-37/+78
2012-10-11Use move instead of ref in select-macroTim Chevalier-1/+1
2012-10-11Fix pipe-select-macroTim Chevalier-1/+1
2012-10-11Un-XFAIL task-compareTim Chevalier-3/+0
2012-10-11Use match move in select-macro, get rid of a FIXMETim Chevalier-3/+2
2012-10-11Un-XFAIL reflect-visit-typeTim Chevalier-3/+0
2012-10-11Annotate FIXMEs in reflect-visit-dataTim Chevalier-10/+4
2012-10-11Uncomment nested module in test, delete a FIXMETim Chevalier-2/+0
2012-10-11Use a constant vector for the sudoku board, delete a FIXMETim Chevalier-32/+13
2012-10-11Use match move in pingpong, delete a FIXMETim Chevalier-8/+4
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-3/+3
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-08Revert "cap-clause-use-after-move: modernize error msg"Tim Chevalier-1/+3
This reverts commit bbda995bfe03680b6d621c6ab809ddb145125c3a.
2012-10-08Merge branch 'incoming' into snap-2012-10-05Tim Chevalier-3/+1
2012-10-08cap-clause-use-after-move: modernize error msgNiko Matsakis-3/+1
2012-10-08remove ctor from astNiko Matsakis-2/+2
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-21/+21
2012-10-07remove the old auto_serialize syntax extensionErick Tryzelaar-208/+0
2012-10-05Remove by-mutable-ref mode from the compilerTim Chevalier-35/+30
and test cases. Closes #3513
2012-10-05test: XFAIL trait-inheritance-simple because of suspected 32-bit brokennessPatrick Walton-0/+5
2012-10-05rustc: Implement simple uses of &traitPatrick Walton-0/+21
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-21/+19
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-0/+26
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-20/+21
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-67/+67
2012-10-04Remove arg vectors from main functions. Stop supporting them.Brian Anderson-42/+65
2012-10-03xfail-pretty reexport-starBrian Anderson-0/+3
2012-10-03test: Fix error message in vtable-res-trait-paramPatrick Walton-1/+1
2012-10-03test: Add a test case for "pub use a::*"Patrick Walton-0/+14
2012-10-03test: Use println instead of debug in hello.rsBrian Anderson-4/+4
2012-10-03Remove uses of + mode from libstdTim Chevalier-1/+1
More or less the same as my analogous commit for libcore. Had to remove the forbid(deprecated_modes) pragma from some files -- will restore it after the snapshot.
2012-10-02De-export the submodules of task. Part of #3583.Graydon Hoare-1/+1
2012-10-02Removing explicit uses of + modeTim Chevalier-1/+1
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-2/+2
2012-10-01Split auto_serialize2 into two macrosErick Tryzelaar-0/+7
2012-10-01Add struct to auto_serialize2 testErick Tryzelaar-14/+14
2012-10-01Add deserializable and more types to serialization2Erick Tryzelaar-76/+42
2012-10-01test: un-xfail the auto_serialize for boxes testErick Tryzelaar-2/+0
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-70/+70
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-30When a vec/str bounds check fails, include the bad index and the length of ↵Gareth Daniel Smith-8/+8
the str/vec in the fail message.
2012-09-28Add a demoded version of ptr::addr_ofTim Chevalier-4/+4
Currently, the new version is ptr::p2::addr_of and the old one is ptr::addr_of. This is kind of cheesy, but I need a snapshot before I can ditch the old version, since the pipe compiler generates calls to addr_of. core is converted over to use the new version, std is not.
2012-09-28Fix graph500-bfsTim Chevalier-5/+5
2012-09-28Fix benchmarks.Graydon Hoare-3/+3
2012-09-28Demode iter::foldl and friendsTim Chevalier-1/+1
2012-09-28Demoding in iter: any, all, map_to_vec, flat_map_to_vec, filter_to_vecTim Chevalier-18/+18
2012-09-28demode vecNiko Matsakis-33/+33
2012-09-27rustc: Make enum export visibility inherit properlyPatrick Walton-0/+12
2012-09-27Demode randTim Chevalier-2/+2
2012-09-26Unbreak test/bench/task-perf-word-count-genericBrian Anderson-1/+1