about summary refs log tree commit diff
path: root/src/libcore/managed.rs
AgeCommit message (Collapse)AuthorLines
2013-05-08Remove #[cfg(notest)] and use #[cfg(not(test))] to cooincide with #[cfg(debug)]Zack Corr-5/+5
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-3/+5
2013-04-14core: remove unnecessary unsafe blocks/functionsAlex Crichton-2/+2
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-4/+4
2013-03-26librustc: Enforce that `extern mod` directives come first, then `use` ↵Patrick Walton-2/+1
directives, then items. Resolve them in this order as well.
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-3/+3
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-14/+14
2013-03-21libsyntax: Remove `@const` from the languagePatrick Walton-8/+28
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-4/+4
2013-03-04Remove unused imports throughout src/Alex Crichton-4/+1
2013-02-21Put unique allocs in managed heap when they might contain managed boxes.Graydon Hoare-0/+6
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-2/+2
rs=implflipping
2013-02-07librustc: Lots of de-muting. rs=demutingPatrick Walton-0/+6
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-4/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-17librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. ↵Patrick Walton-0/+2
r=nmatsakis
2013-01-14Inlining methods/functions in core.gifnksm-0/+7
Also inlining some functions which take functions as arguments.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-3/+1
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+1
contain at least two components. r=graydon
2012-12-03core: rename box to managed. Close #4079.Graydon Hoare-0/+62
2012-09-10Rename the poorly named Managed<T> type to Mut<T>.Niko Matsakis-143/+0
The Mut<T> type is intended to allow freezable data stuctures to be stored in `@mut` boxes. Currently this causes borrowck to be very conserivative since it cannot prove that you are not modifying such a structure while iterating over it, for example. But if you do `@Mut<T>` instead of `@mut T`, you will effectively convert borrowck's static checks into dynamic ones. This lets you use the e.g. send_map just like a Java Map or something else.
2012-09-07Convert field terminators to commas. Stop parsing semis.Brian Anderson-2/+2
2012-09-04libcore: "import" -> "use"Patrick Walton-2/+2
2012-09-02core: warn(non_camel_case_types) everywhere, with few exceptionsBrian Anderson-1/+0
2012-08-21ignore should_fail tests on windowsNiko Matsakis-0/+3
2012-08-21add tests to manage, fix test breakage I inadvertently introducedNiko Matsakis-3/+82
2012-08-21implement a map testing benchmarkNiko Matsakis-0/+62
This involved some other changes: - add a managed<T> wrapper that makes send_map usable from @-data - implement map<K,V> for managed<send_map> Unit tests are coming.