summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-10-11Fix from_buf in test casesTim Chevalier-2/+2
2012-10-11Remove comment that is now falseTim Chevalier-6/+4
2012-10-11Update FIXME numberTim Chevalier-3/+3
2012-10-11Remove Copy bound from std::timer::delayed_sendTim Chevalier-1/+1
Closes #3717
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-22/+30
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-09Remove old serialization2 vestigial codeErick Tryzelaar-12/+0
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-1792/+774
2012-10-05Finally removing all uses of by-mut-refTim Chevalier-144/+4
The code for the mode itself is still there.
2012-10-05Remove uses of mutable ref mode.Tim Chevalier-1/+29
It's still in the compiler right now, but warned about
2012-10-05Revert "wip"Tim Chevalier-29/+1
This reverts commit ca49fd402af8e7bf613c43e996274b5a017958d2.
2012-10-05wipTim Chevalier-1/+29
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-0/+115
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-05std: Silence remaining warningsBrian Anderson-1/+3
2012-10-05Silence most of the remaining warningsBrian Anderson-1/+4
2012-10-05std: Revert demoding of uv_ll. It can't be done without FFI changesBrian Anderson-6/+6
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-79/+83
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-04Kill bootstrapping code in ptrTim Chevalier-1/+1
2012-10-04De-mode comm::ChanTim Chevalier-39/+39
2012-10-04Fix long line.Graydon Hoare-1/+2
2012-10-04Finish de-exporting std. Part of #3583.Graydon Hoare-98/+80
2012-10-03libstd: Make vec_from_set purePatrick Walton-1/+1
2012-10-03std: Fix double free in uvBrian Anderson-3/+3
2012-10-03De-export net::*. Part of #3583.Graydon Hoare-91/+46
2012-10-03Remove crudTim Chevalier-1/+0
2012-10-03Remove uses of + mode from libstdTim Chevalier-114/+112
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-03De-export std::{json, getopts}. Part of #3583.Graydon Hoare-38/+18
2012-10-03De-export std::{ebml, ebml2}. Part of #3583.Graydon Hoare-89/+41
2012-10-02Removing explicit uses of + modeTim Chevalier-8/+11
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-41/+40
2012-10-02De-export std::{fun_treemap, list, map}. Part of #3583.Graydon Hoare-47/+30
2012-10-01Add deserializable and more types to serialization2Erick Tryzelaar-129/+411
2012-10-01libstd: remove unused imports from jsonErick Tryzelaar-3/+0
2012-10-01De-export std::{uv, uv_ll, uv_iotask, uv_global_loop}. Part of #3583.Graydon Hoare-167/+139
2012-10-01De-export std::test. Part of #3583.Graydon Hoare-19/+7
2012-10-01Fix rope breakage from de-exporting.Graydon Hoare-4/+4
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-61/+61
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-10-01De-export std::{rope,smallintmap}. Part of #3583.Graydon Hoare-81/+74
2012-10-01Demode ebml, ebml2, json, parTim Chevalier-20/+20
2012-09-28std: Make the DuplexStream constructor publicBrian Anderson-1/+1
2012-09-28De-export std::c_vec. Part of Part of #3583.Graydon Hoare-15/+7
2012-09-28De-export std::deque. Part of #3583.Graydon Hoare-4/+2
2012-09-28De-export std::{time, prettyprint{,2}, arena}. Part of #3583.Graydon Hoare-39/+17
2012-09-28De-mode std::unicode. Part of #3583.Graydon Hoare-147/+143
2012-09-28std: More demodingBrian Anderson-27/+27
2012-09-28De-export std::{arc,comm,sync}. Part of #3583.Graydon Hoare-33/+20
2012-09-28De-export std::{bitv, cell, timer}. Part of #3583.Graydon Hoare-19/+12
2012-09-28Demode extfmtTim Chevalier-4/+4
Needs a snapshot before this can be completed, because I changed the mode for conv_poly.
2012-09-28demode vecNiko Matsakis-16/+15
2012-09-28Fix missed pattern on std::net_tcp.Graydon Hoare-1/+1
2012-09-28Long lines.Graydon Hoare-1/+5