about summary refs log tree commit diff
path: root/src/libsyntax/ext/auto_encode.rs
AgeCommit message (Collapse)AuthorLines
2013-01-29libsyntax: De-export libsyntax. rs=deexportingPatrick Walton-5/+2
2013-01-28Link the lifetimes of regions resulting from borrows of theNiko Matsakis-1/+1
contents of other borrowed pointers to the lifetimes of the borrowed value. Fixes #3148. r=catamorphism
2013-01-24remove support for records from auto_encodeErick Tryzelaar-182/+75
2013-01-22Add is_mutbl field to argSeo Sanghyeon-0/+3
2013-01-20Convert many libsyntax records into structsErick Tryzelaar-5/+9
Specifically: ast_map::ctx ast_util::id_range diagnostic::{handler_t,codemap_t} auto_encode::field ext::base::{macro_def,syntax_expander_tt,syntax_expander_tt_item} ext::pipes::proto::next_state
2013-01-20convert the remaining ast record types into structsErick Tryzelaar-11/+11
These are: region,arg,fn_decl,method,_mod,foreign_mod, variant_arg,enum_def_,variant_,trait_ref.
2013-01-20convert ast::ty into a structErick Tryzelaar-14/+23
2013-01-20convert ast::expr into a structErick Tryzelaar-2/+6
2013-01-14convert ast::{field_,capture_item_,mt} and middle::ty::mt into structsErick Tryzelaar-3/+7
2013-01-14Convert ast::{pat,field_pat,local_,arm} into structsErick Tryzelaar-30/+42
2013-01-14convert ast::blk_ into a structErick Tryzelaar-12/+20
2013-01-14convert ast::struct_def to a structErick Tryzelaar-2/+2
2013-01-14convert ast::item into a structErick Tryzelaar-5/+9
2013-01-14change ast::ty_param into a struct.Erick Tryzelaar-2/+2
2013-01-14Change ast::path into a struct.Erick Tryzelaar-7/+29
2013-01-14Merge remote-tracking branch 'mneumann/f-serialize'Brian Anderson-2/+4
2013-01-10librustc: Implement `&static` as the replacement for `Durable`. r=nmatsakisPatrick Walton-2/+2
2013-01-09core: rename vec.filter to vec.filteredErick Tryzelaar-2/+2
2013-01-09syntax: convert ast::spanned into a structErick Tryzelaar-21/+23
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+5
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-5/+1
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+5
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-7/+24
contain at least two components. r=graydon
2012-12-27Enhance auto_encode to take number of struct fieldsMichael Neumann-2/+4
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-2/+0
2012-12-18Another tweak to auto_encode to only use trait-qualified static methodsBrian Anderson-0/+2
2012-12-18Change auto_encode to call 'std::serialize::traits::Decode::decode'Brian Anderson-0/+2
2012-12-13Begin renaming serialization to std::serialize. (snapshot)Erick Tryzelaar-0/+1161