about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2013-01-15librustc: Make the default sigil for block lambdas `&` instead of `@`.Graydon Hoare-4/+7
2013-01-14convert ast::{field_,capture_item_,mt} and middle::ty::mt into structsErick Tryzelaar-32/+77
2013-01-14Convert ast::{pat,field_pat,local_,arm} into structsErick Tryzelaar-113/+160
2013-01-14convert ast::blk_ into a structErick Tryzelaar-66/+109
2013-01-14convert ast::crate_ into a struct.Erick Tryzelaar-12/+13
2013-01-14convert ast::pat_list_ident_ to a structErick Tryzelaar-2/+6
2013-01-14convert ast::attribute_ and ast::view_item to a structErick Tryzelaar-31/+50
2013-01-14convert ast::struct_field_ into a structErick Tryzelaar-17/+23
2013-01-14convert ast::struct_def to a structErick Tryzelaar-8/+8
2013-01-14convert ast::item into a structErick Tryzelaar-27/+36
2013-01-14convert ast::struct_dtor_ into a structErick Tryzelaar-20/+28
2013-01-14convert ast::foreign_item to a structErick Tryzelaar-34/+39
2013-01-14change ast::ty_param into a struct.Erick Tryzelaar-10/+14
2013-01-14Convert ast::def_id into a struct.Erick Tryzelaar-2/+7
2013-01-14Change ast::path into a struct.Erick Tryzelaar-65/+128
2013-01-14Merge pull request #4491 from jbclements/removed-ast-self-importTim Chevalier-8/+7
removed self-import (minor cleanup)
2013-01-14removed self-import (minor cleanup)John Clements-8/+7
2013-01-14syntax/rustc: Eliminate some bad copiesTim Chevalier-11/+12
r=pcwalton
2013-01-14Merge remote-tracking branch 'mneumann/f-serialize'Brian Anderson-2/+4
2013-01-11libsyntax: Fix name generation in condition! macroAndrew Paseltiner-1/+1
2013-01-11Make ast_util::path_name_i take a slice vector, eliminate a bad copyTim Chevalier-1/+1
2013-01-10librustc: Implement a #[no_mangle] attribute to suppress name mangling. r=brsonPatrick Walton-2/+9
This is very helpful for SDL, as SDL wants you to define a function named `SDL_main`.
2013-01-10librustc: Implement `&static` as the replacement for `Durable`. r=nmatsakisPatrick Walton-23/+45
2013-01-10librustc: Allow the type parameter version of `Self` to be spelled with a ↵Patrick Walton-9/+38
capital S
2013-01-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-143/+166
- Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton
2013-01-09core: rename vec.filter to vec.filteredErick Tryzelaar-7/+8
2013-01-09syntax: convert ast::spanned into a structErick Tryzelaar-170/+183
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-106/+206
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-206/+106
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-106/+206
module scope. r=tjc
2013-01-08Implement GLB algorithm. (Issue #2263)Niko Matsakis-2/+14
r=brson
2013-01-08Rename identifiers that still use 'alt' to use 'match'Lindsey Kuper-9/+9
This'll be less confusing for anyone who works on match in future.
2013-01-05librustc: Remove some string allocations. rs=perfPatrick Walton-7/+7
2013-01-04Rename option::get_default => get_or_default, get_zero => get_or_zeroTim Chevalier-1/+1
2012-12-27librustc: Fix the test runner, the condition system, and core test. rs=bustagePatrick Walton-3/+3
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