Commit Graph

71 Commits

Author SHA1 Message Date
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 e417d92995 Merge branch 'master' of git+ssh://neale@fozzie.woozle.org/~neale/src/pgircd 2008-03-06 09:54:00 -07:00
Neale Pickett c9e91ffe0c Fixed Iobuf.rebind bug 2008-03-05 17:51:13 -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 1795f5aa37 Made Command.t a tuple 2008-03-03 08:42:30 -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
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 eb07c79700 Test 1 working, but now there are some obuf overrun problems 2008-02-08 18:11:49 -07:00
Neale Pickett 65720b5406 Getting tests working, have some output buffer problems 2008-02-08 17:41:07 -07:00
Neale Pickett eccaa1b4ff Accepting connections and line-buffering input 2008-02-08 15:38:31 -07:00