about summary refs log tree commit diff
path: root/src/libstd/par.rs
AgeCommit message (Collapse)AuthorLines
2013-05-08libstd: Remove mutable fields from future and parPatrick Walton-2/+2
2013-04-27only use #[no_core] in libcoreDaniel Micay-8/+0
2013-04-20Replaced many instances of reinterpret_cast with transmuteMatthijs Hofstra-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-4/+4
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-2/+2
2013-03-11Remove uses of logBrian Anderson-8/+8
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-4/+4
2013-03-02libstd: Remove `fn@`, `fn~`, and `fn&` from libstd. rs=defunPatrick Walton-13/+14
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-5/+5
2013-02-17Removed more capture claueses.Seth Pink-3/+3
2013-02-15libstd: Get rid of `move`.Luqman Aden-2/+2
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-34/+17
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-2/+7
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+6
contain at least two components. r=graydon
2012-12-18Remove superfluous parentheses.Erick Tryzelaar-4/+4
2012-12-13Rename Send trait to OwnedBrian Anderson-6/+7
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-4/+6
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-01Demode ebml, ebml2, json, parTim Chevalier-4/+4
2012-09-28std: More demodingBrian Anderson-9/+9
2012-09-28demode vecNiko Matsakis-4/+4
2012-09-27De-export std::{base64,cmp,par}. Part of #3583.Graydon Hoare-6/+5
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-3/+3
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-1/+1
2012-09-13s/vec::as_buf/vec::as_imm_buf/, fix comment, remove set.rsNiko Matsakis-1/+1
hat tip to @jruderman
2012-09-10Make remaining moves explicit in libstdTim Chevalier-2/+2
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-6/+6
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-2/+2
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-09-04libstd: "import" -> "use"Patrick Walton-1/+1
2012-09-01Demode reinterpret_castBrian Anderson-1/+1
2012-08-31Remove type annotation that is no longer necessaryTim Chevalier-2/+1
Closes #2617
2012-08-31Make utility funs in core::int, core::uint, etc. not by-referenceTim Chevalier-2/+2
Closes #3302
2012-08-29core: Demode int/uint modsBrian Anderson-2/+2
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-4/+4
2012-08-16Add std::comm with DuplexStreamEric Holk-4/+0
2012-08-13rustc: Mostly implement region-bounded stack closuresPatrick Walton-2/+2
2012-08-08Convert impls to new syntaxBrian Anderson-2/+0
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-4/+4
2012-07-24Update some str functions to slices, merge as_buf and unpack_slice.Graydon Hoare-1/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-3/+3
#2907.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-16/+22
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-03core: Eliminate some overloading of the name "future" in future.rsPatrick Walton-1/+1
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-0/+1
2012-07-01Convert to new closure syntaxBrian Anderson-13/+13
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-19/+19
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-17/+17