summary refs log tree commit diff
path: root/src/rustdoc/extract.rs
AgeCommit message (Collapse)AuthorLines
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-26turn ast::ident into a structErick Tryzelaar-1/+1
This will help with the auto_serialize2 migration. We have to change ident from a type alias to uint into a unique type. We need to use a struct instead of a "enum ident = token::str_num" because structs support constants, but newtypes do not.
2012-09-23Fix trans for region patterns (&P)Niko Matsakis-1/+1
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/+3
#[legacy_exports];
2012-09-19core: Move TLS to task::local_dataBrian Anderson-3/+3
2012-09-19rustdoc: Begin support for structsBrian Anderson-0/+33
2012-09-19rustdoc: Fix some script-mangled identsBrian Anderson-37/+37
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-1/+1
2012-09-18rustdoc: Camel caseBrian Anderson-65/+65
2012-09-05rustdoc: "import" -> "use"Patrick Walton-2/+2
2012-08-26Camel case the option typeBrian Anderson-28/+28
2012-08-25rustc: Implement foreign constants.Patrick Walton-8/+11
This is needed for a lot of Apple libraries, as Apple tends to put a lot of globals in dynamic libraries.
2012-08-24Use a faked-up function as a key, because functions aren't identical ↵Paul Stansifer-4/+10
cross-crate in Windows.
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-2/+2
2012-08-22intern identifiersPaul Stansifer-10/+25
2012-08-08rustdoc: Update for new impl syntaxBrian Anderson-13/+1
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-2/+2
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-3/+3
2012-08-05Switch alts to use arrowsBrian Anderson-14/+12
2012-08-03rustc: Parse, serialize, and deserialize trait inheritancePatrick Walton-1/+1
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-4/+4
2012-07-18syntax: Parse multiple trait refs in a single implementationPatrick Walton-1/+1
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-4/+5
2012-07-17Get rustdoc working with std::par instead of its own par library. Closes #2885.Zack Corr-4/+4
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-45/+45
#2907.
2012-07-13Front-end support for default impls in traits.Lindsey Kuper-8/+24
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-4/+4
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-12/+12
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-2/+2
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-2/+2
2012-07-01Convert to new closure syntaxBrian Anderson-6/+6
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-6/+6
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-11/+11
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-5/+5
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-11/+11
2012-06-24Remove resourcesTim Chevalier-19/+0
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-13Box AST identsBrian Anderson-5/+5
2012-05-13rustc: Eliminate some indirection to the syntax crateBrian Anderson-1/+1
2012-04-30Revert "Eliminate a copy in syntax::parse::new_parser_from_file"Tim Chevalier-2/+2
This reverts commit 2bb3b63ec4379b812aeceb690d78763ec55d3cbb. (I was confused.)
2012-04-30Eliminate a copy in syntax::parse::new_parser_from_fileTim Chevalier-2/+2
Fixing a FIXME turned out to be pretty involved. I added an io function that returns a unique boxed string (for the contents of a file) rather than a string, and went from there. Also made the src field of codemap a unique boxed string. This doesn't seem to make that much difference in amount of allocation according to valgrind (disappointingly), but I also had to introduce a copy somewhere else pending a new snapshot, so maybe that's it.
2012-04-25lots of work to make iface/impls parameterized by regionsNiko Matsakis-2/+2
- paths can now take region parameters, replacing the dirty hack I was doing before of abusing vstores. vstores are now a bit of a hack though. - fix various small bugs: - we never checked that iface types were compatible when casting to an iface with `as` - we allowed nonsense like int<int> - and more! (actually that may be it)
2012-04-19make nominal types optionally parameterized by a self region.Niko Matsakis-3/+3
Issue #2201.
2012-03-11rustdoc: Add indexes to native mods. Closes #1963Brian Anderson-1/+2
2012-03-09rustdoc: Vastly simplify the document modelBrian Anderson-70/+9
Don't attempt to impose any structure for documenting arguments, return values, etc.
2012-03-09rustdoc: Add the concept of 'sections'Brian Anderson-0/+3
2012-03-08rustdoc: Don't bother reporting the type of return valuesBrian Anderson-6/+3
2012-03-08rustdoc: Don't bother reporting the type of argumentsBrian Anderson-2/+1
This is already displayed in the function signature. Simpler this way.
2012-03-03rustdoc: Introduce the concept of a 'page'Brian Anderson-35/+39
2012-03-01rustdoc: Add index records to the doc treeBrian Anderson-1/+2