about summary refs log tree commit diff
path: root/src/libcore/private
AgeCommit message (Collapse)AuthorLines
2013-03-01Rename core::private to core::unstable. #4743Brian Anderson-1568/+0
2013-02-28Remove code that was awaiting a snapshotTim Chevalier-23/+0
* Disallow structural records everywhere * Remove all #[cfg(stage0)] stuff * Remove the last deprecated modes in libcore * Un-xfail a test
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-1/+1
2013-02-26libcore: Move Cell to core and de-~mut core and stdPatrick Walton-13/+12
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-3/+3
2013-02-21Moved core::extfmt to core::private::extfmtMarvin Löbel-0/+676
Needs a snapshot to remove stage0 extfmt export in core
2013-02-20auto merge of #5063 : pcwalton/rust/plussing, r=pcwaltonbors-6/+6
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-6/+6
2013-02-20Changed a test to use intrinsics.rs and changed a few lines that were too ↵Matthijs 'Thiez' Hofstra-34/+34
long, had bad whitespace, etc.
2013-02-20Created libcore/private/intrinsics.rs, which aims to contain everyMatthijs 'Thiez' Hofstra-18/+135
rustc intrinsic. Several files in libcore have been changed to use these intrinsics. As of yet, none of the intrinsics are documented.
2013-02-14auto merge of #4938 : thestinger/rust/no_zero, r=brsonbors-5/+1
I removed the unused wrappers methods named `calloc` because they relied on the malloc wrapper having a `bool zero = true` default parameter (which resulted in some accidental zeroing). Perhaps wrapping the actual calloc function would be useful, but I don't know of an existing use case that could use it so I just removed these. This gives an ~1% performance improvement for TreeMap, which does a lot of small allocations. Vectors use `realloc` which didn't zero before these changes so there's no measurable change in performance.
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-5/+5
rs=implflipping
2013-02-14stop zeroing all exchange allocationsDaniel Micay-5/+1
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-6/+6
2013-02-12auto merge of #4858 : z0w0/rust/rm_weak_task_count, r=graydonbors-6/+6
2013-02-12core: Fix dec/inc_kernel_live_count mixupZack Corr-4/+4
2013-02-11core: Fix files that needed GenericChan/Port from preludeZack Corr-1/+2
2013-02-09Rename dec/inc_weak_task_count to inc/dec_live_count and remove ↵Zack Corr-6/+6
register_task/unregister_task. Closes #4768
2013-02-07Merge pull request #4619 from brson/exchangeBrian Anderson-0/+79
Some work on freestanding Rust: foreign calls, exchange allocator
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-0/+22
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-06Rewrite the exchange allocator to work without an active scheduler. #4457Brian Anderson-0/+79
2013-02-01Remove fail keyword from lexer & parser and clean up remaining calls toNick Desaulniers-7/+7
fail Fix merge conflicts - Issue 4524
2013-01-31core: Stamp out XXXes (comments only)Tim Chevalier-4/+4
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-2/+4
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-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-1/+1
definitions. r=tjc
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-1/+1
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-25Merge remote-tracking branch 'brson/nocommupstream'Brian Anderson-0/+699
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-23std: Convert uv_global_loop to use pipesBrian Anderson-0/+15
2013-01-23core: Add new weak task APIBrian Anderson-0/+187
2013-01-17Add `finally` method for deferred executionBrian Anderson-0/+88
2013-01-17core: Add private global data interface. #3915Brian Anderson-0/+257
2013-01-15Add at_exit function #4450Brian Anderson-0/+86