rumai 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/bin/rumai +1 -1
  2. data/doc/api/classes/Integer.html +7 -7
  3. data/doc/api/classes/Rumai.html +148 -141
  4. data/doc/api/classes/Rumai/Area.html +135 -130
  5. data/doc/api/classes/Rumai/Chain.html +21 -21
  6. data/doc/api/classes/Rumai/Client.html +188 -189
  7. data/doc/api/classes/Rumai/ClientContainer.html +22 -22
  8. data/doc/api/classes/Rumai/IXP/Agent.html +248 -143
  9. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +50 -50
  10. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +7 -7
  11. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +21 -21
  12. data/doc/api/classes/Rumai/IXP/Fcall.html +33 -33
  13. data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
  14. data/doc/api/classes/Rumai/IXP/Stat.html +8 -8
  15. data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
  16. data/doc/api/classes/Rumai/IXP/Struct.html +34 -38
  17. data/doc/api/classes/Rumai/IXP/Struct/Field.html +42 -42
  18. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +14 -14
  19. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +7 -7
  20. data/doc/api/classes/Rumai/IXP/Terror.html +7 -7
  21. data/doc/api/classes/Rumai/IXP/Topen.html +1 -1
  22. data/doc/api/classes/Rumai/Node.html +114 -110
  23. data/doc/api/classes/Rumai/View.html +184 -136
  24. data/doc/api/classes/String.html +15 -15
  25. data/doc/api/classes/Time.html +14 -14
  26. data/doc/api/created.rid +1 -1
  27. data/doc/api/files/lib/rumai/fs_rb.html +1 -1
  28. data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
  29. data/doc/api/files/lib/rumai/ixp/transport_rb.html +1 -1
  30. data/doc/api/files/lib/rumai/wm_rb.html +1 -1
  31. data/doc/api/files/lib/rumai_rb.html +1 -1
  32. data/doc/api/panel/search_index.js +1 -1
  33. data/doc/history.erb +41 -0
  34. data/doc/index.html +1315 -669
  35. data/doc/setup.erb +82 -45
  36. data/doc/usage.erb +96 -132
  37. data/lib/rumai.rb +2 -2
  38. data/lib/rumai/fs.rb +11 -6
  39. data/lib/rumai/ixp/message.rb +31 -17
  40. data/lib/rumai/ixp/transport.rb +82 -36
  41. data/lib/rumai/wm.rb +87 -25
  42. metadata +5 -5
@@ -57,7 +57,7 @@ column in the managed area.
57
57
  <dd>
58
58
  <ul>
59
59
 
60
- <li><a href="#M000076"><<</a></li>
60
+ <li><a href="#M000100"><<</a></li>
61
61
 
62
62
  </ul>
63
63
  </dd>
@@ -66,15 +66,15 @@ column in the managed area.
66
66
  <dd>
67
67
  <ul>
68
68
 
69
- <li><a href="#M000068">chain</a>,</li>
69
+ <li><a href="#M000087">chain</a>,</li>
70
70
 
71
- <li><a href="#M000070">client_ids</a>,</li>
71
+ <li><a href="#M000090">client_ids</a>,</li>
72
72
 
73
- <li><a href="#M000064">column?</a>,</li>
73
+ <li><a href="#M000077">column?</a>,</li>
74
74
 
75
- <li><a href="#M000079">concat</a>,</li>
75
+ <li><a href="#M000106">concat</a>,</li>
76
76
 
77
- <li><a href="#M000066">curr</a></li>
77
+ <li><a href="#M000079">curr</a></li>
78
78
 
79
79
  </ul>
80
80
  </dd>
@@ -83,9 +83,9 @@ column in the managed area.
83
83
  <dd>
84
84
  <ul>
85
85
 
86
- <li><a href="#M000071">each</a>,</li>
86
+ <li><a href="#M000091">each</a>,</li>
87
87
 
88
- <li><a href="#M000069">exist?</a></li>
88
+ <li><a href="#M000088">exist?</a></li>
89
89
 
90
90
  </ul>
91
91
  </dd>
@@ -94,11 +94,11 @@ column in the managed area.
94
94
  <dd>
95
95
  <ul>
96
96
 
97
- <li><a href="#M000067">floating</a>,</li>
97
+ <li><a href="#M000086">floating</a>,</li>
98
98
 
99
- <li><a href="#M000063">floating?</a>,</li>
99
+ <li><a href="#M000076">floating?</a>,</li>
100
100
 
101
- <li><a href="#M000073">focus</a></li>
101
+ <li><a href="#M000094">focus</a></li>
102
102
 
103
103
  </ul>
104
104
  </dd>
@@ -107,7 +107,7 @@ column in the managed area.
107
107
  <dd>
108
108
  <ul>
109
109
 
110
- <li><a href="#M000077">insert</a></li>
110
+ <li><a href="#M000103">insert</a></li>
111
111
 
112
112
  </ul>
113
113
  </dd>
@@ -116,11 +116,11 @@ column in the managed area.
116
116
  <dd>
117
117
  <ul>
118
118
 
119
- <li><a href="#M000072">layout=</a>,</li>
119
+ <li><a href="#M000092">layout=</a>,</li>
120
120
 
121
- <li><a href="#M000074">length</a>,</li>
121
+ <li><a href="#M000095">length</a>,</li>
122
122
 
123
- <li><a href="#M000080">length=</a></li>
123
+ <li><a href="#M000107">length=</a></li>
124
124
 
125
125
  </ul>
126
126
  </dd>
@@ -129,7 +129,7 @@ column in the managed area.
129
129
  <dd>
130
130
  <ul>
131
131
 
132
- <li><a href="#M000065">managed?</a></li>
132
+ <li><a href="#M000078">managed?</a></li>
133
133
 
134
134
  </ul>
135
135
  </dd>
@@ -138,7 +138,7 @@ column in the managed area.
138
138
  <dd>
139
139
  <ul>
140
140
 
141
- <li><a href="#M000062">new</a></li>
141
+ <li><a href="#M000072">new</a></li>
142
142
 
143
143
  </ul>
144
144
  </dd>
@@ -147,7 +147,7 @@ column in the managed area.
147
147
  <dd>
148
148
  <ul>
149
149
 
150
- <li><a href="#M000075">push</a></li>
150
+ <li><a href="#M000099">push</a></li>
151
151
 
152
152
  </ul>
153
153
  </dd>
@@ -156,7 +156,7 @@ column in the managed area.
156
156
  <dd>
157
157
  <ul>
158
158
 
159
- <li><a href="#M000078">unshift</a></li>
159
+ <li><a href="#M000104">unshift</a></li>
160
160
 
161
161
  </ul>
162
162
  </dd>
@@ -224,9 +224,9 @@ column in the managed area.
224
224
  <div class="sectiontitle">Class Public methods</div>
225
225
 
226
226
  <div class="method">
227
- <div class="title" id="M000066">
227
+ <div class="title" id="M000079">
228
228
 
229
- <a name="M000066"></a><b>curr</b>()
229
+ <a name="M000079"></a><b>curr</b>()
230
230
 
231
231
  </div>
232
232
 
@@ -242,13 +242,13 @@ Returns the currently focused area.
242
242
 
243
243
  <div class="sourcecode">
244
244
  <p class="source-link">
245
- Source: <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show</a>
245
+ Source: <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show</a>
246
246
 
247
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L513" target="_blank" class="github_url">on GitHub</a>
247
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L522" target="_blank" class="github_url">on GitHub</a>
248
248
 
249
249
  </p>
250
- <div id="M000066_source" class="dyn-source">
251
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 513</span>
250
+ <div id="M000079_source" class="dyn-source">
251
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 522</span>
252
252
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
253
253
  <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span>
254
254
  <span class="ruby-keyword kw">end</span></pre>
@@ -258,9 +258,9 @@ Returns the currently focused area.
258
258
  </div>
259
259
 
260
260
  <div class="method">
261
- <div class="title" id="M000067">
261
+ <div class="title" id="M000086">
262
262
 
263
- <a name="M000067"></a><b>floating</b>(view = View.curr)
263
+ <a name="M000086"></a><b>floating</b>(view = View.curr)
264
264
 
265
265
  </div>
266
266
 
@@ -276,13 +276,13 @@ Returns the floating area in the given view.
276
276
 
277
277
  <div class="sourcecode">
278
278
  <p class="source-link">
279
- Source: <a href="javascript:toggleSource('M000067_source')" id="l_M000067_source">show</a>
279
+ Source: <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show</a>
280
280
 
281
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L520" target="_blank" class="github_url">on GitHub</a>
281
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L529" target="_blank" class="github_url">on GitHub</a>
282
282
 
283
283
  </p>
284
- <div id="M000067_source" class="dyn-source">
285
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 520</span>
284
+ <div id="M000086_source" class="dyn-source">
285
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 529</span>
286
286
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">floating</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
287
287
  <span class="ruby-identifier">new</span> <span class="ruby-constant">FLOATING_AREA_ID</span>, <span class="ruby-identifier">view</span>
288
288
  <span class="ruby-keyword kw">end</span></pre>
@@ -292,9 +292,9 @@ Returns the floating area in the given view.
292
292
  </div>
293
293
 
294
294
  <div class="method">
295
- <div class="title" id="M000062">
295
+ <div class="title" id="M000072">
296
296
 
297
- <a name="M000062"></a><b>new</b>(area_id, view = View.curr)
297
+ <a name="M000072"></a><b>new</b>(area_id, view = View.curr)
298
298
 
299
299
  </div>
300
300
 
@@ -312,13 +312,13 @@ Returns the floating area in the given view.
312
312
 
313
313
  <div class="sourcecode">
314
314
  <p class="source-link">
315
- Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
315
+ Source: <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show</a>
316
316
 
317
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L487" target="_blank" class="github_url">on GitHub</a>
317
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L496" target="_blank" class="github_url">on GitHub</a>
318
318
 
319
319
  </p>
320
- <div id="M000062_source" class="dyn-source">
321
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 487</span>
320
+ <div id="M000072_source" class="dyn-source">
321
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 496</span>
322
322
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">area_id</span>, <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
323
323
  <span class="ruby-ivar">@id</span> = <span class="ruby-constant">Integer</span>(<span class="ruby-identifier">area_id</span>) <span class="ruby-keyword kw">rescue</span> <span class="ruby-identifier">area_id</span>
324
324
  <span class="ruby-ivar">@view</span> = <span class="ruby-identifier">view</span>
@@ -331,15 +331,15 @@ Returns the floating area in the given view.
331
331
  <div class="sectiontitle">Instance Public methods</div>
332
332
 
333
333
  <div class="method">
334
- <div class="title" id="M000076">
334
+ <div class="title" id="M000100">
335
335
 
336
- <a name="M000076"></a><b>&lt;&lt;</b>(*clients)
336
+ <a name="M000100"></a><b>&lt;&lt;</b>(*clients)
337
337
 
338
338
  </div>
339
339
 
340
340
  <div class="description">
341
341
  <p>
342
- Alias for <a href="Area.html#M000075">push</a>
342
+ Alias for <a href="Area.html#M000099">push</a>
343
343
  </p>
344
344
 
345
345
  </div>
@@ -349,9 +349,9 @@ Alias for <a href="Area.html#M000075">push</a>
349
349
  </div>
350
350
 
351
351
  <div class="method">
352
- <div class="title" id="M000068">
352
+ <div class="title" id="M000087">
353
353
 
354
- <a name="M000068"></a><b>chain</b>()
354
+ <a name="M000087"></a><b>chain</b>()
355
355
 
356
356
  </div>
357
357
 
@@ -367,13 +367,13 @@ Returns a list of all areas in the current view.
367
367
 
368
368
  <div class="sourcecode">
369
369
  <p class="source-link">
370
- Source: <a href="javascript:toggleSource('M000068_source')" id="l_M000068_source">show</a>
370
+ Source: <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show</a>
371
371
 
372
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L529" target="_blank" class="github_url">on GitHub</a>
372
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L538" target="_blank" class="github_url">on GitHub</a>
373
373
 
374
374
  </p>
375
- <div id="M000068_source" class="dyn-source">
376
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 529</span>
375
+ <div id="M000087_source" class="dyn-source">
376
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 538</span>
377
377
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
378
378
  <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">areas</span>
379
379
  <span class="ruby-keyword kw">end</span></pre>
@@ -383,9 +383,9 @@ Returns a list of all areas in the current view.
383
383
  </div>
384
384
 
385
385
  <div class="method">
386
- <div class="title" id="M000070">
386
+ <div class="title" id="M000090">
387
387
 
388
- <a name="M000070"></a><b>client_ids</b>()
388
+ <a name="M000090"></a><b>client_ids</b>()
389
389
 
390
390
  </div>
391
391
 
@@ -401,13 +401,13 @@ Returns the IDs of the clients in this area.
401
401
 
402
402
  <div class="sourcecode">
403
403
  <p class="source-link">
404
- Source: <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">show</a>
404
+ Source: <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show</a>
405
405
 
406
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L545" target="_blank" class="github_url">on GitHub</a>
406
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L554" target="_blank" class="github_url">on GitHub</a>
407
407
 
408
408
  </p>
409
- <div id="M000070_source" class="dyn-source">
410
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 545</span>
409
+ <div id="M000090_source" class="dyn-source">
410
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 554</span>
411
411
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
412
412
  <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">client_ids</span> <span class="ruby-ivar">@id</span>
413
413
  <span class="ruby-keyword kw">end</span></pre>
@@ -417,9 +417,9 @@ Returns the IDs of the clients in this area.
417
417
  </div>
418
418
 
419
419
  <div class="method">
420
- <div class="title" id="M000064">
420
+ <div class="title" id="M000077">
421
421
 
422
- <a name="M000064"></a><b>column?</b>()
422
+ <a name="M000077"></a><b>column?</b>()
423
423
 
424
424
  </div>
425
425
 
@@ -434,7 +434,7 @@ Checks if this is a managed area (a column).
434
434
  <div class="aka">
435
435
  This method is also aliased as
436
436
 
437
- <a href="Area.html#M000065">managed?</a>
437
+ <a href="Area.html#M000078">managed?</a>
438
438
 
439
439
  </div>
440
440
 
@@ -442,13 +442,13 @@ Checks if this is a managed area (a column).
442
442
 
443
443
  <div class="sourcecode">
444
444
  <p class="source-link">
445
- Source: <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show</a>
445
+ Source: <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show</a>
446
446
 
447
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L502" target="_blank" class="github_url">on GitHub</a>
447
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L511" target="_blank" class="github_url">on GitHub</a>
448
448
 
449
449
  </p>
450
- <div id="M000064_source" class="dyn-source">
451
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 502</span>
450
+ <div id="M000077_source" class="dyn-source">
451
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 511</span>
452
452
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column?</span>
453
453
  <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">floating?</span>
454
454
  <span class="ruby-keyword kw">end</span></pre>
@@ -458,9 +458,9 @@ Checks if this is a managed area (a column).
458
458
  </div>
459
459
 
460
460
  <div class="method">
461
- <div class="title" id="M000079">
461
+ <div class="title" id="M000106">
462
462
 
463
- <a name="M000079"></a><b>concat</b>(area)
463
+ <a name="M000106"></a><b>concat</b>(area)
464
464
 
465
465
  </div>
466
466
 
@@ -476,13 +476,13 @@ Concatenates the given area to the bottom of this area.
476
476
 
477
477
  <div class="sourcecode">
478
478
  <p class="source-link">
479
- Source: <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show</a>
479
+ Source: <a href="javascript:toggleSource('M000106_source')" id="l_M000106_source">show</a>
480
480
 
481
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L635" target="_blank" class="github_url">on GitHub</a>
481
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L653" target="_blank" class="github_url">on GitHub</a>
482
482
 
483
483
  </p>
484
- <div id="M000079_source" class="dyn-source">
485
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 635</span>
484
+ <div id="M000106_source" class="dyn-source">
485
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 653</span>
486
486
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concat</span> <span class="ruby-identifier">area</span>
487
487
  <span class="ruby-identifier">push</span> <span class="ruby-identifier">area</span>.<span class="ruby-identifier">clients</span>
488
488
  <span class="ruby-keyword kw">end</span></pre>
@@ -492,9 +492,9 @@ Concatenates the given area to the bottom of this area.
492
492
  </div>
493
493
 
494
494
  <div class="method">
495
- <div class="title" id="M000071">
495
+ <div class="title" id="M000091">
496
496
 
497
- <a name="M000071"></a><b>each</b>(&amp;block)
497
+ <a name="M000091"></a><b>each</b>(&amp;block)
498
498
 
499
499
  </div>
500
500
 
@@ -510,13 +510,13 @@ Iterates through each client in this container.
510
510
 
511
511
  <div class="sourcecode">
512
512
  <p class="source-link">
513
- Source: <a href="javascript:toggleSource('M000071_source')" id="l_M000071_source">show</a>
513
+ Source: <a href="javascript:toggleSource('M000091_source')" id="l_M000091_source">show</a>
514
514
 
515
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L554" target="_blank" class="github_url">on GitHub</a>
515
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L563" target="_blank" class="github_url">on GitHub</a>
516
516
 
517
517
  </p>
518
- <div id="M000071_source" class="dyn-source">
519
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 554</span>
518
+ <div id="M000091_source" class="dyn-source">
519
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 563</span>
520
520
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
521
521
  <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
522
522
  <span class="ruby-keyword kw">end</span></pre>
@@ -526,9 +526,9 @@ Iterates through each client in this container.
526
526
  </div>
527
527
 
528
528
  <div class="method">
529
- <div class="title" id="M000069">
529
+ <div class="title" id="M000088">
530
530
 
531
- <a name="M000069"></a><b>exist?</b>()
531
+ <a name="M000088"></a><b>exist?</b>()
532
532
 
533
533
  </div>
534
534
 
@@ -544,13 +544,13 @@ Checks if this object exists in the chain.
544
544
 
545
545
  <div class="sourcecode">
546
546
  <p class="source-link">
547
- Source: <a href="javascript:toggleSource('M000069_source')" id="l_M000069_source">show</a>
547
+ Source: <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show</a>
548
548
 
549
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L536" target="_blank" class="github_url">on GitHub</a>
549
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L545" target="_blank" class="github_url">on GitHub</a>
550
550
 
551
551
  </p>
552
- <div id="M000069_source" class="dyn-source">
553
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 536</span>
552
+ <div id="M000088_source" class="dyn-source">
553
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 545</span>
554
554
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exist?</span>
555
555
  <span class="ruby-identifier">chain</span>.<span class="ruby-identifier">include?</span> <span class="ruby-keyword kw">self</span>
556
556
  <span class="ruby-keyword kw">end</span></pre>
@@ -560,9 +560,9 @@ Checks if this object exists in the chain.
560
560
  </div>
561
561
 
562
562
  <div class="method">
563
- <div class="title" id="M000063">
563
+ <div class="title" id="M000076">
564
564
 
565
- <a name="M000063"></a><b>floating?</b>()
565
+ <a name="M000076"></a><b>floating?</b>()
566
566
 
567
567
  </div>
568
568
 
@@ -578,13 +578,13 @@ Checks if this area is the floating area.
578
578
 
579
579
  <div class="sourcecode">
580
580
  <p class="source-link">
581
- Source: <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show</a>
581
+ Source: <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show</a>
582
582
 
583
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L495" target="_blank" class="github_url">on GitHub</a>
583
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L504" target="_blank" class="github_url">on GitHub</a>
584
584
 
585
585
  </p>
586
- <div id="M000063_source" class="dyn-source">
587
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 495</span>
586
+ <div id="M000076_source" class="dyn-source">
587
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 504</span>
588
588
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">floating?</span>
589
589
  <span class="ruby-ivar">@id</span> <span class="ruby-operator">==</span> <span class="ruby-constant">FLOATING_AREA_ID</span>
590
590
  <span class="ruby-keyword kw">end</span></pre>
@@ -594,9 +594,9 @@ Checks if this area is the floating area.
594
594
  </div>
595
595
 
596
596
  <div class="method">
597
- <div class="title" id="M000073">
597
+ <div class="title" id="M000094">
598
598
 
599
- <a name="M000073"></a><b>focus</b>()
599
+ <a name="M000094"></a><b>focus</b>()
600
600
 
601
601
  </div>
602
602
 
@@ -612,13 +612,13 @@ Puts focus on this area.
612
612
 
613
613
  <div class="sourcecode">
614
614
  <p class="source-link">
615
- Source: <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show</a>
615
+ Source: <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">show</a>
616
616
 
617
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L570" target="_blank" class="github_url">on GitHub</a>
617
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L586" target="_blank" class="github_url">on GitHub</a>
618
618
 
619
619
  </p>
620
- <div id="M000073_source" class="dyn-source">
621
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 570</span>
620
+ <div id="M000094_source" class="dyn-source">
621
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 586</span>
622
622
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span>
623
623
  <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">&quot;select #{@id}&quot;</span>
624
624
  <span class="ruby-keyword kw">end</span></pre>
@@ -628,9 +628,9 @@ Puts focus on this area.
628
628
  </div>
629
629
 
630
630
  <div class="method">
631
- <div class="title" id="M000077">
631
+ <div class="title" id="M000103">
632
632
 
633
- <a name="M000077"></a><b>insert</b>(*clients)
633
+ <a name="M000103"></a><b>insert</b>(*clients)
634
634
 
635
635
  </div>
636
636
 
@@ -646,13 +646,13 @@ Inserts the given clients after the currently focused client in this area.
646
646
 
647
647
  <div class="sourcecode">
648
648
  <p class="source-link">
649
- Source: <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show</a>
649
+ Source: <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show</a>
650
650
 
651
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L606" target="_blank" class="github_url">on GitHub</a>
651
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L624" target="_blank" class="github_url">on GitHub</a>
652
652
 
653
653
  </p>
654
- <div id="M000077_source" class="dyn-source">
655
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 606</span>
654
+ <div id="M000103_source" class="dyn-source">
655
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 624</span>
656
656
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
657
657
  <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
658
658
  <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
@@ -667,9 +667,9 @@ Inserts the given clients after the currently focused client in this area.
667
667
  </div>
668
668
 
669
669
  <div class="method">
670
- <div class="title" id="M000072">
670
+ <div class="title" id="M000092">
671
671
 
672
- <a name="M000072"></a><b>layout=</b>(mode)
672
+ <a name="M000092"></a><b>layout=</b>(mode)
673
673
 
674
674
  </div>
675
675
 
@@ -685,14 +685,19 @@ Sets the layout of clients in this column.
685
685
 
686
686
  <div class="sourcecode">
687
687
  <p class="source-link">
688
- Source: <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show</a>
688
+ Source: <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">show</a>
689
689
 
690
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L561" target="_blank" class="github_url">on GitHub</a>
690
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L570" target="_blank" class="github_url">on GitHub</a>
691
691
 
692
692
  </p>
693
- <div id="M000072_source" class="dyn-source">
694
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 561</span>
693
+ <div id="M000092_source" class="dyn-source">
694
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 570</span>
695
695
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">layout=</span> <span class="ruby-identifier">mode</span>
696
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">mode</span>
697
+ <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:stack</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">mode</span> = <span class="ruby-value str">'stack-max'</span>
698
+ <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:max</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">mode</span> = <span class="ruby-value str">'stack+max'</span>
699
+ <span class="ruby-keyword kw">end</span>
700
+
696
701
  <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">&quot;colmode #{@id} #{mode}&quot;</span>
697
702
  <span class="ruby-keyword kw">end</span></pre>
698
703
  </div>
@@ -701,9 +706,9 @@ Sets the layout of clients in this column.
701
706
  </div>
702
707
 
703
708
  <div class="method">
704
- <div class="title" id="M000074">
709
+ <div class="title" id="M000095">
705
710
 
706
- <a name="M000074"></a><b>length</b>()
711
+ <a name="M000095"></a><b>length</b>()
707
712
 
708
713
  </div>
709
714
 
@@ -719,13 +724,13 @@ Returns the number of clients in this area.
719
724
 
720
725
  <div class="sourcecode">
721
726
  <p class="source-link">
722
- Source: <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show</a>
727
+ Source: <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show</a>
723
728
 
724
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L579" target="_blank" class="github_url">on GitHub</a>
729
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L597" target="_blank" class="github_url">on GitHub</a>
725
730
 
726
731
  </p>
727
- <div id="M000074_source" class="dyn-source">
728
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 579</span>
732
+ <div id="M000095_source" class="dyn-source">
733
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 597</span>
729
734
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
730
735
  <span class="ruby-identifier">client_ids</span>.<span class="ruby-identifier">length</span>
731
736
  <span class="ruby-keyword kw">end</span></pre>
@@ -735,9 +740,9 @@ Returns the number of clients in this area.
735
740
  </div>
736
741
 
737
742
  <div class="method">
738
- <div class="title" id="M000080">
743
+ <div class="title" id="M000107">
739
744
 
740
- <a name="M000080"></a><b>length=</b>(max_clients)
745
+ <a name="M000107"></a><b>length=</b>(max_clients)
741
746
 
742
747
  </div>
743
748
 
@@ -757,13 +762,13 @@ are evicted and from which deficit clients are imported.
757
762
 
758
763
  <div class="sourcecode">
759
764
  <p class="source-link">
760
- Source: <a href="javascript:toggleSource('M000080_source')" id="l_M000080_source">show</a>
765
+ Source: <a href="javascript:toggleSource('M000107_source')" id="l_M000107_source">show</a>
761
766
 
762
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L645" target="_blank" class="github_url">on GitHub</a>
767
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L663" target="_blank" class="github_url">on GitHub</a>
763
768
 
764
769
  </p>
765
- <div id="M000080_source" class="dyn-source">
766
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 645</span>
770
+ <div id="M000107_source" class="dyn-source">
771
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 663</span>
767
772
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length=</span> <span class="ruby-identifier">max_clients</span>
768
773
  <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">max_clients</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
769
774
  <span class="ruby-identifier">len</span>, <span class="ruby-identifier">out</span> = <span class="ruby-identifier">length</span>, <span class="ruby-identifier">fringe</span>
@@ -786,15 +791,15 @@ are evicted and from which deficit clients are imported.
786
791
  </div>
787
792
 
788
793
  <div class="method">
789
- <div class="title" id="M000065">
794
+ <div class="title" id="M000078">
790
795
 
791
- <a name="M000065"></a><b>managed?</b>()
796
+ <a name="M000078"></a><b>managed?</b>()
792
797
 
793
798
  </div>
794
799
 
795
800
  <div class="description">
796
801
  <p>
797
- Alias for <a href="Area.html#M000064">column?</a>
802
+ Alias for <a href="Area.html#M000077">column?</a>
798
803
  </p>
799
804
 
800
805
  </div>
@@ -804,9 +809,9 @@ Alias for <a href="Area.html#M000064">column?</a>
804
809
  </div>
805
810
 
806
811
  <div class="method">
807
- <div class="title" id="M000075">
812
+ <div class="title" id="M000099">
808
813
 
809
- <a name="M000075"></a><b>push</b>(*clients)
814
+ <a name="M000099"></a><b>push</b>(*clients)
810
815
 
811
816
  </div>
812
817
 
@@ -821,7 +826,7 @@ Inserts the given clients at the bottom of this area.
821
826
  <div class="aka">
822
827
  This method is also aliased as
823
828
 
824
- <a href="Area.html#M000076">&lt;&lt;</a>
829
+ <a href="Area.html#M000100">&lt;&lt;</a>
825
830
 
826
831
  </div>
827
832
 
@@ -829,13 +834,13 @@ Inserts the given clients at the bottom of this area.
829
834
 
830
835
  <div class="sourcecode">
831
836
  <p class="source-link">
832
- Source: <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show</a>
837
+ Source: <a href="javascript:toggleSource('M000099_source')" id="l_M000099_source">show</a>
833
838
 
834
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L586" target="_blank" class="github_url">on GitHub</a>
839
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L604" target="_blank" class="github_url">on GitHub</a>
835
840
 
836
841
  </p>
837
- <div id="M000075_source" class="dyn-source">
838
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 586</span>
842
+ <div id="M000099_source" class="dyn-source">
843
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 604</span>
839
844
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
840
845
  <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
841
846
  <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
@@ -843,7 +848,7 @@ Inserts the given clients at the bottom of this area.
843
848
  <span class="ruby-identifier">insert</span> <span class="ruby-identifier">clients</span>
844
849
 
845
850
  <span class="ruby-comment cmt"># move inserted clients to bottom</span>
846
- <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
851
+ <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">reverse</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
847
852
  <span class="ruby-keyword kw">until</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">client_ids</span>[<span class="ruby-operator">-</span><span class="ruby-identifier">i</span>.<span class="ruby-identifier">succ</span>]
848
853
  <span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">:down</span>
849
854
  <span class="ruby-keyword kw">end</span>
@@ -855,9 +860,9 @@ Inserts the given clients at the bottom of this area.
855
860
  </div>
856
861
 
857
862
  <div class="method">
858
- <div class="title" id="M000078">
863
+ <div class="title" id="M000104">
859
864
 
860
- <a name="M000078"></a><b>unshift</b>(*clients)
865
+ <a name="M000104"></a><b>unshift</b>(*clients)
861
866
 
862
867
  </div>
863
868
 
@@ -873,13 +878,13 @@ Inserts the given clients at the top of this area.
873
878
 
874
879
  <div class="sourcecode">
875
880
  <p class="source-link">
876
- Source: <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show</a>
881
+ Source: <a href="javascript:toggleSource('M000104_source')" id="l_M000104_source">show</a>
877
882
 
878
- | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L618" target="_blank" class="github_url">on GitHub</a>
883
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L636" target="_blank" class="github_url">on GitHub</a>
879
884
 
880
885
  </p>
881
- <div id="M000078_source" class="dyn-source">
882
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 618</span>
886
+ <div id="M000104_source" class="dyn-source">
887
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 636</span>
883
888
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unshift</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
884
889
  <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
885
890
  <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>