rumai 3.2.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. data/CREDITS +4 -3
  2. data/HISTORY +327 -0
  3. data/INSTALL +31 -0
  4. data/README +92 -0
  5. data/USAGE +297 -0
  6. data/bin/rumai +9 -22
  7. data/doc/api/IO.html +119 -0
  8. data/doc/api/Integer.html +171 -0
  9. data/doc/api/Rumai.html +1270 -0
  10. data/doc/api/Rumai/Area.html +1485 -0
  11. data/doc/api/Rumai/Chain.html +301 -0
  12. data/doc/api/Rumai/Client.html +2451 -0
  13. data/doc/api/Rumai/ClientContainer.html +301 -0
  14. data/doc/api/Rumai/ExportInstanceMethods.html +103 -0
  15. data/doc/api/Rumai/IXP.html +94 -0
  16. data/doc/api/Rumai/IXP/Agent.html +1625 -0
  17. data/doc/api/Rumai/IXP/Agent/FidStream.html +959 -0
  18. data/doc/api/Rumai/IXP/Agent/RangedPool.html +381 -0
  19. data/doc/api/Rumai/IXP/Error.html +110 -0
  20. data/doc/api/Rumai/IXP/Fcall.html +503 -0
  21. data/doc/api/Rumai/IXP/Qid.html +207 -0
  22. data/doc/api/Rumai/IXP/Rattach.html +148 -0
  23. data/doc/api/Rumai/IXP/Rauth.html +148 -0
  24. data/doc/api/Rumai/IXP/Rclunk.html +148 -0
  25. data/doc/api/Rumai/IXP/Rcreate.html +148 -0
  26. data/doc/api/Rumai/IXP/Rerror.html +148 -0
  27. data/doc/api/Rumai/IXP/Rflush.html +148 -0
  28. data/doc/api/Rumai/IXP/Ropen.html +148 -0
  29. data/doc/api/Rumai/IXP/Rread.html +148 -0
  30. data/doc/api/Rumai/IXP/Rremove.html +148 -0
  31. data/doc/api/Rumai/IXP/Rstat.html +148 -0
  32. data/doc/api/Rumai/IXP/Rversion.html +148 -0
  33. data/doc/api/Rumai/IXP/Rwalk.html +148 -0
  34. data/doc/api/Rumai/IXP/Rwrite.html +148 -0
  35. data/doc/api/Rumai/IXP/Rwstat.html +148 -0
  36. data/doc/api/Rumai/IXP/Stat.html +335 -0
  37. data/doc/api/Rumai/IXP/Stream.html +194 -0
  38. data/doc/api/Rumai/IXP/Struct.html +586 -0
  39. data/doc/api/Rumai/IXP/Struct/ClassField.html +242 -0
  40. data/doc/api/Rumai/IXP/Struct/Field.html +782 -0
  41. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +227 -0
  42. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +153 -0
  43. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +242 -0
  44. data/doc/api/Rumai/IXP/Struct/StringField.html +206 -0
  45. data/doc/api/Rumai/IXP/Tattach.html +148 -0
  46. data/doc/api/Rumai/IXP/Tauth.html +148 -0
  47. data/doc/api/Rumai/IXP/Tclunk.html +148 -0
  48. data/doc/api/Rumai/IXP/Tcreate.html +148 -0
  49. data/doc/api/Rumai/IXP/Terror.html +231 -0
  50. data/doc/api/Rumai/IXP/Tflush.html +148 -0
  51. data/doc/api/Rumai/IXP/Topen.html +240 -0
  52. data/doc/api/Rumai/IXP/Tread.html +148 -0
  53. data/doc/api/Rumai/IXP/Tremove.html +148 -0
  54. data/doc/api/Rumai/IXP/Tstat.html +148 -0
  55. data/doc/api/Rumai/IXP/Tversion.html +162 -0
  56. data/doc/api/Rumai/IXP/Twalk.html +148 -0
  57. data/doc/api/Rumai/IXP/Twrite.html +148 -0
  58. data/doc/api/Rumai/IXP/Twstat.html +148 -0
  59. data/doc/api/Rumai/Node.html +1406 -0
  60. data/doc/api/Rumai/View.html +1587 -0
  61. data/doc/api/Rumai/WidgetImpl.html +333 -0
  62. data/doc/api/Rumai/WidgetNode.html +246 -0
  63. data/doc/api/String.html +258 -0
  64. data/doc/api/StringIO.html +119 -0
  65. data/doc/api/Time.html +247 -0
  66. data/doc/api/_index.html +581 -0
  67. data/doc/api/class_list.html +36 -0
  68. data/doc/api/css/common.css +1 -0
  69. data/doc/api/css/full_list.css +50 -0
  70. data/doc/api/css/style.css +273 -0
  71. data/doc/api/file.LICENSE.html +73 -0
  72. data/doc/api/file_list.html +38 -0
  73. data/doc/api/frames.html +13 -0
  74. data/doc/api/index.html +72 -13
  75. data/doc/api/js/app.js +111 -0
  76. data/doc/api/js/full_list.js +117 -0
  77. data/doc/api/js/{jquery-1.3.2.min.js → jquery.js} +0 -0
  78. data/doc/api/method_list.html +1483 -0
  79. data/doc/api/top-level-namespace.html +89 -0
  80. data/doc/index.erb +18 -13
  81. data/doc/index.html +331 -386
  82. data/lib/rumai.rb +1 -18
  83. data/lib/rumai/fs.rb +11 -11
  84. data/lib/rumai/inochi.rb +48 -0
  85. data/lib/rumai/inochi.yaml +94 -0
  86. data/lib/rumai/ixp.rb +0 -4
  87. data/lib/rumai/ixp/message.rb +6 -17
  88. data/lib/rumai/ixp/transport.rb +39 -30
  89. data/lib/rumai/wm.rb +35 -37
  90. data/test/rumai/inochi_test.rb +17 -0
  91. data/test/rumai/ixp/message_test.rb +245 -0
  92. data/test/runner +25 -0
  93. data/test/test_helper.rb +1 -0
  94. metadata +107 -125
  95. data/doc/api/apple-touch-icon.png +0 -0
  96. data/doc/api/classes/IO.html +0 -72
  97. data/doc/api/classes/Integer.html +0 -110
  98. data/doc/api/classes/Object.html +0 -60
  99. data/doc/api/classes/Rumai.html +0 -837
  100. data/doc/api/classes/Rumai/Area.html +0 -909
  101. data/doc/api/classes/Rumai/Chain.html +0 -197
  102. data/doc/api/classes/Rumai/Client.html +0 -1526
  103. data/doc/api/classes/Rumai/ClientContainer.html +0 -191
  104. data/doc/api/classes/Rumai/ExportInstanceMethods.html +0 -69
  105. data/doc/api/classes/Rumai/IXP.html +0 -131
  106. data/doc/api/classes/Rumai/IXP/Agent.html +0 -941
  107. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -456
  108. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -108
  109. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -241
  110. data/doc/api/classes/Rumai/IXP/Error.html +0 -67
  111. data/doc/api/classes/Rumai/IXP/Fcall.html +0 -323
  112. data/doc/api/classes/Rumai/IXP/Qid.html +0 -153
  113. data/doc/api/classes/Rumai/IXP/Rattach.html +0 -67
  114. data/doc/api/classes/Rumai/IXP/Rauth.html +0 -67
  115. data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -67
  116. data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -67
  117. data/doc/api/classes/Rumai/IXP/Rerror.html +0 -67
  118. data/doc/api/classes/Rumai/IXP/Rflush.html +0 -67
  119. data/doc/api/classes/Rumai/IXP/Ropen.html +0 -67
  120. data/doc/api/classes/Rumai/IXP/Rread.html +0 -67
  121. data/doc/api/classes/Rumai/IXP/Rremove.html +0 -67
  122. data/doc/api/classes/Rumai/IXP/Rstat.html +0 -67
  123. data/doc/api/classes/Rumai/IXP/Rversion.html +0 -67
  124. data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -67
  125. data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -67
  126. data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -67
  127. data/doc/api/classes/Rumai/IXP/Stat.html +0 -252
  128. data/doc/api/classes/Rumai/IXP/Stream.html +0 -131
  129. data/doc/api/classes/Rumai/IXP/Struct.html +0 -311
  130. data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -415
  131. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -153
  132. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -104
  133. data/doc/api/classes/Rumai/IXP/Tattach.html +0 -68
  134. data/doc/api/classes/Rumai/IXP/Tauth.html +0 -67
  135. data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -67
  136. data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -68
  137. data/doc/api/classes/Rumai/IXP/Terror.html +0 -110
  138. data/doc/api/classes/Rumai/IXP/Tflush.html +0 -67
  139. data/doc/api/classes/Rumai/IXP/Topen.html +0 -165
  140. data/doc/api/classes/Rumai/IXP/Tread.html +0 -67
  141. data/doc/api/classes/Rumai/IXP/Tremove.html +0 -67
  142. data/doc/api/classes/Rumai/IXP/Tstat.html +0 -67
  143. data/doc/api/classes/Rumai/IXP/Tversion.html +0 -86
  144. data/doc/api/classes/Rumai/IXP/Twalk.html +0 -68
  145. data/doc/api/classes/Rumai/IXP/Twrite.html +0 -68
  146. data/doc/api/classes/Rumai/IXP/Twstat.html +0 -67
  147. data/doc/api/classes/Rumai/Node.html +0 -821
  148. data/doc/api/classes/Rumai/View.html +0 -967
  149. data/doc/api/classes/Rumai/WidgetImpl.html +0 -65
  150. data/doc/api/classes/Rumai/WidgetNode.html +0 -68
  151. data/doc/api/classes/String.html +0 -163
  152. data/doc/api/classes/StringIO.html +0 -72
  153. data/doc/api/classes/Time.html +0 -156
  154. data/doc/api/created.rid +0 -1
  155. data/doc/api/css/main.css +0 -263
  156. data/doc/api/css/panel.css +0 -383
  157. data/doc/api/css/reset.css +0 -53
  158. data/doc/api/favicon.ico +0 -0
  159. data/doc/api/files/CREDITS.html +0 -67
  160. data/doc/api/files/LICENSE.html +0 -76
  161. data/doc/api/files/lib/rumai/fs_rb.html +0 -75
  162. data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -91
  163. data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -75
  164. data/doc/api/files/lib/rumai/ixp_rb.html +0 -69
  165. data/doc/api/files/lib/rumai/wm_rb.html +0 -77
  166. data/doc/api/files/lib/rumai_rb.html +0 -65
  167. data/doc/api/i/arrows.png +0 -0
  168. data/doc/api/i/results_bg.png +0 -0
  169. data/doc/api/i/tree_bg.png +0 -0
  170. data/doc/api/js/jquery-effect.js +0 -593
  171. data/doc/api/js/main.js +0 -22
  172. data/doc/api/js/searchdoc.js +0 -628
  173. data/doc/api/panel/index.html +0 -71
  174. data/doc/api/panel/search_index.js +0 -1
  175. data/doc/api/panel/tree.js +0 -1
  176. data/doc/history.erb +0 -233
  177. data/doc/intro.erb +0 -70
  178. data/doc/setup.erb +0 -144
  179. data/doc/usage.erb +0 -308
  180. data/rakefile +0 -14
  181. data/test/rumai/ixp/message.rb +0 -237
@@ -1,60 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title>Object</title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
- <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
- <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
- <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
- <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
- <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
- </head>
14
-
15
- <body>
16
- <div class="banner">
17
- <h1>
18
- <span class="type">Class</span>
19
- Object
20
-
21
- <span class="parent">&lt;
22
-
23
- <a href="Object.html">Object</a>
24
-
25
- </span>
26
-
27
- </h1>
28
- <ul class="files">
29
-
30
- <li><a href="../files/lib/rumai/wm_rb.html">lib/rumai/wm.rb</a></li>
31
-
32
- </ul>
33
- </div>
34
- <div id="bodyContent">
35
- <div id="content">
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
- </div>
58
- </div>
59
- </body>
60
- </html>
@@ -1,837 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title>Rumai</title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
- <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
- <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
- <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
- <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
- <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
- </head>
14
-
15
- <body>
16
- <div class="banner">
17
- <h1>
18
- <span class="type">Module</span>
19
- Rumai
20
-
21
- </h1>
22
- <ul class="files">
23
-
24
- <li><a href="../files/lib/rumai/fs_rb.html">lib/rumai/fs.rb</a></li>
25
-
26
- <li><a href="../files/lib/rumai/wm_rb.html">lib/rumai/wm.rb</a></li>
27
-
28
- <li><a href="../files/lib/rumai/ixp/transport_rb.html">lib/rumai/ixp/transport.rb</a></li>
29
-
30
- <li><a href="../files/lib/rumai/ixp/message_rb.html">lib/rumai/ixp/message.rb</a></li>
31
-
32
- </ul>
33
- </div>
34
- <div id="bodyContent">
35
- <div id="content">
36
-
37
- <div class="description">
38
- <p>
39
- Primitives for the 9P2000 protocol.
40
- </p>
41
- <p>
42
- See <a
43
- href="http://cm.bell-labs.com/sys/man/5/INDEX.html">cm.bell-labs.com/sys/man/5/INDEX.html</a>
44
- </p>
45
- <p>
46
- See <a
47
- href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
48
- </p>
49
-
50
- </div>
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
- <div class="sectiontitle">Methods</div>
61
- <dl class="methods">
62
-
63
- <dt>C</dt>
64
- <dd>
65
- <ul>
66
-
67
- <li><a href="#M000157">client_ids</a>,</li>
68
-
69
- <li><a href="#M000174">curr_area</a>,</li>
70
-
71
- <li><a href="#M000171">curr_client</a>,</li>
72
-
73
- <li><a href="#M000180">curr_tag</a>,</li>
74
-
75
- <li><a href="#M000177">curr_view</a></li>
76
-
77
- </ul>
78
- </dd>
79
-
80
- <dt>F</dt>
81
- <dd>
82
- <ul>
83
-
84
- <li><a href="#M000184">focus_area</a>,</li>
85
-
86
- <li><a href="#M000183">focus_client</a>,</li>
87
-
88
- <li><a href="#M000185">focus_view</a>,</li>
89
-
90
- <li><a href="#M000154">fs</a></li>
91
-
92
- </ul>
93
- </dd>
94
-
95
- <dt>G</dt>
96
- <dd>
97
- <ul>
98
-
99
- <li><a href="#M000170">grouping</a></li>
100
-
101
- </ul>
102
- </dd>
103
-
104
- <dt>N</dt>
105
- <dd>
106
- <ul>
107
-
108
- <li><a href="#M000175">next_area</a>,</li>
109
-
110
- <li><a href="#M000172">next_client</a>,</li>
111
-
112
- <li><a href="#M000181">next_tag</a>,</li>
113
-
114
- <li><a href="#M000178">next_view</a></li>
115
-
116
- </ul>
117
- </dd>
118
-
119
- <dt>P</dt>
120
- <dd>
121
- <ul>
122
-
123
- <li><a href="#M000176">prev_area</a>,</li>
124
-
125
- <li><a href="#M000173">prev_client</a>,</li>
126
-
127
- <li><a href="#M000182">prev_tag</a>,</li>
128
-
129
- <li><a href="#M000179">prev_view</a></li>
130
-
131
- </ul>
132
- </dd>
133
-
134
- <dt>T</dt>
135
- <dd>
136
- <ul>
137
-
138
- <li><a href="#M000155">tags</a></li>
139
-
140
- </ul>
141
- </dd>
142
-
143
- <dt>V</dt>
144
- <dd>
145
- <ul>
146
-
147
- <li><a href="#M000156">views</a></li>
148
-
149
- </ul>
150
- </dd>
151
-
152
- </dl>
153
-
154
-
155
-
156
- <div class="sectiontitle">Included Modules</div>
157
- <ul>
158
-
159
- <li>
160
-
161
- <a href="Rumai.html">Rumai</a>
162
-
163
- START:includes
164
- </li>
165
-
166
- </ul>
167
-
168
-
169
-
170
-
171
-
172
- <div class="sectiontitle">Classes and Modules</div>
173
- <ul>
174
-
175
- <li><span class="type">MODULE</span> <a href="Rumai/Chain.html">Rumai::Chain</a></li>
176
-
177
- <li><span class="type">MODULE</span> <a href="Rumai/ClientContainer.html">Rumai::ClientContainer</a></li>
178
-
179
- <li><span class="type">MODULE</span> <a href="Rumai/ExportInstanceMethods.html">Rumai::ExportInstanceMethods</a></li>
180
-
181
- <li><span class="type">MODULE</span> <a href="Rumai/IXP.html">Rumai::IXP</a></li>
182
-
183
- <li><span class="type">MODULE</span> <a href="Rumai/WidgetImpl.html">Rumai::WidgetImpl</a></li>
184
-
185
- <li><span class="type">CLASS</span> <a href="Rumai/Area.html">Rumai::Area</a></li>
186
-
187
- <li><span class="type">CLASS</span> <a href="Rumai/Client.html">Rumai::Client</a></li>
188
-
189
- <li><span class="type">CLASS</span> <a href="Rumai/Node.html">Rumai::Node</a></li>
190
-
191
- <li><span class="type">CLASS</span> <a href="Rumai/View.html">Rumai::View</a></li>
192
-
193
- <li><span class="type">CLASS</span> <a href="Rumai/WidgetNode.html">Rumai::WidgetNode</a></li>
194
-
195
- </ul>
196
-
197
-
198
-
199
- <div class="sectiontitle">Constants</div>
200
- <table border='0' cellpadding='5'>
201
-
202
- <tr valign='top'>
203
- <td class="attr-name">IXP_SOCK_ADDR</td>
204
- <td>=</td>
205
- <td class="attr-value">ENV['WMII_ADDRESS'].sub(/.*!/, '') rescue</td>
206
- </tr>
207
-
208
-
209
- <tr valign='top'>
210
- <td class="attr-name">IXP_AGENT</td>
211
- <td>=</td>
212
- <td class="attr-value">IXP::Agent.new(UNIXSocket.new(IXP_SOCK_ADDR))</td>
213
- </tr>
214
-
215
- <tr valign='top'>
216
- <td>&nbsp;</td>
217
- <td colspan="2" class="attr-desc"><p>
218
- We use a single, global connection to wmii&#8217;s <a
219
- href="Rumai/IXP.html">IXP</a> server.
220
- </p>
221
- </td>
222
- </tr>
223
-
224
-
225
- <tr valign='top'>
226
- <td class="attr-name">IXP_FS_ROOT</td>
227
- <td>=</td>
228
- <td class="attr-value">Node.new('/')</td>
229
- </tr>
230
-
231
-
232
- <tr valign='top'>
233
- <td class="attr-name">FOCUSED_WIDGET_ID</td>
234
- <td>=</td>
235
- <td class="attr-value">'sel'.freeze</td>
236
- </tr>
237
-
238
-
239
- <tr valign='top'>
240
- <td class="attr-name">FLOATING_AREA_ID</td>
241
- <td>=</td>
242
- <td class="attr-value">'~'.freeze</td>
243
- </tr>
244
-
245
-
246
- <tr valign='top'>
247
- <td class="attr-name">CLIENT_GROUPING_TAG</td>
248
- <td>=</td>
249
- <td class="attr-value">'@'.freeze</td>
250
- </tr>
251
-
252
-
253
- <tr valign='top'>
254
- <td class="attr-name">CLIENT_STICKY_TAG</td>
255
- <td>=</td>
256
- <td class="attr-value">'/./'.freeze</td>
257
- </tr>
258
-
259
-
260
- </table>
261
-
262
-
263
-
264
-
265
-
266
- <div class="sectiontitle">Instance Public methods</div>
267
-
268
- <div class="method">
269
- <div class="title" id="M000157">
270
-
271
- <a name="M000157"></a><b>client_ids</b>()
272
-
273
- </div>
274
-
275
- <div class="description">
276
- <p>
277
- Returns the IDs of the current set of clients.
278
- </p>
279
-
280
- </div>
281
-
282
-
283
-
284
-
285
- <div class="sourcecode">
286
- <p class="source-link">
287
- Source: <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">show</a>
288
-
289
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1046" target="_blank" class="github_url">on GitHub</a>
290
-
291
- </p>
292
- <div id="M000157_source" class="dyn-source">
293
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1046</span>
294
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
295
- <span class="ruby-identifier">ary</span> = <span class="ruby-constant">IXP_FS_ROOT</span>.<span class="ruby-identifier">client</span>.<span class="ruby-identifier">entries</span>
296
- <span class="ruby-identifier">ary</span>.<span class="ruby-identifier">delete</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
297
- <span class="ruby-identifier">ary</span>
298
- <span class="ruby-keyword kw">end</span></pre>
299
- </div>
300
- </div>
301
-
302
- </div>
303
-
304
- <div class="method">
305
- <div class="title" id="M000174">
306
-
307
- <a name="M000174"></a><b>curr_area</b>()
308
-
309
- </div>
310
-
311
-
312
-
313
-
314
- <div class="sourcecode">
315
- <p class="source-link">
316
- Source: <a href="javascript:toggleSource('M000174_source')" id="l_M000174_source">show</a>
317
-
318
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1072" target="_blank" class="github_url">on GitHub</a>
319
-
320
- </p>
321
- <div id="M000174_source" class="dyn-source">
322
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1072</span>
323
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curr_area</span> ; <span class="ruby-constant">Area</span>.<span class="ruby-identifier">curr</span> ; <span class="ruby-keyword kw">end</span></pre>
324
- </div>
325
- </div>
326
-
327
- </div>
328
-
329
- <div class="method">
330
- <div class="title" id="M000171">
331
-
332
- <a name="M000171"></a><b>curr_client</b>()
333
-
334
- </div>
335
-
336
- <div class="description">
337
- <hr size="10"></hr><pre>
338
- shortcuts for interactive WM manipulation (via IRB)
339
- </pre>
340
- <hr size="10"></hr>
341
- </div>
342
-
343
-
344
-
345
-
346
- <div class="sourcecode">
347
- <p class="source-link">
348
- Source: <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">show</a>
349
-
350
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1068" target="_blank" class="github_url">on GitHub</a>
351
-
352
- </p>
353
- <div id="M000171_source" class="dyn-source">
354
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1068</span>
355
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curr_client</span> ; <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span> ; <span class="ruby-keyword kw">end</span></pre>
356
- </div>
357
- </div>
358
-
359
- </div>
360
-
361
- <div class="method">
362
- <div class="title" id="M000180">
363
-
364
- <a name="M000180"></a><b>curr_tag</b>()
365
-
366
- </div>
367
-
368
-
369
-
370
-
371
- <div class="sourcecode">
372
- <p class="source-link">
373
- Source: <a href="javascript:toggleSource('M000180_source')" id="l_M000180_source">show</a>
374
-
375
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1080" target="_blank" class="github_url">on GitHub</a>
376
-
377
- </p>
378
- <div id="M000180_source" class="dyn-source">
379
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1080</span>
380
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curr_tag</span> ; <span class="ruby-identifier">curr_view</span>.<span class="ruby-identifier">id</span> ; <span class="ruby-keyword kw">end</span></pre>
381
- </div>
382
- </div>
383
-
384
- </div>
385
-
386
- <div class="method">
387
- <div class="title" id="M000177">
388
-
389
- <a name="M000177"></a><b>curr_view</b>()
390
-
391
- </div>
392
-
393
-
394
-
395
-
396
- <div class="sourcecode">
397
- <p class="source-link">
398
- Source: <a href="javascript:toggleSource('M000177_source')" id="l_M000177_source">show</a>
399
-
400
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1076" target="_blank" class="github_url">on GitHub</a>
401
-
402
- </p>
403
- <div id="M000177_source" class="dyn-source">
404
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1076</span>
405
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curr_view</span> ; <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span> ; <span class="ruby-keyword kw">end</span></pre>
406
- </div>
407
- </div>
408
-
409
- </div>
410
-
411
- <div class="method">
412
- <div class="title" id="M000184">
413
-
414
- <a name="M000184"></a><b>focus_area</b>(id)
415
-
416
- </div>
417
-
418
-
419
-
420
-
421
- <div class="sourcecode">
422
- <p class="source-link">
423
- Source: <a href="javascript:toggleSource('M000184_source')" id="l_M000184_source">show</a>
424
-
425
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1091" target="_blank" class="github_url">on GitHub</a>
426
-
427
- </p>
428
- <div id="M000184_source" class="dyn-source">
429
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1091</span>
430
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_area</span> <span class="ruby-identifier">id</span>
431
- <span class="ruby-constant">Area</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
432
- <span class="ruby-keyword kw">end</span></pre>
433
- </div>
434
- </div>
435
-
436
- </div>
437
-
438
- <div class="method">
439
- <div class="title" id="M000183">
440
-
441
- <a name="M000183"></a><b>focus_client</b>(id)
442
-
443
- </div>
444
-
445
-
446
-
447
-
448
- <div class="sourcecode">
449
- <p class="source-link">
450
- Source: <a href="javascript:toggleSource('M000183_source')" id="l_M000183_source">show</a>
451
-
452
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1087" target="_blank" class="github_url">on GitHub</a>
453
-
454
- </p>
455
- <div id="M000183_source" class="dyn-source">
456
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1087</span>
457
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_client</span> <span class="ruby-identifier">id</span>
458
- <span class="ruby-constant">Client</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
459
- <span class="ruby-keyword kw">end</span></pre>
460
- </div>
461
- </div>
462
-
463
- </div>
464
-
465
- <div class="method">
466
- <div class="title" id="M000185">
467
-
468
- <a name="M000185"></a><b>focus_view</b>(id)
469
-
470
- </div>
471
-
472
-
473
-
474
-
475
- <div class="sourcecode">
476
- <p class="source-link">
477
- Source: <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">show</a>
478
-
479
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1095" target="_blank" class="github_url">on GitHub</a>
480
-
481
- </p>
482
- <div id="M000185_source" class="dyn-source">
483
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1095</span>
484
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_view</span> <span class="ruby-identifier">id</span>
485
- <span class="ruby-constant">View</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
486
- <span class="ruby-keyword kw">end</span></pre>
487
- </div>
488
- </div>
489
-
490
- </div>
491
-
492
- <div class="method">
493
- <div class="title" id="M000154">
494
-
495
- <a name="M000154"></a><b>fs</b>()
496
-
497
- </div>
498
-
499
- <div class="description">
500
- <p>
501
- Returns the root of <a href="Rumai/IXP.html">IXP</a> file system hierarchy.
502
- </p>
503
-
504
- </div>
505
-
506
-
507
-
508
-
509
- <div class="sourcecode">
510
- <p class="source-link">
511
- Source: <a href="javascript:toggleSource('M000154_source')" id="l_M000154_source">show</a>
512
-
513
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1021" target="_blank" class="github_url">on GitHub</a>
514
-
515
- </p>
516
- <div id="M000154_source" class="dyn-source">
517
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1021</span>
518
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fs</span>
519
- <span class="ruby-constant">IXP_FS_ROOT</span>
520
- <span class="ruby-keyword kw">end</span></pre>
521
- </div>
522
- </div>
523
-
524
- </div>
525
-
526
- <div class="method">
527
- <div class="title" id="M000170">
528
-
529
- <a name="M000170"></a><b>grouping</b>()
530
-
531
- </div>
532
-
533
- <div class="description">
534
- <p>
535
- Returns a list of all grouped clients in the currently focused view. If
536
- there are no grouped clients, then the currently focused client is returned
537
- in the list.
538
- </p>
539
-
540
- </div>
541
-
542
-
543
-
544
-
545
- <div class="sourcecode">
546
- <p class="source-link">
547
- Source: <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">show</a>
548
-
549
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1058" target="_blank" class="github_url">on GitHub</a>
550
-
551
- </p>
552
- <div id="M000170_source" class="dyn-source">
553
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1058</span>
554
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">grouping</span>
555
- <span class="ruby-identifier">list</span> = <span class="ruby-identifier">curr_view</span>.<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">group?</span> }
556
- <span class="ruby-identifier">list</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">curr_client</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">list</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">curr_client</span>.<span class="ruby-identifier">exist?</span>
557
- <span class="ruby-identifier">list</span>
558
- <span class="ruby-keyword kw">end</span></pre>
559
- </div>
560
- </div>
561
-
562
- </div>
563
-
564
- <div class="method">
565
- <div class="title" id="M000175">
566
-
567
- <a name="M000175"></a><b>next_area</b>()
568
-
569
- </div>
570
-
571
-
572
-
573
-
574
- <div class="sourcecode">
575
- <p class="source-link">
576
- Source: <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">show</a>
577
-
578
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1073" target="_blank" class="github_url">on GitHub</a>
579
-
580
- </p>
581
- <div id="M000175_source" class="dyn-source">
582
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1073</span>
583
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_area</span> ; <span class="ruby-identifier">curr_area</span>.<span class="ruby-identifier">next</span> ; <span class="ruby-keyword kw">end</span></pre>
584
- </div>
585
- </div>
586
-
587
- </div>
588
-
589
- <div class="method">
590
- <div class="title" id="M000172">
591
-
592
- <a name="M000172"></a><b>next_client</b>()
593
-
594
- </div>
595
-
596
-
597
-
598
-
599
- <div class="sourcecode">
600
- <p class="source-link">
601
- Source: <a href="javascript:toggleSource('M000172_source')" id="l_M000172_source">show</a>
602
-
603
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1069" target="_blank" class="github_url">on GitHub</a>
604
-
605
- </p>
606
- <div id="M000172_source" class="dyn-source">
607
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1069</span>
608
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_client</span> ; <span class="ruby-identifier">curr_client</span>.<span class="ruby-identifier">next</span> ; <span class="ruby-keyword kw">end</span></pre>
609
- </div>
610
- </div>
611
-
612
- </div>
613
-
614
- <div class="method">
615
- <div class="title" id="M000181">
616
-
617
- <a name="M000181"></a><b>next_tag</b>()
618
-
619
- </div>
620
-
621
-
622
-
623
-
624
- <div class="sourcecode">
625
- <p class="source-link">
626
- Source: <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">show</a>
627
-
628
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1081" target="_blank" class="github_url">on GitHub</a>
629
-
630
- </p>
631
- <div id="M000181_source" class="dyn-source">
632
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1081</span>
633
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_tag</span> ; <span class="ruby-identifier">next_view</span>.<span class="ruby-identifier">id</span> ; <span class="ruby-keyword kw">end</span></pre>
634
- </div>
635
- </div>
636
-
637
- </div>
638
-
639
- <div class="method">
640
- <div class="title" id="M000178">
641
-
642
- <a name="M000178"></a><b>next_view</b>()
643
-
644
- </div>
645
-
646
-
647
-
648
-
649
- <div class="sourcecode">
650
- <p class="source-link">
651
- Source: <a href="javascript:toggleSource('M000178_source')" id="l_M000178_source">show</a>
652
-
653
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1077" target="_blank" class="github_url">on GitHub</a>
654
-
655
- </p>
656
- <div id="M000178_source" class="dyn-source">
657
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1077</span>
658
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_view</span> ; <span class="ruby-identifier">curr_view</span>.<span class="ruby-identifier">next</span> ; <span class="ruby-keyword kw">end</span></pre>
659
- </div>
660
- </div>
661
-
662
- </div>
663
-
664
- <div class="method">
665
- <div class="title" id="M000176">
666
-
667
- <a name="M000176"></a><b>prev_area</b>()
668
-
669
- </div>
670
-
671
-
672
-
673
-
674
- <div class="sourcecode">
675
- <p class="source-link">
676
- Source: <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">show</a>
677
-
678
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1074" target="_blank" class="github_url">on GitHub</a>
679
-
680
- </p>
681
- <div id="M000176_source" class="dyn-source">
682
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1074</span>
683
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_area</span> ; <span class="ruby-identifier">curr_area</span>.<span class="ruby-identifier">prev</span> ; <span class="ruby-keyword kw">end</span></pre>
684
- </div>
685
- </div>
686
-
687
- </div>
688
-
689
- <div class="method">
690
- <div class="title" id="M000173">
691
-
692
- <a name="M000173"></a><b>prev_client</b>()
693
-
694
- </div>
695
-
696
-
697
-
698
-
699
- <div class="sourcecode">
700
- <p class="source-link">
701
- Source: <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">show</a>
702
-
703
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1070" target="_blank" class="github_url">on GitHub</a>
704
-
705
- </p>
706
- <div id="M000173_source" class="dyn-source">
707
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1070</span>
708
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_client</span> ; <span class="ruby-identifier">curr_client</span>.<span class="ruby-identifier">prev</span> ; <span class="ruby-keyword kw">end</span></pre>
709
- </div>
710
- </div>
711
-
712
- </div>
713
-
714
- <div class="method">
715
- <div class="title" id="M000182">
716
-
717
- <a name="M000182"></a><b>prev_tag</b>()
718
-
719
- </div>
720
-
721
-
722
-
723
-
724
- <div class="sourcecode">
725
- <p class="source-link">
726
- Source: <a href="javascript:toggleSource('M000182_source')" id="l_M000182_source">show</a>
727
-
728
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1082" target="_blank" class="github_url">on GitHub</a>
729
-
730
- </p>
731
- <div id="M000182_source" class="dyn-source">
732
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1082</span>
733
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_tag</span> ; <span class="ruby-identifier">prev_view</span>.<span class="ruby-identifier">id</span> ; <span class="ruby-keyword kw">end</span></pre>
734
- </div>
735
- </div>
736
-
737
- </div>
738
-
739
- <div class="method">
740
- <div class="title" id="M000179">
741
-
742
- <a name="M000179"></a><b>prev_view</b>()
743
-
744
- </div>
745
-
746
-
747
-
748
-
749
- <div class="sourcecode">
750
- <p class="source-link">
751
- Source: <a href="javascript:toggleSource('M000179_source')" id="l_M000179_source">show</a>
752
-
753
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1078" target="_blank" class="github_url">on GitHub</a>
754
-
755
- </p>
756
- <div id="M000179_source" class="dyn-source">
757
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1078</span>
758
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_view</span> ; <span class="ruby-identifier">curr_view</span>.<span class="ruby-identifier">prev</span> ; <span class="ruby-keyword kw">end</span></pre>
759
- </div>
760
- </div>
761
-
762
- </div>
763
-
764
- <div class="method">
765
- <div class="title" id="M000155">
766
-
767
- <a name="M000155"></a><b>tags</b>()
768
-
769
- </div>
770
-
771
- <div class="description">
772
- <p>
773
- Returns the current set of tags.
774
- </p>
775
-
776
- </div>
777
-
778
-
779
-
780
-
781
- <div class="sourcecode">
782
- <p class="source-link">
783
- Source: <a href="javascript:toggleSource('M000155_source')" id="l_M000155_source">show</a>
784
-
785
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1028" target="_blank" class="github_url">on GitHub</a>
786
-
787
- </p>
788
- <div id="M000155_source" class="dyn-source">
789
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1028</span>
790
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
791
- <span class="ruby-identifier">ary</span> = <span class="ruby-constant">IXP_FS_ROOT</span>.<span class="ruby-identifier">tag</span>.<span class="ruby-identifier">entries</span>.<span class="ruby-identifier">sort</span>
792
- <span class="ruby-identifier">ary</span>.<span class="ruby-identifier">delete</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
793
- <span class="ruby-identifier">ary</span>
794
- <span class="ruby-keyword kw">end</span></pre>
795
- </div>
796
- </div>
797
-
798
- </div>
799
-
800
- <div class="method">
801
- <div class="title" id="M000156">
802
-
803
- <a name="M000156"></a><b>views</b>()
804
-
805
- </div>
806
-
807
- <div class="description">
808
- <p>
809
- Returns the current set of views.
810
- </p>
811
-
812
- </div>
813
-
814
-
815
-
816
-
817
- <div class="sourcecode">
818
- <p class="source-link">
819
- Source: <a href="javascript:toggleSource('M000156_source')" id="l_M000156_source">show</a>
820
-
821
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1037" target="_blank" class="github_url">on GitHub</a>
822
-
823
- </p>
824
- <div id="M000156_source" class="dyn-source">
825
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1037</span>
826
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">views</span>
827
- <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-constant">View</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">t</span> }
828
- <span class="ruby-keyword kw">end</span></pre>
829
- </div>
830
- </div>
831
-
832
- </div>
833
-
834
- </div>
835
- </div>
836
- </body>
837
- </html>