about summary refs log tree commit diff
path: root/src/cargo
AgeCommit message (Collapse)AuthorLines
2012-02-14cargo: Use $sysroot/bin/rustc to compile crateTycho Sci-3/+17
Closes #1806
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-4/+4
2012-02-11core: Change the argument order for vec::contains, vec::countBrian Anderson-1/+1
2012-02-11core: Rename vec::member to vec::contains to match str modBrian Anderson-1/+1
2012-02-11using str::index...Kevin Cantu-16/+18
2012-02-11core::str rename [r]index -> [r]index_bytesKevin Cantu-2/+2
2012-02-09cargo: Disable system mode per discussion on #1760Brian Anderson-0/+8
2012-02-09cargo: 2 modes -> 3 modes, and clarify themTycho Sci-20/+58
* -g or --mode=user to create/use .cargo under $HOME * -G or --mode=system to create/use .cargo under sysroot * by default, `cargo` uses .cargo under current working directory
2012-02-09cargo: Add local mode and use it by defaultTycho Sci-31/+62
2012-02-07String split renaming:Kevin Cantu-1/+1
* Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do
2012-02-01Rename str::char_slice -> str::sliceKevin Cantu-1/+1
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-4/+4
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 1Kevin Cantu-5/+7
2012-01-31Change option::t to optionTim Chevalier-12/+12
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-31Require alts to be exhaustiveTim Chevalier-0/+2
middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive.
2012-01-24rustc: Split diagnostics into "span diagnostics" and "diagnostics".Patrick Walton-1/+2
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-25suggest sync/init to user as appropriateGrahame Bowland-2/+22
2012-01-23cargo: Long linesBrian Anderson-1/+2
2012-01-23cargo: Remove unused imports - work around mystery resolve failureBrian Anderson-4/+1
2012-01-23Merge pull request #1628 from startling/cargo-descriptionsBrian Anderson-0/+14
Implemented package descriptions for cargo
2012-01-23Added a newline after each description.tim-1/+1
`<@graydon> maybe an extra newline to make the grouping clearer?`
2012-01-23Get `description` attribute for packages from json.tim-2/+9
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2012-01-23Steps towards package descriptions.tim-0/+7
I added a description field for `package` objects (it's read from a literal string for now) and `print_pkg` now prints descriptions if they're there.
2012-01-23Don't reset the chpos/byte_pos to 0 in new_parser_from_source_str.Kevin Atkinson-1/+3
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-22Point to correct cargo-central.Matthew O'Connor-1/+1
2012-01-21[cargo] detect libs properlyElly Fong-Jones-6/+3
The change to do build and test in different directories broke library detection.
2012-01-20cargo: Remove may package list. I am a proud cargo-central userBrian Anderson-3/+0
2012-01-20Fix `cargo install *` fails at assertion.Tycho Sci-1/+1
2012-01-19misc: ';' to ',' in enums in cargo, compiletest, and fuzzerPatrick Walton-1/+1
2012-01-19misc: "tag" -> "enum" for cargo, compiletest, fuzzer, rustdocPatrick Walton-1/+1
2012-01-19cargo: Fix unused argument warningBrian Anderson-1/+1
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-2/+2
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-18[cargo] arghElly Jones-20/+0
2012-01-18[cargo] refactor test_one_crateElly Jones-12/+26
2012-01-18fix long lineGraydon Hoare-1/+1
2012-01-18[cargo] add --test flag to installElly Jones-15/+48
2012-01-17Update crates with correct crate_type attributeBrian Anderson-0/+2
2012-01-14rustc: Rename mk_codemap_handler to mk_handlerBrian Anderson-1/+1
2012-01-14rustc: Allow a custom diagnostic emitter when building the handlerBrian Anderson-1/+1
2012-01-13Update tools for new parser APIBrian Anderson-1/+7
2012-01-11Major clean-up of std::ioMarijn Haverbeke-0/+1
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-06cargo: Print rustc's stdout when compilation failsBrian Anderson-1/+1
stdout is where all the useful info is, not stderr.
2012-01-05rustc: Add cargo's lib directory to search pathsBrian Anderson-8/+4
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-2/+2
2011-12-22cargo: Adding my package index.Erick Tryzelaar-0/+3
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-8/+8
#debug.
2011-12-20Merge pull request #1365 from elly/cargoBrian Anderson-2/+15
cargo: allow 'ref' package key for git packages.
2011-12-20cargo: allow 'ref' package key for git packages.Elly Jones-2/+15
This lets you specify e.g. a tag or a branch name to be checked out for that package. Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-12-20Missing comma.Graydon Hoare-1/+1