about summary refs log tree commit diff
path: root/src/libstd/test.rs
AgeCommit message (Collapse)AuthorLines
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-5/+5
2013-01-29std: Stop using oldcommBrian Anderson-21/+21
2013-01-29libstd: De-export libstd. rs=deexportPatrick Walton-12/+9
2013-01-24convert most of libstd over to structsErick Tryzelaar-16/+41
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-4/+6
2013-01-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-19/+22
- Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-6/+10
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-10/+6
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-6/+10
module scope. r=tjc
2012-12-27libstd: Fix a bunch of resolve errors in tests. rs=firePatrick Walton-0/+5
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-6/+17
contain at least two components. r=graydon
2012-12-14Rename core::comm to core::oldcommBrian Anderson-19/+18
2012-12-13Replace some Eq impls with deriving_eqBrian Anderson-7/+1
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-28Merge remote-tracking branch 'brson/companion' into incomingBrian Anderson-10/+0
Conflicts: src/compiletest/compiletest.rs src/libcargo/cargo.rs src/libcore/core.rs src/librustc/rustc.rs src/librustdoc/rustdoc.rc
2012-11-28Register snapshotsBrian Anderson-10/+0
2012-11-24[libstd] getopts, now with fewer copiesTim Chevalier-2/+2
Change the opt_ functions in getopts to take a reference to a Matches, instead of taking a Matches by-value, as suggested in
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+10
2012-10-25Merge remote-tracking branch '14427/incoming'Brian Anderson-2/+2
Conflicts: src/libstd/sort.rs
2012-10-23core: Use PortOne instead of Future in future_resultBrian Anderson-1/+1
2012-10-22Merge remote-tracking branch 'original/incoming' into incomingSimon BD-5/+5
2012-10-12Make moves explicit in std testsTim Chevalier-5/+5
2012-10-06Merge remote-tracking branch 'original/incoming' into incomingSimon BD-6/+6
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-1/+1
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-5/+5
2012-10-03Merge remote-tracking branch 'original/incoming' into incomingSimon BD-41/+30
Conflicts: src/libstd/json.rs src/libstd/sort.rs
2012-10-03Remove uses of + mode from libstdTim Chevalier-2/+2
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-01De-export std::test. Part of #3583.Graydon Hoare-18/+7
2012-09-28demode vecNiko Matsakis-2/+2
2012-09-28Long linesBrian Anderson-4/+5
2012-09-28std: Eliminate deprecated patternsBrian Anderson-14/+13
2012-09-27Put function argument last in sort function. Fixes #3265.Simon BD-2/+2
2012-09-27std: Fix mode warning in std::testBrian Anderson-1/+1
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-2/+2
2012-09-25Check more things with deprecated_modesBrian Anderson-1/+1
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-9/+0
2012-09-23core: Demode optionBrian Anderson-4/+4
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+2
#[legacy_exports];
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+9
2012-09-19std: Demode testBrian Anderson-24/+27
2012-09-19V2: now with more locks!Philipp Brüschweiler-2/+2
2012-09-19core: Allocate threads on demand, not on scheduler startupPhilipp Brüschweiler-2/+2
API change: rust_kernel::create_scheduler() or rust_scheduler::rust_scheduler() respecitevly now take ownership of the launch factory argument, it is needed to create new threads on demand. Also renames rustrt::sched_threads() to rustrt::rust_sched_threads() for consistency. Added rustrt::rust_max_sched_threads() to return the maximal number of scheduled threads of the current scheduler. Fixes #3493.
2012-09-19De-mode vec::each() and many of the str iteration routinesNiko Matsakis-21/+25
Note that the method foo.each() is not de-moded, nor the other vec routines.
2012-09-18Revert "replace explicit calls to vec::each with vec::each_ref, partially ↵Niko Matsakis-27/+23
demode str" This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
2012-09-18replace explicit calls to vec::each with vec::each_ref, partially demode strNiko Matsakis-23/+27
2012-09-18libcore: make a copyless io::BytesWriterErick Tryzelaar-27/+24
2012-09-12Promote 'const', 'copy', 'fn' to strict keywordsBrian Anderson-12/+14
2012-09-11Make moves explicit in argumentsTim Chevalier-1/+1
2012-09-10Make remaining moves explicit in libstdTim Chevalier-17/+17
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+1