about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2013-09-12 21:10:51 -0400
committerCorey Richardson <corey@octayn.net>2013-09-16 07:28:44 -0400
commit0298c3ca108e44c11dcfda221f3edeb608645ccf (patch)
treeb140792b1eaddfae444ede5eaf3ebdfb809b73ff
parentc1d977a638064e3ad8c1343d4b146e99607525ba (diff)
downloadrust-0298c3ca108e44c11dcfda221f3edeb608645ccf.tar.gz
rust-0298c3ca108e44c11dcfda221f3edeb608645ccf.zip
rustdoc_ng: add licenses and issue numbers to appease tidy
-rw-r--r--src/rustdoc_ng/clean.rs10
-rw-r--r--src/rustdoc_ng/core.rs10
-rw-r--r--src/rustdoc_ng/doctree.rs10
-rw-r--r--src/rustdoc_ng/fold.rs10
-rw-r--r--src/rustdoc_ng/lib.rs10
-rw-r--r--src/rustdoc_ng/main.rs12
-rw-r--r--src/rustdoc_ng/passes.rs10
-rw-r--r--src/rustdoc_ng/plugins.rs10
-rw-r--r--src/rustdoc_ng/visit_ast.rs10
9 files changed, 91 insertions, 1 deletions
diff --git a/src/rustdoc_ng/clean.rs b/src/rustdoc_ng/clean.rs
index aae3be7001a..1bfb8e28393 100644
--- a/src/rustdoc_ng/clean.rs
+++ b/src/rustdoc_ng/clean.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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 module contains the "cleaned" pieces of the AST, and the functions
 //! that clean them.
 
diff --git a/src/rustdoc_ng/core.rs b/src/rustdoc_ng/core.rs
index 0a948bd73eb..9fb5e8c04c1 100644
--- a/src/rustdoc_ng/core.rs
+++ b/src/rustdoc_ng/core.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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 rustc;
 use rustc::{driver, middle};
 
diff --git a/src/rustdoc_ng/doctree.rs b/src/rustdoc_ng/doctree.rs
index 3b553608c1a..67722b1e177 100644
--- a/src/rustdoc_ng/doctree.rs
+++ b/src/rustdoc_ng/doctree.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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 module is used to store stuff from Rust's AST in a more convenient
 //! manner (and with prettier names) before cleaning.
 
diff --git a/src/rustdoc_ng/fold.rs b/src/rustdoc_ng/fold.rs
index e3ce6e80ae4..7b72429e375 100644
--- a/src/rustdoc_ng/fold.rs
+++ b/src/rustdoc_ng/fold.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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 std;
 use clean::*;
 use std::iter::Extendable;
diff --git a/src/rustdoc_ng/lib.rs b/src/rustdoc_ng/lib.rs
index 6d34fae6090..75453aa129c 100644
--- a/src/rustdoc_ng/lib.rs
+++ b/src/rustdoc_ng/lib.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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.
+
 #[link(name = "rustdoc_ng",
        vers = "0.1.0",
        uuid = "8c6e4598-1596-4aa5-a24c-b811914bbbc6")];
diff --git a/src/rustdoc_ng/main.rs b/src/rustdoc_ng/main.rs
index 47b37052917..aad64041a63 100644
--- a/src/rustdoc_ng/main.rs
+++ b/src/rustdoc_ng/main.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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.
+
 #[link(name = "rustdoc_ng",
        vers = "0.1.0",
        uuid = "8c6e4598-1596-4aa5-a24c-b811914bbbc6")];
@@ -77,7 +87,7 @@ fn main() {
     let (crate, res) = pm.run_plugins(crate);
     let plugins_json = ~res.move_iter().filter_map(|opt| opt).collect();
 
-    // FIXME: yuck, Rust -> str -> JSON round trip! No way to .encode
+    // FIXME #8335: yuck, Rust -> str -> JSON round trip! No way to .encode
     // straight to the Rust JSON representation.
     let crate_json_str = do std::io::with_str_writer |w| {
         crate.encode(&mut extra::json::Encoder(w));
diff --git a/src/rustdoc_ng/passes.rs b/src/rustdoc_ng/passes.rs
index 30fa0f56a43..da6128a7610 100644
--- a/src/rustdoc_ng/passes.rs
+++ b/src/rustdoc_ng/passes.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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 std;
 use clean;
 use syntax::ast;
diff --git a/src/rustdoc_ng/plugins.rs b/src/rustdoc_ng/plugins.rs
index db243c9e21c..4bad87088a1 100644
--- a/src/rustdoc_ng/plugins.rs
+++ b/src/rustdoc_ng/plugins.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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 clean;
 
 use extra;
diff --git a/src/rustdoc_ng/visit_ast.rs b/src/rustdoc_ng/visit_ast.rs
index 4ece4a1f039..14be80f0f15 100644
--- a/src/rustdoc_ng/visit_ast.rs
+++ b/src/rustdoc_ng/visit_ast.rs
@@ -1,3 +1,13 @@
+// Copyright 2012-2013 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 AST Visitor. Extracts useful information and massages it into a form
 //! usable for clean