about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2013-05-20parser commentJohn Clements-0/+1
2013-05-20refactoring test functionsJohn Clements-70/+105
2013-05-20auto merge of #6635 : brson/rust/snapshot, r=brsonbors-249/+0
2013-05-19Register snapshotsBrian Anderson-249/+0
2013-05-19Fix many warnings.Steve Klabnik-3/+2
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-7/+7
2013-05-18auto merge of #6603 : thestinger/rust/whitespace, r=thestingerbors-1/+0
2013-05-19reduce the usage of explicit version markersDaniel Micay-1/+1
2013-05-18minor automated whitespace fixesDaniel Micay-1/+0
2013-05-18Made bytes!() accept a list of string, integer or char literalsMarvin Löbel-5/+50
2013-05-17Re-implement lint with less emphasis on item idsAlex Crichton-7/+13
This way it's much easier to add lints throughout compilation correctly, and functions on impls can alter the way lints are emitted.
2013-05-16Add BuiltinBounds to closure type: parse and handle subtyping,Niko Matsakis-11/+16
but do not integrate with kindck etc (requires a snapshot first)
2013-05-16auto merge of #6530 : huonw/rust/deriving-deepclone, r=bstriebors-7/+43
2013-05-16syntax: use fmt! over + in deriving/cloneHuon Wilson-6/+6
2013-05-16auto merge of #6531 : sammykim/rust/bytes, r=luqmanabors-0/+31
Fix #4334.
2013-05-16syntax: implement #[deriving(DeepClone)]. Fixes #6514.Huon Wilson-6/+42
2013-05-16Implement bytes! syntax extensionSangeun Kim-0/+31
2013-05-15auto merge of #6502 : huonw/rust/no-auto-code, r=graydonbors-1738/+714
Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute and remove the majority of the actual auto_* code, leaving stubs to refer the user to the new syntax. Also, moves the useful contents of auto_encode.rs to more appropriate spots: tests and comments to deriving/encodable.rs, and the ExtCtxtMethods trait to build.rs (unused so far, but the method syntax might be nicer than using the mk_* fns in many instances).
2013-05-15auto merge of #6500 : kud1ing/rust/cleanup, r=bstriebors-36/+0
Fixes #6445
2013-05-16syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)].Huon Wilson-1738/+714
Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute and remove the majority of the actual code, leaving stubs to refer the user to the new syntax.
2013-05-15auto merge of #6499 : dotdash/rust/static_keywords, r=thestingerbors-127/+127
2013-05-15auto merge of #6487 : recrack/rust/vec_len, r=thestingerbors-14/+14
Rename vec::len(var) to var.len() ``` libcore, libfuzzer, librustc, librustdoc, libstd, libsyntax test/auxiliary test/bench test/run-pass ```
2013-05-15remove deriving_eq, deriving_iter_bytes, deriving_clone (deprecated in 0.6)Lenny222-36/+0
2013-05-15Allow static strings to be used with keyword checksBjörn Steinbrink-127/+127
2013-05-14auto merge of #6224 : erickt/rust/rustc-cleanup, r=ericktbors-76/+176
Just a couple minor cleanups and renames of librustc
2013-05-14auto merge of #6478 : dotdash/rust/inlining, r=catamorphismbors-0/+4
Not inlining these affects the hash table performance quite badly.
2013-05-14rustc: rename ast::self_ty and related fields to explicit_selfErick Tryzelaar-78/+77
2013-05-14syntax: add IterBytes impls for some ast typesErick Tryzelaar-0/+101
2013-05-15Rename vec::len(var) to var.len()Youngmin Yoo-14/+14
2013-05-15Use parentheses for cond! macro instead of preceding pipesBrendan Zabarauskas-4/+4
This is temporary. Once the macro parser has improved or been re-written these can be removed.
2013-05-15Add Scheme-style `cond!` macro to syntax::ext::expandBrendan Zabarauskas-1/+35
Addresses issue #6037
2013-05-14Add inlining for iter_bytes for types used as hashmap keysBjörn Steinbrink-0/+4
Not inlining these affects the hash table performance quite badly.
2013-05-14Fix test fallout from removing vecs_implicitly_copyableAlex Crichton-28/+23
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-236/+239
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-4/+3
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-27/+27
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-12libsyntax: Tighten up expressions in patterns to only allow identifiers or ↵Patrick Walton-3/+30
literals (possibly with a minus). This had very minimal fallout.
2013-05-12librustc: Make `self` and `static` into keywordsPatrick Walton-82/+76
2013-05-12libsyntax: Remove `extern mod foo { ... }` from the language.Patrick Walton-6/+17
2013-05-11clean up the last bit of warningsCorey Richardson-1/+0
2013-05-11Warning policeTim Chevalier-11/+8
2013-05-11auto merge of #6389 : sonwow/rust/issue-3356, r=bstriebors-9/+9
Fix for #3356
2013-05-10Remove the '<->' operator from the languageAlex Crichton-18/+11
2013-05-10auto merge of #6223 : alexcrichton/rust/issue-6183, r=pcwaltonbors-23/+197
Closes #6183. The first commit changes the compiler's method of treating a `for` loop, and all the remaining commits are just dealing with the fallout. The biggest fallout was the `IterBytes` trait, although it's really a whole lot nicer now because all of the `iter_bytes_XX` methods are just and-ed together. Sadly there was a huge amount of stuff that's `cfg(stage0)` gated, but whoever lands the next snapshot is going to have a lot of fun deleting all this code!
2013-05-10renamed str::from_slice to str::to_ownedYoungsoo Son-1/+1
2013-05-10auto merge of #6329 : sonwow/rust/issue-6306, r=ILyoanbors-4/+4
Fix for #6306
2013-05-10renamed vec::from_slice to vec::to_ownedYoungsoo Son-8/+8
2013-05-10auto merge of #6356 : dotdash/rust/strinterner, r=pcwaltonbors-319/+374
&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-10Fix deriving(IterBytes) to use the new for-loop protocolAlex Crichton-11/+15
2013-05-10syntax: Use the new `for` protocolAlex Crichton-12/+182