diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-12-03 16:48:01 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-12-03 17:12:14 -0800 |
| commit | 00c856c0b1feac74df8b404fad94d74a0cf1624a (patch) | |
| tree | 6fed03be32898c9b0c22f8e409d03533957cf75b /src/libstd | |
| parent | 7eda4a567d30ecadc3f6bfa17e2911594ad6b1fa (diff) | |
| download | rust-00c856c0b1feac74df8b404fad94d74a0cf1624a.tar.gz rust-00c856c0b1feac74df8b404fad94d74a0cf1624a.zip | |
Update license, add license boilerplate to most files. Remainder will follow.
Diffstat (limited to 'src/libstd')
43 files changed, 430 insertions, 0 deletions
diff --git a/src/libstd/arc.rs b/src/libstd/arc.rs index 3ced56e6f50..05acbeab9e5 100644 --- a/src/libstd/arc.rs +++ b/src/libstd/arc.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // NB: transitionary, de-mode-ing. #[forbid(deprecated_mode)]; /** diff --git a/src/libstd/arena.rs b/src/libstd/arena.rs index ea247d4bd3f..105e8fb122f 100644 --- a/src/libstd/arena.rs +++ b/src/libstd/arena.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // Dynamic arenas. // Arenas are used to quickly allocate objects that share a diff --git a/src/libstd/base64.rs b/src/libstd/base64.rs index 5db71b12185..43f13b5b91f 100644 --- a/src/libstd/base64.rs +++ b/src/libstd/base64.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; use io::Reader; diff --git a/src/libstd/bitv.rs b/src/libstd/bitv.rs index 3c1fc9ee6ce..e9ff56df30d 100644 --- a/src/libstd/bitv.rs +++ b/src/libstd/bitv.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; use vec::{to_mut, from_elem}; diff --git a/src/libstd/c_vec.rs b/src/libstd/c_vec.rs index 8777592eacc..cd1fa33a08f 100644 --- a/src/libstd/c_vec.rs +++ b/src/libstd/c_vec.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * Library to interface with chunks of memory allocated in C. * diff --git a/src/libstd/cell.rs b/src/libstd/cell.rs index 78027aa8907..b972ef953e4 100644 --- a/src/libstd/cell.rs +++ b/src/libstd/cell.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; /// A dynamic, mutable location. /// diff --git a/src/libstd/cmp.rs b/src/libstd/cmp.rs index 2ec0bf41675..28ee8c81e73 100644 --- a/src/libstd/cmp.rs +++ b/src/libstd/cmp.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; /// Additional general-purpose comparison functionality. diff --git a/src/libstd/comm.rs b/src/libstd/comm.rs index e604b87b2af..f8b24389d3c 100644 --- a/src/libstd/comm.rs +++ b/src/libstd/comm.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! Higher level communication abstractions. diff --git a/src/libstd/dbg.rs b/src/libstd/dbg.rs index f141a028e65..75e25f75c6c 100644 --- a/src/libstd/dbg.rs +++ b/src/libstd/dbg.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; //! Unsafe debugging functions for inspecting values. diff --git a/src/libstd/deque.rs b/src/libstd/deque.rs index f33ff892f36..96d57297cf7 100644 --- a/src/libstd/deque.rs +++ b/src/libstd/deque.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! A deque. Untested as of yet. Likely buggy #[forbid(deprecated_mode)]; #[forbid(non_camel_case_types)]; diff --git a/src/libstd/ebml.rs b/src/libstd/ebml.rs index 905b7f318e0..1bfba2c7b0c 100644 --- a/src/libstd/ebml.rs +++ b/src/libstd/ebml.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; use serialization; diff --git a/src/libstd/fun_treemap.rs b/src/libstd/fun_treemap.rs index 200193a48a8..1eccb5a8d92 100644 --- a/src/libstd/fun_treemap.rs +++ b/src/libstd/fun_treemap.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; /*! diff --git a/src/libstd/future.rs b/src/libstd/future.rs index a22e4d67468..e0aed60e803 100644 --- a/src/libstd/future.rs +++ b/src/libstd/future.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // NB: transitionary, de-mode-ing. // tjc: allowing deprecated modes due to function issue. // can re-forbid them after snapshot diff --git a/src/libstd/getopts.rs b/src/libstd/getopts.rs index ec6e1d558d4..83e7841fcd0 100644 --- a/src/libstd/getopts.rs +++ b/src/libstd/getopts.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * Simple getopt alternative. * diff --git a/src/libstd/json.rs b/src/libstd/json.rs index 8551072d461..1cfda4947e2 100644 --- a/src/libstd/json.rs +++ b/src/libstd/json.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // Rust JSON serialization library // Copyright (c) 2011 Google Inc. #[forbid(deprecated_mode)]; diff --git a/src/libstd/list.rs b/src/libstd/list.rs index ccff91634b8..68f807f8403 100644 --- a/src/libstd/list.rs +++ b/src/libstd/list.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! A standard linked list #[forbid(deprecated_mode)]; diff --git a/src/libstd/map.rs b/src/libstd/map.rs index b1909bfb067..05a8e37d9af 100644 --- a/src/libstd/map.rs +++ b/src/libstd/map.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! A map type #[forbid(deprecated_mode)]; diff --git a/src/libstd/md4.rs b/src/libstd/md4.rs index d9bc03c311d..8e58a010f46 100644 --- a/src/libstd/md4.rs +++ b/src/libstd/md4.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; pub pure fn md4(msg: &[u8]) -> {a: u32, b: u32, c: u32, d: u32} { diff --git a/src/libstd/net.rs b/src/libstd/net.rs index 76a5955c3e1..230fb4b616d 100644 --- a/src/libstd/net.rs +++ b/src/libstd/net.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Top-level module for network-related functionality pub use tcp = net_tcp; diff --git a/src/libstd/net_ip.rs b/src/libstd/net_ip.rs index 5d78fb19bab..31a62b50d90 100644 --- a/src/libstd/net_ip.rs +++ b/src/libstd/net_ip.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Types/fns concerning Internet Protocol (IP), versions 4 & 6 #[forbid(deprecated_mode)]; diff --git a/src/libstd/net_tcp.rs b/src/libstd/net_tcp.rs index 966cbbb6c14..9f6c83bb436 100644 --- a/src/libstd/net_tcp.rs +++ b/src/libstd/net_tcp.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! High-level interface to libuv's TCP functionality // XXX Need FFI fixes #[allow(deprecated_mode)]; diff --git a/src/libstd/net_url.rs b/src/libstd/net_url.rs index 136df3a4193..6b7dc3f1afd 100644 --- a/src/libstd/net_url.rs +++ b/src/libstd/net_url.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Types/fns concerning URLs (see RFC 3986) #[forbid(deprecated_mode)]; diff --git a/src/libstd/par.rs b/src/libstd/par.rs index e5336b7204d..7cf9c2c3771 100644 --- a/src/libstd/par.rs +++ b/src/libstd/par.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; use future_spawn = future::spawn; diff --git a/src/libstd/prettyprint.rs b/src/libstd/prettyprint.rs index 6119c03cdca..d2829967544 100644 --- a/src/libstd/prettyprint.rs +++ b/src/libstd/prettyprint.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; use io::Writer; diff --git a/src/libstd/rope.rs b/src/libstd/rope.rs index 5aa19c4f785..473992e6820 100644 --- a/src/libstd/rope.rs +++ b/src/libstd/rope.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * High-level text containers. * diff --git a/src/libstd/serialization.rs b/src/libstd/serialization.rs index 93d025a7786..d41aa1227ce 100644 --- a/src/libstd/serialization.rs +++ b/src/libstd/serialization.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Support code for serialization. /* diff --git a/src/libstd/sha1.rs b/src/libstd/sha1.rs index 05890035273..1a005bdc03f 100644 --- a/src/libstd/sha1.rs +++ b/src/libstd/sha1.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * An implementation of the SHA-1 cryptographic hash. * diff --git a/src/libstd/smallintmap.rs b/src/libstd/smallintmap.rs index dd773d25687..b83387a87ba 100644 --- a/src/libstd/smallintmap.rs +++ b/src/libstd/smallintmap.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * A simple map based on a vector for small integer keys. Space requirements * are O(highest integer key). diff --git a/src/libstd/sort.rs b/src/libstd/sort.rs index c9981c2fef5..316e23ef7ac 100644 --- a/src/libstd/sort.rs +++ b/src/libstd/sort.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Sorting methods #[forbid(deprecated_mode)]; diff --git a/src/libstd/sync.rs b/src/libstd/sync.rs index 61201d44d2f..86b9f03313f 100644 --- a/src/libstd/sync.rs +++ b/src/libstd/sync.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // NB: transitionary, de-mode-ing. #[forbid(deprecated_mode)]; /** diff --git a/src/libstd/task_pool.rs b/src/libstd/task_pool.rs index 4ed3c16c994..938a3ffec0c 100644 --- a/src/libstd/task_pool.rs +++ b/src/libstd/task_pool.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /// A task pool abstraction. Useful for achieving predictable CPU /// parallelism. diff --git a/src/libstd/tempfile.rs b/src/libstd/tempfile.rs index 37fcbf6f4ca..25ea4ad7bb5 100644 --- a/src/libstd/tempfile.rs +++ b/src/libstd/tempfile.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Temporary files and directories #[forbid(deprecated_mode)]; diff --git a/src/libstd/term.rs b/src/libstd/term.rs index 2c12fd11e6e..5ec0f934440 100644 --- a/src/libstd/term.rs +++ b/src/libstd/term.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Simple ANSI color library #[forbid(deprecated_mode)]; diff --git a/src/libstd/test.rs b/src/libstd/test.rs index b4d15e1507a..b2dcf02a569 100644 --- a/src/libstd/test.rs +++ b/src/libstd/test.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[doc(hidden)]; // Support code for rustc's built in test runner generator. Currently, diff --git a/src/libstd/time.rs b/src/libstd/time.rs index 3b8d2996146..c4a6e39c86b 100644 --- a/src/libstd/time.rs +++ b/src/libstd/time.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; use core::cmp::Eq; diff --git a/src/libstd/timer.rs b/src/libstd/timer.rs index 199fba45914..a53c03d6d2c 100644 --- a/src/libstd/timer.rs +++ b/src/libstd/timer.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Utilities that leverage libuv's `uv_timer_*` API #[forbid(deprecated_mode)]; diff --git a/src/libstd/treemap.rs b/src/libstd/treemap.rs index e4b6c9b5b9a..e1874bd0bfd 100644 --- a/src/libstd/treemap.rs +++ b/src/libstd/treemap.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * A key,value store that works on anything. * diff --git a/src/libstd/unicode.rs b/src/libstd/unicode.rs index bafe385ed19..732b20ec8f2 100644 --- a/src/libstd/unicode.rs +++ b/src/libstd/unicode.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[forbid(deprecated_mode)]; pub mod icu { diff --git a/src/libstd/uv.rs b/src/libstd/uv.rs index e0fd013907c..1a4f8e89906 100644 --- a/src/libstd/uv.rs +++ b/src/libstd/uv.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * Rust bindings to libuv * diff --git a/src/libstd/uv_global_loop.rs b/src/libstd/uv_global_loop.rs index 79f6bafb4a4..be503216edb 100644 --- a/src/libstd/uv_global_loop.rs +++ b/src/libstd/uv_global_loop.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! A process-wide libuv event loop for library use. #[forbid(deprecated_mode)]; diff --git a/src/libstd/uv_iotask.rs b/src/libstd/uv_iotask.rs index ad40d96e4f7..b718c84b65e 100644 --- a/src/libstd/uv_iotask.rs +++ b/src/libstd/uv_iotask.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * A task-based interface to the uv loop * diff --git a/src/libstd/uv_ll.rs b/src/libstd/uv_ll.rs index 8bf4e9ed3af..d52adbc7873 100644 --- a/src/libstd/uv_ll.rs +++ b/src/libstd/uv_ll.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*! * Low-level bindings to the libuv library. * diff --git a/src/libstd/workcache.rs b/src/libstd/workcache.rs index 08f3d21be47..2fd085fdb33 100644 --- a/src/libstd/workcache.rs +++ b/src/libstd/workcache.rs @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use core::cmp::Eq; use send_map::linear::LinearMap; use pipes::{recv, oneshot, PortOne, send_one}; |
