about summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2013-04-14std: remove unused unsafe blocks/functionsAlex Crichton-455/+405
2013-04-13Doc review, as requested :-).Dan Luu-8/+7
Mostly just phrasing things differently, which is a matter of taste. Feel free to use or not use any of the changes I'm suggesting. I would say this one thing should be changed, though, not necessarily the way I changed it here. * Convert any string (literal, `@`, `&`, `~`) * that contains a base64 encoded value, to the byte values it encodes. If this structure is going to be used, either the entire clause, 'that contains a base64 encoded value', should be bracketed by commas, or the comma at the end of the clause should be removed.
2013-04-13move rustdoc comments so that they attach to the functions rather than the ↵Leah Hanson-79/+79
impl blocks.
2013-04-13initial iterator object libraryDaniel Micay-164/+114
2013-04-12Add comments for the implementations of from_base64 and to_base64 for .Leah Hanson-0/+34
2013-04-12auto merge of #5827 : ↵bors-14/+390
nikomatsakis/rust/issue-5656-change-meaning-of-borrowed-self, r=pcwalton See #5656 for details. r? @pcwalton
2013-04-12add rustdoc comments with examples for the string versions of to_base64 and ↵Leah Hanson-0/+45
from_base64
2013-04-11auto merge of #5819 : erickt/rust/incoming, r=ericktbors-71/+279
Good morning, This first patch series adds support for `#[deriving(Decodable, Encodable)]`, but does not yet remove `#[auto_encode]` and `#[auto_decode]`. I need a snapshot to remove the old code. Along the way it also extends support for tuple structs and struct enum variants. Also, it includes a minor fix to the pretty printer. We decided a while ago to use 4 spaces to indent a match arm instead of 2. This updates the pretty printer to reflect that.
2013-04-10libstd: changes to in response to #5656Niko Matsakis-14/+390
2013-04-10syntax: add {read,emit}_enum_struct_variant{,_field}Erick Tryzelaar-4/+67
2013-04-10std: add serialize {read,emit}_tuple{,_arg,_struct,_struct_arg}Erick Tryzelaar-0/+70
2013-04-10std: rename {read,emit}_field to {read,emit}_struct_fieldErick Tryzelaar-5/+81
2013-04-10std: clean up the order of {De,En}codable methodsErick Tryzelaar-81/+80
2013-04-10Bump version to 0.7-preBrian Anderson-2/+2
2013-04-10Revert map.each to something which takes two parametersNiko Matsakis-68/+56
rather than a tuple. The current setup iterates over `BaseIter<(&'self K, &'self V)>` where 'self is a lifetime declared *in the each method*. You can't place such a type in the impl declaration. The compiler currently allows it, but this will not be legal under #5656 and I'm pretty sure it's not sound now.
2013-04-09Bump version to 0.7-preBrian Anderson-2/+2
2013-04-08Removing no longer needed unsafe blocksAlex Crichton-251/+225
2013-04-08Removing some mutable fields in libstdAlex Crichton-92/+91
2013-04-07Impl cmp/num traits for BigUint, BigIntgifnksm-145/+187
TotalEq, TotalOrd, FromStrRadix, ToStrRadix.
2013-04-05libstd: make complex.rs XXX's into issues and FIXME'sHuon Wilson-4/+3
2013-04-05libstd: add basic complex numbersHuon Wilson-0/+318
2013-04-05libstd: add basic rational numbersHuon Wilson-0/+513
2013-04-05libstd: move bigint to dedicated num directoryHuon Wilson-0/+1
2013-04-04Fix fileinput test failILyoan-1/+1
2013-04-03auto merge of #5701 : metajack/rust/net-url-clone, r=thestingerbors-3/+3
2013-04-03Add Clone derivation for std::net::url types.Jack Moffitt-3/+3
2013-04-03rename Linear{Map,Set} => Hash{Map,Set}Daniel Micay-33/+33
2013-04-03hashmap: rm linear namespaceDaniel Micay-6/+6
2013-04-03libstd: make fileinput tests pass.Huon Wilson-3/+5
2013-04-03libstd: implement io::Reader for fileinput.Huon Wilson-126/+271
2013-04-03libstd: implement fileinput.Huon Wilson-0/+465
Iterate over lines in a series of files. API (mostly) adopted from Python's fileinput module.
2013-04-02Removed all uses of Mut from workcache, replaced with @mutMatthijs Hofstra-72/+60
2013-03-31Fix warningsBrian Anderson-2/+1
2013-03-30move dlist from core -> stdDaniel Micay-1/+988
Closes #3549
2013-03-30auto merge of #5630 : erickt/rust/serial, r=ericktbors-690/+772
@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-30std: add more json decoder tests.Erick Tryzelaar-12/+124
2013-03-30std: clean up the json pretty printer testsErick Tryzelaar-88/+71
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-2/+2
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-29std: Add Deque::eachi and a Deque serializer supportErick Tryzelaar-0/+58
2013-03-29Merge remote-tracking branch 'remotes/origin/incoming' into serialErick Tryzelaar-1292/+1292
2013-03-29std: add serialization support for dlist, linearset, triemap, trieset, ↵Erick Tryzelaar-1/+183
treemap, and treeset
2013-03-29Merge remote-tracking branch 'remotes/origin/incoming' into serialErick Tryzelaar-65/+0
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1288/+1288
2013-03-29Register snapshotsBrian Anderson-49/+0
2013-03-29std: fix json deserializing vectors and a testErick Tryzelaar-6/+4
2013-03-29Merge remote-tracking branch 'remotes/origin/incoming' into serialErick Tryzelaar-20/+26
2013-03-29std: add Encoder::emit_map and Decoder::read_mapErick Tryzelaar-103/+253
2013-03-29std: remove Encoder::read_rec and Decoder::emit_recErick Tryzelaar-41/+18
2013-03-29std: remove Encoder::emit_tup{,_elt} and Decoder::read_tup{,_elt}Erick Tryzelaar-50/+0
2013-03-29std: remove Encoder::emit_{owned,managed}_vec and ↵Erick Tryzelaar-115/+76
Decoder::read_{owned,managed}_vec