ZSH normal completion for args in "cargo run -- <args>"

Running a Rust program with some arguments such as files is a common use
case. The ZSH completion did not declare support for extra arguments to
"cargo run", so file completion was impossible. In practice pressing TAB
after writing "cargo run -- " gave no completion at all.

After this patch, cargo run can do "normal completion",
which in practice does file/directory completion. This works nicely
with "cargo run -- ".
Fix spelling in documentation.
auto merge of #988 : Gekkio/cargo/zsh-run-normal-args, r=alexcrichton

Running a Rust program with some arguments such as files is a common use
case. The ZSH completion did not declare support for extra arguments to
"cargo run", so file completion was impossible. In practice pressing TAB
after writing "cargo run -- " gave no completion at all.

After this patch, cargo run can do "normal completion",
which in practice does file/directory completion. This works nicely
with "cargo run -- ".
Handle updates to version requirements in lockfiles

This is the same as the fix for #951 (fixed by #965). The relevant code was
erroneously looking at the source id when it should instead look at the entire
package id (name/version/source).
Link logo to the main crates.io page

Closes #953
auto merge of #996 : alexcrichton/cargo/issue-953, r=huonw

Closes #953
Don't abort on possibly-corrupt submodules

If a submodule's head commit doesn't exist, then we should attempt to update it
rather than aborting the updating process. This commit moves a local `try!` into
a `and_then` closure to prevent returning from the outer function to hopefully
catch more cases where the submodule needs to be updated.

cc #993, but I'm not sure if this fixes it
Bump version number to 0.1.0

Closes #808
auto merge of #995 : alexcrichton/cargo/issue-808, r=huonw

Closes #808
Add a missing semicolon to the hello world program in the docs.

Both the `index.md` and `guide.md` files show the hello world program source
(generated by `cargo new`) without a semicolon (`;`) at the end of the
`println!` line. The file generated by `cargo new` does and should have a
semicolon. This commit brings the docs in sync with the generated code.
auto merge of #1000 : jbranchaud/cargo/add-semicolon-to-hello-world-in-docs, r=alexcrichton

Both the `index.md` and `guide.md` files show the hello world program source
(generated by `cargo new`) without a semicolon (`;`) at the end of the
`println!` line. The file generated by `cargo new` does and should have a
semicolon. This commit brings the docs in sync with the generated code.
Update for nightly

I'm a bit shaky on the profile.rs changes (`thread_local!` and `RefCell`
relplacing `local_data_key!`), do make sure I haven't royally screwed
something up there.

Note that I haven't sucessfully run the various test_cargo_cross_compile
tests as I don't have an i686-unknown-linux-gnu rustc sitting around.
auto merge of #1003 : jmesmon/cargo/update-for-nightly, r=alexcrichton

I'm a bit shaky on the profile.rs changes (`thread_local!` and `RefCell` relplacing `local_data_key!`), do make sure I haven't royally screwed something up there.
We're cargo, not rustc
auto merge of #997 : alexcrichton/cargo/issue-993-attempt, r=brson

If a submodule's head commit doesn't exist, then we should attempt to update it
rather than aborting the updating process. This commit moves a local `try!` into
a `and_then` closure to prevent returning from the outer function to hopefully
catch more cases where the submodule needs to be updated.

cc #993, but I'm not sure if this fixes it
auto merge of #990 : alexcrichton/cargo/update-blows-up, r=brson

This is the same as the fix for #951 (fixed by #965). The relevant code was
erroneously looking at the source id when it should instead look at the entire
package id (name/version/source).
custom_build: add the HOST environment variable
auto merge of #1008 : jmesmon/cargo/custom_build_kind, r=alexcrichton

This is just to support some nice environment aliases in gcc-rs at the moment.
Delete bundled gcc libs on windows

This prevents having mismatches between bundled libs and libs on the system
(Cargo requires MinGW to compile regardless).
Fix updating the registry too often

It turns out that the registry was being queried with git dependencies as well,
so this commit alters the core registry not query sources with dependencies that
did not originate from the source.

Closes #991