Skip to content

Commit 4b87322

Browse files
committed
---
yaml --- r: 110324 b: refs/heads/try c: abd7dd8 h: refs/heads/master v: v3
1 parent 70a9b02 commit 4b87322

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: e415c25bcd81dc1f9a5a3d25d9b48ed2d545336b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
5-
refs/heads/try: ee7016d95f5ca8f6f27e83ba8e040ee95813840a
5+
refs/heads/try: abd7dd83a7c4263e0f48c777e85a43f9ccb7c092
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libterm/lib.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
html_root_url = "http://static.rust-lang.org/doc/master")]
2121

2222
#![feature(macro_rules)]
23-
#![deny(missing_doc)]
23+
24+
// #![deny(missing_doc)] // NOTE: uncomment after a stage0 snap
25+
#![allow(missing_doc)] // NOTE: remove after a stage0 snap
26+
#![allow(visible_private_types)] // NOTE: remove after a stage0 snap
2427

2528
extern crate collections;
2629

@@ -111,9 +114,9 @@ fn cap_for_attr(attr: attr::Attr) -> &'static str {
111114
/// A Terminal that knows how many colors it supports, with a reference to its
112115
/// parsed TermInfo database record.
113116
pub struct Terminal<T> {
114-
priv num_colors: u16,
115-
priv out: T,
116-
priv ti: ~TermInfo
117+
num_colors: u16,
118+
out: T,
119+
ti: ~TermInfo
117120
}
118121

119122
impl<T: Writer> Terminal<T> {

branches/try/src/libterm/terminfo/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ use collections::HashMap;
1515
/// A parsed terminfo database entry.
1616
pub struct TermInfo {
1717
/// Names for the terminal
18-
priv names: Vec<~str> ,
18+
pub names: Vec<~str> ,
1919
/// Map of capability name to boolean value
20-
priv bools: HashMap<~str, bool>,
20+
pub bools: HashMap<~str, bool>,
2121
/// Map of capability name to numeric value
22-
numbers: HashMap<~str, u16>,
22+
pub numbers: HashMap<~str, u16>,
2323
/// Map of capability name to raw (unexpanded) string
24-
strings: HashMap<~str, Vec<u8> >
24+
pub strings: HashMap<~str, Vec<u8> >
2525
}
2626

2727
pub mod searcher;

branches/try/src/libterm/terminfo/parm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ pub enum Param {
4848
/// Container for static and dynamic variable arrays
4949
pub struct Variables {
5050
/// Static variables A-Z
51-
priv sta: [Param, ..26],
51+
sta: [Param, ..26],
5252
/// Dynamic variables a-z
53-
priv dyn: [Param, ..26]
53+
dyn: [Param, ..26]
5454
}
5555

5656
impl Variables {

0 commit comments

Comments
 (0)