about summary refs log tree commit diff
path: root/src/rustc/metadata/encoder.rs
AgeCommit message (Collapse)AuthorLines
2012-08-28CamelCasify lots of stdBen Striegel-38/+38
2012-08-28Compress metadata section. Seems a minor speed win, major space win.Graydon Hoare-1/+1
2012-08-27Add some counters to metadata.Graydon Hoare-1/+58
2012-08-27rustc: fix the unused pattern vars warnings.Erick Tryzelaar-4/+4
2012-08-26Camel case the option typeBrian Anderson-13/+13
2012-08-25Fix more unused variable warningsBrian Anderson-1/+1
2012-08-25rustc: Implement foreign constants.Patrick Walton-0/+8
This is needed for a lot of Apple libraries, as Apple tends to put a lot of globals in dynamic libraries.
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-25/+26
2012-08-23Rename str::bytes to str::to_bytesTim Chevalier-15/+16
Closes #3245
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-15/+15
2012-08-23Infer variance of types with respect to the region parameter.Niko Matsakis-2/+6
A similar approach could be used for type parameters. Fixes #2282.
2012-08-22Represent "item families" in the decoder as an enumTim Chevalier-4/+7
This eliminates some match checks. Also get rid of other match checks in metadata code.
2012-08-22intern identifiersPaul Stansifer-78/+92
2012-08-17rustc: Remove the impl mapPatrick Walton-3/+0
2012-08-17rustc: Get rid of the impl_map in the encoderPatrick Walton-26/+20
2012-08-17rustc: Remove tag_paths and all of the associated encodingPatrick Walton-209/+0
2012-08-17rustc: Encode reexports in the metadata and don't have each_path search ↵Patrick Walton-1/+30
tag_paths
2012-08-15rustc: Fix long lines and trailing whitespacePatrick Walton-1/+2
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-44/+64
2012-08-14Convert more core types to camel caseBrian Anderson-4/+4
2012-08-14Make most forms of explicit self work. By-value not implemented. Work on #2585.Michael Sullivan-14/+4
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-6/+7
2012-08-08rustc: Do some plumbing work on nested enumsPatrick Walton-1/+2
2012-08-07rustc: Parse variant structs; add a trivial test casePatrick Walton-1/+1
2012-08-07rustc: Box struct_defsPatrick Walton-1/+1
2012-08-07Implement static typeclass methods. Closes #3132.Michael Sullivan-10/+67
2012-08-07rustc: Move some more routines that operate on struct definitions out of linePatrick Walton-14/+21
2012-08-07rustc: Split out struct bodies into a separate "struct_def" type in the ASTPatrick Walton-11/+12
2012-08-07rustc: Add stub support for struct variants to the ASTPatrick Walton-2/+6
2012-08-06Move some decoder code to the right place.Michael Sullivan-17/+15
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-30/+30
2012-08-05Switch alts to use arrowsBrian Anderson-75/+73
2012-08-03rustc: Parse, serialize, and deserialize trait inheritancePatrick Walton-1/+4
2012-08-03rustc: Add the notion of inherited visibilityPatrick Walton-4/+4
2012-08-03Fix signed/unsigned bug, likely cause of windows crash.Graydon Hoare-3/+3
2012-08-02Shift writer_util to a derived impl attached to the writer traitGraydon Hoare-3/+8
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-1/+3
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-10/+10
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-3/+3
2012-07-31rustc: Check self types in method lookup; allow required trait methods to ↵Patrick Walton-1/+56
have self types; write self types into metadata
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-12/+12
2012-07-30rustc: "iface" -> "trait" in comments, error messages, and identifiers.Lindsey Kuper-1/+1
(Also "interface" -> "trait" in error messages.)
2012-07-26rustc: Fix cross-crate max/min-class-style constructorsPatrick Walton-1/+10
2012-07-25rustc: Introduce a lang_items pass, part of coherence and operator overloading.Patrick Walton-0/+1
This will also help us remove kinds.
2012-07-25Add #[inline(never)], and also fixed inlining on vec::pushEric Holk-2/+2
2012-07-24rustc: Write impl attributes into the metadataPatrick Walton-0/+1
2012-07-24rustc: Don't require that structs have constructorsPatrick Walton-15/+26
2012-07-18syntax: Parse multiple trait refs in a single implementationPatrick Walton-12/+8
2012-07-18rustc: Encode metadata unconditionally for impls/traits/classes. Closes #2945.Patrick Walton-26/+35
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-30/+30
#2907.