<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sync, branch 1.5.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.5.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-10-25T16:36:32+00:00</updated>
<entry>
<title>std: Stabilize library APIs for 1.5</title>
<updated>2015-10-25T16:36:32+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-10-22T23:28:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff49733274f4af79362f9f9aaf16fb6032b2a06d'/>
<id>urn:sha1:ff49733274f4af79362f9f9aaf16fb6032b2a06d</id>
<content type='text'>
This commit stabilizes and deprecates library APIs whose FCP has closed in the
last cycle, specifically:

Stabilized APIs:

* `fs::canonicalize`
* `Path::{metadata, symlink_metadata, canonicalize, read_link, read_dir, exists,
   is_file, is_dir}` - all moved to inherent methods from the `PathExt` trait.
* `Formatter::fill`
* `Formatter::width`
* `Formatter::precision`
* `Formatter::sign_plus`
* `Formatter::sign_minus`
* `Formatter::alternate`
* `Formatter::sign_aware_zero_pad`
* `string::ParseError`
* `Utf8Error::valid_up_to`
* `Iterator::{cmp, partial_cmp, eq, ne, lt, le, gt, ge}`
* `&lt;[T]&gt;::split_{first,last}{,_mut}`
* `Condvar::wait_timeout` - note that `wait_timeout_ms` is not yet deprecated
  but will be once 1.5 is released.
* `str::{R,}MatchIndices`
* `str::{r,}match_indices`
* `char::from_u32_unchecked`
* `VecDeque::insert`
* `VecDeque::shrink_to_fit`
* `VecDeque::as_slices`
* `VecDeque::as_mut_slices`
* `VecDeque::swap_remove_front` - (renamed from `swap_front_remove`)
* `VecDeque::swap_remove_back` - (renamed from `swap_back_remove`)
* `Vec::resize`
* `str::slice_mut_unchecked`
* `FileTypeExt`
* `FileTypeExt::{is_block_device, is_char_device, is_fifo, is_socket}`
* `BinaryHeap::from` - `from_vec` deprecated in favor of this
* `BinaryHeap::into_vec` - plus a `Into` impl
* `BinaryHeap::into_sorted_vec`

Deprecated APIs

* `slice::ref_slice`
* `slice::mut_ref_slice`
* `iter::{range_inclusive, RangeInclusive}`
* `std::dynamic_lib`

Closes #27706
Closes #27725
cc #27726 (align not stabilized yet)
Closes #27734
Closes #27737
Closes #27742
Closes #27743
Closes #27772
Closes #27774
Closes #27777
Closes #27781
cc #27788 (a few remaining methods though)
Closes #27790
Closes #27793
Closes #27796
Closes #27810
cc #28147 (not all parts stabilized)
</content>
</entry>
<entry>
<title>Add `Shared` pointer and have `{Arc, Rc}` use it</title>
<updated>2015-10-16T22:35:31+00:00</updated>
<author>
<name>Andrew Paseltiner</name>
<email>apaseltiner@gmail.com</email>
</author>
<published>2015-10-16T15:54:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d6bd8d8491e89277edbfc9a4e0f8953847abbdd6'/>
<id>urn:sha1:d6bd8d8491e89277edbfc9a4e0f8953847abbdd6</id>
<content type='text'>
This change has two consequences:

1. It makes `Arc&lt;T&gt;` and `Rc&lt;T&gt;` covariant in `T`.

2. It causes the compiler to reject code that was unsound with respect
to dropck. See compile-fail/issue-29106.rs for an example of code that
no longer compiles. Because of this, this is a [breaking-change].

Fixes #29037.
Fixes #29106.
</content>
</entry>
<entry>
<title>std: add into_inner and get_mut to RwLock</title>
<updated>2015-10-15T17:05:54+00:00</updated>
<author>
<name>Cristi Cobzarenco</name>
<email>cristi.cobzarenco@gmail.com</email>
</author>
<published>2015-10-15T16:14:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90ccefd16e1eeec1a616aa3ba9aa710d954231ef'/>
<id>urn:sha1:90ccefd16e1eeec1a616aa3ba9aa710d954231ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: add into_inner and get_mut to mutex</title>
<updated>2015-10-15T17:05:54+00:00</updated>
<author>
<name>Cristi Cobzarenco</name>
<email>cristi.cobzarenco@gmail.com</email>
</author>
<published>2015-10-13T20:55:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b8e8561e1a67e8d3d82a2450f288438004aba1c5'/>
<id>urn:sha1:b8e8561e1a67e8d3d82a2450f288438004aba1c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>typos: fix a grabbag of typos all over the place</title>
<updated>2015-10-08T18:49:31+00:00</updated>
<author>
<name>Cristi Cobzarenco</name>
<email>cristi.cobzarenco@gmail.com</email>
</author>
<published>2015-10-07T22:11:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b308b44e1d8204702f6912dda4dfc404aa2a87d'/>
<id>urn:sha1:4b308b44e1d8204702f6912dda4dfc404aa2a87d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Miscellaneous cleanup for old issues.</title>
<updated>2015-09-20T10:37:08+00:00</updated>
<author>
<name>Lee Jeffery</name>
<email>lee@leejeffery.co.uk</email>
</author>
<published>2015-09-20T10:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=140e2d3a092ebbeea5e110222bea3b37bc49abb8'/>
<id>urn:sha1:140e2d3a092ebbeea5e110222bea3b37bc49abb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>some more clippy-based improvements</title>
<updated>2015-09-07T22:36:29+00:00</updated>
<author>
<name>Andre Bogus</name>
<email>bogusandre@gmail.com</email>
</author>
<published>2015-09-07T22:36:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cca96545faf2cfc972cc67b83deae2a78935c43'/>
<id>urn:sha1:9cca96545faf2cfc972cc67b83deae2a78935c43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #27871 - alexcrichton:stabilize-libcore, r=aturon</title>
<updated>2015-08-22T09:59:07+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-08-22T09:59:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=94ee3b5a54a9f4965b82f5e4eda512966e96ac63'/>
<id>urn:sha1:94ee3b5a54a9f4965b82f5e4eda512966e96ac63</id>
<content type='text'>
These commits move libcore into a state so that it's ready for stabilization, performing some minor cleanup:

* The primitive modules for integers in the standard library were all removed from the source tree as they were just straight reexports of the libcore variants.
* The `core::atomic` module now lives in `core::sync::atomic`. The `core::sync` module is otherwise empty, but ripe for expansion!
* The `core::prelude::v1` module was stabilized after auditing that it is a subset of the standard library's prelude plus some primitive extension traits (char, str, and slice)
* Some unstable-hacks for float parsing errors were shifted around to not use the same unstable hacks (e.g. the `flt2dec` module is now used for "privacy").


After this commit, the remaining large unstable functionality specific to libcore is:

* `raw`, `intrinsics`, `nonzero`, `array`, `panicking`, `simd` -- these modules are all unstable or not reexported in the standard library, so they're just remaining in the same status quo as before
* `num::Float` - this extension trait for floats needs to be audited for functionality (much of that is happening in #27823)  and may also want to be renamed to `FloatExt` or `F32Ext`/`F64Ext`.
* Should the extension traits for primitives be stabilized in libcore?

I believe other unstable pieces are not isolated to just libcore but also affect the standard library.

cc #27701
</content>
</entry>
<entry>
<title>Add issue numbers</title>
<updated>2015-08-20T00:01:19+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2015-08-20T00:01:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12216b7209431ae2a53d52c3a41c0d3536ab2210'/>
<id>urn:sha1:12216b7209431ae2a53d52c3a41c0d3536ab2210</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Turn TimedOut into a BarrierWaitResult style opaque type</title>
<updated>2015-08-20T00:00:15+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2015-08-19T22:00:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1c7a46c0db2cd73575792aebe08108b53289d80'/>
<id>urn:sha1:b1c7a46c0db2cd73575792aebe08108b53289d80</id>
<content type='text'>
</content>
</entry>
</feed>
