about summary refs log tree commit diff
path: root/src/fuzzer
AgeCommit message (Collapse)AuthorLines
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-4/+4
2012-01-19misc: "tag" -> "enum" for cargo, compiletest, fuzzer, rustdocPatrick Walton-4/+4
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-1/+1
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-9/+9
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17Update crates with correct crate_type attributeBrian Anderson-0/+2
2012-01-14rustc: Rename mk_codemap_handler to mk_handlerBrian Anderson-3/+3
2012-01-14rustc: Allow a custom diagnostic emitter when building the handlerBrian Anderson-3/+3
2012-01-13Update tools for new parser APIBrian Anderson-8/+26
2012-01-13distinguish "any closure" and "stack closure" (block)Niko Matsakis-4/+10
2012-01-11Major clean-up of std::ioMarijn Haverbeke-4/+5
Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code.
2012-01-08Fix bustageJesse Ruderman-1/+1
2012-01-08Update fuzzerJesse Ruderman-41/+45
2012-01-06Get these files compiling againJesse Ruderman-24/+26
2012-01-05Merge branch 'master' into kmathStefan Plantikow-1/+1
Conflicts: src/libcore/float.rs
2012-01-05Moved generic float::min, max to core::math and cleaned up some importsStefan Plantikow-3/+2
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-1/+1
And remove support for the old syntax
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-19/+19
2011-12-22Merge all 3 log syntaxes, tidy up residual misuses.Graydon Hoare-4/+5
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-28/+28
#debug.
2011-12-20removed math leftovers from stdStefan Plantikow-3/+3
2011-12-16std: file_is_dir -> path_is_dir, add path_existsElly Jones-1/+1
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-1/+2
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-9/+10
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-1/+1
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-3/+1
2011-10-29rustc: Support 'companion mod's for crates and directory modsBrian Anderson-5/+0
Under this scheme when parsing foo.rc the parser will also look for foo.rs to fill in the crate-level module, and when evaluating a directory module directive it will look for a .rs file with the same name as the directory.
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-4/+6
2011-10-27Remove uint::max/min in favor if math::max/minMatt Brubeck-3/+3
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-12/+12
Closes #1067
2011-10-21Remove some semicolons after block callsMarijn Haverbeke-14/+14
The remaining ones can be removed after the next snapshot. (Or we can let the next pretty-print pass take care of them.)
2011-10-21Drop support for iter, put, and for-eachMarijn Haverbeke-3/+0
Closes #1056