about summary refs log tree commit diff
path: root/src/libstd/lib.rs
AgeCommit message (Collapse)AuthorLines
2014-05-27doc: Fix link to stringRicho Healey-1/+1
This was missed in 553074506ecd139eb961fb91eb33ad9fd0183acb
2014-05-25auto merge of #14430 : kballard/rust/squelch_os_warning, r=alexcrichtonbors-14/+11
Clean up the re-exports of various modules in `std::std`, and remove the `realstd` stuff from `std::rt::args`.
2014-05-25libstd: Remove unnecessary re-exports under std::stdKevin Ballard-14/+11
2014-05-25rustdoc: Move inlining to its own moduleAlex Crichton-6/+6
2014-05-24core: rename strbuf::StrBuf to string::StringRicho Healey-3/+3
[breaking-change]
2014-05-23std: Move unstable::finally to std::finally. #1457Brian Anderson-0/+1
[breaking-change]
2014-05-23std: Move simd to core::simd and reexport. #1457Brian Anderson-1/+2
[breaking-change]
2014-05-23auto merge of #14359 : brson/rust/minordoc, r=alexcrichtonbors-2/+1
2014-05-23Minor library doc copyeditingBrian Anderson-2/+1
2014-05-22auto merge of #14348 : alexcrichton/rust/doc.rust-lang.org, r=huonwbors-2/+2
2014-05-22libstd: Remove all uses of `~str` from `libstd`Patrick Walton-3/+3
2014-05-22libstd: Remove `~str` from all `libstd` modules except `fmt` and `str`.Patrick Walton-0/+1
2014-05-21doc: Fix some broken linksAlex Crichton-1/+1
2014-05-21Change static.rust-lang.org to doc.rust-lang.orgAlex Crichton-1/+1
The new documentation site has shorter urls, gzip'd content, and index.html redirecting functionality.
2014-05-20Address review commentsBrian Anderson-1/+1
2014-05-20std: Alphabetize crate reexports for rustdocBrian Anderson-4/+6
2014-05-20std: Fix broken linkBrian Anderson-2/+1
2014-05-17std: Refactor liballoc out of lib{std,sync}Alex Crichton-13/+13
This commit is part of the libstd facade RFC, issue #13851. This creates a new library, liballoc, which is intended to be the core allocation library for all of Rust. It is pinned on the basic assumption that an allocation failure is an abort or failure. This module has inherited the heap/libc_heap modules from std::rt, the owned/rc modules from std, and the arc module from libsync. These three pointers are currently the three most core pointer implementations in Rust. The UnsafeArc type in std::sync should be considered deprecated and replaced by Arc<Unsafe<T>>. This commit does not currently migrate to this type, but future commits will continue this refactoring.
2014-05-15core: Implement unwrap()/unwrap_err() on ResultAlex Crichton-1/+1
Now that std::fmt is in libcore, it's possible to implement this as an inherit method rather than through extension traits. This commit also tweaks the failure interface of libcore to libstd to what it should be, one method taking &fmt::Arguments
2014-05-15Register new snapshotsAlex Crichton-5/+2
2014-05-13std: Move the owned module from core to stdAlex Crichton-2/+6
The compiler was updated to recognize that implementations for ty_uniq(..) are allowed if the Box lang item is located in the current crate. This enforces the idea that libcore cannot allocated, and moves all related trait implementations from libcore to libstd. This is a breaking change in that the AnyOwnExt trait has moved from the any module to the owned module. Any previous users of std::any::AnyOwnExt should now use std::owned::AnyOwnExt instead. This was done because the trait is intended for Box traits and only Box traits. [breaking-change]
2014-05-12Add the patch number to version strings. Closes #13289Brian Anderson-1/+1
2014-05-11core: Remove the cast moduleAlex Crichton-1/+0
This commit revisits the `cast` module in libcore and libstd, and scrutinizes all functions inside of it. The result was to remove the `cast` module entirely, folding all functionality into the `mem` module. Specifically, this is the fate of each function in the `cast` module. * transmute - This function was moved to `mem`, but it is now marked as #[unstable]. This is due to planned changes to the `transmute` function and how it can be invoked (see the #[unstable] comment). For more information, see RFC 5 and #12898 * transmute_copy - This function was moved to `mem`, with clarification that is is not an error to invoke it with T/U that are different sizes, but rather that it is strongly discouraged. This function is now #[stable] * forget - This function was moved to `mem` and marked #[stable] * bump_box_refcount - This function was removed due to the deprecation of managed boxes as well as its questionable utility. * transmute_mut - This function was previously deprecated, and removed as part of this commit. * transmute_mut_unsafe - This function doesn't serve much of a purpose when it can be achieved with an `as` in safe code, so it was removed. * transmute_lifetime - This function was removed because it is likely a strong indication that code is incorrect in the first place. * transmute_mut_lifetime - This function was removed for the same reasons as `transmute_lifetime` * copy_lifetime - This function was moved to `mem`, but it is marked `#[unstable]` now due to the likelihood of being removed in the future if it is found to not be very useful. * copy_mut_lifetime - This function was also moved to `mem`, but had the same treatment as `copy_lifetime`. * copy_lifetime_vec - This function was removed because it is not used today, and its existence is not necessary with DST (copy_lifetime will suffice). In summary, the cast module was stripped down to these functions, and then the functions were moved to the `mem` module. transmute - #[unstable] transmute_copy - #[stable] forget - #[stable] copy_lifetime - #[unstable] copy_mut_lifetime - #[unstable] [breaking-change]
2014-05-10initial port of the exchange allocator to jemallocDaniel Micay-0/+1
In stage0, all allocations are 8-byte aligned. Passing a size and alignment to free is not yet implemented everywhere (0 size and 8 align are used as placeholders). Fixing this is part of #13994. Closes #13616
2014-05-10auto merge of #14068 : alexcrichton/rust/rustdoc-xcrate-links, r=brsonbors-6/+6
This should improve the libcore experience quite a bit when looking at the libstd documentation.
2014-05-09doc: Fix some broken linksAlex Crichton-6/+6
2014-05-08auto merge of #14019 : brson/rust/docs, r=alexcrichtonbors-3/+4
Just small bits of polish.
2014-05-08Handle more falloutKevin Ballard-0/+3
os::args() no longer auto-borrows to &[~str].
2014-05-07std: Doc typosBrian Anderson-3/+4
2014-05-07Test fixes and rebase conflictsAlex Crichton-5/+2
2014-05-07core: Move Option::expect to libstd from libcoreAlex Crichton-2/+1
See #14008 for more details
2014-05-07core: Inherit the cell moduleAlex Crichton-1/+1
2014-05-07core: Inhert ~/@/& cmp traits, remove old modulesAlex Crichton-2/+0
This commit removes the std::{managed, reference} modules. The modules serve essentially no purpose, and the only free function removed was `managed::ptr_eq` which can be achieved by comparing references. [breaking-change]
2014-05-07core: Inherit the cmp moduleAlex Crichton-3/+1
This removes the TotalOrd and TotalEq implementation macros, they will be added later to the numeric modules (where the other comparison implementations live).
2014-05-07core: Inherit the iter moduleAlex Crichton-1/+1
2014-05-07core: Inherit the option moduleAlex Crichton-1/+1
2014-05-07core: Inherit the bool moduleAlex Crichton-2/+1
2014-05-07core: Inherit the tuple moduleAlex Crichton-1/+1
2014-05-07core: Inherit the clone moduleAlex Crichton-1/+1
2014-05-07core: Inherit the unit moduleAlex Crichton-1/+0
2014-05-07core: Inherit the default moduleAlex Crichton-0/+1
2014-05-07core: Inherit the raw moduleAlex Crichton-2/+1
2014-05-07core: Inherit the any moduleAlex Crichton-2/+1
2014-05-07core: Inherit the char moduleAlex Crichton-1/+1
2014-05-07core: Inherit the container moduleAlex Crichton-1/+1
2014-05-07core: Inherit the ty moduleAlex Crichton-2/+1
2014-05-07core: Inherit the ops moduleAlex Crichton-1/+1
2014-05-07core: Inherit the kinds moduleAlex Crichton-1/+2
2014-05-07core: Inherit the cast moduleAlex Crichton-1/+1
2014-05-07core: Inherit the ptr moduleAlex Crichton-1/+2