rust/src
Alex Crichton 54452cdd68 std: Second pass stabilization for ptr
This commit performs a second pass for stabilization over the `std::ptr` module.
The specific actions taken were:

* The `RawPtr` trait was renamed to `PtrExt`
* The `RawMutPtr` trait was renamed to `MutPtrExt`
* The module name `ptr` is now stable.
* These functions were all marked `#[stable]` with no modification:
  * `null`
  * `null_mut`
  * `swap`
  * `replace`
  * `read`
  * `write`
  * `PtrExt::is_null`
  * `PtrExt::offset`
* These functions remain unstable:
  * `as_ref`, `as_mut` - the return value of an `Option` is not fully expressive
                         as null isn't the only bad value, and it's unclear
                         whether we want to commit to these functions at this
                         time. The reference/lifetime semantics as written are
                         also problematic in how they encourage arbitrary
                         lifetimes.
  * `zero_memory` - This function is currently not used at all in the
                    distribution, and in general it plays a broader role in the
                    "working with unsafe pointers" story. This story is not yet
                    fully developed, so at this time the function remains
                    unstable for now.
  * `read_and_zero` - This function remains unstable for largely the same
                      reasons as `zero_memory`.
* These functions are now all deprecated:
  * `PtrExt::null` - call `ptr::null` or `ptr::null_mut` instead.
  * `PtrExt::to_uint` - use an `as` expression instead.
  * `PtrExt::is_not_null` - use `!p.is_null()` instead.
2014-12-29 15:57:28 -08:00
..
compiler-rt@62a4ca6055
compiletest Fix up remaining usage of to_ascii. 2014-12-25 15:26:16 +01:00
doc auto merge of #20117 : lfairy/rust/rename-include-bin, r=alexcrichton 2014-12-24 20:47:12 +00:00
driver Separate the driver into its own crate that uses trans, typeck. 2014-12-04 10:04:52 -05:00
etc auto merge of #19227 : johshoff/rust/master, r=brson 2014-12-29 05:22:26 +00:00
grammar Modify regex::Captures::{at,name} to return Option 2014-12-14 08:56:51 -05:00
jemalloc@b001609960 update jemalloc 2014-10-05 22:17:25 -04:00
liballoc std: Second pass stabilization for ptr 2014-12-29 15:57:28 -08:00
libarena libarena: use unboxed closures 2014-12-13 17:03:46 -05:00
libbacktrace
libcollections std: Second pass stabilization for ptr 2014-12-29 15:57:28 -08:00
libcore std: Second pass stabilization for ptr 2014-12-29 15:57:28 -08:00
libcoretest libcoretest: Add tests for NonZero. 2014-12-28 19:40:48 -05:00
libflate Rename UniquePtr to Unique 2014-12-26 17:26:33 +01:00
libfmt_macros Fallout of std::str stabilization 2014-12-21 23:31:42 -08:00
libgetopts Fallout of std::str stabilization 2014-12-21 23:31:42 -08:00
libgraphviz Fix fallout 2014-12-27 09:55:25 +13:00
liblibc Several fixes for DragonFly (rebase) 2014-12-19 13:05:06 +01:00
liblog Fallout of changing format_args!(f, args) to f(format_args!(args)). 2014-12-27 23:57:43 +02:00
librand librand: use #[deriving(Copy)] 2014-12-19 10:43:24 -05:00
librbml librbml: use #[deriving(Copy)] 2014-12-19 10:43:24 -05:00
libregex Prevent Regex::new() from panicking when a non-AST item is repeated 2014-12-26 14:02:51 +09:00
libregex_macros rollup merge of #19820: alexcrichton/deprecate-some-more-libs 2014-12-17 11:50:24 -08:00
librustc auto merge of #20058 : Kimundi/rust/str_pattern_pre, r=alexcrichton 2014-12-29 18:02:30 +00:00
librustc_back auto merge of #20024 : mneumann/rust/dragonfly-fixes3, r=alexcrichton 2014-12-25 05:11:36 +00:00
librustc_borrowck Store Substs in an arena in the tcx. 2014-12-29 23:55:24 +11:00
librustc_driver More rebase fixes. 2014-12-30 00:11:30 +11:00
librustc_llvm librustc_llvm: use #[deriving(Copy)] 2014-12-19 10:51:00 -05:00
librustc_resolve Switch Region information from uint to u32. 2014-12-29 23:55:24 +11:00
librustc_trans std: Second pass stabilization for ptr 2014-12-29 15:57:28 -08:00
librustc_typeck More rebase fixes. 2014-12-30 00:11:30 +11:00
librustdoc More rebase fixes. 2014-12-30 00:11:30 +11:00
libserialize Rename and namespace FPCategory 2014-12-23 13:42:09 +01:00
libstd std: Second pass stabilization for ptr 2014-12-29 15:57:28 -08:00
libsyntax Rebase fixes. 2014-12-29 23:55:25 +11:00
libterm Remove Ascii, AsciiCast, OwnedAsciiCast, AsciiStr, IntoBytes, IntoString. 2014-12-25 12:19:37 +01:00
libtest Make Send and Sync traits unsafe 2014-12-26 17:26:33 +01:00
libtime serialize: Fully deprecate the library 2014-12-22 00:14:56 -08:00
libunicode Prepared most StrExt pattern using methods for stabilization 2014-12-25 17:08:29 +01:00
llvm@ec1fdb3b9d Update LLVM to get slightly better memcpy elision 2014-10-17 17:16:18 +02:00
rt Removed unused context-switching assembly code. 2014-12-22 19:12:35 +02:00
rust-installer@aed7347241 Use rust-installer for installation 2014-12-11 17:14:17 -08:00
rustllvm Add LLVM ExecutionEngine API 2014-12-11 15:33:27 -07:00
test Don't expose NonZero through libstd. 2014-12-28 19:40:48 -05:00
snapshots.txt Test fixes and rebase conflicts 2014-12-21 13:49:04 -08:00