about summary refs log tree commit diff
path: root/src/libsyntax/ext/pipes/pipec.rs
AgeCommit message (Collapse)AuthorLines
2013-02-28Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-22/+31
2013-02-27auto merge of #5141 : nikomatsakis/rust/region-syntax-expl-lifetimes, ↵bors-22/+31
r=nikomatsakis Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 r? @graydon
2013-02-27Introduce lifetime declarations into the lists of type parameters.Niko Matsakis-22/+31
Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846
2013-02-27Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-3/+3
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-3/+3
2013-02-26libsyntax: remove vecs_implicitly_copyable from the syntax extensionsErick Tryzelaar-4/+4
2013-02-25libsyntax: add explicit modes where required to copy strs/vecsErick Tryzelaar-3/+2
2013-02-22libsyntax: De-mut the parser. rs=demutingPatrick Walton-14/+11
2013-02-22libsyntax: De-mut the pipe compilerPatrick Walton-12/+17
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-21/+23
2013-02-19libsyntax: make enum variants take refsErick Tryzelaar-15/+12
2013-02-17libsyntax: Long lines.Luqman Aden-2/+4
2013-02-17libsyntax: Explicit-self-ify pipes compiler.Luqman Aden-21/+21
2013-02-17libsyntax: Remove last use of structural records in pipes compiler.Luqman Aden-4/+20
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-4/+3
slipped through. r=tjc
2013-02-15libsyntax: Get rid of uses of `move` and don't parse it.Luqman Aden-16/+16
2013-02-04core/syntax: Staging fixesTim Chevalier-28/+0
2013-02-04syntax: Make the pipe compiler stop generating set_buffer_ callsTim Chevalier-2/+2
2013-02-04core/syntax: Add transitional code for pipesTim Chevalier-0/+28
2013-01-31test cases, cleanupJohn Clements-1/+1
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-6/+6
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-4/+4
definitions. r=tjc
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-2/+3
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-24Convert pipes::Buffer into a structErick Tryzelaar-4/+4
2013-01-20Convert many libsyntax records into structsErick Tryzelaar-2/+2
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-5/+10
These are: region,arg,fn_decl,method,_mod,foreign_mod, variant_arg,enum_def_,variant_,trait_ref.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-3/+1
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-45/+50
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-10/+3
2012-12-09Remove transitional codeBrian Anderson-109/+0
2012-12-07syntax: stage0-guard uses of #ast, rewrite as quote_foo! in stage1,2.Graydon Hoare-97/+113
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-6/+6
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-29impls of traits cannot define methods on the anonymous traitBrian Anderson-0/+5
2012-11-20syntax: switch tt quoter to emit ~[tt], not tt.Graydon Hoare-0/+9
2012-11-14Add types for character position and byte position in the codemapBrian Anderson-6/+7
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-4/+4
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-8/+6
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-3/+3
Everything should now call ptr::addr_of instead of ptr::p2::addr_of. Only the pipes macro code when compiled by stage0 will call ptr::p2::addr_of. Needs a snapshot to get rid of that.
2012-09-28Add a demoded version of ptr::addr_ofTim Chevalier-3/+3
Currently, the new version is ptr::p2::addr_of and the old one is ptr::addr_of. This is kind of cheesy, but I need a snapshot before I can ditch the old version, since the pipe compiler generates calls to addr_of. core is converted over to use the new version, std is not.
2012-09-28demode vecNiko Matsakis-2/+2
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-44/+42
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-2/+2
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-1/+2
#[legacy_exports];
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-3/+3
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-5/+3
2012-09-10Make moves explicit in pipes and pipe compilerTim Chevalier-16/+17
2012-09-04libsyntax: "import" -> "use"Patrick Walton-11/+10