<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libserialize/ebml.rs, branch 0.10</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=0.10</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=0.10'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2014-03-29T00:12:21+00:00</updated>
<entry>
<title>Convert most code to new inner attribute syntax.</title>
<updated>2014-03-29T00:12:21+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2014-03-22T01:05:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=451e8c1c6178750a4c1789f40749562164a980b7'/>
<id>urn:sha1:451e8c1c6178750a4c1789f40749562164a980b7</id>
<content type='text'>
Closes #2569
</content>
</entry>
<entry>
<title>serialize: use Result</title>
<updated>2014-03-28T00:41:55+00:00</updated>
<author>
<name>Sean McArthur</name>
<email>sean.monstar@gmail.com</email>
</author>
<published>2014-03-18T17:58:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f1739b14a1346419a4598339aee32aab07e0d12e'/>
<id>urn:sha1:f1739b14a1346419a4598339aee32aab07e0d12e</id>
<content type='text'>
All of Decoder and Encoder's methods now return a Result.

Encodable.encode() and Decodable.decode() return a Result as well.

fixes #12292
</content>
</entry>
<entry>
<title>rename std::vec -&gt; std::slice</title>
<updated>2014-03-20T05:30:27+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2014-03-08T23:11:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ce620320a20baa1428e679c751b1b4a8d8556ca1'/>
<id>urn:sha1:ce620320a20baa1428e679c751b1b4a8d8556ca1</id>
<content type='text'>
Closes #12702
</content>
</entry>
<entry>
<title>arena,std,serialize: remove some unnecessary transmutes.</title>
<updated>2014-02-23T14:15:39+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2014-02-21T12:56:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e8d5aa29e40066b9c247ef252b58c2092ecdfae'/>
<id>urn:sha1:9e8d5aa29e40066b9c247ef252b58c2092ecdfae</id>
<content type='text'>
`as`-able transmutes, duplication and manual slice decomposition are
silly.
</content>
</entry>
<entry>
<title>Warn about unnecessary parentheses upon assignment</title>
<updated>2014-02-22T15:32:48+00:00</updated>
<author>
<name>Eduard Bopp</name>
<email>eduard.bopp@aepsil0n.de</email>
</author>
<published>2014-02-18T12:40:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9982de6397197a63a093e7b79851d1915ef783d7'/>
<id>urn:sha1:9982de6397197a63a093e7b79851d1915ef783d7</id>
<content type='text'>
Closes #12366.

Parentheses around assignment statements such as

    let mut a = (0);
    a = (1);
    a += (2);

are not necessary and therefore an unnecessary_parens warning is raised when
statements like this occur.

The warning mechanism was refactored along the way to allow for code reuse
between the routines for checking expressions and statements.

Code had to be adopted throughout the compiler and standard libraries to comply
with this modification of the lint.
</content>
</entry>
<entry>
<title>Mass rename if_ok! to try!</title>
<updated>2014-02-20T17:16:52+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-02-19T18:07:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7bb498bd7a09f024fe46fc58ea17fe44cbc68df0'/>
<id>urn:sha1:7bb498bd7a09f024fe46fc58ea17fe44cbc68df0</id>
<content type='text'>
This "bubble up an error" macro was originally named if_ok! in order to get it
landed, but after the fact it was discovered that this name is not exactly
desirable.

The name `if_ok!` isn't immediately clear that is has much to do with error
handling, and it doesn't look fantastic in all contexts (if if_ok!(...) {}). In
general, the agreed opinion about `if_ok!` is that is came in as subpar.

The name `try!` is more invocative of error handling, it's shorter by 2 letters,
and it looks fitting in almost all circumstances. One concern about the word
`try!` is that it's too invocative of exceptions, but the belief is that this
will be overcome with documentation and examples.

Close #12037
</content>
</entry>
<entry>
<title>move extra::test to libtest</title>
<updated>2014-02-20T08:03:58+00:00</updated>
<author>
<name>Liigo Zhuang</name>
<email>com.liigo@gmail.com</email>
</author>
<published>2014-02-14T01:49:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=53b9d1a3248143aafe421566ba31742579da9722'/>
<id>urn:sha1:53b9d1a3248143aafe421566ba31742579da9722</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove duplicate function from std::ptr (is_null, is_not_null, offset, mut_offset)</title>
<updated>2014-02-13T20:54:17+00:00</updated>
<author>
<name>JeremyLetang</name>
<email>letang.jeremy@gmail.com</email>
</author>
<published>2014-02-10T21:50:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=60bc76fb78d226078a901efd94f61463c0d93b9a'/>
<id>urn:sha1:60bc76fb78d226078a901efd94f61463c0d93b9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Move byteswap functions to mem</title>
<updated>2014-02-09T08:17:41+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2014-02-09T08:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=073b655187916e9155d285efc496cfd89104796c'/>
<id>urn:sha1:073b655187916e9155d285efc496cfd89104796c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pull extra::{serialize, ebml} into a separate libserialize crate</title>
<updated>2014-02-05T18:38:22+00:00</updated>
<author>
<name>Jeff Olson</name>
<email>olson.jeffery@gmail.com</email>
</author>
<published>2014-02-05T16:52:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b8852e89ced0a0cdf66963aba08382ff18fd2d4b'/>
<id>urn:sha1:b8852e89ced0a0cdf66963aba08382ff18fd2d4b</id>
<content type='text'>
- `extra::json` didn't make the cut, because of `extra::json` required
   dep on `extra::TreeMap`. If/when `extra::TreeMap` moves out of `extra`,
   then `extra::json` could move into `serialize`
- `libextra`, `libsyntax` and `librustc` depend on the newly created
  `libserialize`
- The extensions to various `extra` types like `DList`, `RingBuf`, `TreeMap`
  and `TreeSet` for `Encodable`/`Decodable` were moved into the respective
  modules in `extra`
- There is some trickery, evident in `src/libextra/lib.rs` where a stub
  of `extra::serialize` is set up (in `src/libextra/serialize.rs`) for
  use in the stage0 build, where the snapshot rustc is still making
  deriving for `Encodable` and `Decodable` point at extra. Big props to
  @huonw for help working out the re-export solution for this

extra: inline extra::serialize stub

fix stuff clobbered in rebase + don't reexport serialize::serialize

no more globs in libserialize

syntax: fix import of libserialize traits

librustc: fix bad imports in encoder/decoder

add serialize dep to librustdoc

fix failing run-pass tests w/ serialize dep

adjust uuid dep

more rebase de-clobbering for libserialize

fixing tests, pushing libextra dep into cfg(test)

fix doc code in extra::json

adjust index.md links to serialize and uuid library
</content>
</entry>
</feed>
