From f792d177a493aa3ced268ed4d6815baef5ab8d29 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 25 Mar 2013 13:05:14 -0700 Subject: [PATCH 1/3] core: Hide GC docs --- src/libcore/gc.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcore/gc.rs b/src/libcore/gc.rs index 6b25611466321..f2fe73e501e2d 100644 --- a/src/libcore/gc.rs +++ b/src/libcore/gc.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#[doc(hidden)]; + /*! Precise garbage collector The precise GC exposes two functions, gc and From 8cb165a764b7cf650791c0e0cb7cac4dd853fc5c Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 26 Mar 2013 12:28:04 -0700 Subject: [PATCH 2/3] Update 0.6 release notes --- RELEASES.txt | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/RELEASES.txt b/RELEASES.txt index f9b7c0730b8e1..01a2e5fad0faa 100644 --- a/RELEASES.txt +++ b/RELEASES.txt @@ -1,21 +1,14 @@ Version 0.6 (March 2013) --------------------------- - * ~2000 changes, numerous bugfixes - - * TODO: - * Ord/Cmp - * Lifetime changes - * Remove `static` keyword - * Static method syntax - * `as Trait` - * `copy` removed, replaced with `Clone`? - * More details for "Name resolution continues to be tweaked"? + * ~2100 changes, numerous bugfixes * Syntax changes * The self type parameter in traits is now spelled `Self` * The `self` parameter in trait and impl methods must now be explicitly named (for example: `fn f(&self) { }`). Implicit self is deprecated. + * Static methods no longer require the `static` keyword and instead + are distinguished by the lack of a `self` parameter * Replaced the `Durable` trait with the `'static` lifetime * The old closure type syntax with the trailing sigil has been removed in favor of the more consistent leading sigil @@ -23,6 +16,7 @@ Version 0.6 (March 2013) * Trait bounds are separated with `+` instead of whitespace * Traits are implemented with `impl Trait for Type` instead of `impl Type: Trait` + * Lifetime syntax is now `&'l foo` instead of `&l/foo` * The `export` keyword has finally been removed * The `move` keyword has been removed (see "Semantic changes") * The interior mutability qualifier on vectors, `[mut T]`, has been @@ -41,9 +35,11 @@ Version 0.6 (March 2013) * Pattern matching over vectors improved and expanded * `const` renamed to `static` to correspond to lifetime name, and make room for future `static mut` unsafe mutable globals. - * Replaced `#[deriving_eq]` with `#[deriving(Eq)]` + * Replaced `#[deriving_eq]` with `#[deriving(Eq)]`, etc. * `Clone` implementations can be automatically generated with `#[deriving(Clone)]` + * Casts to traits must use a pointer sigil, e.g. `@foo as @Bar` + instead of `foo as Bar`. * Semantic changes * Types with owned pointers or custom destructors move by default, @@ -54,7 +50,11 @@ Version 0.6 (March 2013) * () has size 0 * The name of the main function can be customized using #[main] * The default type of an inferred closure is &fn instead of @fn - * Name resolution continues to be tweaked + * `use` statements may no longer be "chained" - they cannot import + identifiers imported by previous `use` statements + * `use` statements are crate relative, importing from the "top" + of the crate by default. Paths may be prefixed with `super::` + or `self::` to change the search behavior. * Method visibility is inherited from the implementation declaration * Structural records have been removed * Many more types can be used in static items, including enums @@ -78,14 +78,15 @@ Version 0.6 (March 2013) * `std::deque` and `std::smallintmap` reimplemented as owned containers * `core::trie` added as a fast ordered map for integer keys * Set types added to `core::hashmap`, `core::trie` and `std::treemap` + * `Ord` split into `Ord` and `TotalOrd`. `Ord` is still used to + overload the comparison operators, whereas `TotalOrd` is used + by certain container types - * Tools + * Other * Replaced the 'cargo' package manager with 'rustpkg' * Added all-purpose 'rust' tool * `rustc --test` now supports benchmarks with the `#[bench]` attribute - * rustc now attempts to offer spelling suggestions - - * Misc + * rustc now *attempts* to offer spelling suggestions * Improved support for ARM and Android * Preliminary MIPS backend * Improved foreign function ABI implementation for x86, x86_64 From 110a273e0d3a34540da2bc1c57027120d81c5e87 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 26 Mar 2013 12:40:59 -0700 Subject: [PATCH 3/3] Add missing authors --- AUTHORS.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/AUTHORS.txt b/AUTHORS.txt index 33ac21e6db9d8..ae583d6409e23 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -21,6 +21,7 @@ Aydin Kim auREAX Ben Alpert Ben Blum +Ben Kelly Ben Striegel Benjamin Herr Benjamin Jackman @@ -44,9 +45,12 @@ Daniel Brooks Daniel Luz Daniel Micay Daniel Patterson +Daniel Ursache Dogariu Dave Herman David Forsythe +David Klein David Rajchenbach-Teller +Dimitri Krassovski Donovan Preston Drew Willcoxon Elliott Slaughter @@ -66,6 +70,7 @@ Gonçalo Cabrita <_@gmcabrita.com> Graham Fawcett Grahame Bowland Haitao Li +hansjorg Huon Wilson Ian D. Bollinger Ilyong Cho @@ -80,11 +85,14 @@ Jeff Balogh Jeff Muizelaar Jeff Olson Jeffrey Yasskin +Jeong YunWon Jens Nockert Jesse Jones Jesse Ruderman +Jihyun Yu Jim Blandy Jimmy Lu +J. J. Weber Joe Pletcher John Clements Jon Morton @@ -99,6 +107,7 @@ Kevin Atkinson Kevin Cantu Kyeongwoon Lee Laurent Bonnans +Lawrence Velázquez Lennart Kudling Lindsey Kuper Luca Bruno @@ -112,7 +121,9 @@ Mark Vian Martin DeMello Marvin Löbel Matt Brubeck +Matthew McPherrin Matthew O'Connor +Matthijs Hofstra Max Penet Michael Arntzenius Michael Bebenita @@ -121,6 +132,7 @@ Michael Sullivan Mikko Perttunen Nick Desaulniers Niko Matsakis +Olivier Saut Or Brostovski Orphée Lafond-Lummis Patrick Walton @@ -140,7 +152,9 @@ Roy Frostig Ryan Scheel Sean Stangl Sebastian N. Fernandez +Seth Pink Seo Sanghyeon +sevrak Simon Barber-Dueck Simon Sapin startling @@ -148,6 +162,7 @@ Stefan Plantikow Steve Klabnik Taras Shpot Ted Horst +Thad Guidry Tim Chevalier Tim Taubert Tom Lee @@ -161,5 +176,6 @@ Vincent Belliard Wade Mealing William Ting Yasuhiro Fujii +Young-il Choi Youngsoo Son Zack Corr