| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -2/+2 | |
| 2013-12-07 | syntax::deriving: add the cx and span to the TraitDef to reduce duplication. | Huon Wilson | -1/+3 | |
| 2013-11-28 | Register new snapshots | Alex Crichton | -1/+1 | |
| 2013-11-19 | Mark some derived methods as #[inline]. | Huon Wilson | -0/+4 | |
| ToStr, Encodable and Decodable are not marked as such, since they're already expensive, and lead to large methods, so inlining will bloat the metadata & the binaries. This means that something like #[deriving(Eq)] struct A { x: int } creates an instance like #[doc = "Automatically derived."] impl ::std::cmp::Eq for A { #[inline] fn eq(&self, __arg_0: &A) -> ::bool { match *__arg_0 { A{x: ref __self_1_0} => match *self { A{x: ref __self_0_0} => true && __self_0_0.eq(__self_1_0) } } } #[inline] fn ne(&self, __arg_0: &A) -> ::bool { match *__arg_0 { A{x: ref __self_1_0} => match *self { A{x: ref __self_0_0} => false || __self_0_0.ne(__self_1_0) } } } } (The change being the `#[inline]` attributes.) | ||||
| 2013-10-02 | std: Swap {To,From}Primitive to use the 64bit as the unimplemented version | Erick Tryzelaar | -6/+6 | |
| One downside with this current implementation is that since BigInt's default is now 64 bit, we can convert larger BigInt's to a primitive, however the current implementation on 32 bit architectures does not take advantage of this fact. | ||||
| 2013-10-02 | syntax: swap from .span_fatal to .span_err in #[deriving(FromPrimitive)] | Erick Tryzelaar | -7/+14 | |
| 2013-10-02 | syntax: Add #[deriving(FromPrimitive)] syntax extension | Erick Tryzelaar | -0/+120 | |
| Right now this only works for c-style enums. | ||||
