about summary refs log tree commit diff
path: root/src/libsyntax/ext/source_util.rs
AgeCommit message (Collapse)AuthorLines
2013-08-10std: Rename Iterator.transform -> .mapErick Tryzelaar-1/+1
cc #5898
2013-08-05Updated std::Option, std::Either and std::ResultMarvin Löbel-3/+3
- Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-1/+1
2013-07-05Do not rely on newtype enum dereferenceSeo Sanghyeon-5/+5
2013-06-30Remove vec::{map, mapi, zip_map} and the methods, except for .map, since thisHuon Wilson-4/+1
is very common, and the replacement (.iter().transform().collect()) is very ugly.
2013-06-25great renaming propagation: syntaxCorey Richardson-5/+3
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-9/+9
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-10std: remove str::{connect,concat}*.Huon Wilson-3/+1
2013-06-06Clean up a handful of build warnings.Michael Sullivan-1/+1
2013-06-05just use TLS internerJohn Clements-1/+2
2013-05-30Remove copy bindings from patterns.Niko Matsakis-2/+2
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+5
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22syntax/ext: convert all AstBuilder methods to a uniform syntax.Huon Wilson-8/+8
2013-05-22syntax/ext: migrate build.rs functions to AstBuilder methods.Huon Wilson-9/+9
2013-05-22syntax/ext: modernise ext_ctxt to be CamelCase and use new.Huon Wilson-9/+9
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-1/+1
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-10/+0
2013-04-27only use #[no_core] in libcoreDaniel Micay-6/+0
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-9/+9
2013-03-01Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-0/+2
2013-02-28Fix implicit leaks of imports throughout librariesAlex Crichton-0/+2
Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub'
2013-02-28Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-13/+21
2013-02-27Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-30/+27
2013-02-26Macros now leave scopeJohn Clements-16/+27
Macro scope is now delimited by function, block, and module boundaries, except for modules that are marked with #[macro_escape], which allows macros to escape.
2013-02-25libsyntax: convert visit to pass ty_params by referenceErick Tryzelaar-8/+8
2013-02-25libsyntax: add explicit modes where required to copy strs/vecsErick Tryzelaar-13/+27
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-2/+6
2013-02-11Fix license blockBrian Anderson-2/+2
2013-02-11Update copyright yearsMikko Perttunen-1/+1
2013-02-11Use topmost span for macro expansion location. Fixes behaviour of file!, ↵Mikko Perttunen-7/+28
line! and col!
2013-01-29libsyntax: De-export libsyntax. rs=deexportingPatrick Walton-17/+8
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-1/+1
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-23renaming to adhere to conventionsJohn Clements-16/+16
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-2/+9
contain at least two components. r=graydon
2012-12-18core: add macro_rules! for "condition! { c: in -> out; }".Graydon Hoare-5/+5
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-2/+2
2012-12-12syntax: remove remaining #syntaxext machinery. Close #3516.Graydon Hoare-42/+34
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-4/+4
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-18Remove unused file_type enum from the parserBrian Anderson-2/+1
2012-11-18Report errors better when failing to open files for sub-parsersBrian Anderson-3/+4
2012-11-17Merge remote-tracking branch 'brson/codemap'Brian Anderson-7/+7
Conflicts: src/libsyntax/ext/source_util.rs
2012-11-16Stop tracking CodeMap offsets in the parse session. Big simplificationBrian Anderson-2/+1
2012-11-15Refactor the lexer to use FilePos typesBrian Anderson-4/+7
2012-11-14Add types for character position and byte position in the codemapBrian Anderson-1/+1
2012-11-14Camel case all the codemap types except spanBrian Anderson-2/+2