about summary refs log tree commit diff
path: root/src/libstd/flatpipes.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-3/+3
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-10renamed vec::from_slice to vec::to_ownedYoungsoo Son-1/+1
2013-05-09auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiynbors-4/+4
Hi there, Really enjoying Rust. Noticed a few typos so I searched around for a few more--here's some fixes. Ran `make check` and got `summary of 24 test runs: 4868 passed; 0 failed; 330 ignored`. Thanks! Sean
2013-05-08libcore: Fix tests.Patrick Walton-2/+2
2013-05-08librustc: Stop parsing modes and remove them entirely from the languagePatrick Walton-1/+1
2013-05-08libstd: Remove mutable fields from flatpipes and io_utilPatrick Walton-9/+11
2013-05-09Fix typosSean Moon-4/+4
2013-05-04Register snapshotsBrian Anderson-25/+0
2013-05-02std: xfail test_serializing_pipesBrian Anderson-0/+1
2013-05-02librustc: Update the serializer to work properly with INHTWAMA, removing ↵Patrick Walton-2/+31
mutable fields in the process
2013-04-27only use #[no_core] in libcoreDaniel Micay-17/+0
2013-03-29Merge remote-tracking branch 'remotes/origin/incoming' into serialErick Tryzelaar-21/+21
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-21/+21
2013-03-29Merge remote-tracking branch 'remotes/origin/incoming' into serialErick Tryzelaar-3/+3
2013-03-29std: add Encoder::emit_map and Decoder::read_mapErick Tryzelaar-2/+2
2013-03-28Removing unused importsAlex Crichton-3/+3
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-1/+1
2013-03-26librustc: Remove all uses of the old `[T * N]` fixed-length vector syntaxPatrick Walton-3/+3
2013-03-22librustc: Add explicit lifetime binders and new lifetime notation in ↵Patrick Walton-2/+2
core/std/syntax/rustc
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-3/+3
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-16/+16
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-1/+1
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-1/+1
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-3/+3
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-6/+6
2013-03-08Fix dvec-related fallout in testsAlex Crichton-9/+6
2013-03-08std: Remove uses of DVecAlex Crichton-4/+5
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-22/+22
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-2/+2
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-05auto merge of #5233 : bstrie/rust/deimpselfcore, r=graydonbors-3/+3
2013-03-04De-implicit-self libcoreBen Striegel-3/+3
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-2/+1
2013-03-04Remove unused imports throughout src/Alex Crichton-13/+1
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-2/+2
imports
2013-02-28Fix implicit leaks of imports throughout librariesAlex Crichton-1/+2
Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub'
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-9/+9
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-16/+16
2013-02-21librustc: Separate the rest of the trait bounds with `+` and stop parsing ↵Patrick Walton-5/+5
space-separated ones. rs=plussing
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-24/+24
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-21/+17
slipped through. r=tjc
2013-02-15libstd: Get rid of `move`.Luqman Aden-90/+85
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-5/+5
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-3/+3
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-3/+3
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-3/+5
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-30librustc: Change `self` as a type to `Self` everywhere. r=brsonPatrick Walton-2/+2
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-18/+15
definitions. r=tjc
2013-01-25Merge remote-tracking branch 'brson/nocommupstream'Brian Anderson-1/+2
Conflicts: src/libcore/private.rs src/libcore/task/mod.rs src/libcore/task/spawn.rs src/libstd/net_tcp.rs src/libstd/uv_global_loop.rs src/libstd/uv_iotask.rs
2013-01-24replace ConstVector trait with the Container traitDaniel Micay-2/+2
2013-01-23std: Convert uv_global_loop to use pipesBrian Anderson-1/+2