about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-246/+520
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-24bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-3/+3
2012-12-21bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-3/+3
2012-12-19Remove serialize::traits submodule.Erick Tryzelaar-2/+0
2012-12-19Remove the old serialization codeErick Tryzelaar-1036/+0
Closes #3713.
2012-12-19Remove transitional path2 attributeBrian Anderson-16/+10
2012-12-18core: add macro_rules! for "condition! { c: in -> out; }".Graydon Hoare-6/+24
2012-12-18Make #[path] work with absolute paths again. Fix check-fastBrian Anderson-1/+8
2012-12-18Another tweak to auto_encode to only use trait-qualified static methodsBrian Anderson-0/+2
2012-12-18Merge commit 'erickt/incoming^' into kind-namesBrian Anderson-2/+2
2012-12-18Change auto_encode to call 'std::serialize::traits::Decode::decode'Brian Anderson-0/+2
2012-12-17Change iter::find's closure to take a refErick Tryzelaar-2/+2
2012-12-17Switch from serialization to std::serialize. (snapshot)Erick Tryzelaar-193/+187
2012-12-17Make the path and path2 attributes equivalent. Remove some usesBrian Anderson-22/+5
2012-12-17Add support for destructuring vectors in match expressionsJakub Wieczorek-2/+73
2012-12-13Begin renaming serialization to std::serialize. (snapshot)Erick Tryzelaar-134/+1171
2012-12-13librustc: Allow moves out of `self`. r=nmatsakisPatrick Walton-6/+13
2012-12-13libsyntax: Implement `deriving` for struct-like enum variants. r=brsonPatrick Walton-16/+56
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-57/+55
2012-12-13syntax: normalize paths when parsing, close #4173.Graydon Hoare-0/+1
2012-12-12syntax: remove remaining #syntaxext machinery. Close #3516.Graydon Hoare-251/+144
2012-12-12syntax: remove most code handling old-style syntax extensions.Graydon Hoare-1041/+27
2012-12-12syntax: remove all remaining uses of #ast, and #ast / qquote itself.Graydon Hoare-385/+7
2012-12-11re-fix typoTim Chevalier-1/+1
2012-12-11fix long line, r=tidypolice.Graydon Hoare-3/+4
2012-12-11Fix deriving for single-variant enumsBrian Anderson-20/+24
2012-12-11Relate the module hierarchy to directory paths in the parserBrian Anderson-4/+29
Introduces a temporary 'path2' attribute that will replace 'path' after a snapshot
2012-12-11Revert "Merge pull request #4144 from luqmana/deprecated-attribute"Tim Chevalier-1/+1
This reverts commit f675b97ddc3d85498473bb4da7f95b8942ebbd81, reversing changes made to e7dd3af970b44c09a429d02d60fd44b9f8ec45bd.
2012-12-10Merge pull request #4144 from luqmana/deprecated-attributeTim Chevalier-1/+1
Add deprecated attribute.
2012-12-10Remove un-needed code for obsolete classesTim Chevalier-135/+74
and rename "class" to "struct" everywhere possible (except local vars, I was too lazy for that) -- that is why this commit is so big. No review, just dead code removal and renaming. Closes #3515
2012-12-10Adjust the die macro to only accept ~str and to work in statement positionBrian Anderson-13/+2
2012-12-10Add license boilerplate to more files.Graydon Hoare-0/+10
2012-12-09Remove transitional codeBrian Anderson-153/+0
2012-12-09Add deprecated attribute.Luqman Aden-1/+1
2012-12-07librustc: De-mode pattern bindings. r=nmatsakisPatrick Walton-13/+9
2012-12-07libsyntax: Fix parsing of module-qualified structure patterns. rs=bugfixPatrick Walton-29/+1
2012-12-07librustc: Implement "&mut [T]" as an expression. r=brsonPatrick Walton-2/+10
2012-12-07Fix pretty-printing of trait constraintsBrian Anderson-3/+5
2012-12-07Trait constraints are separated by space, not commaBrian Anderson-1/+1
2012-12-07Remove impl_id from trait_ref. UnusedBrian Anderson-13/+4
2012-12-07syntax: try to fix pattern printing yet again, r=burningtree.Graydon Hoare-21/+30
2012-12-07syntax: try to fix pattern printing harder, r=burningtree.Graydon Hoare-20/+35
2012-12-07syntax: pretty print bind_by_value patterns as "copy", r=burningtree.Graydon Hoare-2/+4
2012-12-07syntax: stage0-guard uses of #ast, rewrite as quote_foo! in stage1,2.Graydon Hoare-97/+122
2012-12-07syntax: fix missing push in item macro expansionGraydon Hoare-5/+9
2012-12-07syntax: Permit splicing anything into a quote that implements ToTokens.Graydon Hoare-7/+190
2012-12-07syntax: fix quote_type! to quote_ty!Graydon Hoare-6/+6
2012-12-07syntax: point quote tokens at the site of quote-using-extension invocation.Graydon Hoare-89/+120
2012-12-07syntax: fix the accidental binding of interner state between parse and quote.Graydon Hoare-10/+6