summary refs log tree commit diff
path: root/src/libstd/flatpipes.rs
AgeCommit message (Collapse)AuthorLines
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
2013-01-17Add a license check to tidy. #4018Brian Anderson-0/+10
2013-01-10std: Address XXXes in flatpipesTim Chevalier-67/+8
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-4/+19
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-19/+4
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-4/+19
module scope. r=tjc
2012-12-28libstd: Fix tests. rs=bustagePatrick Walton-0/+10
2012-12-27libstd: Fix a bunch of resolve errors in tests. rs=firePatrick Walton-3/+10
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-22/+30
contain at least two components. r=graydon
2012-12-24Convert core::io to use explicit self (for issue #4118 and issue #2004)gareth-5/+5
2012-12-18Stop resolving static methods at the module level. Closes #4179Brian Anderson-4/+3
2012-12-17Fix build breakageBrian Anderson-54/+54