about summary refs log tree commit diff
path: root/src/fuzzer/fuzzer.rs
AgeCommit message (Collapse)AuthorLines
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-7/+7
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-32/+32
2012-06-28Don't use literal info from the original source when pretty printing ↵Michael Sullivan-11/+14
expanded ASTs.
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-27/+27
2012-06-21Remove some singleton vector appends.Eric Holk-1/+1
2012-06-20Remove bind. Issue #2189Brian Anderson-16/+16
2012-06-15Add the interner to parse_sess.Paul Stansifer-18/+2
2012-06-13Box AST identsBrian Anderson-1/+1
2012-05-21remove mutable cycle from ast_foldNiko Matsakis-5/+5
2012-05-13rustc: Eliminate some indirection to the syntax crateBrian Anderson-4/+4
2012-05-10Remove `do { ... } while ...` from the language.Paul Stansifer-3/+0
2012-05-04new cap clause syntaxNiko Matsakis-2/+2
2012-04-30Revert "Eliminate a copy in syntax::parse::new_parser_from_file"Tim Chevalier-6/+6
This reverts commit 2bb3b63ec4379b812aeceb690d78763ec55d3cbb. (I was confused.)
2012-04-30Eliminate a copy in syntax::parse::new_parser_from_fileTim Chevalier-6/+6
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-18syntax: Put the main parser interface in mod parseBrian Anderson-3/+3
2012-04-13use find not echo; this also brings fuzzer under the iron fist of tidy.py!Niko Matsakis-32/+62
2012-04-06Remove support for old-style forMarijn Haverbeke-1/+0
Closes #1619
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-7/+7
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-01Fixing issue 1919. list_dir is the more general version that returns a ↵Jonathan Sternberg-1/+1
vector with the contents of the directory. list_dir_path contains the old behavior (as a convenience function).
2012-03-28Update AST fuzzerJesse Ruderman-10/+5
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-16/+16
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-5/+5
2012-03-20Implement an initial version of placement new.Niko Matsakis-9/+9
2012-03-13implement deserialization, rename mk_mem_buffer() to mem_buffer()Niko Matsakis-2/+2
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-10/+9
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-10core: Remove the nearly empty math moduleBrian Anderson-2/+2
This mod only had two functions, all of whose users have been changed to use the uint module.
2012-03-02comp/fuzzer: rewrite to use io::with_str_reader.Erick Tryzelaar-10/+14
2012-03-02comp/std: rename io::string_reader to io::str_reader.Erick Tryzelaar-3/+3
2012-02-24Start next_id at 1 to make the compiler happyJesse Ruderman-2/+2
2012-02-24AST fuzzer: remove ignores for fixed issues; update issue URLsJesse Ruderman-43/+20
2012-02-23Adjust fuzzer and cargo to changes in core::str APIMarijn Haverbeke-1/+1
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-2/+2
2012-02-23(core::str) do some replacementsKevin Cantu-2/+2
2012-02-23(core::char) rename slice -> slice_charsKevin Cantu-1/+1
2012-02-23(core::str) rename rindex -> rindex_charsKevin Cantu-1/+1
2012-02-23(core::str) mostly rename len -> len_charsKevin Cantu-1/+1
2012-02-15make mut a keyword synonymous with mutableNiko Matsakis-2/+4
first step towards issue #1273
2012-02-15Fix use of expr_alt in fuzzer that was causing the build to failMarijn Haverbeke-1/+1
2012-02-13(core::str) add find_bytes and export it...Kevin Cantu-1/+1
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-2/+2
2012-02-11using str::rindex...Kevin Cantu-4/+3
2012-02-11core::str rename [r]index -> [r]index_bytesKevin Cantu-1/+1
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-1/+1
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 1Kevin Cantu-2/+2
2012-01-25Keep source file around after parsing.Kevin Atkinson-18/+18
Specifically box the string (to avoid unnecessary copies) and store it in codemap::filemap. Remove the hack in driver::diagnostic that rereads the source from the file and instead just get the source from the filemap. (This commit is also a prerequisite for issue #1612)
2012-01-24rustc: Split diagnostics into "span diagnostics" and "diagnostics".Patrick Walton-5/+8
The former contain a codemap (which is per-crate), and the latter don't. This will be useful in order to allow more than one crate to be compiled in one run of the compiler.
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2012-01-23Allow ast_fold_precursor to change the span.Kevin Atkinson-2/+2
This involved changing the prototype for the callbacks to thread the span though. A wrapper function, fold::wrap, can be used to wrap the old style callbacks.
2012-01-23Don't reset the chpos/byte_pos to 0 in new_parser_from_source_str.Kevin Atkinson-2/+6
This correctly fixes issue #1362. chpos/byte_pos are now the offsets within a particular file, but rather the offsets within a virtual file with is formed by combing all of the modules within a crate. Thus, resetting them to 0 causes an overlap and hence, bogus source locations. Fix #1362 by moving chpos/byte_pos to parse_sess so that new_parser_from_source_str has access to them and hence can chose an initial value that is not already been used in the crate. Note that the trigger for bug 1361 was that syntax/ext/expand.rs calls parse_expr_from_source_str (which calls new_parser_from_source_str) using the same codemap as the current crate (and hence causing overlap with files in the crate as new_parser_from_source_str resets the chpos/byte_pos to 0).
2012-01-19misc: ';' to ',' in enums in cargo, compiletest, and fuzzerPatrick Walton-2/+2