summary refs log tree commit diff
path: root/src/test/run-pass/auto-encode.rs
AgeCommit message (Collapse)AuthorLines
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-1/+1
2014-02-25test: Clean out the test suite a bitAlex Crichton-7/+7
This updates a number of ignore-test tests, and removes a few completely outdated tests due to the feature being tested no longer being supported. This brings a number of bench/shootout tests up to date so they're compiling again. I make no claims to the performance of these benchmarks, it's just nice to not have bitrotted code. Closes #2604 Closes #9407
2014-02-21Move time out of extra (cc #8784)Arcterus-1/+1
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-4/+3
2014-02-05pull extra::{serialize, ebml} into a separate libserialize crateJeff Olson-1/+1
- `extra::json` didn't make the cut, because of `extra::json` required dep on `extra::TreeMap`. If/when `extra::TreeMap` moves out of `extra`, then `extra::json` could move into `serialize` - `libextra`, `libsyntax` and `librustc` depend on the newly created `libserialize` - The extensions to various `extra` types like `DList`, `RingBuf`, `TreeMap` and `TreeSet` for `Encodable`/`Decodable` were moved into the respective modules in `extra` - There is some trickery, evident in `src/libextra/lib.rs` where a stub of `extra::serialize` is set up (in `src/libextra/serialize.rs`) for use in the stage0 build, where the snapshot rustc is still making deriving for `Encodable` and `Decodable` point at extra. Big props to @huonw for help working out the re-export solution for this extra: inline extra::serialize stub fix stuff clobbered in rebase + don't reexport serialize::serialize no more globs in libserialize syntax: fix import of libserialize traits librustc: fix bad imports in encoder/decoder add serialize dep to librustdoc fix failing run-pass tests w/ serialize dep adjust uuid dep more rebase de-clobbering for libserialize fixing tests, pushing libextra dep into cfg(test) fix doc code in extra::json adjust index.md links to serialize and uuid library
2014-02-02Update/delete tests using @[].Huon Wilson-3/+0
2014-01-17Tweak the interface of std::ioAlex Crichton-1/+1
* Reexport io::mem and io::buffered structs directly under io, make mem/buffered private modules * Remove with_mem_writer * Remove DEFAULT_CAPACITY and use DEFAULT_BUF_SIZE (in io::buffered)
2014-01-08Remove the io::Decorator traitAlex Crichton-2/+1
This is just an unnecessary trait that no one's ever going to parameterize over and it's more useful to just define the methods directly on the types themselves. The implementors of this type almost always don't want inner_mut_ref() but they're forced to define it as well.
2014-01-03test: De-`@mut` the test suitePatrick Walton-2/+2
2013-12-19Purge @-boxes from the reading half of EBMLAlex Crichton-5/+7
Now that the metadata is an owned value with a lifetime of a borrowed byte slice, it's possible to have future optimizations where the metadata doesn't need to be copied around (very expensive operation).
2013-12-16Update and un-xfail auto-encode testCorey Richardson-42/+34
Closes #6122
2013-07-20rm obsolete no-op lintsDaniel Micay-2/+0
2013-06-16Add copies to type params with Copy boundNiko Matsakis-26/+35
2013-06-14xfail run-pass/auto-encode.rsBrian Anderson-0/+2
2013-05-31Implement unimplemented methods in ebmlAlex Crichton-2/+17
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+2
2013-05-22test: Update tests to use the new syntax.Patrick Walton-8/+8
2013-05-02librustc: Update the serializer to work properly with INHTWAMA, removing ↵Patrick Walton-3/+4
mutable fields in the process
2013-04-10test: update serialization tests to use new macroErick Tryzelaar-14/+7
2013-03-29Merge remote-tracking branch 'remotes/origin/incoming' into serialErick Tryzelaar-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-29std: remove prettyprintErick Tryzelaar-21/+0
Everyone uses fmt!("%?", ...) instead of the prettyprint module, so I'm removing this file.
2013-03-22test: Remove `pure` from the test suitePatrick Walton-8/+8
2013-03-22test: replace uses of old deriving attribute with new oneAndrew Paseltiner-1/+1
2013-03-11test: Remove newtype enums from the test suite. rs=deenumPatrick Walton-15/+0
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-2/+2
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-4/+4
imports
2013-02-21librustc: Separate the rest of the trait bounds with `+` and stop parsing ↵Patrick Walton-2/+2
space-separated ones. rs=plussing
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-1/+1
2013-02-15tests/tutorials: Get rid of `move`.Luqman Aden-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-5/+5
rs=implflipping
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2013-01-30Remove oldcomm from the test suiteBrian Anderson-1/+1
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-5/+0
definitions. r=tjc
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-7/+4
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-24remove support for records from auto_encodeErick Tryzelaar-12/+16
2012-12-28test: Fix a bunch of run-pass tests. rs=bustagePatrick Walton-2/+2
2012-12-19Remove serialize::traits submodule.Erick Tryzelaar-1/+1
2012-12-18Stop resolving static methods at the module level. Closes #4179Brian Anderson-2/+2
2012-12-17Switch from serialization to std::serialize. (snapshot)Erick Tryzelaar-0/+205