<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sys/windows/tty.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-04-14T17:14:11+00:00</updated>
<entry>
<title>std: Remove old_io/old_path/rand modules</title>
<updated>2015-04-14T17:14:11+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-04-10T00:42:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf4e77d4b543632ca4df8fdd7092850dffc3954b'/>
<id>urn:sha1:bf4e77d4b543632ca4df8fdd7092850dffc3954b</id>
<content type='text'>
This commit entirely removes the old I/O, path, and rand modules. All
functionality has been deprecated and unstable for quite some time now!
</content>
</entry>
<entry>
<title>Rollup merge of #23803 - richo:unused-braces, r=Manishearth</title>
<updated>2015-03-28T12:42:06+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2015-03-28T12:42:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5eb4be4c562c369921a6b71812a2003c4cf3163e'/>
<id>urn:sha1:5eb4be4c562c369921a6b71812a2003c4cf3163e</id>
<content type='text'>
Pretty much what it says on the tin.
</content>
</entry>
<entry>
<title>cleanup: Remove unused braces in use statements</title>
<updated>2015-03-28T09:23:20+00:00</updated>
<author>
<name>Richo Healey</name>
<email>richo@psych0tik.net</email>
</author>
<published>2015-03-28T09:23:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cbce6bfbdb140561add2ff258b305e7c7f2ad5c6'/>
<id>urn:sha1:cbce6bfbdb140561add2ff258b305e7c7f2ad5c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mass rename uint/int to usize/isize</title>
<updated>2015-03-26T19:10:22+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-26T00:06:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43bfaa4a336095eb5697fb2df50909fd3c72ed14'/>
<id>urn:sha1:43bfaa4a336095eb5697fb2df50909fd3c72ed14</id>
<content type='text'>
Now that support has been removed, all lingering use cases are renamed.
</content>
</entry>
<entry>
<title>std: Remove old_io/old_path from the prelude</title>
<updated>2015-03-21T03:07:19+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-17T20:33:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=212e03181e422f569b6426bc08b713a9efc0d0eb'/>
<id>urn:sha1:212e03181e422f569b6426bc08b713a9efc0d0eb</id>
<content type='text'>
This commit removes the reexports of `old_io` traits as well as `old_path` types
and traits from the prelude. This functionality is now all deprecated and needs
to be removed to make way for other functionality like `Seek` in the `std::io`
module (currently reexported as `NewSeek` in the io prelude).

Closes #23377
Closes #23378
</content>
</entry>
<entry>
<title>Fallout of std::old_io deprecation</title>
<updated>2015-03-13T17:00:28+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-11T22:24:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=981bf5f690d1d7c5cf3e1419ac7a7c86dbc7a4d5'/>
<id>urn:sha1:981bf5f690d1d7c5cf3e1419ac7a7c86dbc7a4d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Remove #[allow] directives in sys modules</title>
<updated>2015-03-12T17:23:27+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-10T03:04:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c933d44f7bb908aa520250b608f85bfacfccc337'/>
<id>urn:sha1:c933d44f7bb908aa520250b608f85bfacfccc337</id>
<content type='text'>
These were suppressing lots of interesting warnings! Turns out there was also
quite a bit of dead code.
</content>
</entry>
<entry>
<title>Revert a wrong replace of "fail" to "panic"</title>
<updated>2015-02-24T16:02:26+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2015-02-24T16:01:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=54b11066bb9af585f161164000c43fdfe21c646f'/>
<id>urn:sha1:54b11066bb9af585f161164000c43fdfe21c646f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cleanup: replace `as[_mut]_slice()` calls with deref coercions</title>
<updated>2015-02-05T18:45:01+00:00</updated>
<author>
<name>Jorge Aparicio</name>
<email>japaricious@gmail.com</email>
</author>
<published>2015-02-02T02:53:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=17bc7d8d5be3be9674d702ccad2fa88c487d23b0'/>
<id>urn:sha1:17bc7d8d5be3be9674d702ccad2fa88c487d23b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Add a new `env` module</title>
<updated>2015-02-01T19:08:15+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-27T20:20:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=70ed3a48dfa301c5bb56de3e0a7c25214539b83c'/>
<id>urn:sha1:70ed3a48dfa301c5bb56de3e0a7c25214539b83c</id>
<content type='text'>
This is an implementation of [RFC 578][rfc] which adds a new `std::env` module
to replace most of the functionality in the current `std::os` module. More
details can be found in the RFC itself, but as a summary the following methods
have all been deprecated:

[rfc]: https://github.com/rust-lang/rfcs/pull/578

* `os::args_as_bytes`   =&gt; `env::args`
* `os::args`            =&gt; `env::args`
* `os::consts`          =&gt; `env::consts`
* `os::dll_filename`    =&gt; no replacement, use `env::consts` directly
* `os::page_size`       =&gt; `env::page_size`
* `os::make_absolute`   =&gt; use `env::current_dir` + `join` instead
* `os::getcwd`          =&gt; `env::current_dir`
* `os::change_dir`      =&gt; `env::set_current_dir`
* `os::homedir`         =&gt; `env::home_dir`
* `os::tmpdir`          =&gt; `env::temp_dir`
* `os::join_paths`      =&gt; `env::join_paths`
* `os::split_paths`     =&gt; `env::split_paths`
* `os::self_exe_name`   =&gt; `env::current_exe`
* `os::self_exe_path`   =&gt; use `env::current_exe` + `pop`
* `os::set_exit_status` =&gt; `env::set_exit_status`
* `os::get_exit_status` =&gt; `env::get_exit_status`
* `os::env`             =&gt; `env::vars`
* `os::env_as_bytes`    =&gt; `env::vars`
* `os::getenv`          =&gt; `env::var` or `env::var_string`
* `os::getenv_as_bytes` =&gt; `env::var`
* `os::setenv`          =&gt; `env::set_var`
* `os::unsetenv`        =&gt; `env::remove_var`

Many function signatures have also been tweaked for various purposes, but the
main changes were:

* `Vec`-returning APIs now all return iterators instead
* All APIs are now centered around `OsString` instead of `Vec&lt;u8&gt;` or `String`.
  There is currently on convenience API, `env::var_string`, which can be used to
  get the value of an environment variable as a unicode `String`.

All old APIs are `#[deprecated]` in-place and will remain for some time to allow
for migrations. The semantics of the APIs have been tweaked slightly with regard
to dealing with invalid unicode (panic instead of replacement).

The new `std::env` module is all contained within the `env` feature, so crates
must add the following to access the new APIs:

    #![feature(env)]

[breaking-change]
</content>
</entry>
</feed>
