Commit Graph

119 Commits

Author SHA1 Message Date
Neale Pickett c9b5115c88 Remove unused helper 2010-12-15 17:27:44 -07:00
Neale Pickett f97281cc2b Fix process bug 2010-12-15 17:26:43 -07:00
Neale Pickett f7db0e10d0 Make bot even more generic 2010-12-15 17:26:10 -07:00
Neale Pickett c8481dcc56 Infobot functionality 2010-12-15 17:23:09 -07:00
Neale Pickett c3bf9bb173 Make lots more happen in a script
Not only does message processing happen in a script, but you must launch an
external program to connect out.  This allows you to use netcat, socat, gnutls,
or whatever other crazy thing you come up with.
2010-12-14 17:13:52 -07:00
Neale Pickett 90d91a8979 Back to calling socat ourselves 2010-12-10 17:07:16 -07:00
Neale Pickett 1a06efd5fc Start at external networking (socat) 2010-12-10 17:03:24 -07:00
Neale Pickett 089dd6b846 Get external helper programs working 2010-12-09 17:10:06 -07:00
Neale Pickett d850b2cbbe Prepare to add callouts 2010-12-09 08:22:44 -07:00
Neale Pickett 607e53f417 A couple of minor infobot changes 2010-12-08 17:18:07 -07:00
Neale Pickett 83a76d3695 Fix a cdb bug 2010-12-08 15:54:25 -07:00
Neale Pickett 11998b91ca Remove OCS, create plugin system 2009-11-08 22:18:18 -07:00
Neale Pickett b8f72603f4 Looks like I was trying to add scheme callbacks. 2009-11-08 17:28:07 -07:00
Neale Pickett d8ae40d6a7 Handle parsing errors 2009-03-03 21:13:09 -07:00
Neale Pickett 33d30c694d Make Ocs_port use the type system better 2009-03-03 20:53:16 -07:00
Neale Pickett 41b96164b1 Use new port stuff in OCS. 2009-03-03 19:48:22 -07:00
Neale Pickett 3498ba784a Remove untar/wget rules from Makefile
It was causing untar to run every time, blowing away my
ocs modifications.
2009-03-03 19:47:30 -07:00
Neale Pickett d7e7677547 Expanded notion of channels 2009-03-03 17:56:07 -07:00
Neale Pickett 6dd5c6fd54 Provide SRFI-6 2009-03-03 17:46:27 -06:00
Neale Pickett e3eae3bb19 Change out implementation of ocs ports 2009-03-03 17:40:03 -06:00
Neale Pickett 18491d1314 Add scheme interpreter, move away from omake 2009-03-02 23:26:04 -07:00
Neale Pickett 341d20ad8d Import OCS, add COPYING file 2009-03-02 18:49:21 -07:00
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 cf9bdcb93a Refactor how commands are handled.
I may refactor it again.
2008-05-10 21:10:45 -06:00
Neale Pickett 2ff9e84199 Channel PRIVMSG and NOTICE 2008-05-10 14:19:14 -06:00
Neale Pickett aa2311ead2 add obj.h 2008-05-09 08:02:52 -06:00
Neale Pickett fce7bc36d5 JOIN 2008-05-09 08:01:11 -06:00
Neale Pickett 68428d8347 Start at channels 2008-03-19 16:19:24 -06:00
Neale Pickett 167105c661 Add AWAY, ERROR, and INFO commands 2008-03-18 22:50:23 -06:00
Neale Pickett 7b80acfbbe Passing all unit tests again 2008-03-18 21:04:22 -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 9f058248ba Tweak for timers with no fd activity
Turns out the timeout value for select() and friends is an upper boundary.
once was being run as many as 12 times in a tight loop before a timer
expired.  I added a fudge factor of 0.001 seconds, and that seems to have
fixed it for most cases.
2008-03-18 10:55:31 -06:00
Neale Pickett eeab6fc319 Got dispatch unit tests working, not happy about how epoll timeouts work though 2008-03-17 17:22:12 -06:00
Neale Pickett d26e8bf0d6 Dispatch unit test (doesn't pass though) 2008-03-16 21:43:21 -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 0d4b2e3f92 New dispatch module 2008-03-14 12:16:04 -06:00
Neale Pickett dd18d6ad48 Some work on poll() compatibility layer. 2008-03-12 23:24:50 -06:00
Neale Pickett c1d83191fe Fixed epoll_wrappers.c:event_list_of_int to lists with >1 item 2008-03-11 17:48:16 -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 babb102cd4 Simultaneous connections test 2008-03-07 13:52:13 -07:00
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