]> git.lizzy.rs Git - rust.git/commitdiff
Add license boilerplate to more files.
authorGraydon Hoare <graydon@mozilla.com>
Mon, 10 Dec 2012 23:44:02 +0000 (15:44 -0800)
committerGraydon Hoare <graydon@mozilla.com>
Tue, 11 Dec 2012 01:32:58 +0000 (17:32 -0800)
57 files changed:
src/compiletest/runtest.rs
src/libcore/either.rs
src/libcore/kinds.rs
src/libcore/ptr.rs
src/libcore/str.rs
src/librustc/middle/mode.rs
src/libstd/rl.rs
src/libstd/std.rc
src/libsyntax/parse/parser.rs
src/rt/arch/i386/context.cpp
src/rt/arch/i386/context.h
src/rt/arch/x86_64/context.cpp
src/rt/arch/x86_64/context.h
src/rt/boxed_region.cpp
src/rt/circular_buffer.cpp
src/rt/circular_buffer.h
src/rt/memory_region.cpp
src/rt/memory_region.h
src/rt/rust.cpp
src/rt/rust_builtin.cpp
src/rt/rust_debug.cpp
src/rt/rust_env.cpp
src/rt/rust_env.h
src/rt/rust_globals.h
src/rt/rust_kernel.cpp
src/rt/rust_kernel.h
src/rt/rust_log.cpp
src/rt/rust_log.h
src/rt/rust_port.cpp
src/rt/rust_port.h
src/rt/rust_port_selector.cpp
src/rt/rust_port_selector.h
src/rt/rust_refcount.h
src/rt/rust_run_program.cpp
src/rt/rust_sched_driver.cpp
src/rt/rust_sched_launcher.cpp
src/rt/rust_sched_launcher.h
src/rt/rust_sched_loop.cpp
src/rt/rust_sched_loop.h
src/rt/rust_sched_reaper.cpp
src/rt/rust_scheduler.cpp
src/rt/rust_scheduler.h
src/rt/rust_stack.cpp
src/rt/rust_stack.h
src/rt/rust_task.cpp
src/rt/rust_task.h
src/rt/rust_type.h
src/rt/rust_upcall.cpp
src/rt/rust_upcall.h
src/rt/rust_util.h
src/rt/rust_uv.cpp
src/rt/sync/lock_and_signal.cpp
src/rt/sync/lock_and_signal.h
src/rt/sync/rust_thread.cpp
src/rt/sync/rust_thread.h
src/rt/util/array_list.h
src/rustllvm/RustWrapper.cpp

index 44cdb40c3aacbb55b79746d7061e5585be1d9f0d..959bc344f1d50477dced3026ccfbb4163a38179d 100644 (file)
@@ -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 io::WriterUtil;
 
 use common::mode_run_pass;
index 124213bd3033888ecd4d32caa4d43d1889ea6eb4..878fd81651abc9e7ad4fae41f2cc111af2f8efc7 100644 (file)
@@ -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)];
 #[forbid(deprecated_pattern)];
index 1a448b8e1d80b0f9c26fec09ae3f671ff96f23d7..c5a4a3a9dac5ef61f1ede5fc9fee6da51f15b563 100644 (file)
@@ -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.
+
 /*!
 The kind traits
 
index 0ccb14c98e80a77e2e687462afbc61413ed7738c..0e83157c82d66420e3eff9836e0676bfebcae8ff 100644 (file)
@@ -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.
+
 //! Unsafe pointer utility functions
 
 #[forbid(deprecated_mode)];
index e8ed35029d381d158c764475aabe4b5e08b63fcb..fbdf2ce2e44b5a9093f25486c8cfc2bdcc2bb5dc 100644 (file)
@@ -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.
+
 /*!
  * String manipulation
  *
index 91ec4b8ffba3412a983d2555d903c62f3a13d2be..dd75f50507da5ad52302fb9ec2d5193acec588a2 100644 (file)
@@ -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 middle::pat_util;
 use middle::ty;
 use middle::ty::{CopyValue, MoveValue, ReadValue, ValueMode, ctxt};
index 943fecb41150e054b1c5d79ed8f74dbfef6390d6..b8cd1dc3ca2e9c5c0a594094e53d142811dee22a 100644 (file)
@@ -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.
+
 // FIXME #3921. This is unsafe because linenoise uses global mutable
 // state without mutexes.
 
index af2977634e95f5a185e19e971d963925702072d5..7a1fdf49954a033ffc95fdcba34994c0b26376d3 100644 (file)
@@ -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.
+
 /*!
 
 The Rust standard library.
index 1bd3f970573c4053be3fa9dd978a26eb83e6c97a..7fefb7c6a3e36573e9671d5097dd1af0a69522c0 100644 (file)
@@ -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 print::pprust::expr_to_str;
 
 use result::Result;
index 14dbb3e0db7dc03577b45703faf258a6d663a505..50a15e8d86c8238f03d1503700410d3eb8f93519 100644 (file)
@@ -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.
+
 
 #include "context.h"
 #include "../../rust_globals.h"
index ae65cdb581354d987309f3b8b5c18099a59316a3..99d633ebff27c20f1729c6fb75fa7de0d3c73ae1 100644 (file)
@@ -1,4 +1,14 @@
 // -*- mode: c++ -*-
+// 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.
+
 
 #ifndef CONTEXT_H
 #define CONTEXT_H
index aefb1fef2c2ee710cedc51a2ff55f8dde71bad82..b7f82b574680b4b7a1c19ec68023601b374c492e 100644 (file)
@@ -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.
+
 
 #include "context.h"
 #include "../../rust_globals.h"
index 4101e82cc40c942cd394ab57785d80d2f5f67c5c..f78c92e365a2bee2aca0ca20f6359832097ab34d 100644 (file)
@@ -1,4 +1,14 @@
 // -*- mode: c++ -*-
+// 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.
+
 
 #ifndef CONTEXT_H
 #define CONTEXT_H
index 60cc9edec8d0988174bef9fbf71e5265a4844442..c9734f460c5e3ddfbd18734efa3211afcb696b08 100644 (file)
@@ -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.
+
 #include "boxed_region.h"
 #include "rust_globals.h"
 #include "rust_task.h"
index 93d7d612f0bd5b5cd8b356dc26b0d34e8592d757..c4fd0e3d9353744c38c9ff1be123a923242dd000 100644 (file)
@@ -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 resizable circular buffer.
  */
index c54ee8a33e41e8587611972739661b1789e5ce69..10eef04f803118e8806e8f12b8cdcccd40d21a1d 100644 (file)
@@ -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.
+
 /*
  *
  */
index 709665799910200c8634adb62870b17da31cfa2b..3a04cfaf1f8bd94c9ba961a7d33bbc987f1c6af2 100644 (file)
@@ -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.
+
 
 #include "sync/sync.h"
 #include "memory_region.h"
index be8689672a897f993f43cb25d7bc0a84d09fb502..eaaa8bac623d69357186109fc83b8eb9d272ff7f 100644 (file)
@@ -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.
+
 /*
  * The Rust runtime uses memory regions to provide a primitive level of
  * memory management and isolation between tasks, and domains.
index 805ec37bfeaed16700b02b6069f451f5cfbf7942..8ecb4acfd9fa8a691483d2adcc25a95dfe2a6f7a 100644 (file)
@@ -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.
+
 /**
  * Main entry point into the Rust runtime. Here we initialize the kernel,
  * create the initial scheduler and run the main task.
index 55c467751145f82f85ea0e520ed4cb0c8f5284f2..a3c7486fa3a8ccae8119b98fee833b9399135add 100644 (file)
@@ -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.
+
 /* Foreign builtins. */
 
 #include "rust_sched_loop.h"
index 47aaec00087876dc5da59d651d44e52da3c08afa..5c5be45bef8b8bcbcba0bf1774f5788ecf7dd8ca 100644 (file)
@@ -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.
+
 // Routines useful when debugging the Rust runtime.
 
 #include "rust_globals.h"
index 268aca965d70012a74b117d8135c7cab2fbb4f24..b2df5f03b2314686d12e26d93abdef56603179ca 100644 (file)
@@ -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.
+
 // The runtime wants to pull a number of variables out of the
 // environment but calling getenv is not threadsafe, so every value
 // that might come from the environment is loaded here, once, during
index 8a0ff4d1df1884a1fde8c69f015544c11b4c08a5..c2aba575c44260f5b69c8c6cd2017b90a2e4ee79 100644 (file)
@@ -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.
+
 
 #ifndef RUST_ENV_H
 #define RUST_ENV_H
index ec60af87b6b2ba7047fe9e55f53af7ae5ebe3c2e..d0116fe27813d308bfeb7febeb30e706cc9bfd16 100644 (file)
@@ -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.
+
 #ifndef RUST_GLOBALS_H
 #define RUST_GLOBALS_H
 
index 669ebd55a7c9cf24bc3147ac80b10f76a80573ec..8871d133ea1b28cd0941795928eef2c105468e27 100644 (file)
@@ -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.
+
 
 
 #include "rust_kernel.h"
index 00c78dea2f9c77a32b73ceb19f5b7c16b9ee5dcd..cd52bfae8d3f4e684a00278ceea597cae9ff2bab 100644 (file)
@@ -1,4 +1,14 @@
 // -*- c++ -*-
+// 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 single runtime instance.
index 5e478c7b18f53a1ca9f72f17281fa8fdcc446487..cbad666ef2a3b417d1ae427a9f2619a31d1ef57b 100644 (file)
@@ -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.
+
 /*
  * Logging infrastructure that aims to support multi-threading
  */
index 0b77d40ba71875807692b22676f6e34009fc52d2..8b32b1cc910770afcc61fb31e4cbc96c68104177 100644 (file)
@@ -1,4 +1,14 @@
 // -*- c++ -*-
+// 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.
+
 #ifndef RUST_LOG_H
 #define RUST_LOG_H
 
index 919dadd4044eb3604d27ceaa91d7ea9e4556cab2..befa209d62fd475ebf40f478efd1f467748be692 100644 (file)
@@ -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.
+
 
 #include "rust_port.h"
 #include "rust_task.h"
index ae160de217f215e85497b264d359920f808223aa..3bbc3cfaa32c98535337c9897510bbf52fc15a18 100644 (file)
@@ -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.
+
 #ifndef RUST_PORT_H
 #define RUST_PORT_H
 
index 52f9e0c3a01fd7805cc73a55e5821aaf819c1502..19745ffc7a186e32bd765bdefd7af1807133ce7c 100644 (file)
@@ -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.
+
 
 #include "rust_port.h"
 #include "rust_port_selector.h"
index 73f2a9e4a0c3591d5924c3d68a9a7fd561d7d1be..919d61f7cee6067aa033cb059b4d3a85e364cee7 100644 (file)
@@ -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.
+
 #ifndef RUST_PORT_SELECTOR_H
 #define RUST_PORT_SELECTOR_H
 
index b8067cf6941f08fed1e7f157eee99ce70907f424..ef7ae1f35e3326ae4d5342dc0af63843d5d533a3 100644 (file)
@@ -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.
+
 
 #ifndef RUST_REFCOUNT_H
 #define RUST_REFCOUNT_H
index 739527b84eb7413f338043794ac86907f3cfe183..0e8d1d09ee99d48ba242d20e685cf49c88ae9398 100644 (file)
@@ -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.
+
 
 #include "rust_kernel.h"
 
index 4876c27964469185ad3987f0821e168ea6a2d9c9..c8f59b11ff3ca5c79590aee117e683102e75f758 100644 (file)
@@ -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.
+
 
 #include "rust_globals.h"
 #include "rust_sched_driver.h"
index 9dfa06800b6db3ae819f2998390bda90a9de750c..a95145343d4145ea30fdfc92e848aa49d2dfc0fa 100644 (file)
@@ -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.
+
 
 #include "rust_sched_launcher.h"
 #include "rust_scheduler.h"
index 72c9fd2dd36fa9ae8229476e1b2e1ec696448b93..44022967ebcd80f4f5a72b7b3a6286d45b616757 100644 (file)
@@ -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.
+
 #ifndef RUST_SCHED_LAUNCHER_H
 #define RUST_SCHED_LAUNCHER_H
 
index 7c7649210294455fe3d08227eb72d061de9dada1..f6b061a5bbc63229eea2df6dcc82fbeb51a240b4 100644 (file)
@@ -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.
+
 
 #include "rust_sched_loop.h"
 #include "rust_util.h"
index b664f2f3f7bc8e4363a29c13f60aca427c956763..dcbafe82560b0a1f9c3d2bb12730698705fc7769 100644 (file)
@@ -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.
+
 #ifndef RUST_SCHED_LOOP_H
 #define RUST_SCHED_LOOP_H
 
index 4d5237ac54e1f5af27b982a93c0851c65f8dd064..1aef9cd5588b88b7311357f217eff45d70c3ca2b 100644 (file)
@@ -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.
+
 
 #include "rust_kernel.h"
 #include "rust_sched_reaper.h"
index 9bb311a8908a9564b6f69245492843f3661a5234..22dae047e55dfaf4b8c6b825cf3655c2a82bd0b2 100644 (file)
@@ -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.
+
 
 #include "rust_globals.h"
 #include "rust_scheduler.h"
index 019f69f7a31603c331b695d9d38fce3a072f668e..c0e8c95d0fdbf1aaa16525d04266857557ad27ec 100644 (file)
@@ -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.
+
 /**
    The rust scheduler. Schedulers may be added to the kernel
    dynamically and they run until there are no more tasks to
index 5b5cda74828eb542ef8a4689c58536360b9d76c8..466399bd5b5df7d080d2274e0bd9f8708b660c08 100644 (file)
@@ -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.
+
 
 #include "rust_stack.h"
 #include "vg/valgrind.h"
index 4d88868d5586ff1232b0e983dba2cd944789dd28..91a6f8b256abffaf7b1bfcf7bd14de76679a5cfa 100644 (file)
@@ -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.
+
 #ifndef RUST_STACK_H
 #define RUST_STACK_H
 
index d9ece62001d51c8c49b0b931526073a6981ab8ae..9dd7c62f8674375ac0dd08bd1a4babffcc3c059e 100644 (file)
@@ -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.
+
 
 #ifndef __WIN32__
 #include <execinfo.h>
index e71e1b3707a85d4cc5825d8acbf58b869dad62bd..e54c9dbf140e73ad1b35ac336a842a27b2fadeb6 100644 (file)
@@ -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.
+
 /**
    The rust task is a cooperatively-scheduled green thread that executes
    Rust code on a segmented stack.
index 9612c0dc40992141931a3d49728618ddd83a0eaa..b631cfa35f43fd6d3aa1356b6c64287699c8eed8 100644 (file)
@@ -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.
+
 
 #ifndef RUST_TYPE_H
 #define RUST_TYPE_H
index 0a9f0647789788da219b4df245bd0827c4002be8..c916de111235cf8c2803f368a25a6ebe04a1ef4a 100644 (file)
@@ -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.
+
 /*
   Upcalls
 
index b2b2db20674c362a2d1d612862dd5daa1d995bcb..0cd7aa102c5da6e9c765d05ef77a02bdb94187de 100644 (file)
@@ -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.
+
 #ifndef RUST_UPCALL_H
 #define RUST_UPCALL_H
 
index 1f5307e6385223781c687b3684147d9ad73e19b0..4b0d87880ef9e938758d713bd82c4cf8234a0a1a 100644 (file)
@@ -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.
+
 #ifndef RUST_UTIL_H
 #define RUST_UTIL_H
 
index c34fd166baec71bef8bf6157527bd917ccd04fa9..53d8177bcf82f032d6a8f14be08236138b12147d 100644 (file)
@@ -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.
+
 #ifdef __WIN32__
 // For alloca
 #include <malloc.h>
index b1c13205f2bc25440ca1bf3005312ebb41d81485..3d7ad02c438397f08ed852a72c1b0cb478168e27 100644 (file)
@@ -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.
+
 
 #include "../rust_globals.h"
 #include "lock_and_signal.h"
index 927b0c5b0ff211ea97ce64fb57a21425f6a3ac9b..1ed494a77ae56dc1967849119dccd32c344ddd4e 100644 (file)
@@ -1,4 +1,14 @@
 // -*- c++ -*-
+// 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.
+
 #ifndef LOCK_AND_SIGNAL_H
 #define LOCK_AND_SIGNAL_H
 
index 02fecd440f8e0ffaa05e047ba3de2940a083845f..70fa08d7f2e5da28fe68494341ef675c22dd4b33 100644 (file)
@@ -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.
+
 
 #include "rust_thread.h"
 
index 56cf85d466085ad7a46cb8fe9220d47516d49b62..212d237698e94da44589a0f405269b9958c6962d 100644 (file)
@@ -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.
+
 #ifndef RUST_THREAD_H
 #define RUST_THREAD_H
 
index 6321611c81c98640530ae5a3f4f046edb6fb4d01..41cb6426691328ce0e105a1964a250488b7bfffb 100644 (file)
@@ -1,4 +1,14 @@
 // -*- c++ -*-
+// 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.
+
 #ifndef ARRAY_LIST_H
 #define ARRAY_LIST_H
 
index 39a707ad3206c64022f5403e7b68a45adf03213c..86a302e60d7fe95925cc7566c32dfd4fab3d4251 100644 (file)
@@ -1,10 +1,13 @@
-//===- RustWrapper.cpp - Rust wrapper for core functions --------*- C++ -*-===
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// 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.
+
 //===----------------------------------------------------------------------===
 //
 // This file defines alternate interfaces to core functions that are more