rumai 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/rumai +1 -1
- data/doc/api/classes/Integer.html +7 -7
- data/doc/api/classes/Rumai.html +148 -141
- data/doc/api/classes/Rumai/Area.html +135 -130
- data/doc/api/classes/Rumai/Chain.html +21 -21
- data/doc/api/classes/Rumai/Client.html +188 -189
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +248 -143
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +50 -50
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +7 -7
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +21 -21
- data/doc/api/classes/Rumai/IXP/Fcall.html +33 -33
- data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
- data/doc/api/classes/Rumai/IXP/Stat.html +8 -8
- data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
- data/doc/api/classes/Rumai/IXP/Struct.html +34 -38
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +42 -42
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +14 -14
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +7 -7
- data/doc/api/classes/Rumai/IXP/Terror.html +7 -7
- data/doc/api/classes/Rumai/IXP/Topen.html +1 -1
- data/doc/api/classes/Rumai/Node.html +114 -110
- data/doc/api/classes/Rumai/View.html +184 -136
- data/doc/api/classes/String.html +15 -15
- data/doc/api/classes/Time.html +14 -14
- data/doc/api/created.rid +1 -1
- data/doc/api/files/lib/rumai/fs_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +1 -1
- data/doc/api/files/lib/rumai/wm_rb.html +1 -1
- data/doc/api/files/lib/rumai_rb.html +1 -1
- data/doc/api/panel/search_index.js +1 -1
- data/doc/history.erb +41 -0
- data/doc/index.html +1315 -669
- data/doc/setup.erb +82 -45
- data/doc/usage.erb +96 -132
- data/lib/rumai.rb +2 -2
- data/lib/rumai/fs.rb +11 -6
- data/lib/rumai/ixp/message.rb +31 -17
- data/lib/rumai/ixp/transport.rb +82 -36
- data/lib/rumai/wm.rb +87 -25
- metadata +5 -5
data/bin/rumai
CHANGED
@@ -49,7 +49,7 @@
|
|
49
49
|
<dd>
|
50
50
|
<ul>
|
51
51
|
|
52
|
-
<li><a href="#
|
52
|
+
<li><a href="#M000165">to_9p</a></li>
|
53
53
|
|
54
54
|
</ul>
|
55
55
|
</dd>
|
@@ -71,9 +71,9 @@
|
|
71
71
|
<div class="sectiontitle">Instance Public methods</div>
|
72
72
|
|
73
73
|
<div class="method">
|
74
|
-
<div class="title" id="
|
74
|
+
<div class="title" id="M000165">
|
75
75
|
|
76
|
-
<a name="
|
76
|
+
<a name="M000165"></a><b>to_9p</b>(num_bytes)
|
77
77
|
|
78
78
|
</div>
|
79
79
|
|
@@ -89,13 +89,13 @@ Transforms this object into a string of 9P2000 bytes.
|
|
89
89
|
|
90
90
|
<div class="sourcecode">
|
91
91
|
<p class="source-link">
|
92
|
-
Source: <a href="javascript:toggleSource('
|
92
|
+
Source: <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">show</a>
|
93
93
|
|
94
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
94
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L687" target="_blank" class="github_url">on GitHub</a>
|
95
95
|
|
96
96
|
</p>
|
97
|
-
<div id="
|
98
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line
|
97
|
+
<div id="M000165_source" class="dyn-source">
|
98
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 687</span>
|
99
99
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span> <span class="ruby-identifier">num_bytes</span>
|
100
100
|
[<span class="ruby-keyword kw">self</span>].<span class="ruby-identifier">pack</span> <span class="ruby-constant">Rumai</span><span class="ruby-operator">::</span><span class="ruby-constant">IXP</span><span class="ruby-operator">::</span><span class="ruby-constant">Stream</span><span class="ruby-operator">::</span><span class="ruby-constant">PACKING_FLAGS</span>[<span class="ruby-identifier">num_bytes</span>]
|
101
101
|
<span class="ruby-keyword kw">end</span></pre>
|
data/doc/api/classes/Rumai.html
CHANGED
@@ -64,15 +64,15 @@ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
|
|
64
64
|
<dd>
|
65
65
|
<ul>
|
66
66
|
|
67
|
-
<li><a href="#
|
67
|
+
<li><a href="#M000157">client_ids</a>,</li>
|
68
68
|
|
69
|
-
<li><a href="#
|
69
|
+
<li><a href="#M000174">curr_area</a>,</li>
|
70
70
|
|
71
|
-
<li><a href="#
|
71
|
+
<li><a href="#M000171">curr_client</a>,</li>
|
72
72
|
|
73
|
-
<li><a href="#
|
73
|
+
<li><a href="#M000180">curr_tag</a>,</li>
|
74
74
|
|
75
|
-
<li><a href="#
|
75
|
+
<li><a href="#M000177">curr_view</a></li>
|
76
76
|
|
77
77
|
</ul>
|
78
78
|
</dd>
|
@@ -81,13 +81,13 @@ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
|
|
81
81
|
<dd>
|
82
82
|
<ul>
|
83
83
|
|
84
|
-
<li><a href="#
|
84
|
+
<li><a href="#M000184">focus_area</a>,</li>
|
85
85
|
|
86
|
-
<li><a href="#
|
86
|
+
<li><a href="#M000183">focus_client</a>,</li>
|
87
87
|
|
88
|
-
<li><a href="#
|
88
|
+
<li><a href="#M000185">focus_view</a>,</li>
|
89
89
|
|
90
|
-
<li><a href="#
|
90
|
+
<li><a href="#M000154">fs</a></li>
|
91
91
|
|
92
92
|
</ul>
|
93
93
|
</dd>
|
@@ -96,7 +96,7 @@ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
|
|
96
96
|
<dd>
|
97
97
|
<ul>
|
98
98
|
|
99
|
-
<li><a href="#
|
99
|
+
<li><a href="#M000170">grouping</a></li>
|
100
100
|
|
101
101
|
</ul>
|
102
102
|
</dd>
|
@@ -105,13 +105,13 @@ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
|
|
105
105
|
<dd>
|
106
106
|
<ul>
|
107
107
|
|
108
|
-
<li><a href="#
|
108
|
+
<li><a href="#M000175">next_area</a>,</li>
|
109
109
|
|
110
|
-
<li><a href="#
|
110
|
+
<li><a href="#M000172">next_client</a>,</li>
|
111
111
|
|
112
|
-
<li><a href="#
|
112
|
+
<li><a href="#M000181">next_tag</a>,</li>
|
113
113
|
|
114
|
-
<li><a href="#
|
114
|
+
<li><a href="#M000178">next_view</a></li>
|
115
115
|
|
116
116
|
</ul>
|
117
117
|
</dd>
|
@@ -120,13 +120,13 @@ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
|
|
120
120
|
<dd>
|
121
121
|
<ul>
|
122
122
|
|
123
|
-
<li><a href="#
|
123
|
+
<li><a href="#M000176">prev_area</a>,</li>
|
124
124
|
|
125
|
-
<li><a href="#
|
125
|
+
<li><a href="#M000173">prev_client</a>,</li>
|
126
126
|
|
127
|
-
<li><a href="#
|
127
|
+
<li><a href="#M000182">prev_tag</a>,</li>
|
128
128
|
|
129
|
-
<li><a href="#
|
129
|
+
<li><a href="#M000179">prev_view</a></li>
|
130
130
|
|
131
131
|
</ul>
|
132
132
|
</dd>
|
@@ -135,7 +135,7 @@ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
|
|
135
135
|
<dd>
|
136
136
|
<ul>
|
137
137
|
|
138
|
-
<li><a href="#
|
138
|
+
<li><a href="#M000155">tags</a></li>
|
139
139
|
|
140
140
|
</ul>
|
141
141
|
</dd>
|
@@ -144,7 +144,7 @@ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
|
|
144
144
|
<dd>
|
145
145
|
<ul>
|
146
146
|
|
147
|
-
<li><a href="#
|
147
|
+
<li><a href="#M000156">views</a></li>
|
148
148
|
|
149
149
|
</ul>
|
150
150
|
</dd>
|
@@ -209,7 +209,7 @@ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
|
|
209
209
|
<tr valign='top'>
|
210
210
|
<td class="attr-name">IXP_AGENT</td>
|
211
211
|
<td>=</td>
|
212
|
-
<td class="attr-value">IXP::Agent.new
|
212
|
+
<td class="attr-value">IXP::Agent.new(UNIXSocket.new(IXP_SOCK_ADDR))</td>
|
213
213
|
</tr>
|
214
214
|
|
215
215
|
<tr valign='top'>
|
@@ -266,9 +266,9 @@ href="Rumai/IXP.html">IXP</a> server.
|
|
266
266
|
<div class="sectiontitle">Instance Public methods</div>
|
267
267
|
|
268
268
|
<div class="method">
|
269
|
-
<div class="title" id="
|
269
|
+
<div class="title" id="M000157">
|
270
270
|
|
271
|
-
<a name="
|
271
|
+
<a name="M000157"></a><b>client_ids</b>()
|
272
272
|
|
273
273
|
</div>
|
274
274
|
|
@@ -284,13 +284,13 @@ Returns the IDs of the current set of clients.
|
|
284
284
|
|
285
285
|
<div class="sourcecode">
|
286
286
|
<p class="source-link">
|
287
|
-
Source: <a href="javascript:toggleSource('
|
287
|
+
Source: <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">show</a>
|
288
288
|
|
289
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
289
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1046" target="_blank" class="github_url">on GitHub</a>
|
290
290
|
|
291
291
|
</p>
|
292
|
-
<div id="
|
293
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
292
|
+
<div id="M000157_source" class="dyn-source">
|
293
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1046</span>
|
294
294
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
|
295
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
296
|
<span class="ruby-identifier">ary</span>.<span class="ruby-identifier">delete</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
|
@@ -302,9 +302,9 @@ Returns the IDs of the current set of clients.
|
|
302
302
|
</div>
|
303
303
|
|
304
304
|
<div class="method">
|
305
|
-
<div class="title" id="
|
305
|
+
<div class="title" id="M000174">
|
306
306
|
|
307
|
-
<a name="
|
307
|
+
<a name="M000174"></a><b>curr_area</b>()
|
308
308
|
|
309
309
|
</div>
|
310
310
|
|
@@ -313,13 +313,13 @@ Returns the IDs of the current set of clients.
|
|
313
313
|
|
314
314
|
<div class="sourcecode">
|
315
315
|
<p class="source-link">
|
316
|
-
Source: <a href="javascript:toggleSource('
|
316
|
+
Source: <a href="javascript:toggleSource('M000174_source')" id="l_M000174_source">show</a>
|
317
317
|
|
318
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
318
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1072" target="_blank" class="github_url">on GitHub</a>
|
319
319
|
|
320
320
|
</p>
|
321
|
-
<div id="
|
322
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
321
|
+
<div id="M000174_source" class="dyn-source">
|
322
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1072</span>
|
323
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
324
|
</div>
|
325
325
|
</div>
|
@@ -327,24 +327,31 @@ Returns the IDs of the current set of clients.
|
|
327
327
|
</div>
|
328
328
|
|
329
329
|
<div class="method">
|
330
|
-
<div class="title" id="
|
330
|
+
<div class="title" id="M000171">
|
331
331
|
|
332
|
-
<a name="
|
332
|
+
<a name="M000171"></a><b>curr_client</b>()
|
333
333
|
|
334
334
|
</div>
|
335
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
|
+
|
336
343
|
|
337
344
|
|
338
345
|
|
339
346
|
<div class="sourcecode">
|
340
347
|
<p class="source-link">
|
341
|
-
Source: <a href="javascript:toggleSource('
|
348
|
+
Source: <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">show</a>
|
342
349
|
|
343
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
350
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1068" target="_blank" class="github_url">on GitHub</a>
|
344
351
|
|
345
352
|
</p>
|
346
|
-
<div id="
|
347
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
353
|
+
<div id="M000171_source" class="dyn-source">
|
354
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1068</span>
|
348
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>
|
349
356
|
</div>
|
350
357
|
</div>
|
@@ -352,9 +359,9 @@ Returns the IDs of the current set of clients.
|
|
352
359
|
</div>
|
353
360
|
|
354
361
|
<div class="method">
|
355
|
-
<div class="title" id="
|
362
|
+
<div class="title" id="M000180">
|
356
363
|
|
357
|
-
<a name="
|
364
|
+
<a name="M000180"></a><b>curr_tag</b>()
|
358
365
|
|
359
366
|
</div>
|
360
367
|
|
@@ -363,13 +370,13 @@ Returns the IDs of the current set of clients.
|
|
363
370
|
|
364
371
|
<div class="sourcecode">
|
365
372
|
<p class="source-link">
|
366
|
-
Source: <a href="javascript:toggleSource('
|
373
|
+
Source: <a href="javascript:toggleSource('M000180_source')" id="l_M000180_source">show</a>
|
367
374
|
|
368
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
375
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1080" target="_blank" class="github_url">on GitHub</a>
|
369
376
|
|
370
377
|
</p>
|
371
|
-
<div id="
|
372
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
378
|
+
<div id="M000180_source" class="dyn-source">
|
379
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1080</span>
|
373
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>
|
374
381
|
</div>
|
375
382
|
</div>
|
@@ -377,9 +384,9 @@ Returns the IDs of the current set of clients.
|
|
377
384
|
</div>
|
378
385
|
|
379
386
|
<div class="method">
|
380
|
-
<div class="title" id="
|
387
|
+
<div class="title" id="M000177">
|
381
388
|
|
382
|
-
<a name="
|
389
|
+
<a name="M000177"></a><b>curr_view</b>()
|
383
390
|
|
384
391
|
</div>
|
385
392
|
|
@@ -388,13 +395,13 @@ Returns the IDs of the current set of clients.
|
|
388
395
|
|
389
396
|
<div class="sourcecode">
|
390
397
|
<p class="source-link">
|
391
|
-
Source: <a href="javascript:toggleSource('
|
398
|
+
Source: <a href="javascript:toggleSource('M000177_source')" id="l_M000177_source">show</a>
|
392
399
|
|
393
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
400
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1076" target="_blank" class="github_url">on GitHub</a>
|
394
401
|
|
395
402
|
</p>
|
396
|
-
<div id="
|
397
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
403
|
+
<div id="M000177_source" class="dyn-source">
|
404
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1076</span>
|
398
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>
|
399
406
|
</div>
|
400
407
|
</div>
|
@@ -402,9 +409,9 @@ Returns the IDs of the current set of clients.
|
|
402
409
|
</div>
|
403
410
|
|
404
411
|
<div class="method">
|
405
|
-
<div class="title" id="
|
412
|
+
<div class="title" id="M000184">
|
406
413
|
|
407
|
-
<a name="
|
414
|
+
<a name="M000184"></a><b>focus_area</b>(id)
|
408
415
|
|
409
416
|
</div>
|
410
417
|
|
@@ -413,13 +420,13 @@ Returns the IDs of the current set of clients.
|
|
413
420
|
|
414
421
|
<div class="sourcecode">
|
415
422
|
<p class="source-link">
|
416
|
-
Source: <a href="javascript:toggleSource('
|
423
|
+
Source: <a href="javascript:toggleSource('M000184_source')" id="l_M000184_source">show</a>
|
417
424
|
|
418
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
425
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1091" target="_blank" class="github_url">on GitHub</a>
|
419
426
|
|
420
427
|
</p>
|
421
|
-
<div id="
|
422
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
428
|
+
<div id="M000184_source" class="dyn-source">
|
429
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1091</span>
|
423
430
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_area</span> <span class="ruby-identifier">id</span>
|
424
431
|
<span class="ruby-constant">Area</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
|
425
432
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -429,9 +436,9 @@ Returns the IDs of the current set of clients.
|
|
429
436
|
</div>
|
430
437
|
|
431
438
|
<div class="method">
|
432
|
-
<div class="title" id="
|
439
|
+
<div class="title" id="M000183">
|
433
440
|
|
434
|
-
<a name="
|
441
|
+
<a name="M000183"></a><b>focus_client</b>(id)
|
435
442
|
|
436
443
|
</div>
|
437
444
|
|
@@ -440,13 +447,13 @@ Returns the IDs of the current set of clients.
|
|
440
447
|
|
441
448
|
<div class="sourcecode">
|
442
449
|
<p class="source-link">
|
443
|
-
Source: <a href="javascript:toggleSource('
|
450
|
+
Source: <a href="javascript:toggleSource('M000183_source')" id="l_M000183_source">show</a>
|
444
451
|
|
445
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
452
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1087" target="_blank" class="github_url">on GitHub</a>
|
446
453
|
|
447
454
|
</p>
|
448
|
-
<div id="
|
449
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
455
|
+
<div id="M000183_source" class="dyn-source">
|
456
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1087</span>
|
450
457
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_client</span> <span class="ruby-identifier">id</span>
|
451
458
|
<span class="ruby-constant">Client</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
|
452
459
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -456,9 +463,9 @@ Returns the IDs of the current set of clients.
|
|
456
463
|
</div>
|
457
464
|
|
458
465
|
<div class="method">
|
459
|
-
<div class="title" id="
|
466
|
+
<div class="title" id="M000185">
|
460
467
|
|
461
|
-
<a name="
|
468
|
+
<a name="M000185"></a><b>focus_view</b>(id)
|
462
469
|
|
463
470
|
</div>
|
464
471
|
|
@@ -467,13 +474,13 @@ Returns the IDs of the current set of clients.
|
|
467
474
|
|
468
475
|
<div class="sourcecode">
|
469
476
|
<p class="source-link">
|
470
|
-
Source: <a href="javascript:toggleSource('
|
477
|
+
Source: <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">show</a>
|
471
478
|
|
472
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
479
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1095" target="_blank" class="github_url">on GitHub</a>
|
473
480
|
|
474
481
|
</p>
|
475
|
-
<div id="
|
476
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
482
|
+
<div id="M000185_source" class="dyn-source">
|
483
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1095</span>
|
477
484
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_view</span> <span class="ruby-identifier">id</span>
|
478
485
|
<span class="ruby-constant">View</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
|
479
486
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -483,9 +490,9 @@ Returns the IDs of the current set of clients.
|
|
483
490
|
</div>
|
484
491
|
|
485
492
|
<div class="method">
|
486
|
-
<div class="title" id="
|
493
|
+
<div class="title" id="M000154">
|
487
494
|
|
488
|
-
<a name="
|
495
|
+
<a name="M000154"></a><b>fs</b>()
|
489
496
|
|
490
497
|
</div>
|
491
498
|
|
@@ -501,13 +508,13 @@ Returns the root of <a href="Rumai/IXP.html">IXP</a> file system hierarchy.
|
|
501
508
|
|
502
509
|
<div class="sourcecode">
|
503
510
|
<p class="source-link">
|
504
|
-
Source: <a href="javascript:toggleSource('
|
511
|
+
Source: <a href="javascript:toggleSource('M000154_source')" id="l_M000154_source">show</a>
|
505
512
|
|
506
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
513
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1021" target="_blank" class="github_url">on GitHub</a>
|
507
514
|
|
508
515
|
</p>
|
509
|
-
<div id="
|
510
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
516
|
+
<div id="M000154_source" class="dyn-source">
|
517
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1021</span>
|
511
518
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fs</span>
|
512
519
|
<span class="ruby-constant">IXP_FS_ROOT</span>
|
513
520
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -517,9 +524,9 @@ Returns the root of <a href="Rumai/IXP.html">IXP</a> file system hierarchy.
|
|
517
524
|
</div>
|
518
525
|
|
519
526
|
<div class="method">
|
520
|
-
<div class="title" id="
|
527
|
+
<div class="title" id="M000170">
|
521
528
|
|
522
|
-
<a name="
|
529
|
+
<a name="M000170"></a><b>grouping</b>()
|
523
530
|
|
524
531
|
</div>
|
525
532
|
|
@@ -537,13 +544,13 @@ in the list.
|
|
537
544
|
|
538
545
|
<div class="sourcecode">
|
539
546
|
<p class="source-link">
|
540
|
-
Source: <a href="javascript:toggleSource('
|
547
|
+
Source: <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">show</a>
|
541
548
|
|
542
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
549
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1058" target="_blank" class="github_url">on GitHub</a>
|
543
550
|
|
544
551
|
</p>
|
545
|
-
<div id="
|
546
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
552
|
+
<div id="M000170_source" class="dyn-source">
|
553
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1058</span>
|
547
554
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">grouping</span>
|
548
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> }
|
549
556
|
<span class="ruby-identifier">list</span> <span class="ruby-operator"><<</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>
|
@@ -555,9 +562,9 @@ in the list.
|
|
555
562
|
</div>
|
556
563
|
|
557
564
|
<div class="method">
|
558
|
-
<div class="title" id="
|
565
|
+
<div class="title" id="M000175">
|
559
566
|
|
560
|
-
<a name="
|
567
|
+
<a name="M000175"></a><b>next_area</b>()
|
561
568
|
|
562
569
|
</div>
|
563
570
|
|
@@ -566,13 +573,13 @@ in the list.
|
|
566
573
|
|
567
574
|
<div class="sourcecode">
|
568
575
|
<p class="source-link">
|
569
|
-
Source: <a href="javascript:toggleSource('
|
576
|
+
Source: <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">show</a>
|
570
577
|
|
571
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
578
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1073" target="_blank" class="github_url">on GitHub</a>
|
572
579
|
|
573
580
|
</p>
|
574
|
-
<div id="
|
575
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
581
|
+
<div id="M000175_source" class="dyn-source">
|
582
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1073</span>
|
576
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>
|
577
584
|
</div>
|
578
585
|
</div>
|
@@ -580,9 +587,9 @@ in the list.
|
|
580
587
|
</div>
|
581
588
|
|
582
589
|
<div class="method">
|
583
|
-
<div class="title" id="
|
590
|
+
<div class="title" id="M000172">
|
584
591
|
|
585
|
-
<a name="
|
592
|
+
<a name="M000172"></a><b>next_client</b>()
|
586
593
|
|
587
594
|
</div>
|
588
595
|
|
@@ -591,13 +598,13 @@ in the list.
|
|
591
598
|
|
592
599
|
<div class="sourcecode">
|
593
600
|
<p class="source-link">
|
594
|
-
Source: <a href="javascript:toggleSource('
|
601
|
+
Source: <a href="javascript:toggleSource('M000172_source')" id="l_M000172_source">show</a>
|
595
602
|
|
596
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
603
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1069" target="_blank" class="github_url">on GitHub</a>
|
597
604
|
|
598
605
|
</p>
|
599
|
-
<div id="
|
600
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
606
|
+
<div id="M000172_source" class="dyn-source">
|
607
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1069</span>
|
601
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>
|
602
609
|
</div>
|
603
610
|
</div>
|
@@ -605,9 +612,9 @@ in the list.
|
|
605
612
|
</div>
|
606
613
|
|
607
614
|
<div class="method">
|
608
|
-
<div class="title" id="
|
615
|
+
<div class="title" id="M000181">
|
609
616
|
|
610
|
-
<a name="
|
617
|
+
<a name="M000181"></a><b>next_tag</b>()
|
611
618
|
|
612
619
|
</div>
|
613
620
|
|
@@ -616,13 +623,13 @@ in the list.
|
|
616
623
|
|
617
624
|
<div class="sourcecode">
|
618
625
|
<p class="source-link">
|
619
|
-
Source: <a href="javascript:toggleSource('
|
626
|
+
Source: <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">show</a>
|
620
627
|
|
621
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
628
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1081" target="_blank" class="github_url">on GitHub</a>
|
622
629
|
|
623
630
|
</p>
|
624
|
-
<div id="
|
625
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
631
|
+
<div id="M000181_source" class="dyn-source">
|
632
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1081</span>
|
626
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>
|
627
634
|
</div>
|
628
635
|
</div>
|
@@ -630,9 +637,9 @@ in the list.
|
|
630
637
|
</div>
|
631
638
|
|
632
639
|
<div class="method">
|
633
|
-
<div class="title" id="
|
640
|
+
<div class="title" id="M000178">
|
634
641
|
|
635
|
-
<a name="
|
642
|
+
<a name="M000178"></a><b>next_view</b>()
|
636
643
|
|
637
644
|
</div>
|
638
645
|
|
@@ -641,13 +648,13 @@ in the list.
|
|
641
648
|
|
642
649
|
<div class="sourcecode">
|
643
650
|
<p class="source-link">
|
644
|
-
Source: <a href="javascript:toggleSource('
|
651
|
+
Source: <a href="javascript:toggleSource('M000178_source')" id="l_M000178_source">show</a>
|
645
652
|
|
646
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
653
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1077" target="_blank" class="github_url">on GitHub</a>
|
647
654
|
|
648
655
|
</p>
|
649
|
-
<div id="
|
650
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
656
|
+
<div id="M000178_source" class="dyn-source">
|
657
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1077</span>
|
651
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>
|
652
659
|
</div>
|
653
660
|
</div>
|
@@ -655,9 +662,9 @@ in the list.
|
|
655
662
|
</div>
|
656
663
|
|
657
664
|
<div class="method">
|
658
|
-
<div class="title" id="
|
665
|
+
<div class="title" id="M000176">
|
659
666
|
|
660
|
-
<a name="
|
667
|
+
<a name="M000176"></a><b>prev_area</b>()
|
661
668
|
|
662
669
|
</div>
|
663
670
|
|
@@ -666,13 +673,13 @@ in the list.
|
|
666
673
|
|
667
674
|
<div class="sourcecode">
|
668
675
|
<p class="source-link">
|
669
|
-
Source: <a href="javascript:toggleSource('
|
676
|
+
Source: <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">show</a>
|
670
677
|
|
671
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
678
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1074" target="_blank" class="github_url">on GitHub</a>
|
672
679
|
|
673
680
|
</p>
|
674
|
-
<div id="
|
675
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
681
|
+
<div id="M000176_source" class="dyn-source">
|
682
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1074</span>
|
676
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>
|
677
684
|
</div>
|
678
685
|
</div>
|
@@ -680,9 +687,9 @@ in the list.
|
|
680
687
|
</div>
|
681
688
|
|
682
689
|
<div class="method">
|
683
|
-
<div class="title" id="
|
690
|
+
<div class="title" id="M000173">
|
684
691
|
|
685
|
-
<a name="
|
692
|
+
<a name="M000173"></a><b>prev_client</b>()
|
686
693
|
|
687
694
|
</div>
|
688
695
|
|
@@ -691,13 +698,13 @@ in the list.
|
|
691
698
|
|
692
699
|
<div class="sourcecode">
|
693
700
|
<p class="source-link">
|
694
|
-
Source: <a href="javascript:toggleSource('
|
701
|
+
Source: <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">show</a>
|
695
702
|
|
696
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
703
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1070" target="_blank" class="github_url">on GitHub</a>
|
697
704
|
|
698
705
|
</p>
|
699
|
-
<div id="
|
700
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
706
|
+
<div id="M000173_source" class="dyn-source">
|
707
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1070</span>
|
701
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>
|
702
709
|
</div>
|
703
710
|
</div>
|
@@ -705,9 +712,9 @@ in the list.
|
|
705
712
|
</div>
|
706
713
|
|
707
714
|
<div class="method">
|
708
|
-
<div class="title" id="
|
715
|
+
<div class="title" id="M000182">
|
709
716
|
|
710
|
-
<a name="
|
717
|
+
<a name="M000182"></a><b>prev_tag</b>()
|
711
718
|
|
712
719
|
</div>
|
713
720
|
|
@@ -716,13 +723,13 @@ in the list.
|
|
716
723
|
|
717
724
|
<div class="sourcecode">
|
718
725
|
<p class="source-link">
|
719
|
-
Source: <a href="javascript:toggleSource('
|
726
|
+
Source: <a href="javascript:toggleSource('M000182_source')" id="l_M000182_source">show</a>
|
720
727
|
|
721
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
728
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1082" target="_blank" class="github_url">on GitHub</a>
|
722
729
|
|
723
730
|
</p>
|
724
|
-
<div id="
|
725
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
731
|
+
<div id="M000182_source" class="dyn-source">
|
732
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1082</span>
|
726
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>
|
727
734
|
</div>
|
728
735
|
</div>
|
@@ -730,9 +737,9 @@ in the list.
|
|
730
737
|
</div>
|
731
738
|
|
732
739
|
<div class="method">
|
733
|
-
<div class="title" id="
|
740
|
+
<div class="title" id="M000179">
|
734
741
|
|
735
|
-
<a name="
|
742
|
+
<a name="M000179"></a><b>prev_view</b>()
|
736
743
|
|
737
744
|
</div>
|
738
745
|
|
@@ -741,13 +748,13 @@ in the list.
|
|
741
748
|
|
742
749
|
<div class="sourcecode">
|
743
750
|
<p class="source-link">
|
744
|
-
Source: <a href="javascript:toggleSource('
|
751
|
+
Source: <a href="javascript:toggleSource('M000179_source')" id="l_M000179_source">show</a>
|
745
752
|
|
746
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
753
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1078" target="_blank" class="github_url">on GitHub</a>
|
747
754
|
|
748
755
|
</p>
|
749
|
-
<div id="
|
750
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
756
|
+
<div id="M000179_source" class="dyn-source">
|
757
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1078</span>
|
751
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>
|
752
759
|
</div>
|
753
760
|
</div>
|
@@ -755,9 +762,9 @@ in the list.
|
|
755
762
|
</div>
|
756
763
|
|
757
764
|
<div class="method">
|
758
|
-
<div class="title" id="
|
765
|
+
<div class="title" id="M000155">
|
759
766
|
|
760
|
-
<a name="
|
767
|
+
<a name="M000155"></a><b>tags</b>()
|
761
768
|
|
762
769
|
</div>
|
763
770
|
|
@@ -773,13 +780,13 @@ Returns the current set of tags.
|
|
773
780
|
|
774
781
|
<div class="sourcecode">
|
775
782
|
<p class="source-link">
|
776
|
-
Source: <a href="javascript:toggleSource('
|
783
|
+
Source: <a href="javascript:toggleSource('M000155_source')" id="l_M000155_source">show</a>
|
777
784
|
|
778
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
785
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1028" target="_blank" class="github_url">on GitHub</a>
|
779
786
|
|
780
787
|
</p>
|
781
|
-
<div id="
|
782
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
788
|
+
<div id="M000155_source" class="dyn-source">
|
789
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1028</span>
|
783
790
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
|
784
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>
|
785
792
|
<span class="ruby-identifier">ary</span>.<span class="ruby-identifier">delete</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
|
@@ -791,9 +798,9 @@ Returns the current set of tags.
|
|
791
798
|
</div>
|
792
799
|
|
793
800
|
<div class="method">
|
794
|
-
<div class="title" id="
|
801
|
+
<div class="title" id="M000156">
|
795
802
|
|
796
|
-
<a name="
|
803
|
+
<a name="M000156"></a><b>views</b>()
|
797
804
|
|
798
805
|
</div>
|
799
806
|
|
@@ -809,13 +816,13 @@ Returns the current set of views.
|
|
809
816
|
|
810
817
|
<div class="sourcecode">
|
811
818
|
<p class="source-link">
|
812
|
-
Source: <a href="javascript:toggleSource('
|
819
|
+
Source: <a href="javascript:toggleSource('M000156_source')" id="l_M000156_source">show</a>
|
813
820
|
|
814
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
821
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L1037" target="_blank" class="github_url">on GitHub</a>
|
815
822
|
|
816
823
|
</p>
|
817
|
-
<div id="
|
818
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
824
|
+
<div id="M000156_source" class="dyn-source">
|
825
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 1037</span>
|
819
826
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">views</span>
|
820
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> }
|
821
828
|
<span class="ruby-keyword kw">end</span></pre>
|