Neale Pickett
9e247dd246
Looking up factoids now
2009-02-09 22:06:14 -07:00
Neale Pickett
da4d22de5b
Use select() instead of epoll()/poll()
2009-02-08 22:26:27 -07:00
Neale Pickett
488fa6a04c
Convert to be a bot!
2009-02-08 20:25:27 -07:00
Neale Pickett
167105c661
Add AWAY, ERROR, and INFO commands
2008-03-18 22:50:23 -06:00
Neale Pickett
8616bb1f80
Attempt to get QUIT command (rewrites of some stuff)
2008-03-18 17:20:44 -06:00
Neale Pickett
667062bf93
Complete transition to epoll, all unit tests passing
2008-03-18 15:27:03 -06:00
Neale Pickett
dd677d5d4e
Dispatch tests don't need their own module
2008-03-15 20:01:53 -06:00
Neale Pickett
27d0137167
Dispatch module working
2008-03-15 19:46:06 -06:00
Neale Pickett
3eb2571769
Start at dispatch module, needs debugging
2008-03-14 21:28:22 -06:00
Neale Pickett
b032eef23a
epoll() interface works great
2008-03-10 23:57:07 -06:00
Neale Pickett
cd6a35240a
Move to an epoll() interface
2008-03-10 17:19:59 -06:00
Neale Pickett
d9b83175a2
Experimental work on an OCaml poll() wrapper
2008-03-07 18:19:58 -07:00
Neale Pickett
0e8a998293
New iobuf, but there's a problem with login
...
Specifically, rebinding the command handler doesn't take effect until after
all input lines have been handled. This means handle_command_prereg doesn't
get new values when it ought to.
2008-03-04 21:38:19 -07:00
Neale Pickett
4f6ba7f271
Removed a failing unit test, now it all passes
2008-03-01 21:38:05 -07:00
Neale Pickett
1b517745bb
Fixed buf in Client.handle_input
...
F it, I'll just use regular expressions (Str.split). They're easier to code,
the code looks cleaner, and it fixes a buf with a case I hadn't considered.
2008-02-29 17:16:00 -07:00
Neale Pickett
4b2a60ec71
More modules, now parsing commands
...
This is where I realized that there's no point in passing around a
"server" object, since it's entirely reasonable to expect one server
per running instance.
2008-02-28 22:00:24 -07:00
Neale Pickett
ef64cd9f8a
Move away from OO, IRC command parser + working test
2008-02-27 22:50:27 -07:00
Neale Pickett
9f494e9cca
Got all the underlying socket stuff worked out, ready to code some IRC now.
2008-02-14 18:53:57 -07:00
Neale Pickett
65720b5406
Getting tests working, have some output buffer problems
2008-02-08 17:41:07 -07:00