about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libterm/lib.rs11
-rw-r--r--src/libterm/terminfo/mod.rs8
-rw-r--r--src/libterm/terminfo/parm.rs4
3 files changed, 13 insertions, 10 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs
index 50f2118f0c4..15ba5266cb3 100644
--- a/src/libterm/lib.rs
+++ b/src/libterm/lib.rs
@@ -20,7 +20,10 @@
        html_root_url = "http://static.rust-lang.org/doc/master")]
 
 #![feature(macro_rules)]
-#![deny(missing_doc)]
+
+// #![deny(missing_doc)] // NOTE: uncomment after a stage0 snap
+#![allow(missing_doc)] // NOTE: remove after a stage0 snap
+#![allow(visible_private_types)] // NOTE: remove after a stage0 snap
 
 extern crate collections;
 
@@ -111,9 +114,9 @@ fn cap_for_attr(attr: attr::Attr) -> &'static str {
 /// A Terminal that knows how many colors it supports, with a reference to its
 /// parsed TermInfo database record.
 pub struct Terminal<T> {
-    priv num_colors: u16,
-    priv out: T,
-    priv ti: ~TermInfo
+    num_colors: u16,
+    out: T,
+    ti: ~TermInfo
 }
 
 impl<T: Writer> Terminal<T> {
diff --git a/src/libterm/terminfo/mod.rs b/src/libterm/terminfo/mod.rs
index 978a8a09d0a..ff01a8406ed 100644
--- a/src/libterm/terminfo/mod.rs
+++ b/src/libterm/terminfo/mod.rs
@@ -15,13 +15,13 @@ use collections::HashMap;
 /// A parsed terminfo database entry.
 pub struct TermInfo {
     /// Names for the terminal
-    priv names: Vec<~str> ,
+    pub names: Vec<~str> ,
     /// Map of capability name to boolean value
-    priv bools: HashMap<~str, bool>,
+    pub bools: HashMap<~str, bool>,
     /// Map of capability name to numeric value
-    numbers: HashMap<~str, u16>,
+    pub numbers: HashMap<~str, u16>,
     /// Map of capability name to raw (unexpanded) string
-    strings: HashMap<~str, Vec<u8> >
+    pub strings: HashMap<~str, Vec<u8> >
 }
 
 pub mod searcher;
diff --git a/src/libterm/terminfo/parm.rs b/src/libterm/terminfo/parm.rs
index b80297174d8..aed752fcb09 100644
--- a/src/libterm/terminfo/parm.rs
+++ b/src/libterm/terminfo/parm.rs
@@ -48,9 +48,9 @@ pub enum Param {
 /// Container for static and dynamic variable arrays
 pub struct Variables {
     /// Static variables A-Z
-    priv sta: [Param, ..26],
+    sta: [Param, ..26],
     /// Dynamic variables a-z
-    priv dyn: [Param, ..26]
+    dyn: [Param, ..26]
 }
 
 impl Variables {