about summary refs log tree commit diff
path: root/src/libstd/json.rs
AgeCommit message (Collapse)AuthorLines
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-3/+3
notation. rs=delifetiming
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-10/+10
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-43/+43
2013-03-08Fix dvec-related fallout in testsAlex Crichton-6/+3
2013-03-08std: Remove uses of DVecAlex Crichton-1/+0
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-144/+177
2013-03-07De-implicit-self libstdBen Striegel-43/+43
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-3/+3
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-05core: convert vec::{last,last_opt} to return referencesErick Tryzelaar-1/+1
2013-02-28Fix implicit leaks of imports throughout librariesAlex Crichton-0/+1
Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub'
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-4/+4
2013-02-21Cleanup, commenting, trivial renamingJohn Clements-2/+0
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-8/+8
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-4/+4
slipped through. r=tjc
2013-02-15libstd: Get rid of `move`.Luqman Aden-29/+29
2013-02-14auto merge of #4927 : sanxiyn/rust/remove-dvec, r=catamorphismbors-3/+3
2013-02-14auto merge of #4934 : nickdesaulniers/rust/issue4524cleanup, r=brsonbors-2/+2
review? @brson Issue #4524
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-29/+29
rs=implflipping
2013-02-14Remove all final references to die!Nick Desaulniers-2/+2
2013-02-14Remove DVec from jsonSeo Sanghyeon-3/+3
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-20/+20
2013-02-10added issue for reference in FIXMEJohn Clements-1/+1
2013-02-09json tidyJohn Clements-4/+6
2013-02-09re-special-case Option in JSON encodingJohn Clements-9/+64
2013-02-09json add enum encoder test caseJohn Clements-1/+41
2013-02-09json bugfixJohn Clements-2/+1
2013-02-09tidyJohn Clements-6/+6
2013-02-09json bugfixesJohn Clements-10/+7
2013-02-09fix typos in sample code, add enum to json encoder, add test caseJohn Clements-2/+8
2013-02-09auto merge of #4848 : nikomatsakis/rust/issue-4821-bad-kind-computation, ↵bors-1/+1
r=catamorphism ...ear values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes #4821. r? @catamorphism
2013-02-08Fix subtle error in caching during kind computation that could cause linearNiko Matsakis-1/+1
values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes #4821.
2013-02-07implement BaseIter for LinearMapDaniel Micay-5/+5
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-1/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-06remove issue #3148 workarounds (no longer needed)Daniel Micay-8/+0
2013-02-03core: convert ToStr::to_str to take explicit &selfErick Tryzelaar-2/+2
2013-02-03Merge remote-tracking branch 'thestinger/old_map' into incomingBrian Anderson-12/+0
Conflicts: src/test/bench/core-map.rs
2013-02-03Converted the floating point types to the new string conversion functions.Marvin Löbel-2/+2
Also fixed all conflicting calls of the old functions in the rest of the codebase. The set of string conversion functions for each float type now consists of those items: - to_str(), converts to number in base 10 - to_str_hex(), converts to number in base 16 - to_str_radix(), converts to number in given radix - to_str_exact(), converts to number in base 10 with a exact number of trailing digits - to_str_digits(), converts to number in base 10 with a maximum number of trailing digits - implementations for to_str::ToStr and num::ToStrRadix - from_str(), parses a string as number in base 10 including decimal exponent and special values - from_str_hex(), parses a string as a number in base 16 including binary exponent and special values - from_str_radix(), parses a string as a number in a given base excluding any exponent and special values - implementations for from_str::FromStr and num::FromStrRadix
2013-02-03rm commented out std::map code from json moduleDaniel Micay-12/+0
it was replaced by LinearMap
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-21/+21
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-0/+1
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-25register snapshotsGraydon Hoare-26/+0
2013-01-23Merge pull request #4594 from thestinger/mapTim Chevalier-10/+10
more work on the map trait and TreeMap/LinearMap
2013-01-23fix testsDaniel Micay-1/+1
2013-01-23switch LinearMap to current constructor conventionDaniel Micay-8/+8
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-3/+5
2013-01-23rename hashmap find_ref/get_ref -> find/getDaniel Micay-2/+2
2013-01-23rename send_map to hashmapDaniel Micay-2/+2
This makes the module much more discoverable, and is in line with the 'treemap' naming.
2013-01-14Add cfg attrs to handle auto_encode transitionBrian Anderson-0/+26
2013-01-14Merge remote-tracking branch 'mneumann/f-serialize'Brian Anderson-3/+3
2013-01-10std: Fix pattern match on reference, address an XXXTim Chevalier-18/+16