rust/src/libcore
Alex Crichton 552eda70d3 std: Stabilize APIs for the 1.9 release
This commit applies all stabilizations, renamings, and deprecations that the
library team has decided on for the upcoming 1.9 release. All tracking issues
have gone through a cycle-long "final comment period" and the specific APIs
stabilized/deprecated are:

Stable

* `std::panic`
* `std::panic::catch_unwind` (renamed from `recover`)
* `std::panic::resume_unwind` (renamed from `propagate`)
* `std::panic::AssertUnwindSafe` (renamed from `AssertRecoverSafe`)
* `std::panic::UnwindSafe` (renamed from `RecoverSafe`)
* `str::is_char_boundary`
* `<*const T>::as_ref`
* `<*mut T>::as_ref`
* `<*mut T>::as_mut`
* `AsciiExt::make_ascii_uppercase`
* `AsciiExt::make_ascii_lowercase`
* `char::decode_utf16`
* `char::DecodeUtf16`
* `char::DecodeUtf16Error`
* `char::DecodeUtf16Error::unpaired_surrogate`
* `BTreeSet::take`
* `BTreeSet::replace`
* `BTreeSet::get`
* `HashSet::take`
* `HashSet::replace`
* `HashSet::get`
* `OsString::with_capacity`
* `OsString::clear`
* `OsString::capacity`
* `OsString::reserve`
* `OsString::reserve_exact`
* `OsStr::is_empty`
* `OsStr::len`
* `std::os::unix::thread`
* `RawPthread`
* `JoinHandleExt`
* `JoinHandleExt::as_pthread_t`
* `JoinHandleExt::into_pthread_t`
* `HashSet::hasher`
* `HashMap::hasher`
* `CommandExt::exec`
* `File::try_clone`
* `SocketAddr::set_ip`
* `SocketAddr::set_port`
* `SocketAddrV4::set_ip`
* `SocketAddrV4::set_port`
* `SocketAddrV6::set_ip`
* `SocketAddrV6::set_port`
* `SocketAddrV6::set_flowinfo`
* `SocketAddrV6::set_scope_id`
* `<[T]>::copy_from_slice`
* `ptr::read_volatile`
* `ptr::write_volatile`
* The `#[deprecated]` attribute
* `OpenOptions::create_new`

Deprecated

* `std::raw::Slice` - use raw parts of `slice` module instead
* `std::raw::Repr` - use raw parts of `slice` module instead
* `str::char_range_at` - use slicing plus `chars()` plus `len_utf8`
* `str::char_range_at_reverse` - use slicing plus `chars().rev()` plus `len_utf8`
* `str::char_at` - use slicing plus `chars()`
* `str::char_at_reverse` - use slicing plus `chars().rev()`
* `str::slice_shift_char` - use `chars()` plus `Chars::as_str`
* `CommandExt::session_leader` - use `before_exec` instead.

Closes #27719
cc #27751 (deprecating the `Slice` bits)
Closes #27754
Closes #27780
Closes #27809
Closes #27811
Closes #27830
Closes #28050
Closes #29453
Closes #29791
Closes #29935
Closes #30014
Closes #30752
Closes #31262
cc #31398 (still need to deal with `before_exec`)
Closes #31405
Closes #31572
Closes #31755
Closes #31756
2016-04-11 08:57:53 -07:00
..
fmt try! -> ? 2016-03-22 22:01:37 -05:00
hash Prefer HTTPS when linking to 131002.net. 2016-03-28 18:08:00 -04:00
num Fix a couple of dead links on core::num::ParseFloatError docs 2016-04-01 23:46:58 +01:00
prelude Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
str std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
sync Fix typos in atomic compare_exchange. 2016-04-05 17:08:23 -07:00
any.rs doc: Fix a bunch of broken links 2016-03-08 13:44:14 -08:00
array.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
borrow.rs Move the Borrow and BorrowMut traits to libcore. 2015-08-22 13:58:39 +02:00
build.rs Update snapshots to 2016-03-18 (235d774). 2016-03-20 22:37:35 +02:00
Cargo.toml Update snapshots to 2016-03-18 (235d774). 2016-03-20 22:37:35 +02:00
cell.rs Remove strange names created by lack of privacy-conscious name lookup 2016-04-05 11:41:48 +02:00
char.rs std: Change encode_utf{8,16} to return iterators 2016-03-22 10:25:30 -07:00
clone.rs Add doc example to clone trait 2016-03-22 18:18:01 +01:00
cmp.rs Add doc examples 2016-03-18 15:47:33 +01:00
convert.rs verb agreement in core::convert docs 2016-03-29 12:23:09 -04:00
default.rs libcore: deny warnings in doctests 2015-11-12 05:16:08 +00:00
intrinsics.rs Update snapshots to 2016-03-18 (235d774). 2016-03-20 22:37:35 +02:00
iter.rs Auto merge of #32438 - kamalmarhubi:intoiterator-example, r=steveklabnik 2016-03-28 23:06:09 -07:00
lib.rs Specialize equality for [T] and comparison for [u8] 2016-04-05 14:06:20 +02:00
macros.rs doc: Fix a bunch of broken links 2016-03-08 13:44:14 -08:00
marker.rs Fix spacing style of T: Bound in docs 2016-01-17 23:44:33 +01:00
mem.rs End stdlib module summaries with a full stop. 2016-03-04 17:37:11 -05:00
nonzero.rs Register new snapshots 2015-12-21 09:26:21 -08:00
ops.rs Add core::ops::Range*::contains() as per rust-lang/rust#32311 2016-03-24 08:57:45 +08:00
option.rs Improve some Option code example 2016-03-24 13:24:39 +01:00
panicking.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
ptr.rs std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
raw.rs std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
result.rs libcore: add Debug implementations to most missing types 2016-03-20 10:04:55 -07:00
slice.rs std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
tuple.rs Properly document tuples 2016-02-09 16:00:50 -05:00