summary refs log tree commit diff
path: root/src/rustdoc
AgeCommit message (Collapse)AuthorLines
2012-07-11Fix some version numbers.Graydon Hoare-5/+5
2012-07-09rustdoc: Filter out another invalid id characterBrian Anderson-0/+3
2012-07-09rustdoc: Filter some characters that aren't valid pandoc header idsBrian Anderson-0/+6
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1
2012-07-09rustc: Switch to the new resolution passPatrick Walton-0/+2
2012-07-06Revert "rustc: Switch to the new resolution pass"Niko Matsakis-2/+0
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8. Branch was burning...many, many unresolved imports.
2012-07-06rustc: Switch to the new resolution passPatrick Walton-0/+2
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-101/+101
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-243/+226
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-8/+8
2012-07-03core: Convert iter::repeat to the for protocolBrian Anderson-2/+2
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-20/+20
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-1/+1
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-1/+4
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-07-01Convert to new closure syntaxBrian Anderson-225/+221
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-176/+178
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-1/+4
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes. 2. add a script in etc/ to help converting doc-attributes to doc-comments 3. add some functions to core::str to help with (1)
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-181/+181
2012-06-28Get rid of some spurious /~s in rustdoc. Oops.Michael Sullivan-5/+5
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-22/+22
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-26rustdoc: Work around some more metadata infelicitiesPatrick Walton-4/+6
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-175/+177
2012-06-25Remove resources from a few places I missedTim Chevalier-22/+10
2012-06-24Remove resourcesTim Chevalier-135/+4
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-4/+4
2012-06-20Remove bind. Issue #2189Brian Anderson-4/+6
2012-06-15Add the interner to parse_sess.Paul Stansifer-24/+3
2012-06-14Remove code from parser that was awaiting snapshotTim Chevalier-1/+1
Remove old parser functions as well as support for old-style capture clauses. Remove remaining old-style capture clauses.
2012-06-14Comments only: annotate FIXMEs in rustdocTim Chevalier-2/+2
2012-06-13Box AST identsBrian Anderson-21/+22
2012-06-04Make vecs implicitly copyable for all of our projects.Michael Sullivan-0/+2
2012-06-04Get rid of warnings from instantiating typarams with non-implicitly copyable ↵Michael Sullivan-1/+6
types.
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-1/+1
Per issue #2418.
2012-05-30avoid modifying variable we are alting overNiko Matsakis-5/+5
2012-05-29rustc: Move filesearch into metadata modBrian Anderson-1/+1
It's not that related to metadata, but metadata needs it and it will probably be useful for doing dynamic loading.
2012-05-25Get rid of many implicit copies as a preliminary to Issue #2448.Michael Sullivan-33/+32
2012-05-24Access parse/attrs.rs with an impl.Paul Stansifer-1/+2
2012-05-23Prevent capturing non-copyable things in closures.Eric Holk-4/+4
2012-05-23rustc: Move new_def_hash to ast_utilBrian Anderson-5/+4
2012-05-22Send is no longer a subkind of copy. This allows for sendable, but ↵Eric Holk-2/+2
non-copyable resources. Closes #2420.
2012-05-21rustc: Move ast_map to the syntax crateBrian Anderson-6/+6
2012-05-21rustc: Remove ast_map's session dependencyBrian Anderson-1/+2
2012-05-21change list so that it must be used in a purely boxed fashionNiko Matsakis-1/+1
The old way was inconsistent---the head was unboxed but the tail was boxed. This resulted in numerous needless copies and also made the borrow check unhappy, because the head tended to be stored in mutable memory.
2012-05-13rustc: Eliminate some indirection to the syntax crateBrian Anderson-29/+34
2012-05-09rustc: Refactor driver to better understand string sourcesBrian Anderson-4/+6
2012-05-08rustc: Extract session::basic_options from rustdocBrian Anderson-27/+1
2012-04-30Revert "Eliminate a copy in syntax::parse::new_parser_from_file"Tim Chevalier-18/+15
This reverts commit 2bb3b63ec4379b812aeceb690d78763ec55d3cbb. (I was confused.)
2012-04-30Eliminate a copy in syntax::parse::new_parser_from_fileTim Chevalier-15/+18
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-8/+8
- 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.