rust/src/libstd
Aaron Turon 42c4e481cd Stabilize std::path
This commit stabilizes essentially all of the new `std::path` API. The
API itself is changed in a couple of ways (which brings it in closer
alignment with the RFC):

* `.` components are now normalized away, unless they appear at the
  start of a path. This in turn effects the semantics of e.g. asking for
  the file name of `foo/` or `foo/.`, both of which yield `Some("foo")`
  now. This semantics is what the original RFC specified, and is also
  desirable given early experience rolling out the new API.

* The `parent` function now succeeds if, and only if, the path has at
  least one non-root/prefix component. This change affects `pop` as
  well.

* The `Prefix` component now involves a separate `PrefixComponent`
  struct, to better allow for keeping both parsed and unparsed prefix data.

In addition, the `old_path` module is now deprecated.

Closes #23264

[breaking-change]
2015-03-12 16:38:58 -07:00
..
collections Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
ffi Stabilize std::path 2015-03-12 16:38:58 -07:00
fs Stabilize std::path 2015-03-12 16:38:58 -07:00
io rollup merge of #23087: nagisa/std-undeadlock 2015-03-06 15:37:47 -08:00
net Test fixes and rebase conflicts 2015-03-06 19:27:36 -08:00
num Rollup merge of #22984 - carols10cents:tests-for-float, r=huonw 2015-03-09 00:02:28 +05:30
old_io Auto merge of #23126 - alexcrichton:char-third-pass, r=aturon 2015-03-10 22:45:10 +00:00
old_path Stabilize std::path 2015-03-12 16:38:58 -07:00
prelude Add core::num::wrapping and fix overflow errors. 2015-03-03 12:10:19 +01:00
rand Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
rt Remove integer suffixes where the types in compiled code are identical. 2015-03-05 12:38:33 +05:30
sync Rollup merge of #23125 - danburkert:master, r=brson 2015-03-10 14:59:31 +05:30
sys Stabilize std::path 2015-03-12 16:38:58 -07:00
thread_local Use #[allow_internal_unstable] for thread_local! 2015-03-06 00:18:29 +11:00
time Fix Duration::weeks docs 2015-03-04 12:16:37 +00:00
ascii.rs Remove integer suffixes where the types in compiled code are identical. 2015-03-05 12:38:33 +05:30
bool.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
dynamic_lib.rs Stabilize std::path 2015-03-12 16:38:58 -07:00
env.rs Stabilize std::path 2015-03-12 16:38:58 -07:00
lib.rs Rollup merge of #23056 - awlnx:master, r=nrc 2015-03-06 22:22:33 +05:30
macros.rs Resolve includeme.fragment conflict. 2015-02-21 06:56:46 -05:00
os.rs Stabilize std::path 2015-03-12 16:38:58 -07:00
panicking.rs Replace all uses of &foo[] with &foo[..] en masse. 2015-02-18 17:36:03 -05:00
path.rs Stabilize std::path 2015-03-12 16:38:58 -07:00
process.rs remove uses of as_slice where deref coercions can be used 2015-03-09 07:54:19 -07:00
rtdeps.rs fixing trailing whitespace errors 2015-02-11 14:49:07 -08:00
thread.rs remove uses of as_slice where deref coercions can be used 2015-03-09 07:54:19 -07:00
thunk.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
tuple.rs Remove integer suffixes where the types in compiled code are identical. 2015-03-05 12:38:33 +05:30
unit.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00