summary refs log tree commit diff
path: root/src/rustdoc/tystr_pass.rs
AgeCommit message (Collapse)AuthorLines
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-16/+16
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-2/+1
./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-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-13/+13
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-16/+16
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-2/+2
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-3/+3
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-2/+2
2012-06-24Remove resourcesTim Chevalier-28/+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-21rustc: Move ast_map to the syntax crateBrian Anderson-1/+1
2012-05-13rustc: Eliminate some indirection to the syntax crateBrian Anderson-2/+2
2012-04-25lots of work to make iface/impls parameterized by regionsNiko Matsakis-3/+3
- 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-23Allow classes to be cast to ifaces that are in the same crateTim Chevalier-2/+2
I had to xfail one existing test case (class-implements-int) because, I think, of the same bug described in #2272.
2012-04-19make nominal types optionally parameterized by a self region.Niko Matsakis-4/+4
Issue #2201.
2012-03-18rustdoc: Print type params in fn sigs. Closes #2021Brian Anderson-18/+29
2012-03-09rustdoc: Vastly simplify the document modelBrian Anderson-2/+2
Don't attempt to impose any structure for documenting arguments, return values, etc.
2012-03-08rustdoc: Don't bother reporting the type of return valuesBrian Anderson-163/+0
2012-03-08rustdoc: Don't bother reporting the type of argumentsBrian Anderson-111/+0
This is already displayed in the function signature. Simpler this way.
2012-03-08Drop collect_items pass, create decls on demandMarijn Haverbeke-3/+3
This solves a problem with inlined functions that have inner functions.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"Patrick Walton-1/+0
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-03rustdoc: Introduce the concept of a 'page'Brian Anderson-27/+27
2012-02-27rustdoc: Time passesBrian Anderson-1/+4
2012-02-26rustdoc: Optimize some closures to avoid copyingBrian Anderson-1/+2
2012-02-26rustdoc: Rename util mod to parBrian Anderson-3/+3
2012-02-26rustdoc: Do all maps as util::anymapBrian Anderson-3/+3
2012-02-24rustdoc: Add types for native functionsBrian Anderson-1/+29
2012-02-21rustdoc: Make it easy to switch between parallel and sequential foldsBrian Anderson-1/+1
2012-02-21rustdoc: Convert most passes to parallel foldsBrian Anderson-1/+1
2012-02-21rustdoc: Convert the astsrv constructor to a higher order fnBrian Anderson-3/+4
This will allow it to manage the destruction of the astsrv after I convert it to a task
2012-02-21rustdoc: Rename mk_srv_from_str/file to just from_str/fileBrian Anderson-1/+1
2012-02-17rustdoc: Extract common item fields into itemdocBrian Anderson-12/+12
2012-02-15Replace some explicit fails with 'alt check' invocationsMarijn Haverbeke-28/+11
2012-02-06Self types for ifacesMarijn Haverbeke-1/+1
This allows a 'Name:' to appear in front of an iface declaration's name, which will cause 'Name' to refer to the self type (with the same number of type parameters as the iface has) in the method signatures of the iface. For example: iface F: functor<A> { fn fmap<B>(f: fn(A) -> B) -> F<B>; } Issue #1718
2012-02-03Store item paths in ast_map, get rid of trans::local_ctxtMarijn Haverbeke-15/+15
The direct motivation for this was that the monomorphizer needs to be able to generate sane symbols for random items. The typechecker can probably also use this in the future to provide more useful error messages.
2012-02-01rustdoc: Add support for type itemsBrian Anderson-1/+36
2012-01-31rustdoc: Refactor testsBrian Anderson-76/+28
2012-01-31rustdoc: Gather types of implsBrian Anderson-25/+161
2012-01-31Require alts to be exhaustiveTim Chevalier-0/+18
middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive.
2012-01-30rustdoc: Add iface method type info to the doc treeBrian Anderson-11/+185
2012-01-30rustdoc: Use fewer unique pointersBrian Anderson-12/+12
2012-01-29rustdoc: Move fn docs into the item tagBrian Anderson-4/+4
2012-01-29rustdoc: Move const docs into the item tagBrian Anderson-1/+1
2012-01-29rustdoc: Move enum docs into the item tagBrian Anderson-1/+1
2012-01-29rustdoc: Move resource docs into the item tagBrian Anderson-2/+2
2012-01-26rustdoc: Add resource arg tys to doc treeBrian Anderson-1/+13
2012-01-26rustdoc: Add resource signatures to doc treeBrian Anderson-1/+32
2012-01-26rustdoc: Rename astsrv::ctxt.map to ast_mapBrian Anderson-5/+5