about summary refs log tree commit diff
path: root/src/libstd/ebml.rs
AgeCommit message (Collapse)AuthorLines
2013-03-07De-implicit-self libstdBen Striegel-21/+21
2013-03-04Remove unused imports throughout src/Alex Crichton-6/+0
2013-03-02Remove REC, change related tests/docsJihyun Yu-2/+2
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-3/+3
2013-02-15auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brsonbors-3/+5
Issue #3869 review? @nikomatsakis Convert all uses of vec::slice to vec::view Issue #3869 Rename const_view to const_slice Renamed mut_view to mut_slice Fix windows build error. `buf` is borrowed by the call to `as_mut_buf()` and so we must invoke `slice()` outside of that call.
2013-02-15libstd: Get rid of `move`.Luqman Aden-2/+2
2013-02-14Convert all uses of vec::slice to vec::view Issue #3869Nick Desaulniers-3/+5
Rename const_view to const_slice Renamed mut_view to mut_slice
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-3/+3
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-19/+19
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-2/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-04std: Stamp out structural recordsTim Chevalier-5/+10
See #4665
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-21/+22
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-13/+0
2013-01-14Add cfg attrs to handle auto_encode transitionBrian Anderson-0/+13
2013-01-14Merge remote-tracking branch 'mneumann/f-serialize'Brian Anderson-2/+2
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-3/+15
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-15/+3
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-3/+15
module scope. r=tjc
2012-12-27libstd: Fix a bunch of resolve errors in tests. rs=firePatrick Walton-0/+6
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-2/+18
contain at least two components. r=graydon
2012-12-27Enhance auto_encode to take number of struct fieldsMichael Neumann-2/+2
emit_struct and read_struct takes an additional len:uint parameter which tells us how many fields the struct we are working on has. This is required to implement an Encoder for the msgpack [1] serialization format. To serialize a struct with msgpack you have to use arrays and the size of the array has to be know before each of the elements are written out. JSON as an example doesn't have this problem as it uses '[' and ']' delimiters for arrays. [1]: www.msgpack.org
2012-12-19Remove serialize::traits submodule.Erick Tryzelaar-1/+1
2012-12-18Stop resolving static methods at the module level. Closes #4179Brian Anderson-1/+1
2012-12-17Switch from serialization to std::serialize. (snapshot)Erick Tryzelaar-25/+25
2012-12-10Minor cleanups to pipes and serializationBrian Anderson-3/+2
2012-12-09Remove transitional codeBrian Anderson-10/+0
2012-12-06Rename std::ebml::Reader => std::ebml::reader, same for writerTim Chevalier-5/+5
Closes #4076
2012-12-04librustc: Implement explicit self for Add and Index; add a hack in the ↵Patrick Walton-0/+10
borrow checker to support this. r=nmatsakis
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-24Long linesTim Chevalier-8/+16
2012-11-24Split EBML module into a reader and a writer moduleTim Chevalier-466/+474
Minor refactoring, no review. Closes #2739
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-187/+207
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-7/+8
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-03De-export std::{ebml, ebml2}. Part of #3583.Graydon Hoare-47/+22
2012-10-02libstd: Switch off legacy modes in both core and std.Patrick Walton-4/+4
2012-10-01Demode ebml, ebml2, json, parTim Chevalier-4/+4
2012-09-28demode vecNiko Matsakis-1/+1
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-25Demode dvecTim Chevalier-1/+1
2012-09-18libcore: make a copyless io::BytesWriterErick Tryzelaar-4/+5
2012-09-18Replace uses of 'unchecked' with 'unsafe'Brian Anderson-1/+1
2012-09-11Introduce auto adjustment table to subsume autoderef/autoref/borrowings.Niko Matsakis-1/+19
Fixes #3261 Fixes #3443
2012-09-10Fix ebml testsBrian Anderson-4/+4
2012-09-10Camel case std::serializationBrian Anderson-2/+2
2012-09-10Make remaining moves explicit in libstdTim Chevalier-1/+1
2012-09-04libstd: "import" -> "use"Patrick Walton-2/+2
2012-09-02Camel case core::opsBrian Anderson-1/+1
2012-09-02std: warn(non_camel_case_types) everywhere. still some exceptionsBrian Anderson-2/+0
2012-08-29std: Camel case some constructorsBrian Anderson-3/+2