about summary refs log tree commit diff
path: root/src/libsyntax/ext/fmt.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-1/+1
2013-05-09Use a specialized string interner to reduce the need for owned stringsBjörn Steinbrink-31/+30
&str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str.
2013-05-03Avoid needless creation of unique strings in fmt!()Björn Steinbrink-4/+2
Only the first portion has to be owned, as it acts as the buffer for the constructed string. The remaining strings can be static.
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-9/+0
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-04-20syntax: remove unused 'mut' variablesAlex Crichton-3/+5
2013-03-22Pass the fmt! buffer to each conversion methodAlex Crichton-58/+59
Achieves a little more speedup and avoids allocations around some strings in conv_str
2013-03-22Build up the result of fmt! in a buffer instead of a vectorAlex Crichton-30/+41
2013-03-20syntax: Removing some bad copiesAlex Crichton-7/+7
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-12/+12
2013-03-11Remove uses of logBrian Anderson-11/+10
2013-03-02libsyntax: Remove `fn@`, `fn~`, and `fn&` from libsyntax. rs=defunPatrick Walton-3/+1
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-1/+2
imports
2013-03-02Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-2/+2
2013-03-01Rename core::private to core::unstable. #4743Brian Anderson-2/+2
2013-03-01Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-0/+1
2013-02-28Fix implicit leaks of imports throughout librariesAlex Crichton-0/+1
Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub'
2013-02-26libsyntax: remove vecs_implicitly_copyable from the syntax extensionsErick Tryzelaar-4/+9
2013-02-25libsyntax: convert visit to pass ty_params by referenceErick Tryzelaar-2/+2
2013-02-21auto merge of #5059 : Kimundi/rust/incoming, r=catamorphismbors-3/+3
compiles-as-is, but needs a snapshot to remove the `stage0`ed extfmt export in core. Closes #4750
2013-02-21Moved core::extfmt to core::private::extfmtMarvin Löbel-3/+3
Needs a snapshot to remove stage0 extfmt export in core
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-4/+12
2013-01-29De-capitalize "note" to get rid of spurious tidy warningsTim Chevalier-1/+1
2013-01-29libsyntax: De-export libsyntax. rs=deexportingPatrick Walton-3/+1
2013-01-24Convert extfmt::rt::Conv into a structErick Tryzelaar-11/+16
2013-01-23renaming to adhere to conventionsJohn Clements-2/+2
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+2
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-2/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+2
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-9/+14
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-1/+1
2012-12-12syntax: remove remaining #syntaxext machinery. Close #3516.Graydon Hoare-4/+7
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-2/+2
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-02Fix #1996 (pending snapshot)Tim Chevalier-6/+6
Change int to uint in some extfmt code. Remove the #[cfg(stage0)] code after a snapshot.
2012-10-12Replace several common macros of the form #m[...] with m!(...)Kevin Cantu-8/+8
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-1/+1
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-10-01Call 'new' instead of 'old' extfmt code, preparing for snapshotTim Chevalier-1/+1
2012-09-28Demode extfmtTim Chevalier-4/+5
Needs a snapshot before this can be completed, because I changed the mode for conv_poly.
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-2/+2
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-4/+4
2012-09-12Remove some transitional codeBrian Anderson-1/+1
2012-09-12Use a different strategy for transitioning to camel case extfmtBrian Anderson-1/+1
2012-09-11Convert core::extfmt to camel caseBrian Anderson-75/+75
2012-09-04libsyntax: "import" -> "use"Patrick Walton-4/+4
2012-08-26Camel case the option typeBrian Anderson-2/+2
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-25/+25
2012-08-22intern identifiersPaul Stansifer-10/+16
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-5/+5
Require comma separators for all expression types except the plain block
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-20/+20