commit 39ce22050b2771bddd342a24eaeb1a9c8a0d0568
parent ee4c68059d550c772f875dccf2bd7c53aace47b6
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Sat, 23 Sep 2006 17:01:23 -0700
[project @ 85fc05d533c6f9d6cd5ab460817aa741c575e11d]
[project @ 126]
* Fixed event loop. It was forgotten when I transitioned to the new Ixp::Node#method_missing behavior on 2006-09-22.
* Thanks to Fredrik for reporting this bug.
Diffstat:
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/HISTORY b/HISTORY
@@ -1,6 +1,12 @@
This is a history of major changes to {my wmii configuration}[http://people.ucsc.edu/~skurapat/wmii.html].
+= 2006-09-23
+
+* Fixed event loop. It was forgotten when I transitioned to the new Ixp::Node#method_missing behavior on 2006-09-22.
+ * Thanks to Fredrik for reporting this bug.
+
+
= 2006-09-22
* Ixp::Node#method_missing now only dereferences files. Also, the ! notation has been removed, as you can see below.
@@ -28,7 +34,7 @@ This is a history of major changes to {my wmii configuration}[http://people.ucsc
* Included code from upcoming Ruby-IXP 1.1.0 release.
-* Changed syntax of Ixp::Node's method_missing facility to dereference a node only if the method is suffixed with an exclamation mark.
+* Ixp::Node#method_missing now only dereferences a node if the method is suffixed with an exclamation mark.
* show_menu now returns *nil* if nothing was chosen.
@@ -43,7 +49,7 @@ This is a history of major changes to {my wmii configuration}[http://people.ucsc
* Added Ixp::Node#open method to reduce 9P traffic.
-* Added ability to fetch a sub-node via method_missing, while not dereferencing it (reading its contents if it is a file), by adding an exclamation to the file name. For example, consider the following output in *wmiish*.
+* Added ability to fetch a sub-node via Ixp::Node#method_missing, while not dereferencing it (reading its contents if it is a file), by adding an exclamation to the file name. For example, consider the following output in *wmiish*.
>> Wmii.fs.bar.status.data
=> "Tue Sep 19 10:50:41 PDT 2006 | 0.30 0.43 0.29 | 1.7G 98% /home"
diff --git a/wmiirc-config.rb b/wmiirc-config.rb
@@ -429,7 +429,7 @@ end
## WM event loop
-FS.event.open do |f|
+FS['event'].open do |f|
while event = f.read.chomp
type, arg = event.split(' ', 2)