Commit Graph

15 Commits

Author SHA1 Message Date
Neale Pickett 8cefe61976 PRIVMSG and NOTICE working between users 2008-03-07 12:00:40 -07:00
Neale Pickett c89eeb3160 Properly closing client connections, reworked client connection creation
Now the test script has two subsequent connections in it, for great justice.
2008-03-06 21:30:49 -07:00
Neale Pickett 36ef378852 ISON 2008-03-06 16:51:35 -07:00
Neale Pickett 4d9ed389a2 PING and PONG 2008-03-06 16:11:57 -07:00
Neale Pickett ac369d30c2 Skeleton for all IRC commands, implemented a few, add (chat.Regex of string) 2008-03-06 13:54:16 -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 ba2f2ef892 Fixed easy input parsing bug 2008-03-02 21:34:27 -07:00
Neale Pickett b55baf1e92 Setup working, now there's a bug in command parsing (again). 2008-03-02 21:30:37 -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 1617dbca19 An attempt to get the first regression test passing
I fixed a couple bugs and stubbed in a client state change, so now it's
at least failing closer to where it ought to.
2008-02-28 22:24:52 -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 ea2fe1ed1c Move away from object model. 2008-02-24 21:41:20 -07:00
Neale Pickett 4ff349018d Start at using records instead of objects 2008-02-18 20:47:32 -07:00