<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/path, branch 0.11.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=0.11.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=0.11.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2014-06-26T06:56:49+00:00</updated>
<entry>
<title>Remove unnecessary to_string calls</title>
<updated>2014-06-26T06:56:49+00:00</updated>
<author>
<name>Piotr Jawniak</name>
<email>sawyer47@gmail.com</email>
</author>
<published>2014-06-26T06:15:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8e06c49650afd7c9ef749baa72cb8da59880f96'/>
<id>urn:sha1:f8e06c49650afd7c9ef749baa72cb8da59880f96</id>
<content type='text'>
This commit removes superfluous to_string calls from various places
</content>
</entry>
<entry>
<title>Deprecate the bytes!() macro.</title>
<updated>2014-06-19T00:02:22+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2014-06-18T18:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=108b8b6dc707775bd54aeea7820e0d473f556718'/>
<id>urn:sha1:108b8b6dc707775bd54aeea7820e0d473f556718</id>
<content type='text'>
Replace its usage with byte string literals, except in `bytes!()` tests.
Also add a new snapshot, to be able to use the new b"foo" syntax.

The src/etc/2014-06-rewrite-bytes-macros.py script automatically
rewrites `bytes!()` invocations into byte string literals.
Pass it filenames as arguments to generate a diff that you can inspect,
or `--apply` followed by filenames to apply the changes in place.
Diffs can be piped into `tip` or `pygmentize -l diff` for coloring.
</content>
</entry>
<entry>
<title>Register new snapshots</title>
<updated>2014-06-16T06:30:24+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-06-14T18:03:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=89b0e6e12ba2fb24ec0e6655a1130c16eb8d1745'/>
<id>urn:sha1:89b0e6e12ba2fb24ec0e6655a1130c16eb8d1745</id>
<content type='text'>
</content>
</entry>
<entry>
<title>auto merge of #14831 : alexcrichton/rust/format-intl, r=brson</title>
<updated>2014-06-13T14:42:03+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2014-06-13T14:42:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0422934e243ed57a7662ec878db9d4e01ca5b0f9'/>
<id>urn:sha1:0422934e243ed57a7662ec878db9d4e01ca5b0f9</id>
<content type='text'>
* The select/plural methods from format strings are removed
* The # character no longer needs to be escaped
* The \-based escapes have been removed
* '{{' is now an escape for '{'
* '}}' is now an escape for '}'

Closes #14810
[breaking-change]
</content>
</entry>
<entry>
<title>std: Remove i18n/l10n from format!</title>
<updated>2014-06-11T23:04:24+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-05-28T16:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cac7a2053aba7be214d5e58e13867089638a8f50'/>
<id>urn:sha1:cac7a2053aba7be214d5e58e13867089638a8f50</id>
<content type='text'>
* The select/plural methods from format strings are removed
* The # character no longer needs to be escaped
* The \-based escapes have been removed
* '{{' is now an escape for '{'
* '}}' is now an escape for '}'

Closes #14810
[breaking-change]
</content>
</entry>
<entry>
<title>rustc: Remove ~[T] from the language</title>
<updated>2014-06-11T22:02:17+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-06-06T17:27:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3316b1eb7c3eb520896af489dd45c4d17190d0a8'/>
<id>urn:sha1:3316b1eb7c3eb520896af489dd45c4d17190d0a8</id>
<content type='text'>
The following features have been removed

* box [a, b, c]
* ~[a, b, c]
* box [a, ..N]
* ~[a, ..N]
* ~[T] (as a type)
* deprecated_owned_vector lint

All users of ~[T] should move to using Vec&lt;T&gt; instead.
</content>
</entry>
<entry>
<title>core: Move the collections traits to libcollections</title>
<updated>2014-06-09T07:38:46+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-06-06T23:33:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=da0703973af921626d7235131d14847b1aacffc2'/>
<id>urn:sha1:da0703973af921626d7235131d14847b1aacffc2</id>
<content type='text'>
This commit moves Mutable, Map, MutableMap, Set, and MutableSet from
`core::collections` to the `collections` crate at the top-level. Additionally,
this removes the `deque` module and moves the `Deque` trait to only being
available at the top-level of the collections crate.

All functionality continues to be reexported through `std::collections`.

[breaking-change]
</content>
</entry>
<entry>
<title>core: Rename `container` mod to `collections`. Closes #12543</title>
<updated>2014-06-09T04:29:57+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2014-05-19T18:32:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=50942c7695783875bd2161596036a52755ffb09c'/>
<id>urn:sha1:50942c7695783875bd2161596036a52755ffb09c</id>
<content type='text'>
Also renames the `Container` trait to `Collection`.

[breaking-change]
</content>
</entry>
<entry>
<title>Fix spelling errors in comments.</title>
<updated>2014-06-08T17:39:42+00:00</updated>
<author>
<name>Joseph Crail</name>
<email>jbcrail@gmail.com</email>
</author>
<published>2014-06-08T17:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=45e56eccbed3161dd9de547c6c2dcf618114a484'/>
<id>urn:sha1:45e56eccbed3161dd9de547c6c2dcf618114a484</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Recreate a `collections` module</title>
<updated>2014-06-05T20:55:10+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-05-30T01:50:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a585375a01b7c6b52ad93f764220bcb18027ef6'/>
<id>urn:sha1:6a585375a01b7c6b52ad93f764220bcb18027ef6</id>
<content type='text'>
As with the previous commit with `librand`, this commit shuffles around some
`collections` code. The new state of the world is similar to that of librand:

* The libcollections crate now only depends on libcore and liballoc.
* The standard library has a new module, `std::collections`. All functionality
  of libcollections is reexported through this module.

I would like to stress that this change is purely cosmetic. There are very few
alterations to these primitives.

There are a number of notable points about the new organization:

* std::{str, slice, string, vec} all moved to libcollections. There is no reason
  that these primitives shouldn't be necessarily usable in a freestanding
  context that has allocation. These are all reexported in their usual places in
  the standard library.

* The `hashmap`, and transitively the `lru_cache`, modules no longer reside in
  `libcollections`, but rather in libstd. The reason for this is because the
  `HashMap::new` contructor requires access to the OSRng for initially seeding
  the hash map. Beyond this requirement, there is no reason that the hashmap
  could not move to libcollections.

  I do, however, have a plan to move the hash map to the collections module. The
  `HashMap::new` function could be altered to require that the `H` hasher
  parameter ascribe to the `Default` trait, allowing the entire `hashmap` module
  to live in libcollections. The key idea would be that the default hasher would
  be different in libstd. Something along the lines of:

      // src/libstd/collections/mod.rs

      pub type HashMap&lt;K, V, H = RandomizedSipHasher&gt; =
            core_collections::HashMap&lt;K, V, H&gt;;

  This is not possible today because you cannot invoke static methods through
  type aliases. If we modified the compiler, however, to allow invocation of
  static methods through type aliases, then this type definition would
  essentially be switching the default hasher from `SipHasher` in libcollections
  to a libstd-defined `RandomizedSipHasher` type. This type's `Default`
  implementation would randomly seed the `SipHasher` instance, and otherwise
  perform the same as `SipHasher`.

  This future state doesn't seem incredibly far off, but until that time comes,
  the hashmap module will live in libstd to not compromise on functionality.

* In preparation for the hashmap moving to libcollections, the `hash` module has
  moved from libstd to libcollections. A previously snapshotted commit enables a
  distinct `Writer` trait to live in the `hash` module which `Hash`
  implementations are now parameterized over.

  Due to using a custom trait, the `SipHasher` implementation has lost its
  specialized methods for writing integers. These can be re-added
  backwards-compatibly in the future via default methods if necessary, but the
  FNV hashing should satisfy much of the need for speedier hashing.

A list of breaking changes:

* HashMap::{get, get_mut} no longer fails with the key formatted into the error
  message with `{:?}`, instead, a generic message is printed. With backtraces,
  it should still be not-too-hard to track down errors.

* The HashMap, HashSet, and LruCache types are now available through
  std::collections instead of the collections crate.

* Manual implementations of hash should be parameterized over `hash::Writer`
  instead of just `Writer`.

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