rumai 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/doc/api/classes/Integer.src/M000002.html +1 -1
- data/doc/api/classes/Rumai.html +1 -1
- data/doc/api/classes/Rumai.src/M000015.html +1 -1
- data/doc/api/classes/Rumai.src/M000016.html +1 -1
- data/doc/api/classes/Rumai.src/M000017.html +1 -1
- data/doc/api/classes/Rumai.src/M000018.html +1 -1
- data/doc/api/classes/Rumai.src/M000019.html +1 -1
- data/doc/api/classes/Rumai.src/M000020.html +1 -1
- data/doc/api/classes/Rumai.src/M000021.html +1 -1
- data/doc/api/classes/Rumai.src/M000022.html +1 -1
- data/doc/api/classes/Rumai.src/M000023.html +1 -1
- data/doc/api/classes/Rumai.src/M000024.html +1 -1
- data/doc/api/classes/Rumai.src/M000025.html +1 -1
- data/doc/api/classes/Rumai.src/M000026.html +1 -1
- data/doc/api/classes/Rumai/Area.html +87 -87
- data/doc/api/classes/Rumai/Area.src/{M000091.html → M000079.html} +5 -8
- data/doc/api/classes/Rumai/Area.src/M000080.html +4 -5
- data/doc/api/classes/Rumai/Area.src/M000081.html +3 -3
- data/doc/api/classes/Rumai/Area.src/M000082.html +5 -5
- data/doc/api/classes/Rumai/Area.src/M000083.html +3 -3
- data/doc/api/classes/Rumai/Area.src/M000084.html +3 -3
- data/doc/api/classes/Rumai/Area.src/M000085.html +4 -4
- data/doc/api/classes/Rumai/Area.src/M000086.html +4 -4
- data/doc/api/classes/Rumai/Area.src/M000087.html +4 -4
- data/doc/api/classes/Rumai/Area.src/M000088.html +4 -4
- data/doc/api/classes/Rumai/Area.src/M000089.html +4 -4
- data/doc/api/classes/Rumai/Area.src/M000090.html +7 -3
- data/doc/api/classes/Rumai/Area.src/M000092.html +23 -0
- data/doc/api/classes/Rumai/Area.src/M000093.html +8 -3
- data/doc/api/classes/Rumai/Area.src/M000094.html +4 -14
- data/doc/api/classes/Rumai/Area.src/M000095.html +17 -4
- data/doc/api/classes/Rumai/Chain.html +18 -18
- data/doc/api/classes/Rumai/Chain.src/{M000079.html → M000076.html} +4 -4
- data/doc/api/classes/Rumai/Chain.src/M000077.html +4 -4
- data/doc/api/classes/Rumai/Chain.src/M000078.html +4 -4
- data/doc/api/classes/Rumai/Client.html +48 -30
- data/doc/api/classes/Rumai/Client.src/M000113.html +18 -0
- data/doc/api/classes/Rumai/Client.src/M000114.html +4 -4
- data/doc/api/classes/Rumai/Client.src/M000115.html +5 -5
- data/doc/api/classes/Rumai/Client.src/M000116.html +26 -5
- data/doc/api/classes/Rumai/Client.src/M000117.html +5 -25
- data/doc/api/classes/Rumai/Client.src/M000118.html +4 -13
- data/doc/api/classes/Rumai/Client.src/M000119.html +4 -5
- data/doc/api/classes/Rumai/Client.src/M000120.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000121.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000122.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000123.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000124.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000125.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000126.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000127.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000128.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000129.html +1 -1
- data/doc/api/classes/Rumai/Client.src/M000130.html +1 -1
- data/doc/api/classes/Rumai/ClientContainer.src/M000027.html +1 -1
- data/doc/api/classes/Rumai/ClientContainer.src/M000028.html +1 -1
- data/doc/api/classes/Rumai/ClientContainer.src/M000029.html +1 -1
- data/doc/api/classes/Rumai/IXP/Agent.html +77 -77
- data/doc/api/classes/Rumai/IXP/Agent.src/M000044.html +53 -0
- data/doc/api/classes/Rumai/IXP/Agent.src/M000045.html +36 -0
- data/doc/api/classes/Rumai/IXP/Agent.src/M000046.html +20 -28
- data/doc/api/classes/Rumai/IXP/Agent.src/M000047.html +5 -29
- data/doc/api/classes/Rumai/IXP/Agent.src/M000048.html +7 -24
- data/doc/api/classes/Rumai/IXP/Agent.src/M000049.html +5 -5
- data/doc/api/classes/Rumai/IXP/Agent.src/M000050.html +18 -7
- data/doc/api/classes/Rumai/IXP/Agent.src/M000051.html +5 -6
- data/doc/api/classes/Rumai/IXP/Agent.src/M000052.html +4 -19
- data/doc/api/classes/Rumai/IXP/Agent.src/M000053.html +7 -5
- data/doc/api/classes/Rumai/IXP/Agent.src/M000054.html +6 -4
- data/doc/api/classes/Rumai/IXP/Agent.src/M000055.html +6 -7
- data/doc/api/classes/Rumai/IXP/Agent.src/M000056.html +8 -6
- data/doc/api/classes/Rumai/IXP/Agent.src/M000057.html +9 -6
- data/doc/api/classes/Rumai/IXP/Agent.src/M000058.html +5 -8
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +93 -35
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000060.html +23 -0
- data/doc/api/classes/Rumai/IXP/{Struct/Field.src/M000040.html → Agent/FidStream.src/M000061.html} +5 -4
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000062.html +8 -8
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000063.html +4 -7
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000064.html +12 -9
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000065.html +21 -11
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +5 -5
- data/doc/api/classes/Rumai/IXP/Agent/MODES.src/{M000061.html → M000059.html} +0 -0
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +16 -16
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000067.html +22 -0
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000068.html +21 -8
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000069.html +4 -18
- data/doc/api/classes/Rumai/IXP/Fcall.html +21 -21
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000070.html +20 -0
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000071.html +11 -6
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000072.html +4 -11
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000073.html +3 -3
- data/doc/api/classes/Rumai/IXP/Stat.html +5 -5
- data/doc/api/classes/Rumai/IXP/Stat.src/{M000076.html → M000075.html} +1 -1
- data/doc/api/classes/Rumai/IXP/Stream.html +5 -5
- data/doc/api/classes/Rumai/IXP/Stream.src/{M000045.html → M000043.html} +1 -2
- data/doc/api/classes/Rumai/IXP/Struct.html +11 -47
- data/doc/api/classes/Rumai/IXP/Struct.src/M000030.html +1 -1
- data/doc/api/classes/Rumai/IXP/Struct.src/M000031.html +4 -4
- data/doc/api/classes/Rumai/IXP/Struct.src/M000032.html +5 -3
- data/doc/api/classes/Rumai/IXP/Struct.src/M000033.html +43 -4
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +34 -42
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000034.html +21 -0
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/{M000041.html → M000035.html} +7 -4
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000036.html +6 -7
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000037.html +13 -5
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000038.html +4 -6
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000039.html +4 -15
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +12 -12
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/{M000043.html → M000041.html} +3 -3
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/{M000044.html → M000042.html} +4 -4
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +6 -6
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.src/{M000042.html → M000040.html} +3 -3
- data/doc/api/classes/Rumai/IXP/Terror.html +5 -5
- data/doc/api/classes/Rumai/IXP/Terror.src/{M000075.html → M000074.html} +1 -1
- data/doc/api/classes/Rumai/Node.html +88 -88
- data/doc/api/classes/Rumai/Node.src/M000096.html +18 -0
- data/doc/api/classes/Rumai/Node.src/M000097.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000098.html +8 -4
- data/doc/api/classes/Rumai/Node.src/M000099.html +4 -8
- data/doc/api/classes/Rumai/Node.src/M000100.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000101.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000102.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000103.html +8 -4
- data/doc/api/classes/Rumai/Node.src/M000104.html +4 -8
- data/doc/api/classes/Rumai/Node.src/M000105.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000106.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000107.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000108.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000109.html +4 -4
- data/doc/api/classes/Rumai/Node.src/M000110.html +5 -5
- data/doc/api/classes/Rumai/Node.src/M000111.html +7 -5
- data/doc/api/classes/Rumai/Node.src/M000112.html +12 -5
- data/doc/api/classes/Rumai/View.html +2 -2
- data/doc/api/classes/Rumai/View.src/M000131.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000132.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000133.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000134.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000135.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000136.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000137.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000138.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000139.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000140.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000141.html +3 -3
- data/doc/api/classes/Rumai/View.src/M000142.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000143.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000144.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000145.html +1 -1
- data/doc/api/classes/Rumai/View.src/M000146.html +1 -1
- data/doc/api/classes/String.src/M000005.html +1 -1
- data/doc/api/classes/String.src/M000006.html +2 -3
- data/doc/api/classes/Time.src/M000003.html +1 -1
- data/doc/api/classes/Time.src/M000004.html +1 -1
- 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/nfo_rb.html +1 -1
- data/doc/api/files/lib/rumai/wm_rb.html +1 -1
- data/doc/api/fr_method_index.html +91 -91
- data/doc/guide.erb +2 -2
- data/doc/guide.html +49 -41
- data/lib/rumai/fs.rb +3 -3
- data/lib/rumai/ixp/message.rb +19 -36
- data/lib/rumai/ixp/transport.rb +98 -85
- data/lib/rumai/nfo.rb +2 -2
- data/lib/rumai/wm.rb +15 -25
- metadata +24 -25
- data/doc/api/classes/Rumai/Area.src/M000096.html +0 -31
- data/doc/api/classes/Rumai/IXP/Agent.src/M000059.html +0 -23
- data/doc/api/classes/Rumai/IXP/Agent.src/M000060.html +0 -19
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000066.html +0 -36
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000070.html +0 -20
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000074.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct.src/M000034.html +0 -20
- data/doc/api/classes/Rumai/IXP/Struct.src/M000035.html +0 -57
- data/doc/api/classes/Rumai/Node.src/M000113.html +0 -27
- data/doc/index.html +0 -2035
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>chain (Rumai::Chain)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 93</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
15
|
+
[<span class="ruby-keyword kw">self</span>]
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>next (Rumai::Chain)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-
|
15
|
-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 98</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">next</span>
|
15
|
+
<span class="ruby-identifier">sibling</span>(<span class="ruby-value">+1</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>prev (Rumai::Chain)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-
|
15
|
-
<span class="ruby-identifier">sibling</span>(<span class="ruby-value"
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 103</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev</span>
|
15
|
+
<span class="ruby-identifier">sibling</span>(<span class="ruby-value">-1</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -93,14 +93,15 @@ A graphical program that is running in your current X Windows session.
|
|
93
93
|
|
94
94
|
<div class="name-list">
|
95
95
|
<a href="#M000120">area</a>
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
96
|
+
<a href="#M000115">chain</a>
|
97
|
+
<a href="#M000114">curr</a>
|
98
|
+
<a href="#M000116">focus</a>
|
99
99
|
<a href="#M000128">group</a>
|
100
100
|
<a href="#M000127">group?</a>
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
103
|
-
<a href="#
|
101
|
+
<a href="#M000119">kill</a>
|
102
|
+
<a href="#M000113">new</a>
|
103
|
+
<a href="#M000117">send</a>
|
104
|
+
<a href="#M000118">swap</a>
|
104
105
|
<a href="#M000125">tag</a>
|
105
106
|
<a href="#M000122">tags</a>
|
106
107
|
<a href="#M000123">tags=</a>
|
@@ -155,12 +156,12 @@ A graphical program that is running in your current X Windows session.
|
|
155
156
|
<div id="methods">
|
156
157
|
<h3 class="section-bar">Public Class methods</h3>
|
157
158
|
|
158
|
-
<div id="method-
|
159
|
-
<a name="
|
159
|
+
<div id="method-M000114" class="method-detail">
|
160
|
+
<a name="M000114"></a>
|
160
161
|
|
161
162
|
<div class="method-heading">
|
162
|
-
<a href="Client.src/
|
163
|
-
onclick="popupCode('Client.src/
|
163
|
+
<a href="Client.src/M000114.html" target="Code" class="method-signature"
|
164
|
+
onclick="popupCode('Client.src/M000114.html');return false;">
|
164
165
|
<span class="method-name">curr</span><span class="method-args">()</span>
|
165
166
|
</a>
|
166
167
|
</div>
|
@@ -172,12 +173,12 @@ Returns the currently focused client.
|
|
172
173
|
</div>
|
173
174
|
</div>
|
174
175
|
|
175
|
-
<div id="method-
|
176
|
-
<a name="
|
176
|
+
<div id="method-M000113" class="method-detail">
|
177
|
+
<a name="M000113"></a>
|
177
178
|
|
178
179
|
<div class="method-heading">
|
179
|
-
<a href="Client.src/
|
180
|
-
onclick="popupCode('Client.src/
|
180
|
+
<a href="Client.src/M000113.html" target="Code" class="method-signature"
|
181
|
+
onclick="popupCode('Client.src/M000113.html');return false;">
|
181
182
|
<span class="method-name">new</span><span class="method-args">(aClientId)</span>
|
182
183
|
</a>
|
183
184
|
</div>
|
@@ -206,12 +207,12 @@ client within the given view.
|
|
206
207
|
</div>
|
207
208
|
</div>
|
208
209
|
|
209
|
-
<div id="method-
|
210
|
-
<a name="
|
210
|
+
<div id="method-M000115" class="method-detail">
|
211
|
+
<a name="M000115"></a>
|
211
212
|
|
212
213
|
<div class="method-heading">
|
213
|
-
<a href="Client.src/
|
214
|
-
onclick="popupCode('Client.src/
|
214
|
+
<a href="Client.src/M000115.html" target="Code" class="method-signature"
|
215
|
+
onclick="popupCode('Client.src/M000115.html');return false;">
|
215
216
|
<span class="method-name">chain</span><span class="method-args">()</span>
|
216
217
|
</a>
|
217
218
|
</div>
|
@@ -223,12 +224,12 @@ Returns a list of clients in the current view.
|
|
223
224
|
</div>
|
224
225
|
</div>
|
225
226
|
|
226
|
-
<div id="method-
|
227
|
-
<a name="
|
227
|
+
<div id="method-M000116" class="method-detail">
|
228
|
+
<a name="M000116"></a>
|
228
229
|
|
229
230
|
<div class="method-heading">
|
230
|
-
<a href="Client.src/
|
231
|
-
onclick="popupCode('Client.src/
|
231
|
+
<a href="Client.src/M000116.html" target="Code" class="method-signature"
|
232
|
+
onclick="popupCode('Client.src/M000116.html');return false;">
|
232
233
|
<span class="method-name">focus</span><span class="method-args">(aView = nil)</span>
|
233
234
|
</a>
|
234
235
|
</div>
|
@@ -274,12 +275,29 @@ Checks if this client is included in the current grouping.
|
|
274
275
|
</div>
|
275
276
|
</div>
|
276
277
|
|
277
|
-
<div id="method-
|
278
|
-
<a name="
|
278
|
+
<div id="method-M000119" class="method-detail">
|
279
|
+
<a name="M000119"></a>
|
279
280
|
|
280
281
|
<div class="method-heading">
|
281
|
-
<a href="Client.src/
|
282
|
-
onclick="popupCode('Client.src/
|
282
|
+
<a href="Client.src/M000119.html" target="Code" class="method-signature"
|
283
|
+
onclick="popupCode('Client.src/M000119.html');return false;">
|
284
|
+
<span class="method-name">kill</span><span class="method-args">()</span>
|
285
|
+
</a>
|
286
|
+
</div>
|
287
|
+
|
288
|
+
<div class="method-description">
|
289
|
+
<p>
|
290
|
+
Terminates this client nicely (requests this window to be closed).
|
291
|
+
</p>
|
292
|
+
</div>
|
293
|
+
</div>
|
294
|
+
|
295
|
+
<div id="method-M000117" class="method-detail">
|
296
|
+
<a name="M000117"></a>
|
297
|
+
|
298
|
+
<div class="method-heading">
|
299
|
+
<a href="Client.src/M000117.html" target="Code" class="method-signature"
|
300
|
+
onclick="popupCode('Client.src/M000117.html');return false;">
|
283
301
|
<span class="method-name">send</span><span class="method-args">(aAreaOrId, aView = View.curr)</span>
|
284
302
|
</a>
|
285
303
|
</div>
|
@@ -291,12 +309,12 @@ Sends this client to the given destination within the given view.
|
|
291
309
|
</div>
|
292
310
|
</div>
|
293
311
|
|
294
|
-
<div id="method-
|
295
|
-
<a name="
|
312
|
+
<div id="method-M000118" class="method-detail">
|
313
|
+
<a name="M000118"></a>
|
296
314
|
|
297
315
|
<div class="method-heading">
|
298
|
-
<a href="Client.src/
|
299
|
-
onclick="popupCode('Client.src/
|
316
|
+
<a href="Client.src/M000118.html" target="Code" class="method-signature"
|
317
|
+
onclick="popupCode('Client.src/M000118.html');return false;">
|
300
318
|
<span class="method-name">swap</span><span class="method-args">(aAreaOrId, aView = View.curr)</span>
|
301
319
|
</a>
|
302
320
|
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>new (Rumai::Client)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 156</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">aClientId</span>
|
15
|
+
<span class="ruby-keyword kw">super</span> <span class="ruby-identifier">aClientId</span>, <span class="ruby-value str">'/client'</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>curr (Rumai::Client)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-
|
15
|
-
<span class="ruby-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 161</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
|
15
|
+
<span class="ruby-identifier">new</span> <span class="ruby-identifier">:sel</span>
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>chain (Rumai::Client)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 167</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
15
|
+
<span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">clients</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,35 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>focus (Rumai::Client)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 178</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span> <span class="ruby-identifier">aView</span> = <span class="ruby-keyword kw">nil</span>
|
15
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">exist?</span> <span class="ruby-keyword kw">and</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">focus?</span>
|
16
|
+
(<span class="ruby-identifier">aView</span> <span class="ruby-value">? </span>[<span class="ruby-identifier">aView</span>] <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">views</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
17
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">a</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">area</span>(<span class="ruby-identifier">v</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">exist?</span>
|
18
|
+
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">focus</span>
|
19
|
+
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">focus</span>
|
20
|
+
|
21
|
+
<span class="ruby-comment cmt"># slide focus from the current client onto this client</span>
|
22
|
+
<span class="ruby-identifier">arr</span> = <span class="ruby-identifier">a</span>.<span class="ruby-identifier">client_ids</span>
|
23
|
+
<span class="ruby-identifier">src</span> = <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">index</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">id</span>
|
24
|
+
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">index</span> <span class="ruby-ivar">@id</span>
|
25
|
+
|
26
|
+
<span class="ruby-identifier">distance</span> = (<span class="ruby-identifier">src</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">dst</span>).<span class="ruby-identifier">abs</span>
|
27
|
+
<span class="ruby-identifier">direction</span> = <span class="ruby-identifier">src</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">dst</span> <span class="ruby-value">? </span><span class="ruby-operator">:</span><span class="ruby-identifier">down</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">:up</span>
|
28
|
+
|
29
|
+
<span class="ruby-identifier">distance</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span>
|
30
|
+
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"select #{direction}"</span>
|
31
|
+
<span class="ruby-keyword kw">end</span>
|
32
|
+
|
33
|
+
<span class="ruby-keyword kw">break</span>
|
34
|
+
<span class="ruby-keyword kw">end</span>
|
35
|
+
<span class="ruby-keyword kw">end</span>
|
36
|
+
<span class="ruby-keyword kw">end</span>
|
37
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
38
|
</body>
|
18
39
|
</html>
|
@@ -5,35 +5,15 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>send (Rumai::Client)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-
|
16
|
-
|
17
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">a</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">area</span>(<span class="ruby-identifier">v</span>)
|
18
|
-
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">focus</span>
|
19
|
-
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">focus</span>
|
20
|
-
|
21
|
-
<span class="ruby-comment cmt"># slide focus from the current client onto this client</span>
|
22
|
-
<span class="ruby-identifier">arr</span> = <span class="ruby-identifier">a</span>.<span class="ruby-identifier">client_ids</span>
|
23
|
-
<span class="ruby-identifier">src</span> = <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">index</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">id</span>
|
24
|
-
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">index</span> <span class="ruby-ivar">@id</span>
|
25
|
-
|
26
|
-
<span class="ruby-identifier">distance</span> = (<span class="ruby-identifier">src</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">dst</span>).<span class="ruby-identifier">abs</span>
|
27
|
-
<span class="ruby-identifier">direction</span> = <span class="ruby-identifier">src</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">dst</span> <span class="ruby-value">? </span><span class="ruby-operator">:</span><span class="ruby-identifier">down</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">:up</span>
|
28
|
-
|
29
|
-
<span class="ruby-identifier">distance</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span>
|
30
|
-
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"select #{direction}"</span>
|
31
|
-
<span class="ruby-keyword kw">end</span>
|
32
|
-
|
33
|
-
<span class="ruby-keyword kw">break</span>
|
34
|
-
<span class="ruby-keyword kw">end</span>
|
35
|
-
<span class="ruby-keyword kw">end</span>
|
36
|
-
<span class="ruby-keyword kw">end</span>
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 204</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span> <span class="ruby-identifier">aAreaOrId</span>, <span class="ruby-identifier">aView</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
15
|
+
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">area_to_id</span>(<span class="ruby-identifier">aAreaOrId</span>)
|
16
|
+
<span class="ruby-identifier">aView</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"send #{@id} #{dst}"</span>
|
37
17
|
<span class="ruby-keyword kw">end</span></pre>
|
38
18
|
</body>
|
39
19
|
</html>
|
@@ -5,24 +5,15 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>swap (Rumai::Client)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">aAreaOrId</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'toggle'</span>
|
16
|
-
<span class="ruby-comment cmt"># XXX: it is an error to send a floating client directly to a</span>
|
17
|
-
<span class="ruby-comment cmt"># managed area, so we gotta "ground" it first and then send it</span>
|
18
|
-
<span class="ruby-comment cmt"># to the desired managed area. John-Galt will fix this someday.</span>
|
19
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">area</span>(<span class="ruby-identifier">aView</span>).<span class="ruby-identifier">float?</span>
|
20
|
-
<span class="ruby-identifier">aView</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"send #{@id} toggle"</span>
|
21
|
-
<span class="ruby-keyword kw">end</span>
|
22
|
-
<span class="ruby-keyword kw">end</span>
|
23
|
-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 210</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">swap</span> <span class="ruby-identifier">aAreaOrId</span>, <span class="ruby-identifier">aView</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
24
15
|
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">area_to_id</span>(<span class="ruby-identifier">aAreaOrId</span>)
|
25
|
-
<span class="ruby-identifier">aView</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"
|
16
|
+
<span class="ruby-identifier">aView</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"swap #{@id} #{dst}"</span>
|
26
17
|
<span class="ruby-keyword kw">end</span></pre>
|
27
18
|
</body>
|
28
19
|
</html>
|
@@ -5,15 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>kill (Rumai::Client)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
<span class="ruby-identifier">
|
16
|
-
<span class="ruby-identifier">aView</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"swap #{@id} #{dst}"</span>
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 216</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">kill</span>
|
15
|
+
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">:kill</span>
|
17
16
|
<span class="ruby-keyword kw">end</span></pre>
|
18
17
|
</body>
|
19
18
|
</html>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 227</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area</span> <span class="ruby-identifier">aView</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
15
15
|
<span class="ruby-identifier">aView</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-keyword kw">self</span>
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 232</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">views</span>
|
15
15
|
<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>}
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 245</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
|
15
15
|
<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">:tags</span>].<span class="ruby-identifier">read</span>.<span class="ruby-identifier">split</span> <span class="ruby-constant">TAG_DELIMITER</span>
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 250</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags=</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aTags</span>
|
15
15
|
<span class="ruby-identifier">arr</span> = <span class="ruby-identifier">aTags</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">uniq</span>
|
16
16
|
<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">:tags</span>].<span class="ruby-identifier">write</span> <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TAG_DELIMITER</span>)
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 257</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_tags</span> <span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span>
|
15
15
|
<span class="ruby-identifier">arr</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tags</span>
|
16
16
|
<span class="ruby-identifier">arr</span>.<span class="ruby-identifier">instance_eval</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span>)
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 264</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tag</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aTags</span>
|
15
15
|
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
16
16
|
<span class="ruby-identifier">concat</span> <span class="ruby-identifier">aTags</span>
|