summary refs log tree commit diff
path: root/src/libstd/cleanup.rs
AgeCommit message (Collapse)AuthorLines
2014-01-06Remove some unnecessary type castsFlorian Hahn-1/+1
Conflicts: src/librustc/middle/lint.rs
2013-12-15librustc: Remove identifiers named `box`, since it's about to become a keyword.Patrick Walton-16/+16
2013-12-11Make 'self lifetime illegal.Erik Price-1/+1
Also remove all instances of 'self within the codebase. This fixes #10889.
2013-11-26libstd: Remove all non-`proc` uses of `do` from libstdPatrick Walton-6/+6
2013-11-26librustc: Remove remaining uses of `&fn()` in favor of `||`.Patrick Walton-1/+1
2013-11-19libstd: Change all uses of `&fn(A)->B` over to `|A|->B` in libstdPatrick Walton-1/+2
2013-10-26Rewrite boxed_region/memory_region in RustAlex Crichton-2/+2
This drops more of the old C++ runtime to rather be written in rust. A few features were lost along the way, but hopefully not too many. The main loss is that there are no longer backtraces associated with allocations (rust doesn't have a way of acquiring those just yet). Other than that though, I believe that the rest of the debugging utilities made their way over into rust. Closes #8704
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-1/+1
Who doesn't like a massive renaming?
2013-10-17std: Move size/align functions to std::mem. #2240Brian Anderson-2/+2
2013-10-11De-pub some private runtime componentsAlex Crichton-5/+5
This change was waiting for privacy to get sorted out, which should be true now that #8215 has landed. Closes #4427
2013-10-10Migrate users of io::fd_t to io::native::file::fd_tAlex Crichton-12/+5
2013-08-27librustc: Remove `&const` and `*const` from the language.Patrick Walton-2/+2
They are still present as part of the borrow check.
2013-08-19std: Restore dynamic borrow trackingBrian Anderson-5/+0
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-18/+1
2013-08-02librustc: Disallow "unsafe" for external functionsPatrick Walton-1/+1
2013-08-01std: Replace `for` with `do { .. }` expr where internal iterators are usedblake2-ppc-6/+9
2013-07-26Consolidate raw representations of rust valuesAlex Crichton-8/+7
This moves the raw struct layout of closures, vectors, boxes, and strings into a new `unstable::raw` module. This is meant to be a centralized location to find information for the layout of these values. As safe method, `repr`, is provided to convert a rust value to its raw representation. Unsafe methods to convert back are not provided because they are rarely used and too numerous to write an implementation for each (not much of a common pattern).
2013-07-24Convert uses of transmute which don't need itAlex Crichton-10/+8
2013-07-22new snapshotDaniel Micay-14/+1
2013-07-20librustc: Remove `pub extern` and `priv extern` from the language.Patrick Walton-1/+1
Place `pub` or `priv` on individual items instead.
2013-07-17librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them.Patrick Walton-4/+4
2013-07-03Merge remote-tracking branch 'mozilla/master'Brian Anderson-11/+22
Conflicts: src/libextra/test.rs src/libstd/at_vec.rs src/libstd/cleanup.rs src/libstd/rt/comm.rs src/libstd/rt/global_heap.rs src/libstd/task/spawn.rs src/libstd/unstable/lang.rs src/libstd/vec.rs src/rt/rustrt.def.in src/test/run-pass/extern-pub.rs
2013-06-24std: Make box annihilator work with newschedBrian Anderson-103/+13
2013-06-24std: Move dynamic borrowck code from unstable::lang to rt::borrowckBrian Anderson-1/+1
2013-06-23Remove unused TyDesc parameter from the glue functionsPhilipp Brüschweiler-2/+16
To remove the environment pointer, support for function pointers without an environment argument is needed (i.e. a fixed version of #6661).
2013-06-23Remove rust_call_tydesc_gluePhilipp Brüschweiler-15/+3
Towards #4812. Also includes some minor cleanups.
2013-06-23Remove intrinsic modulePhilipp Brüschweiler-11/+17
To achieve this, the following changes were made: * Move TyDesc, TyVisitor and Opaque to std::unstable::intrinsics * Convert TyDesc, TyVisitor and Opaque to lang items instead of specially handling the intrinsics module * Removed TypeDesc, FreeGlue and get_type_desc() from sys Fixes #3475.
2013-05-24make arm register definition consistent with rtJyun-Yan You-1/+1
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+253
This only changes the directory names; it does not change the "real" metadata names.