| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-04-25 | Made fail! and assert! accept both &'static str and ~str, as well as a fmt! ↵ | Marvin Löbel | -17/+34 | |
| like format list. Unwinding through macros now happens as a call to the trait function `FailWithCause::fail_with()`, which consumes self, allowing to use a more generic failure object in the future. | ||||
| 2013-04-25 | Rename vec::mod2 to vec::mod_zip | Corey Richardson | -3/+3 | |
| 2013-04-24 | Merge remote-tracking branch 'brson/io' | Brian Anderson | -1/+1 | |
| Conflicts: src/libcore/rt/uvio.rs | ||||
| 2013-04-24 | Remove needless FIXME. Fixes #2811. | Niko Matsakis | -2/+0 | |
| 2013-04-23 | Merge remote-tracking branch 'brson/io' | Brian Anderson | -1/+1 | |
| This also reverts some changes to TLS that were leaking memory. Conflicts: src/libcore/rt/uv/net.rs src/libcore/task/local_data_priv.rs src/libcore/unstable/lang.rs | ||||
| 2013-04-22 | auto merge of #6007 : pcwalton/rust/use-mod, r=brson | bors | -1/+0 | |
| r? @brson | ||||
| 2013-04-22 | Make conditions public. #6009 | Brian Anderson | -1/+1 | |
| 2013-04-22 | librustc: Remove `use mod` from the language | Patrick Walton | -1/+0 | |
| 2013-04-20 | syntax: remove unused 'mut' variables | Alex Crichton | -3/+5 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -157/+157 | |
| 2013-04-16 | added MTWT functions | John Clements | -0/+47 | |
| 2013-04-12 | auto merge of #5827 : ↵ | bors | -0/+13 | |
| nikomatsakis/rust/issue-5656-change-meaning-of-borrowed-self, r=pcwalton See #5656 for details. r? @pcwalton | ||||
| 2013-04-12 | libsyntax: another fix for deriving on windows. | Huon Wilson | -2/+1 | |
| 2013-04-12 | libsyntax: (maybe) fix deriving(TotalOrd) on windows | Huon Wilson | -6/+6 | |
| 2013-04-12 | libsyntax: short-circuit on non-matching variants in deriving code. | Huon Wilson | -81/+151 | |
| Allow a deriving instance using the generic code to short-circuit for any non-matching enum variants (grouping them all into a _ match), reducing the number of arms required. Use this to speed up the Eq & TotalEq implementations. | ||||
| 2013-04-12 | libsyntax: derive Clone, Eq, TotalEq, Ord, TotalOrd with the new generic ↵ | Huon Wilson | -761/+411 | |
| deriving code. Closes #4269, #5588 and #5589. | ||||
| 2013-04-12 | libsyntax: abstract most of the deriving boilerplate into a simpler(r) ↵ | Huon Wilson | -42/+915 | |
| interface. Pulls out many of the common patterns from the Eq and Clone deriving code (and invents a few of its own), so that deriving instances are very easy to write for a certain class of traits. (Basically, those which don't have parameters and where all methods only take arguments of type `&Self` and return either `Self` or types with no parameters.) | ||||
| 2013-04-10 | Issue #5656: Make &self not mean "&'self self" | Niko Matsakis | -0/+13 | |
| Fixes #5656. Fixes #5541. | ||||
| 2013-04-10 | syntax: add {read,emit}_enum_struct_variant{,_field} | Erick Tryzelaar | -0/+8 | |
| 2013-04-10 | std: add serialize {read,emit}_tuple{,_arg,_struct,_struct_arg} | Erick Tryzelaar | -0/+14 | |
| 2013-04-10 | syntax: add support for #[deriving(Decodable)] | Erick Tryzelaar | -7/+510 | |
| 2013-04-10 | syntax: add support for #[deriving(Encodable)] | Erick Tryzelaar | -8/+455 | |
| 2013-04-10 | syntax: Simplify deriving to handle classes that take generics, like Encodable | Erick Tryzelaar | -34/+28 | |
| 2013-04-10 | std: rename {read,emit}_field to {read,emit}_struct_field | Erick Tryzelaar | -5/+5 | |
| 2013-04-10 | std: clean up the order of {De,En}codable methods | Erick Tryzelaar | -7/+7 | |
| 2013-04-10 | syntax: update a deriving error message to use the new syntax | Erick Tryzelaar | -5/+3 | |
| 2013-04-10 | path -> Path | John Clements | -35/+35 | |
| 2013-04-05 | Fix various warnings, NOTEs, etc | Niko Matsakis | -1/+1 | |
| 2013-04-05 | Refactor so that references to traits are not represented using a type with a | Niko Matsakis | -11/+20 | |
| bare function store (which is not in fact a kind of value) but rather ty::TraitRef. Removes many uses of fail!() and other telltale signs of type-semantic mismatch. cc #4183 (not a fix, but related) | ||||
| 2013-04-03 | auto merge of #5696 : thestinger/rust/hashmap, r=sanxiyn | bors | -19/+19 | |
| This naming is free now that `oldmap` has finally been removed, so this is a search-and-replace to take advantage of that. It might as well be called `HashMap` instead of being named after the specific implementation, since there's only one. SipHash distributes keys so well that I don't think there will ever be much need to use anything but a simple hash table with open addressing. If there *is* a better way to do it, it will probably be better in all cases and can just be the default implementation. A cuckoo-hashing implementation combining a weaker hash with SipHash could be useful, but that won't be as general purpose - you would need to write a separate fast hash function specialized for the type to really take advantage of it (like taking a page from libstdc++/libc++ and just using the integer value as the "hash"). I think a more specific naming for a truly alternative implementation like that would be fine, with the nice naming reserved for the general purpose container. | ||||
| 2013-04-03 | auto merge of #5559 : jbclements/rust/change-to-tt-based-parsing, r=jbclements | bors | -28/+29 | |
| Changes the parser to parse all streams into token-trees before hitting the parser proper, in preparation for hygiene. As an added bonus, it appears to speed up the parser (albeit by a totally imperceptible 1%). Also, many comments in the parser. Also, field renaming in token-trees (readme->forest, cur->stack). | ||||
| 2013-04-03 | rename Linear{Map,Set} => Hash{Map,Set} | Daniel Micay | -19/+19 | |
| 2013-04-03 | hashmap: rm linear namespace | Daniel Micay | -4/+4 | |
| 2013-03-31 | Fix warnings | Brian Anderson | -2/+2 | |
| 2013-03-30 | auto merge of #5630 : erickt/rust/serial, r=erickt | bors | -27/+13 | |
| @nikomatsakis and I were talking about how the serializers were a bit too complicated. None of the users of With the `emit_option` and `read_option` functions, the serializers are now moving more high level. This patch series continues that trend. I've removed support for emitting specific string and vec types, and added support for emitting mapping types. | ||||
| 2013-03-30 | syntax: fix auto_encode test. | Erick Tryzelaar | -4/+4 | |
| 2013-03-29 | Add AbiSet and integrate it into the AST. | Niko Matsakis | -1/+3 | |
| I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8. | ||||
| 2013-03-29 | Merge remote-tracking branch 'remotes/origin/incoming' into serial | Erick Tryzelaar | -15/+2 | |
| 2013-03-29 | Merge remote-tracking branch 'remotes/origin/incoming' into serial | Erick Tryzelaar | -3/+3 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -15/+2 | |
| 2013-03-29 | field renaming | John Clements | -28/+29 | |
| 2013-03-29 | Merge remote-tracking branch 'remotes/origin/incoming' into serial | Erick Tryzelaar | -41/+20 | |
| 2013-03-29 | std: add Encoder::emit_map and Decoder::read_map | Erick Tryzelaar | -0/+10 | |
| 2013-03-29 | std: remove Encoder::read_rec and Decoder::emit_rec | Erick Tryzelaar | -3/+0 | |
| 2013-03-29 | std: remove Encoder::emit_tup{,_elt} and Decoder::read_tup{,_elt} | Erick Tryzelaar | -7/+0 | |
| 2013-03-29 | std: remove Encoder::emit_{owned,managed}_vec and ↵ | Erick Tryzelaar | -9/+2 | |
| Decoder::read_{owned,managed}_vec | ||||
| 2013-03-29 | std: remove Encoder::emit_{owned,managed} and Decoder::read_{owned,managed} | Erick Tryzelaar | -4/+0 | |
| 2013-03-29 | std: remove Encoder::emit_{owned,managed}_str and ↵ | Erick Tryzelaar | -4/+1 | |
| Decoder::read_{owned,managed}_str | ||||
| 2013-03-28 | Removing unused imports | Alex Crichton | -41/+20 | |
| 2013-03-28 | auto merge of #5593 : luqmana/rust/inline-asm, r=catamorphism | bors | -3/+13 | |
| Clean things up a bit. Also, allow selecting intel syntax in addition to the default AT&T dialect. | ||||
