about summary refs log tree commit diff
path: root/src/rustdoc
AgeCommit message (Collapse)AuthorLines
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.
2012-04-23Rename option::get_or_default to get_default, for consistencyTim Chevalier-2/+2
2012-04-23Move map iface over to more `for`-friendly iteration methodsMarijn Haverbeke-3/+3
2012-04-19syntax: Extract attribute parsing to its own modBrian Anderson-1/+1
2012-04-19make nominal types optionally parameterized by a self region.Niko Matsakis-8/+8
Issue #2201.
2012-04-18syntax: Put the main parser interface in mod parseBrian Anderson-7/+8
2012-04-17new debug flag, new testNiko Matsakis-0/+1
2012-04-15syntax: Cleanup attr module. Closes #1545Brian Anderson-1/+1
2012-04-12Support general warnings and errors in lint pass via flags and attrs. Close ↵Graydon Hoare-1/+0
#1543.
2012-04-08rustdoc: Use parallel map by defaultBrian Anderson-1/+1
2012-04-06Re-rename option functionsTim Chevalier-3/+3
get_with_default (nee from_maybe) => get_default with_option (nee maybe) => map_default with_option_do (nee may) => iter As per discussion of 21be1379d561b6679a8a2ea47dce88f948c5acca
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-13/+14
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-04-05Explicitly use version 0.2 of cratesBrian Anderson-2/+7
2012-04-03rustdoc: Remove stray binaryBrian Anderson-0/+0
2012-04-02Rename some core::option functionsTim Chevalier-5/+7
from_maybe => get_with_default maybe => with_option may => with_option_do I know these names are kind of ridiculous, but it's the best I could think of. Feel free to bikeshed. Closes #2081
2012-03-29rustc: Remove the rustsyntax::attr wrapper in frontBrian Anderson-1/+1
2012-03-28Update crate URLs to point to interesting things.Graydon Hoare-1/+1
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-13/+13
2012-03-26Disallow ret inside of block functionsMarijn Haverbeke-2/+3
Also adds proper checking for cont/break being inside a loop. Closes #1854 Issue #1619
2012-03-23Implement new inference algorithm.Niko Matsakis-2/+2
2012-03-22Bump version numbers to 0.2Brian Anderson-1/+1
2012-03-22Add an LLVM-instruction-counting mode to trans.Graydon Hoare-0/+1
Pipe to xdu to see a trans call graph of generated insns.
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-20/+19
2012-03-21Avoid mangling names differently in debug builds to work around a build ↵Josh Matthews-1/+1
error. Fix up file name and path debug information, and build one compilation unit for a crate instead of one per source file.
2012-03-20rustdoc: Refactor reexport_passBrian Anderson-66/+50