From a5681d25906fd07eee00dd430a1053ff722da26a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 31 Mar 2014 13:11:35 -0700 Subject: [PATCH 1/4] Bump version to 0.10 --- README.md | 10 +++++----- RELEASES.txt | 2 +- man/rustc.1 | 2 +- man/rustdoc.1 | 2 +- mk/main.mk | 2 +- src/doc/README.md | 4 ++-- src/doc/po/ja/complement-cheatsheet.md.po | 2 +- src/doc/po/ja/complement-lang-faq.md.po | 2 +- src/doc/po/ja/complement-project-faq.md.po | 2 +- src/doc/po/ja/complement-usage-faq.md.po | 2 +- src/doc/po/ja/guide-conditions.md.po | 2 +- src/doc/po/ja/guide-container.md.po | 2 +- src/doc/po/ja/guide-ffi.md.po | 2 +- src/doc/po/ja/guide-lifetimes.md.po | 2 +- src/doc/po/ja/guide-macros.md.po | 2 +- src/doc/po/ja/guide-pointers.md.po | 2 +- src/doc/po/ja/guide-runtime.md.po | 2 +- src/doc/po/ja/guide-tasks.md.po | 2 +- src/doc/po/ja/guide-testing.md.po | 2 +- src/doc/po/ja/index.md.po | 2 +- src/doc/po/ja/rustdoc.md.po | 2 +- src/doc/po/ja/tutorial.md.po | 8 ++++---- src/doc/tutorial.md | 10 +++++----- src/etc/kate/rust.xml | 2 +- src/libarena/lib.rs | 2 +- src/libcollections/lib.rs | 2 +- src/libflate/lib.rs | 2 +- src/libfourcc/lib.rs | 2 +- src/libgetopts/lib.rs | 2 +- src/libglob/lib.rs | 2 +- src/libgreen/lib.rs | 2 +- src/libhexfloat/lib.rs | 2 +- src/liblog/lib.rs | 2 +- src/libnative/lib.rs | 2 +- src/libnum/lib.rs | 2 +- src/librand/lib.rs | 2 +- src/librustc/front/std_inject.rs | 2 +- src/librustc/lib.rs | 2 +- src/librustdoc/lib.rs | 2 +- src/librustuv/lib.rs | 2 +- src/libsemver/lib.rs | 2 +- src/libserialize/lib.rs | 2 +- src/libstd/lib.rs | 2 +- src/libsync/lib.rs | 2 +- src/libsyntax/lib.rs | 2 +- src/libterm/lib.rs | 2 +- src/libtest/lib.rs | 2 +- src/libtime/lib.rs | 2 +- src/liburl/lib.rs | 2 +- src/libuuid/lib.rs | 2 +- src/libworkcache/lib.rs | 2 +- src/test/auxiliary/issue-11908-1.rs | 2 +- src/test/auxiliary/issue-11908-2.rs | 2 +- src/test/run-make/crate-data-smoke/Makefile | 2 +- src/test/run-make/crate-data-smoke/crate.rs | 2 +- src/test/run-pass/use.rs | 2 +- 56 files changed, 68 insertions(+), 68 deletions(-) diff --git a/README.md b/README.md index 1d098571bae4e..55cfd36ec8538 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ documentation. To build from the [tarball] do: - $ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz - $ tar -xzf rust-0.9.tar.gz - $ cd rust-0.9 + $ curl -O http://static.rust-lang.org/dist/rust-0.10.tar.gz + $ tar -xzf rust-0.10.tar.gz + $ cd rust-0.10 Or to build from the [repo] do: @@ -59,8 +59,8 @@ documentation. 4. Enjoy! [repo]: https://github.com/mozilla/rust -[tarball]: http://static.rust-lang.org/dist/rust-0.9.tar.gz -[tutorial]: http://static.rust-lang.org/doc/0.9/tutorial.html +[tarball]: http://static.rust-lang.org/dist/rust-0.10.tar.gz +[tutorial]: http://static.rust-lang.org/doc/0.10/tutorial.html ## Notes diff --git a/RELEASES.txt b/RELEASES.txt index fd5b06c942255..2e9a71274bdf9 100644 --- a/RELEASES.txt +++ b/RELEASES.txt @@ -132,7 +132,7 @@ Version 0.10 (April 2014) * Tooling * `rustpkg` has been deprecated and removed from the main repository. Its replacement, `cargo`, is under development. - * Nightly builds of rust are now available (INSERT URL HERE) + * Nightly builds of rust are now available * The memory usage of rustc has been improved many times throughout this release cycle. * The build process supports disabling rpath support for the rustc binary diff --git a/man/rustc.1 b/man/rustc.1 index b3eb4834930d4..21ec32c56055b 100644 --- a/man/rustc.1 +++ b/man/rustc.1 @@ -1,4 +1,4 @@ -.TH RUSTC "1" "March 2014" "rustc 0.10-pre" "User Commands" +.TH RUSTC "1" "March 2014" "rustc 0.10" "User Commands" .SH NAME rustc \- rust compiler .SH SYNOPSIS diff --git a/man/rustdoc.1 b/man/rustdoc.1 index 4933794d95ccb..4ea33878f037d 100644 --- a/man/rustdoc.1 +++ b/man/rustdoc.1 @@ -1,4 +1,4 @@ -.TH RUSTDOC "1" "March 2014" "rustdoc 0.10-pre" "User Commands" +.TH RUSTDOC "1" "March 2014" "rustdoc 0.10" "User Commands" .SH NAME rustdoc \- generate documentation from Rust source code .SH SYNOPSIS diff --git a/mk/main.mk b/mk/main.mk index f59a553d783ba..53f550cf1b552 100644 --- a/mk/main.mk +++ b/mk/main.mk @@ -14,7 +14,7 @@ # The version number CFG_RELEASE_NUM=0.10 -CFG_RELEASE_LABEL=-pre +CFG_RELEASE_LABEL= ifndef CFG_ENABLE_NIGHTLY # This is the normal version string diff --git a/src/doc/README.md b/src/doc/README.md index be0938022d2cc..fa0fc6a3745db 100644 --- a/src/doc/README.md +++ b/src/doc/README.md @@ -53,12 +53,12 @@ To generate .pot and .po files, do something like: ~~~~ po4a --copyright-holder="The Rust Project Developers" \ --package-name="Rust" \ - --package-version="0.10-pre" \ + --package-version="0.10" \ -M UTF-8 -L UTF-8 \ src/doc/po4a.conf ~~~~ -(the version number must be changed if it is not 0.10-pre now.) +(the version number must be changed if it is not 0.10 now.) Now you can translate documents with .po files, commonly used with gettext. If you are not familiar with gettext-based translation, please read the online diff --git a/src/doc/po/ja/complement-cheatsheet.md.po b/src/doc/po/ja/complement-cheatsheet.md.po index 72ef1d5a0102b..e0d130cb331f5 100644 --- a/src/doc/po/ja/complement-cheatsheet.md.po +++ b/src/doc/po/ja/complement-cheatsheet.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/complement-lang-faq.md.po b/src/doc/po/ja/complement-lang-faq.md.po index 02dee63f312e7..0f06f9d84b048 100644 --- a/src/doc/po/ja/complement-lang-faq.md.po +++ b/src/doc/po/ja/complement-lang-faq.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/complement-project-faq.md.po b/src/doc/po/ja/complement-project-faq.md.po index 190f88cf80d34..68a332f815330 100644 --- a/src/doc/po/ja/complement-project-faq.md.po +++ b/src/doc/po/ja/complement-project-faq.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/complement-usage-faq.md.po b/src/doc/po/ja/complement-usage-faq.md.po index 9ffdd7b1f4361..28d2808c8a78f 100644 --- a/src/doc/po/ja/complement-usage-faq.md.po +++ b/src/doc/po/ja/complement-usage-faq.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-02-03 08:13+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-conditions.md.po b/src/doc/po/ja/guide-conditions.md.po index a65d6eec4198c..3575a7e646fa8 100644 --- a/src/doc/po/ja/guide-conditions.md.po +++ b/src/doc/po/ja/guide-conditions.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-container.md.po b/src/doc/po/ja/guide-container.md.po index 23e1c7734f0b4..bda86a30aa730 100644 --- a/src/doc/po/ja/guide-container.md.po +++ b/src/doc/po/ja/guide-container.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-ffi.md.po b/src/doc/po/ja/guide-ffi.md.po index 3155b9f65053f..089a142231ca7 100644 --- a/src/doc/po/ja/guide-ffi.md.po +++ b/src/doc/po/ja/guide-ffi.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-lifetimes.md.po b/src/doc/po/ja/guide-lifetimes.md.po index bbe4b3a4a856b..c97190338078d 100644 --- a/src/doc/po/ja/guide-lifetimes.md.po +++ b/src/doc/po/ja/guide-lifetimes.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-macros.md.po b/src/doc/po/ja/guide-macros.md.po index 82b0d20d5e507..205e473a5b237 100644 --- a/src/doc/po/ja/guide-macros.md.po +++ b/src/doc/po/ja/guide-macros.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-pointers.md.po b/src/doc/po/ja/guide-pointers.md.po index 2b130821c4c9a..1e07faeeeb7bf 100644 --- a/src/doc/po/ja/guide-pointers.md.po +++ b/src/doc/po/ja/guide-pointers.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-runtime.md.po b/src/doc/po/ja/guide-runtime.md.po index 2e02fe344ebaf..9fefe9b85994e 100644 --- a/src/doc/po/ja/guide-runtime.md.po +++ b/src/doc/po/ja/guide-runtime.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-02-03 08:13+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-tasks.md.po b/src/doc/po/ja/guide-tasks.md.po index ab761ca4ea79d..3d51d5831e4f0 100644 --- a/src/doc/po/ja/guide-tasks.md.po +++ b/src/doc/po/ja/guide-tasks.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/guide-testing.md.po b/src/doc/po/ja/guide-testing.md.po index 6ec1a4467da86..03f23b5e7122a 100644 --- a/src/doc/po/ja/guide-testing.md.po +++ b/src/doc/po/ja/guide-testing.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/index.md.po b/src/doc/po/ja/index.md.po index 7bf6868ceed00..ec283c6b11862 100644 --- a/src/doc/po/ja/index.md.po +++ b/src/doc/po/ja/index.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-14 21:02+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/rustdoc.md.po b/src/doc/po/ja/rustdoc.md.po index e0d89edaa020e..57b7ca2b91439 100644 --- a/src/doc/po/ja/rustdoc.md.po +++ b/src/doc/po/ja/rustdoc.md.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Rust 0.10-pre\n" +"Project-Id-Version: Rust 0.10\n" "POT-Creation-Date: 2014-02-03 08:13+0900\n" "PO-Revision-Date: 2014-01-13 12:01+0900\n" "Last-Translator: Automatically generated\n" diff --git a/src/doc/po/ja/tutorial.md.po b/src/doc/po/ja/tutorial.md.po index 2646460346b56..b6982e5f8071f 100644 --- a/src/doc/po/ja/tutorial.md.po +++ b/src/doc/po/ja/tutorial.md.po @@ -360,8 +360,8 @@ msgstr "上記条件を満たしていれば、以下のような手順でビル #| "gz $ tar -xzf rust-0.7.tar.gz $ cd rust-0.7 $ ./configure $ make && make " #| "install ~~~~" msgid "" -"~~~~ {.notrust} $ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz $ " -"tar -xzf rust-0.9.tar.gz $ cd rust-0.9 $ ./configure $ make && make install " +"~~~~ {.notrust} $ curl -O http://static.rust-lang.org/dist/rust-0.10.tar.gz $ " +"tar -xzf rust-0.10.tar.gz $ cd rust-0.10 $ ./configure $ make && make install " "~~~~" msgstr "" "~~~~ {.notrust}\n" @@ -408,8 +408,8 @@ msgstr "" #| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: " #| "http://static.rust-lang.org/dist/rust-0.7-install.exe" msgid "" -"[tarball]: http://static.rust-lang.org/dist/rust-0.9.tar.gz [win-exe]: " -"http://static.rust-lang.org/dist/rust-0.9-install.exe" +"[tarball]: http://static.rust-lang.org/dist/rust-0.10.tar.gz [win-exe]: " +"http://static.rust-lang.org/dist/rust-0.10-install.exe" msgstr "" "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n" "[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe" diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index e15145e5f1d34..891880aaece1c 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -100,9 +100,9 @@ If you've fulfilled those prerequisites, something along these lines should work. ~~~~ {.notrust} -$ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz -$ tar -xzf rust-0.9.tar.gz -$ cd rust-0.9 +$ curl -O http://static.rust-lang.org/dist/rust-0.10.tar.gz +$ tar -xzf rust-0.10.tar.gz +$ cd rust-0.10 $ ./configure $ make && make install ~~~~ @@ -117,8 +117,8 @@ When complete, `make install` will place several programs into `/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the API-documentation tool. -[tarball]: http://static.rust-lang.org/dist/rust-0.9.tar.gz -[win-exe]: http://static.rust-lang.org/dist/rust-0.9-install.exe +[tarball]: http://static.rust-lang.org/dist/rust-0.10.tar.gz +[win-exe]: http://static.rust-lang.org/dist/rust-0.10-install.exe ## Compiling your first program diff --git a/src/etc/kate/rust.xml b/src/etc/kate/rust.xml index 288085d8bae66..dc3aa94c59579 100644 --- a/src/etc/kate/rust.xml +++ b/src/etc/kate/rust.xml @@ -7,7 +7,7 @@ ]> - + fn diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs index 061f3e6d268ff..bd1d6c07669bd 100644 --- a/src/libarena/lib.rs +++ b/src/libarena/lib.rs @@ -15,7 +15,7 @@ //! of individual objects while the arena itself is still alive. The benefit //! of an arena is very fast allocation; just a pointer bump. -#![crate_id = "arena#0.10-pre"] +#![crate_id = "arena#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index a424dbebe149d..d0dffa5d3bb1f 100644 --- a/src/libcollections/lib.rs +++ b/src/libcollections/lib.rs @@ -12,7 +12,7 @@ * Collection types. */ -#![crate_id = "collections#0.10-pre"] +#![crate_id = "collections#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs index 2e2224bde842c..a45e72fb88c71 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -14,7 +14,7 @@ Simple compression */ -#![crate_id = "flate#0.10-pre"] +#![crate_id = "flate#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libfourcc/lib.rs b/src/libfourcc/lib.rs index bf327c1bc2753..ad03c75329070 100644 --- a/src/libfourcc/lib.rs +++ b/src/libfourcc/lib.rs @@ -39,7 +39,7 @@ fn main() { */ -#![crate_id = "fourcc#0.10-pre"] +#![crate_id = "fourcc#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index e47e7ddec2038..d1664a4eb5f29 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -76,7 +76,7 @@ //! } //! ~~~ -#![crate_id = "getopts#0.10-pre"] +#![crate_id = "getopts#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libglob/lib.rs b/src/libglob/lib.rs index ec7b5b262f5ec..4f8e0f02fd7c9 100644 --- a/src/libglob/lib.rs +++ b/src/libglob/lib.rs @@ -23,7 +23,7 @@ * `glob`/`fnmatch` functions. */ -#![crate_id = "glob#0.10-pre"] +#![crate_id = "glob#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libgreen/lib.rs b/src/libgreen/lib.rs index f0e7e7fbf6df2..e62c03517accd 100644 --- a/src/libgreen/lib.rs +++ b/src/libgreen/lib.rs @@ -184,7 +184,7 @@ //! pool.shutdown(); //! ``` -#![crate_id = "green#0.10-pre"] +#![crate_id = "green#0.10"] #![license = "MIT/ASL2"] #![crate_type = "rlib"] #![crate_type = "dylib"] diff --git a/src/libhexfloat/lib.rs b/src/libhexfloat/lib.rs index 3ed0d598dd8e0..41b4132400f9e 100644 --- a/src/libhexfloat/lib.rs +++ b/src/libhexfloat/lib.rs @@ -36,7 +36,7 @@ fn main() { */ -#![crate_id = "hexfloat#0.10-pre"] +#![crate_id = "hexfloat#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs index 8013ebe651107..0e4813915ec84 100644 --- a/src/liblog/lib.rs +++ b/src/liblog/lib.rs @@ -105,7 +105,7 @@ if logging is disabled, none of the components of the log will be executed. */ -#![crate_id = "log#0.10-pre"] +#![crate_id = "log#0.10"] #![license = "MIT/ASL2"] #![crate_type = "rlib"] #![crate_type = "dylib"] diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs index d06ca15f30c3b..56c867651fb88 100644 --- a/src/libnative/lib.rs +++ b/src/libnative/lib.rs @@ -41,7 +41,7 @@ //! } //! ``` -#![crate_id = "native#0.10-pre"] +#![crate_id = "native#0.10"] #![license = "MIT/ASL2"] #![crate_type = "rlib"] #![crate_type = "dylib"] diff --git a/src/libnum/lib.rs b/src/libnum/lib.rs index 453dd3c0834c2..af6771c47937b 100644 --- a/src/libnum/lib.rs +++ b/src/libnum/lib.rs @@ -10,7 +10,7 @@ #![feature(macro_rules)] -#![crate_id = "num#0.10-pre"] +#![crate_id = "num#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/librand/lib.rs b/src/librand/lib.rs index f8183b08ce9dc..5e71202c46a24 100644 --- a/src/librand/lib.rs +++ b/src/librand/lib.rs @@ -62,7 +62,7 @@ println!("{:?}", tuple_ptr) ``` */ -#![crate_id = "rand#0.10-pre"] +#![crate_id = "rand#0.10"] #![license = "MIT/ASL2"] #![crate_type = "dylib"] #![crate_type = "rlib"] diff --git a/src/librustc/front/std_inject.rs b/src/librustc/front/std_inject.rs index 9182f19130cb1..27ada7c487bb9 100644 --- a/src/librustc/front/std_inject.rs +++ b/src/librustc/front/std_inject.rs @@ -22,7 +22,7 @@ use syntax::parse::token::InternedString; use syntax::parse::token; use syntax::util::small_vector::SmallVector; -pub static VERSION: &'static str = "0.10-pre"; +pub static VERSION: &'static str = "0.10"; pub fn maybe_inject_crates_ref(sess: &Session, krate: ast::Crate) -> ast::Crate { diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index 59b08d90ca07b..e7e9ecf1bcbb2 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -18,7 +18,7 @@ This API is completely unstable and subject to change. */ -#![crate_id = "rustc#0.10-pre"] +#![crate_id = "rustc#0.10"] #![comment = "The Rust compiler"] #![license = "MIT/ASL2"] #![crate_type = "dylib"] diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index d16802a23145f..ffae928640746 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_id = "rustdoc#0.10-pre"] +#![crate_id = "rustdoc#0.10"] #![desc = "rustdoc, the Rust documentation extractor"] #![license = "MIT/ASL2"] #![crate_type = "dylib"] diff --git a/src/librustuv/lib.rs b/src/librustuv/lib.rs index 427dd87a0a189..ea4202bb9d3a7 100644 --- a/src/librustuv/lib.rs +++ b/src/librustuv/lib.rs @@ -34,7 +34,7 @@ via `close` and `delete` methods. */ -#![crate_id = "rustuv#0.10-pre"] +#![crate_id = "rustuv#0.10"] #![license = "MIT/ASL2"] #![crate_type = "rlib"] #![crate_type = "dylib"] diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs index c30c0075e355b..4bdbca4ec1c53 100644 --- a/src/libsemver/lib.rs +++ b/src/libsemver/lib.rs @@ -28,7 +28,7 @@ //! An example version number with all five components is //! `0.8.1-rc.3.0+20130922.linux`. -#![crate_id = "semver#0.10-pre"] +#![crate_id = "semver#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libserialize/lib.rs b/src/libserialize/lib.rs index b3a529601a4ed..2854a8f00513d 100644 --- a/src/libserialize/lib.rs +++ b/src/libserialize/lib.rs @@ -14,7 +14,7 @@ Core encoding and decoding interfaces. */ -#![crate_id = "serialize#0.10-pre"] +#![crate_id = "serialize#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index c130b89b6d455..c6e65abe3bb35 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -43,7 +43,7 @@ //! //! use std::prelude::*; -#![crate_id = "std#0.10-pre"] +#![crate_id = "std#0.10"] #![comment = "The Rust standard library"] #![license = "MIT/ASL2"] #![crate_type = "rlib"] diff --git a/src/libsync/lib.rs b/src/libsync/lib.rs index fa219009d41d5..7fb1c680697d0 100644 --- a/src/libsync/lib.rs +++ b/src/libsync/lib.rs @@ -12,7 +12,7 @@ * Concurrency-enabled mechanisms and primitives. */ -#![crate_id = "sync#0.10-pre"] +#![crate_id = "sync#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 86795b6623c7c..73dab4938460d 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -18,7 +18,7 @@ This API is completely unstable and subject to change. */ -#![crate_id = "syntax#0.10-pre"] +#![crate_id = "syntax#0.10"] #![license = "MIT/ASL2"] #![crate_type = "dylib"] #![crate_type = "rlib"] diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs index 50f2118f0c4e0..f340edf7a3a6f 100644 --- a/src/libterm/lib.rs +++ b/src/libterm/lib.rs @@ -10,7 +10,7 @@ //! Simple ANSI color library -#![crate_id = "term#0.10-pre"] +#![crate_id = "term#0.10"] #![comment = "Simple ANSI color library"] #![license = "MIT/ASL2"] #![crate_type = "rlib"] diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 1bc3e9e6ba5e4..2bb15fe269ef8 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -23,7 +23,7 @@ // running tests while providing a base that other test frameworks may // build off of. -#![crate_id = "test#0.10-pre"] +#![crate_id = "test#0.10"] #![comment = "Rust internal test library only used by rustc"] #![license = "MIT/ASL2"] #![crate_type = "rlib"] diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs index 261e4e25aff31..eddb8f6bb567a 100644 --- a/src/libtime/lib.rs +++ b/src/libtime/lib.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_id = "time#0.10-pre"] +#![crate_id = "time#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/liburl/lib.rs b/src/liburl/lib.rs index b729a7a69e21e..474a9b4854e6c 100644 --- a/src/liburl/lib.rs +++ b/src/liburl/lib.rs @@ -10,7 +10,7 @@ //! Types/fns concerning URLs (see RFC 3986) -#![crate_id = "url#0.10-pre"] +#![crate_id = "url#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libuuid/lib.rs b/src/libuuid/lib.rs index d1e4a1c0472be..84f7a9a362bc3 100644 --- a/src/libuuid/lib.rs +++ b/src/libuuid/lib.rs @@ -54,7 +54,7 @@ Examples of string representations: */ -#![crate_id = "uuid#0.10-pre"] +#![crate_id = "uuid#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/libworkcache/lib.rs b/src/libworkcache/lib.rs index a078a770e86d5..5cfca04690ca9 100644 --- a/src/libworkcache/lib.rs +++ b/src/libworkcache/lib.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_id = "workcache#0.10-pre"] +#![crate_id = "workcache#0.10"] #![crate_type = "rlib"] #![crate_type = "dylib"] #![license = "MIT/ASL2"] diff --git a/src/test/auxiliary/issue-11908-1.rs b/src/test/auxiliary/issue-11908-1.rs index f06929a5deeec..1fc06f4f682c3 100644 --- a/src/test/auxiliary/issue-11908-1.rs +++ b/src/test/auxiliary/issue-11908-1.rs @@ -10,5 +10,5 @@ // no-prefer-dynamic -#[crate_id = "collections#0.10-pre"]; +#[crate_id = "collections#0.10"]; #[crate_type = "dylib"]; diff --git a/src/test/auxiliary/issue-11908-2.rs b/src/test/auxiliary/issue-11908-2.rs index 345be34f37746..45a5bc2c496e1 100644 --- a/src/test/auxiliary/issue-11908-2.rs +++ b/src/test/auxiliary/issue-11908-2.rs @@ -10,5 +10,5 @@ // no-prefer-dynamic -#[crate_id = "collections#0.10-pre"]; +#[crate_id = "collections#0.10"]; #[crate_type = "rlib"]; diff --git a/src/test/run-make/crate-data-smoke/Makefile b/src/test/run-make/crate-data-smoke/Makefile index 5009ed15ee6c0..b849b71d2074c 100644 --- a/src/test/run-make/crate-data-smoke/Makefile +++ b/src/test/run-make/crate-data-smoke/Makefile @@ -1,7 +1,7 @@ -include ../tools.mk all: - [ `$(RUSTC) --crate-id crate.rs` = "foo#0.10-pre" ] + [ `$(RUSTC) --crate-id crate.rs` = "foo#0.10" ] [ `$(RUSTC) --crate-name crate.rs` = "foo" ] [ `$(RUSTC) --crate-file-name crate.rs` = "foo" ] [ `$(RUSTC) --crate-file-name --crate-type=lib --test crate.rs` = "foo" ] diff --git a/src/test/run-make/crate-data-smoke/crate.rs b/src/test/run-make/crate-data-smoke/crate.rs index 71b54f6c3414c..e2b69ec53e44a 100644 --- a/src/test/run-make/crate-data-smoke/crate.rs +++ b/src/test/run-make/crate-data-smoke/crate.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#[crate_id = "foo#0.10-pre"]; +#[crate_id = "foo#0.10"]; // Querying about the crate metadata should *not* parse the entire crate, it // only needs the crate attributes (which are guaranteed to be at the top) be diff --git a/src/test/run-pass/use.rs b/src/test/run-pass/use.rs index 1d65a0a5e9e8c..468baaa079ce2 100644 --- a/src/test/run-pass/use.rs +++ b/src/test/run-pass/use.rs @@ -17,7 +17,7 @@ #[no_std]; extern crate std; extern crate zed = "std"; -extern crate bar = "std#0.10-pre"; +extern crate bar = "std#0.10"; use std::str; From 671649a18e84bf88c41a083c3740eeae1c8c41aa Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Tue, 1 Apr 2014 22:55:09 +1100 Subject: [PATCH 2/4] Minor adjustments to the 0.10 release notes. Mention another lint, fix a typo, and rearrange some things. --- RELEASES.txt | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/RELEASES.txt b/RELEASES.txt index 2e9a71274bdf9..5e43050e60dbe 100644 --- a/RELEASES.txt +++ b/RELEASES.txt @@ -6,7 +6,10 @@ Version 0.10 (April 2014) * Language * A new RFC process is now in place for modifying the language. * Patterns with `@`-pointers have been removed from the language. - * Patterns with unique vectors have been removed from the language. + * Patterns with unique vectors (`~[T]`) have been removed from the + language. + * Patterns with unique strings (`~str`) have been removed from the + language. * `@str` has been removed from the language. * `@[T]` has been removed from the language. * `@self` has been removed from the language. @@ -25,9 +28,10 @@ Version 0.10 (April 2014) * Camel Case types * Uppercase variables * Publicly visible private types + * `#[deriving]` with raw pointers * Unsafe functions can no longer be coerced to closures. * Various obscure macros such as `log_syntax!` are now behind feature gates. - * The #[simd] attribute is now behind a feature gate. + * The `#[simd]` attribute is now behind a feature gate. * Visibility is no longer allowed on `extern crate` statements, and unnecessary visibility (`priv`) is no longer allowed on `use` statements. * Trailing commas are now allowed in argument lists and tuple patterns. @@ -39,7 +43,7 @@ Version 0.10 (April 2014) * The `Share` trait has been added for types that can be shared among threads. * Labels in macros are now hygienic. - * Expresson/statement macro invocations can be delimited with `{}` now. + * Expression/statement macro invocations can be delimited with `{}` now. * Treatment of types allowed in `static mut` locations has been tweaked. * The `*` and `.` operators are now overloadable through the `Deref` and `DerefMut` traits. @@ -145,16 +149,20 @@ Version 0.10 (April 2014) * Output flags have been centralized into one `--emit` flag. * Crate type flags have been centralized into one `--crate-type` flag. * Codegen flags have been consolidated behind a `-C` flag. - * `rustdoc` now implements syntax highlighting and rendering markdown files. - * `rustdoc --test` now tests all code blocks by default. - * `rustdoc` now shows documented macros. - * `rustdoc` inlines documentation for reexported types. - * `rustdoc` search works across crates now. * Linking against outdated crates now has improved error messages. * Error messages with lifetimes will often suggest how to annotate the function to fix the error. * Many more types are documented in the standard library, and new guides were written. + * Many `rustdoc` improvements: + * code blocks are syntax highlighted. + * render standalone markdown files. + * the --test flag tests all code blocks by default. + * exported macros are displayed. + * reexported types have their documentation inlined at the location of the + first reexport. + * search works across crates that have been rendered to the same output + directory. Version 0.9 (January 2014) -------------------------- From 606a3160e1658229d255094a0eca953dadfcd2eb Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 2 Apr 2014 16:57:02 -0700 Subject: [PATCH 3/4] Update AUTHORS.txt for 0.10 --- AUTHORS.txt | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 91 insertions(+), 3 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index dd9dedc0d810d..639277f0c0cc3 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -9,29 +9,38 @@ Aleksander Balicki Alex Crichton Alex Lyon Alex Rønne Petersen +Alex Whitney Alexander Stavonin Alexandros Tasos Alexei Sholik Aljaž "g5pw" Srebrnič Anders Kaseorg +Andre Arko Andreas Gal Andreas Martens Andreas Neuhaus Andreas Ots Andrei Formiga +Andrew Chin Andrew Dunham Andrew Paseltiner Anthony Juckel +aochagavia +Arcterus Arkaitz Jimenez Armin Ronacher Ashok Gautham Austin King Austin Seipp +Axel Viala Aydin Kim auREAX +b1nd Ben Alpert Ben Blum +Ben Harris Ben Kelly +Ben Noordhuis Ben Striegel Benjamin Herr Benjamin Jackman @@ -55,7 +64,9 @@ Brian Anderson Brian Dawn Brian J. Burg Brian Leibig +Bruno de Oliveira Abinader Bryan Dunsmore +Byron Williams Cadence Marseille Caitlin Potter Carl-Anton Ingmarsson @@ -68,16 +79,24 @@ Chris Morgan Chris Peterson Chris Pressey Chris Sainty +Chris Wong +chromatic +Clark Gaebel Cody Schroeder +Cole Mickens +Colin Sherratt +comex Corey Richardson Damian Gryski Damien Grassart Damien Schoof -Daniel Brooks -Daniel Farina Dan Connolly Dan Luu +Daniel Brooks +Daniel Fagnan +Daniel Farina Daniel Luz +Daniel MacDougall Daniel Micay Daniel Patterson Daniel Ralston @@ -90,19 +109,30 @@ David Creswick David Forsythe David Halperin David Klein -David Manescu +David Manescu David Rajchenbach-Teller David Renshaw +Davis Silverman +Derek Chiang +Derek Guenther Diego Ongaro Diggory Hardy Dimitri Krassovski Dirkjan Bussink +Div Shekhar Dmitry Ermolov +Dmitry Promsky +Dmitry Vasiliev Do Nhat Minh +Douglas Young Donovan Preston Drew Willcoxon +Dylan Braithwaite +Eduard Bopp Eduard Burtescu +Edward Wang Edward Z. Yang +Ehsanul Hoque eliovir Elliott Slaughter Elly Fong-Jones @@ -116,9 +146,11 @@ Erick Tryzelaar Erik Price Erik Rose Etienne Millon +Eunchong Yu Evan McClanahan Fabrice Desré Fedor Indutny +Felix Crux Felix S. Klock II Flaper Fesp Flavio Percoco @@ -133,8 +165,11 @@ Gábor Horváth Gabriel Gareth Daniel Smith Gary Linscott +Gary M. Josack +gentlefolk Geoff Hill Geoffroy Couprie +George Papanikolaou Georges Dubus gifnksm Glenn Willen @@ -150,6 +185,8 @@ hansjorg Harry Marr Heather Herman J. Radtke III +HeroesGrave +Hong Chulju Huon Wilson Ian D. Bollinger Ian Daniher @@ -157,18 +194,23 @@ Igor Bukanov Ilyong Cho Isaac Aggrey Isaac Dupree +Ivan Enderlin Ivano Coppola Jack Moffitt +Jag Talon Jacob Harris Cryer Kragh Jacob Parker Jaemin Moon +Jake Kerr Jakub Jakub Wieczorek +James Deng James Miller James Tranovich Jan Kobler Jan Niklas Hasse Jannis Harder +Jason Fager Jason Orendorff Jason Toffaletti Jay Anderson @@ -179,6 +221,7 @@ Jeff Olson Jeffrey Yasskin Jeong YunWon Jens Nockert +Jeremy Letang Jesse Jones Jesse Luehrs Jesse Ruderman @@ -188,14 +231,19 @@ Jimmy Lu Jimmy Zelinskie J. J. Weber jmgrosen +joaoxsouls Joe Pletcher Joe Schafer +Johannes Löthberg +Johannes Muenzel John Barker John Clements John Louis Walker Jon Morton +Jonathan S Jonathan Sternberg Jordi Boggiano +Jorge Aparicio Josh Matthews Joshua Clark Joshua Wise @@ -206,6 +254,7 @@ Jyun-Yan You Kang Seonghoon Keegan McAllister Kelly Wilson +Keshav Kini Kevin Atkinson Kevin Ballard Kevin Cantu @@ -214,6 +263,7 @@ Kevin Murphy Kiet Tran klutzy korenchkin +kvark Kyeongwoon Lee Lars Bergstrom Laurent Bonnans @@ -222,8 +272,11 @@ Leah Hanson Lee Wondong Léo Testard Lennart Kudling +Liigo Zhuang Lindsey Kuper +lpy Luca Bruno +lucy Luis de Bethencourt Luqman Aden lyuts @@ -231,6 +284,7 @@ Magnus Auvinen Mahmut Bulut maikklein Makoto Nakashima +Marcel Rodrigues Margaret Meyerhofer Marijn Haverbeke Mark Lacey <641@rudkx.com> @@ -246,27 +300,39 @@ Matthew Auld Matthew Iselin Matthew McPherrin Matthew O'Connor +Matthias Einwag Matthijs Hofstra +Matthijs van der Vleuten Max Penet Maxim Kolganov Micah Chalmer Michael Arntzenius Michael Bebenita +Michael Darakananda Michael Letterle Michael Neumann Michael Sullivan Michael Williams Michael Woerister +Mickaël Delahaye Mihnea Dobrescu-Balaur +Mike Boutin Mikko Perttunen +mr.Shu +Ms2ger Mukilan Thiagarajan +musitdev +Nathaniel Herman +Nick Cameron Nick Desaulniers Nif Ward Niko Matsakis +noam Noufal Ibrahim novalis Ogino Masanori Olivier Saut +Olle Jonsson Or Brostovski Orphée Lafond-Lummis osa1 @@ -278,14 +344,20 @@ Paul Stansifer Paul Woolcock Pavel Panchekha Peter Hull +Peter Marheine Peter Williams Peter Zotov +Petter Remen Philipp Brüschweiler +Piotr Czarnecki +Piotr Zolnierek Pradeep Kumar +Q.P.Liu Rafael Ávila de Espíndola Ralph Bodenner Ralph Giles Ramkumar Ramachandra +Raphael Catolino Raphael Speyer reedlepee Reuben Morais @@ -293,6 +365,7 @@ Richard Diamond Rick Waldron Rob Arnold Rob Hoelz +Robert Gawdzik Robert Irelan Robert Knight Robert Millar @@ -300,12 +373,16 @@ Roland Tanglao Ron Dahlgren Roy Frostig Ryan Scheel +Salem Talha Samuel Chase Sander Mathijs van Veen Sangeun Kim Sankha Narayan Guria Saurabh Anand +Scott Jenkins Scott Lawrence +Sean Chalmers +Sean McArthur Sean Moon Sean Stangl Sebastian N. Fernandez @@ -316,6 +393,7 @@ Seth Pink Seo Sanghyeon Seonghyun Kim sevrak +Shamir Khodzha SiegeLord Simon Barber-Dueck Simon Sapin @@ -323,6 +401,7 @@ sp3d startling Stefan Plantikow Stepan Koltsov +Sterling Greene Steve Klabnik Steven De Coeyer Steven Fackler @@ -335,11 +414,14 @@ Thomas Daede Tim Chevalier Tim Kuehn Tim Taubert +Tobias Bucher Tom Lee Tomas Sedovic Tommy M. McGuire Tomoki Aonuma Tony Young +Torsten Weber +Trent Ogren Trinick Tycho Sci Tyler Bindon @@ -349,16 +431,22 @@ Vadim Chugunov Vijay Korapaty Viktor Dahl Vincent Belliard +Virgile Andreani Vivek Galatage Volker Mische Wade Mealing +WebeWizard William Ting +xales +Yehuda Katz Yasuhiro Fujii Young-il Choi Youngmin Yoo Youngsoo Son +Yuri Kunde Schlesner Zach Kamsler Zack Corr Zack Slayton Ziad Hatahet zofrex +zslayton From 46867cc3e4ddcbb1d359a315805de00094dacaf9 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 2 Apr 2014 16:59:39 -0700 Subject: [PATCH 4/4] Tweak the installation instructions in the README Update the instructions to reflect that we have binary installers for all supported platforms, and move the building from source directions into a dedicated "Building from Source" directory. --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 55cfd36ec8538..2d826b69abc8f 100644 --- a/README.md +++ b/README.md @@ -5,20 +5,19 @@ documentation. ## Quick Start -### Windows - -1. Download and use the [installer and MinGW][win-wiki]. +1. Download a [binary insaller][installer] for your platform. 2. Read the [tutorial]. -2. Enjoy! +3. Enjoy! > ***Note:*** Windows users can read the detailed > [getting started][wiki-start] notes on the wiki. +[installer]: http://www.rust-lang.org/install.html [tutorial]: http://static.rust-lang.org/doc/tutorial.html [wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust [win-wiki]: https://github.com/mozilla/rust/wiki/Using-Rust-on-Windows -### Linux / OS X +## Building from Source 1. Make sure you have installed the dependencies: * `g++` 4.4 or `clang++` 3.x