summary refs log tree commit diff
path: root/src/libextra/serialize.rs
AgeCommit message (Collapse)AuthorLines
2014-01-08std::trie: remove some obsolete internal iterators.Huon Wilson-14/+8
2014-01-03libstd: Remove all support code related to `@mut`Patrick Walton-12/+0
2013-12-11Make 'self lifetime illegal.Erik Price-3/+3
Also remove all instances of 'self within the codebase. This fixes #10889.
2013-11-26librustuv: Remove all non-`proc` uses of `do` from `libextra` andPatrick Walton-78/+78
`librustuv`.
2013-11-25Add an implementation of Encodable and Decodable for Rc. This will be needed ↵Léo Testard-0/+15
to use Rc in place of @ in libsyntax.
2013-11-19libextra: Convert uses of `&fn(A)->B` to `|A|->B`.Patrick Walton-42/+39
2013-10-01remove the `float` typeDaniel Micay-14/+0
It is simply defined as `f64` across every platform right now. A use case hasn't been presented for a `float` type defined as the highest precision floating point type implemented in hardware on the platform. Performance-wise, using the smallest precision correct for the use case greatly saves on cache space and allows for fitting more numbers into SSE/AVX registers. If there was a use case, this could be implemented as simply a type alias or a struct thanks to `#[cfg(...)]`. Closes #6592 The mailing list thread, for reference: https://mail.mozilla.org/pipermail/rust-dev/2013-July/004632.html
2013-08-03remove obsolete `foreach` keywordDaniel Micay-18/+18
this has been replaced by `for`
2013-08-02replace `range` with an external iteratorDaniel Micay-9/+8
2013-08-01std: Replace `for` with `do { .. }` expr where internal iterators are usedblake2-ppc-4/+6
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-10/+10
2013-07-21serialize: implement Encodable for DListblake2-ppc-0/+13
This impl was missing for unknown reason.
2013-07-18librustc: Forbid `&` pointers (other than `&'static`) inside `@` boxes.Patrick Walton-2/+2
This makes custom borrowing implementations for custom smart pointers sound.
2013-07-17libsyntax: Remove some multi-gigabyte clones that were preventing ↵Patrick Walton-12/+12
bootstrapping on Windows.
2013-07-17librustc: Remove all uses of the `Copy` bound.Patrick Walton-4/+1
2013-07-11dlist: Name the type DList for doubly-linked listblake2-ppc-5/+5
2013-07-11extra: Rename deque::Deque to ringbuf::RingBuf and impl trait Dequeblake2-ppc-6/+7
Let RingBuf have a logical name for a concrete type, and Deque is used for the Deque trait (implemented by RingBuf and dlist).
2013-07-11dlist: A new implementation of an owned doubly-linked listblake2-ppc-8/+8
This is an owned sendable linked list which allows insertion and deletion at both ends, with fast traversal through iteration, and fast append/prepend. It is indended to replace the previous managed DList with exposed list nodes. It does not match it feature by feature, but DList could grow more methods if needed.
2013-07-06deque: Remove obsolete methods .each() and .eachi()blake2-ppc-1/+1
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-6/+5
2013-06-26treemap: remove .each in favor of .iter().advanceRamkumar Ramachandra-2/+2
Both extra::treemap::TreeMap and extra::treemap::TreeSet have corresponding iterators TreeMapIterator and TreeSetIterator. Unfortunately, the tests and extra::serialize use the older .each. Update all the dependent code, and remove .each. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-06-25remove `each` from vec, HashMap and HashSetDaniel Micay-2/+2
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-4/+4
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-05-31Implement unimplemented methods in ebmlAlex Crichton-0/+12
2013-05-30libextra: Require documentation by defaultAlex Crichton-0/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+3
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+907
This only changes the directory names; it does not change the "real" metadata names.