<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/ext/auto_encode.rs, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2013-11-26T04:13:17+00:00</updated>
<entry>
<title>rustc: Add lint for obsolete attributes</title>
<updated>2013-11-26T04:13:17+00:00</updated>
<author>
<name>klutzy</name>
<email>klutzytheklutzy@gmail.com</email>
</author>
<published>2013-11-06T03:16:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f7bfac9d28340b3eda0291dd01b7914c77a88ae'/>
<id>urn:sha1:1f7bfac9d28340b3eda0291dd01b7914c77a88ae</id>
<content type='text'>
This also moves `#[auto_{en,de}code]` checker from syntax to lint.
</content>
</entry>
<entry>
<title>Modernized a few type names in rustc and syntax</title>
<updated>2013-09-01T12:43:26+00:00</updated>
<author>
<name>Marvin Löbel</name>
<email>loebel.marvin@gmail.com</email>
</author>
<published>2013-08-31T16:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=539f37925c4364aa46e984df6ae2ec7e66cecc21'/>
<id>urn:sha1:539f37925c4364aa46e984df6ae2ec7e66cecc21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syntax: modernise attribute handling in syntax::attr.</title>
<updated>2013-07-19T15:06:16+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2013-07-19T11:51:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc760a647ac0094814f592d08813ebae0b3bec47'/>
<id>urn:sha1:cc760a647ac0094814f592d08813ebae0b3bec47</id>
<content type='text'>
This does a number of things, but especially dramatically reduce the
number of allocations performed for operations involving attributes/
meta items:

- Converts ast::meta_item &amp; ast::attribute and other associated enums
  to CamelCase.
- Converts several standalone functions in syntax::attr into methods,
  defined on two traits AttrMetaMethods &amp; AttributeMethods. The former
  is common to both MetaItem and Attribute since the latter is a thin
  wrapper around the former.
- Deletes functions that are unnecessary due to iterators.
- Converts other standalone functions to use iterators and the generic
  AttrMetaMethods rather than allocating a lot of new vectors (e.g. the
  old code would have to allocate a new vector to use functions that
  operated on &amp;[meta_item] on &amp;[attribute].)
- Moves the core algorithm of the #[cfg] matching to syntax::attr,
  similar to find_inline_attr and find_linkage_metas.

This doesn't have much of an effect on the speed of #[cfg] stripping,
despite hugely reducing the number of allocations performed; presumably
most of the time is spent in the ast folder rather than doing attribute
checks.

Also fixes the Eq instance of MetaItem_ to correctly ignore spaces, so
that `rustc --cfg 'foo(bar)'` now works.
</content>
</entry>
<entry>
<title>syntax/ext: modernise ext_ctxt to be CamelCase and use new.</title>
<updated>2013-05-21T14:04:10+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2013-05-17T11:27:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4045da9f4f7290b02bee52caa42504e4ce5406f7'/>
<id>urn:sha1:4045da9f4f7290b02bee52caa42504e4ce5406f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)].</title>
<updated>2013-05-15T22:55:57+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2013-05-15T22:55:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5dc5efefd47527067ab5b7862d89a99da4824f49'/>
<id>urn:sha1:5dc5efefd47527067ab5b7862d89a99da4824f49</id>
<content type='text'>
Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute
and remove the majority of the actual code, leaving stubs to refer the user to
the new syntax.
</content>
</entry>
<entry>
<title>auto merge of #6487 : recrack/rust/vec_len, r=thestinger</title>
<updated>2013-05-15T14:38:07+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2013-05-15T14:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e8261009948ed1cfbbdaf4ecc3fadef795b27b7'/>
<id>urn:sha1:4e8261009948ed1cfbbdaf4ecc3fadef795b27b7</id>
<content type='text'>
Rename vec::len(var) to var.len()

```
libcore, libfuzzer, librustc, librustdoc, libstd, libsyntax
test/auxiliary
test/bench
test/run-pass
```

</content>
</entry>
<entry>
<title>rustc: rename ast::self_ty and related fields to explicit_self</title>
<updated>2013-05-15T03:10:46+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-04-30T15:49:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=18f6a51d0ae87fbd4b8e62c567d121aa065dc4d3'/>
<id>urn:sha1:18f6a51d0ae87fbd4b8e62c567d121aa065dc4d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename vec::len(var) to var.len()</title>
<updated>2013-05-15T02:05:28+00:00</updated>
<author>
<name>Youngmin Yoo</name>
<email>youngmin.yoo@samsung.com</email>
</author>
<published>2013-05-14T09:52:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a2a8596c3dd963e7b51f11998cffc46033bf6d63'/>
<id>urn:sha1:a2a8596c3dd963e7b51f11998cffc46033bf6d63</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syntax: Remove #[allow(vecs_implicitly_copyable)]</title>
<updated>2013-05-14T16:24:43+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-05-12T04:25:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=92d39fe4d5e5ad3d2c2dcafe45eaf6e23edddfd7'/>
<id>urn:sha1:92d39fe4d5e5ad3d2c2dcafe45eaf6e23edddfd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use static string with fail!() and remove fail!(fmt!())</title>
<updated>2013-05-14T14:36:23+00:00</updated>
<author>
<name>Björn Steinbrink</name>
<email>bsteinbr@gmail.com</email>
</author>
<published>2013-05-05T22:18:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bdc182cc41c2741edc6fdc4ec09b8522479aab40'/>
<id>urn:sha1:bdc182cc41c2741edc6fdc4ec09b8522479aab40</id>
<content type='text'>
fail!() used to require owned strings but can handle static strings
now. Also, it can pass its arguments to fmt!() on its own, no need for
the caller to call fmt!() itself.
</content>
</entry>
</feed>
