<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcore/str, branch 1.4.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.4.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-09-13T19:45:15+00:00</updated>
<entry>
<title>Auto merge of #28339 - alexcrichton:stabilize-1.4, r=aturon</title>
<updated>2015-09-13T19:45:15+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-09-13T19:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cedbd998a4669e026b2a1b34de95d91cd0fde1a5'/>
<id>urn:sha1:cedbd998a4669e026b2a1b34de95d91cd0fde1a5</id>
<content type='text'>
The FCP is coming to a close and 1.4 is coming out soon, so this brings in the
libs team decision for all library features this cycle.

Stabilized APIs:

* `&lt;Box&lt;str&gt;&gt;::into_string`
* `Arc::downgrade`
* `Arc::get_mut`
* `Arc::make_mut`
* `Arc::try_unwrap`
* `Box::from_raw`
* `Box::into_raw`
* `CStr::to_str`
* `CStr::to_string_lossy`
* `CString::from_raw`
* `CString::into_raw`
* `IntoRawFd::into_raw_fd`
* `IntoRawFd`
* `IntoRawHandle::into_raw_handle`
* `IntoRawHandle`
* `IntoRawSocket::into_raw_socket`
* `IntoRawSocket`
* `Rc::downgrade`
* `Rc::get_mut`
* `Rc::make_mut`
* `Rc::try_unwrap`
* `Result::expect`
* `String::into_boxed_slice`
* `TcpSocket::read_timeout`
* `TcpSocket::set_read_timeout`
* `TcpSocket::set_write_timeout`
* `TcpSocket::write_timeout`
* `UdpSocket::read_timeout`
* `UdpSocket::set_read_timeout`
* `UdpSocket::set_write_timeout`
* `UdpSocket::write_timeout`
* `Vec::append`
* `Vec::split_off`
* `VecDeque::append`
* `VecDeque::retain`
* `VecDeque::split_off`
* `rc::Weak::upgrade`
* `rc::Weak`
* `slice::Iter::as_slice`
* `slice::IterMut::into_slice`
* `str::CharIndices::as_str`
* `str::Chars::as_str`
* `str::split_at_mut`
* `str::split_at`
* `sync::Weak::upgrade`
* `sync::Weak`
* `thread::park_timeout`
* `thread::sleep`

Deprecated APIs

* `BTreeMap::with_b`
* `BTreeSet::with_b`
* `Option::as_mut_slice`
* `Option::as_slice`
* `Result::as_mut_slice`
* `Result::as_slice`
* `f32::from_str_radix`
* `f64::from_str_radix`

Closes #27277
Closes #27718
Closes #27736
Closes #27764
Closes #27765
Closes #27766
Closes #27767
Closes #27768
Closes #27769
Closes #27771
Closes #27773
Closes #27775
Closes #27776
Closes #27785
Closes #27792
Closes #27795
Closes #27797
</content>
</entry>
<entry>
<title>std: Stabilize/deprecate features for 1.4</title>
<updated>2015-09-11T16:48:48+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-09-10T20:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f0b1326dc79e186f89b65336ae85f3a8ac6db4c1'/>
<id>urn:sha1:f0b1326dc79e186f89b65336ae85f3a8ac6db4c1</id>
<content type='text'>
The FCP is coming to a close and 1.4 is coming out soon, so this brings in the
libs team decision for all library features this cycle.

Stabilized APIs:

* `&lt;Box&lt;str&gt;&gt;::into_string`
* `Arc::downgrade`
* `Arc::get_mut`
* `Arc::make_mut`
* `Arc::try_unwrap`
* `Box::from_raw`
* `Box::into_raw`
* `CStr::to_str`
* `CStr::to_string_lossy`
* `CString::from_raw`
* `CString::into_raw`
* `IntoRawFd::into_raw_fd`
* `IntoRawFd`
* `IntoRawHandle::into_raw_handle`
* `IntoRawHandle`
* `IntoRawSocket::into_raw_socket`
* `IntoRawSocket`
* `Rc::downgrade`
* `Rc::get_mut`
* `Rc::make_mut`
* `Rc::try_unwrap`
* `Result::expect`
* `String::into_boxed_slice`
* `TcpSocket::read_timeout`
* `TcpSocket::set_read_timeout`
* `TcpSocket::set_write_timeout`
* `TcpSocket::write_timeout`
* `UdpSocket::read_timeout`
* `UdpSocket::set_read_timeout`
* `UdpSocket::set_write_timeout`
* `UdpSocket::write_timeout`
* `Vec::append`
* `Vec::split_off`
* `VecDeque::append`
* `VecDeque::retain`
* `VecDeque::split_off`
* `rc::Weak::upgrade`
* `rc::Weak`
* `slice::Iter::as_slice`
* `slice::IterMut::into_slice`
* `str::CharIndices::as_str`
* `str::Chars::as_str`
* `str::split_at_mut`
* `str::split_at`
* `sync::Weak::upgrade`
* `sync::Weak`
* `thread::park_timeout`
* `thread::sleep`

Deprecated APIs

* `BTreeMap::with_b`
* `BTreeSet::with_b`
* `Option::as_mut_slice`
* `Option::as_slice`
* `Result::as_mut_slice`
* `Result::as_slice`
* `f32::from_str_radix`
* `f64::from_str_radix`

Closes #27277
Closes #27718
Closes #27736
Closes #27764
Closes #27765
Closes #27766
Closes #27767
Closes #27768
Closes #27769
Closes #27771
Closes #27773
Closes #27775
Closes #27776
Closes #27785
Closes #27792
Closes #27795
Closes #27797
</content>
</entry>
<entry>
<title>Optimize string comparison by using memcmp</title>
<updated>2015-09-10T23:46:59+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2015-09-10T23:46:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fbd91a732b73dd73b4da8940bc32c4a7d5e6251b'/>
<id>urn:sha1:fbd91a732b73dd73b4da8940bc32c4a7d5e6251b</id>
<content type='text'>
llvm seems to be having some trouble optimizing the iterator-based
string comparsion method into some equivalent to memcmp. This
explicitly calls out to the memcmp intrinisic in order to allow
llvm to generate better code. In some manual benchmarking, this
memcmp-based approach is 20 times faster than the iterator approach.
</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 #28119 - nagisa:bytesderef, r=alexcrichton</title>
<updated>2015-09-04T12:34:03+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-09-04T12:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=94ddfc77072d99b16a5cc779d2b1f8d69e0d6850'/>
<id>urn:sha1:94ddfc77072d99b16a5cc779d2b1f8d69e0d6850</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Account for CRLF in {str, BufRead}::lines</title>
<updated>2015-09-04T06:01:41+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-08-27T00:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48615a68fb01d09749a5b73816d45e0d0669d1f9'/>
<id>urn:sha1:48615a68fb01d09749a5b73816d45e0d0669d1f9</id>
<content type='text'>
This commit is an implementation of [RFC 1212][rfc] which tweaks the behavior of
the `str::lines` and `BufRead::lines` iterators. Both iterators now account for
`\r\n` sequences in addition to `\n`, allowing for less surprising behavior
across platforms (especially in the `BufRead` case). Splitting *only* on the
`\n` character can still be achieved with `split('\n')` in both cases.

The `str::lines_any` function is also now deprecated as `str::lines` is a
drop-in replacement for it.

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1212-line-endings.md

Closes #28032
</content>
</entry>
<entry>
<title>Elide lifetimes in libcore</title>
<updated>2015-09-03T12:16:35+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2015-09-03T09:49:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a520568ae7dea13430c3d9ba5b3fb9596d863791'/>
<id>urn:sha1:a520568ae7dea13430c3d9ba5b3fb9596d863791</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change explicit BytesDeref impl into Cloned iterator</title>
<updated>2015-08-31T11:48:28+00:00</updated>
<author>
<name>Simonas Kazlauskas</name>
<email>git@kazlauskas.me</email>
</author>
<published>2015-08-31T09:53:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=25dce09a962fb378ab3ecc142f873255c247788a'/>
<id>urn:sha1:25dce09a962fb378ab3ecc142f873255c247788a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #28101 - ijks:24214-str-bytes, r=alexcrichton</title>
<updated>2015-08-31T09:15:55+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-08-31T09:15:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b0f77ba26ad2b52be0586e92e18a0256d2396b3f'/>
<id>urn:sha1:b0f77ba26ad2b52be0586e92e18a0256d2396b3f</id>
<content type='text'>
Specifically, `count`, `last`, and `nth` are implemented to use the
methods of the underlying slice iterator.

Partially closes #24214.
</content>
</entry>
<entry>
<title>Add overrides to iterator methods for `str::Bytes`</title>
<updated>2015-08-30T15:32:50+00:00</updated>
<author>
<name>Daan Rijks</name>
<email>daanrijks@gmail.com</email>
</author>
<published>2015-08-30T15:32:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dacf2725ec6230e4b99486fd8f87cc9ab5ad995c'/>
<id>urn:sha1:dacf2725ec6230e4b99486fd8f87cc9ab5ad995c</id>
<content type='text'>
Specifically, `count`, `last`, and `nth` are implemented to use the
methods of the underlying slice iterator.

Partially closes #24214.
</content>
</entry>
</feed>
