summary refs log tree commit diff
path: root/src/libstd/list.rs
AgeCommit message (Collapse)AuthorLines
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-3/+3
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-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 std::{fun_treemap, list, map}. Part of #3583.Graydon Hoare-13/+13
2012-09-28demode vecNiko Matsakis-1/+1
2012-09-28std: Eliminate deprecated patternsBrian Anderson-7/+6
2012-09-26std: Demode more of list and treemapBrian Anderson-3/+3
2012-09-26std: Fix mode warnings in fun_treemap and listBrian Anderson-3/+3
2012-09-25Check more things with deprecated_modesBrian Anderson-1/+1
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-22/+0
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+22
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-10/+10
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+1
2012-09-04std: Camel case listBrian Anderson-43/+43
2012-09-04libstd: "import" -> "use"Patrick Walton-4/+4
2012-08-31Remove deprecated modes from list.rs (and temporarily delete list::push)Kevin Cantu-13/+23
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-1/+21
2012-08-26Camel case the option typeBrian Anderson-7/+7
2012-08-15Expunge match checksTim Chevalier-1/+5
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-7/+7
2012-08-05Switch alts to use arrowsBrian Anderson-13/+16
2012-08-01Convert ret to returnBrian Anderson-12/+12
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-5/+5
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-1/+1
#2907.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-32/+32
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-0/+5
2012-07-02Make list::from_vec take a slice, not a ~.Ben Blum-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-4/+4
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-12/+12
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-12/+12
2012-06-02make vec fns/methods take imm slices.Niko Matsakis-14/+1
this also repairs the unsoundness in typing of unpack_slice, which was silently converting a const ptr to an imm one.
2012-05-21change list so that it must be used in a purely boxed fashionNiko Matsakis-7/+8
The old way was inconsistent---the head was unboxed but the tail was boxed. This resulted in numerous needless copies and also made the borrow check unhappy, because the head tended to be stored in mutable memory.
2012-05-21make list based on boxesNiko Matsakis-52/+39
2012-05-18avoid modifying the variable we are alting overNiko Matsakis-9/+6
2012-03-27Add vec::each, vec::eachi, and list::eachMarijn Haverbeke-0/+20
For use with the new for construct. Issue #1619
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-15std: Swap the argument order of list::foldl to match vec::foldlBrian Anderson-4/+4
2012-03-14annotate libstd and start enforcing mutabilityNiko Matsakis-5/+5
2012-03-12stdlib: Make list::find do what the docs say it does.Patrick Walton-7/+5
Talked on #rust about this change, got approval from graydon and brson. Will bring up tomorrow at meeting to verify.
2012-03-10Use loop instead of while(true) in libraries and compiler itselfTim Chevalier-9/+7
And remove spurious fails/unreachable() calls.
2012-03-09std: Convert to rustdocBrian Anderson-74/+21
2012-02-22Remove preconditions from librariesMarijn Haverbeke-11/+2
Closes #1805
2012-01-31Change option::t to optionTim Chevalier-4/+4
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-27Make occurs check in ty::fixup_vars more reliableMarijn Haverbeke-1/+1
It wouldn't detect cycles that went through several type vars before. Closes #1464
2012-01-23s/block()/fn()/gNiko Matsakis-3/+3
2012-01-19lib: ";" to "," in enumsPatrick Walton-2/+2
2012-01-19stdlib: "tag" -> "enum"Patrick Walton-1/+1
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-9/+9
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17libstd: Move std tests into libstdBrian Anderson-0/+112