cbot: Download

Snapshot for today (20080804)

Only used/tested under OpenBSD 3.4, 3.5, 2.7 and FreeBSD 4.8. I'm also quite lazy too so you can only put IP addresses in cbot.conf.

Files:
   cbot/src/socket.c
   cbot/src/sockevent.c
Message:
Remove test comment.

Files:
   cbot/ChangeLog
Message:
Log commit messages.


Files:
   cbot/modules/mod_msn.c
Message:
Implement parties. Not tested.

Files:
   cbot/modules/mod_msn.c
   cbot/modules/mod_parse_irc.c
   cbot/modules/mod_playlist.c
Message:
Fiddle and stuff.

mod_msn.c: Handle responses from CAL (errors and such).  Don't close when a
party member BYEs.


Files:
   cbot/modules/msnparty
Message:
Party list.

Files:
   cbot/src/main.c
   cbot/src/socket.c
Message:
Ensure poll_timeout gets set and also make it available with the set
command.

Files:
   cbot/www/BSDmakefile
   cbot/www/cbot.css
   cbot/www/download.m4
Message:
Include the ChangeLog into the download page.


Files:
   cbot/modules/mod_msn.c
Message:
Use logf instead of fprintf(stderr,...)

Files:
   cbot/modules/mod_msn.c
Message:
ADD and ADG command. Handle ADG response.

Files:
   cbot/src/cbot.h
   cbot/src/logger.c
   cbot/src/main.c
   cbot/src/module.c
Message:
Log levels can be controlled over chat.
main registers itself as a proper module so that help and set will work.
poll_timeout registers as a variable to control during chat.

Files:
   cbot/modules/mod_msn.c
Message:
Consolidate multiple messages into one MSN message.

Files:
   cbot/src/module.c
Message:
Rip revision for main.c.

Files:
   cbot/modules/mod_parse_talker.c
   cbot/modules/mod_print.c
   cbot/modules/msnparty
Message:
mod_parse_talker:
Update to new sock_open style.
Recognise list talk and join lines together which don't end with a }.


Files:
   cbot/modules/Makefile
   cbot/modules/mod_parse_talker.c
   cbot/modules/mod_shrunk.c
Message:
mod_shrunk:
Don't use ourprintf() since it doesn't exist anymore.
Allow masking of which events are picked up along with enabling forcing.

mod_parse_talker:
Correct list talk line joining. (Suitable for joining wrapped URLs.)


Files:
   cbot/modules/Makefile
   cbot/modules/mod_inject.c
   cbot/modules/mod_parse_talker.c
Message:
mod_parse_talker:
Ensure there is a % at the beginning of list names.

mod_inject:
Port to new command/help syntax.  This means that it isn't actually
injecting directly to the socket!


Files:
   cbot/modules/mod_parse_clientmode.c
Message:
Convert to sock_printf syntax.

Files:
   cbot/src/dict.c
Message:
GCC 3 moaning about too many ##s.

Files:
   cbot/modules/mod_netcalc/parse.c
Message:
Output number of IPs available.

Files:
   cbot/modules/mod_netcalc/main.c
   cbot/modules/mod_netcalc/mod_netcalc.h
   cbot/modules/mod_netcalc/parse.c
Message:
Rename.

Files:
   cbot/modules/mod_netcalc.c
   cbot/modules/Makefile
Message:
Use netcalc code as a library.

Files:
   cbot/modules/mod_netcalc/Makefile
   cbot/modules/mod_netcalc/netcalc.c
   cbot/modules/mod_netcalc/netcalc.h
   cbot/modules/mod_netcalc/main.c
Message:
Return calculated values in a structure.

Files:
   cbot/modules/mod_netcalc.c
Message:
Call netcalc function and return results.

Files:
   cbot/modules/mod_shrunk.c
Message:
Update shrunk IP address.

Files:
   cbot/modules/mod_parse_clientmode.c
Message:
Update prase clientmode.

Files:
   cbot/modules/mod_netcalc.c
Message:
Enable help.

Files:
   cbot/modules/mod_netcalc.c
Message:
Command takes arguments.

Files:
   cbot/modules/mod_netcalc.c
Message:
+1 and unsigned total ips.

Files:
   cbot/modules/mod_netcalc/netcalc.c
   cbot/modules/mod_netcalc/netcalc.h
Message:
+1 and unsigned total ips.

Files:
   cbot/src/module.c
Message:
Untested module unload function.

Files:
   cbot/modules/mod_master.c
Message:
Untested module unloading.

Files:
   cbot/src/cbot.h
Message:
Untested module unloading.

Files:
   cbot/src/commands.c
   cbot/src/module.c
Message:
Be very very strict about commands from users having the same length as
they do in the table otherwise a blank command is executed.

Code an unload_module function, not tested.

Stop parsing events around on ACTION_DONE instead of ACTION_STOP, this could
be an issue.


Files:
   cbot/modules/Makefile
Message:
Enable clientmode.

Files:
   cbot/modules/mod_whoami.c
   cbot/modules/Makefile
   cbot/modules/mod_parse_talker.c
Message:
whoami.

Files:
   cbot/src/module.c
   cbot/src/action.c
Message:
Null events should not stop.

Files:
   cbot/utils/questions_state.py
Message:
Program to decode a quizbot question set's state.

Files:
   cbot/modules/mod_netcalc.c
Message:
Output broadcast address.


Files:
   cbot/modules/mod_parse_irc.c
Message:
Only PRIVMSG if there is a nick.


Files:
   cbot/modules/mod_parse_irc.c
Message:
Do same for OUT_PRIVATETELL case too - should remove that.


Files:
   cbot/modules/mod_parse_irc.c
Message:
bang_op public command.


Files:
   cbot/modules/mod_parse_irc.c
Message:
Tune !op command so that it has no arguments and can only be used by recognised individuals.


Files:
   cbot/www/allmodules.m4
Message:
More modules.

Files:
   cbot/modules/Makefile
   cbot/modules/mod_help.c
Message:
Buildstamp.

In "help" list pointers to module help pages for common nicknames for the bot.


Files:
   cbot/src/http.c
   cbot/src/http.h
   cbot/src/http_test.c
   cbot/src/Makefile
   cbot/src/cbot.h
Message:
Some generic http.


Files:
   cbot/modules/mod_shrunk.c
Message:
Use http.c.


Files:
   cbot/src/http.c
   cbot/src/http.h
Message:
Work with mod_shrunk.


Files:
   cbot/modules/BSDmakefile
Message:
Save remembering to type gmake (also means vim :make works).


Files:
   cbot/src/xhtml.c
Message:
Simple and trusting HTML parser.


Files:
   cbot/src/xhtml.h
   cbot/src/http.h
   cbot/src/xhtml.c
Message:
Header fie.


Files:
   cbot/src/xhtml.c
   cbot/src/xhtml.h
Message:
Pass userdata.


Files:
   cbot/src/xhtml.c
Message:
Show how to parse shrunk stats.

Files:
   cbot/src/xhtml.c
Message:
Parse shrunk stats more.  Will move to mod_shrunk.c when it is all working.


Files:
   cbot/src/xhtml.c
Message:
Remove one use of strndup.


Files:
   cbot/src/xhtml.c
Message:
functionise.

Files:
   cbot/modules/mod_shrunk.c
Message:
Use xhtml and output usage when shortening urls.


Files:
   cbot/src/Makefile
   cbot/src/xhtml.c
Message:
Move shrunk stats parsing to mod_shrunk.

Compile xhtml into xbot.


Files:
   cbot/modules/mod_shrunk.c
Message:
Don't overwrite static buffers.

Files:
   cbot/modules/mod_shrunk.c
Message:
Correct plurals and use a macro so that they're all caught.


Files:
   cbot/modules/mod_help.c
   cbot/modules/mod_msn.c
   cbot/modules/mod_parse_irc.c
Message:
Rename logf() to botlogf() so that it doesn't clash with logf in math.h.

Add an action_event_ex() with boolean to enable or disable dontstop.


Files:
   cbot/src/action.c
   cbot/src/cbot.h
   cbot/src/config.c
   cbot/src/logger.c
   cbot/src/main.c
   cbot/src/module.c
   cbot/src/socket.c
   cbot/src/sockevent.c
   cbot/src/state.c
   cbot/src/users.c
Message:
Rename logf() to botlogf() so that it doesn't clash with logf in math.h.

Add an action_event_ex() with boolean to enable or disable dontstop.


Files:
   cbot/modules/mod_help.c
Message:
Enable dontstop when listing all set variables.


Files:
   cbot/src/commands.c
   cbot/src/main.c
Message:
Add a stats command.

Record our startup time_t.

"set" will list the values of the variables it lists.


Files:
   cbot/src/loop.sh
Message:
Always output stop date.

Files:
   cbot/src/garbage.c
Message:
Potential garbage collection.


Files:
   cbot/modules/mod_shrunk.c
Message:
Rearrange so that we always use the get_stats code when we are given a shrunk
url.


Files:
   cbot/src/yahoosearch.c
Message:
Perform a Yahoo! API WebSearch.


Files:
   cbot/src/yahoosearch.c
Message:
Accept input from command line.


Files:
   cbot/src/yahoosearch.c
Message:
Use our own Application Id.


Files:
   cbot/modules/mod_shrunk.c
Message:
Reduce includes.

Files:
   cbot/src/http.c
   cbot/src/http.h
Message:
add const

Files:
   cbot/modules/mod_ysearch.c
   cbot/modules/Makefile
Message:
Build mod_ysearch.

Add mod_ysearch for searching the web using Yahoo! (easiest API).


Files:
   cbot/src/state.c
   cbot/src/xhtml.c
Message:
Tweak xhtml parsing.


Files:
   cbot/modules/mod_ysearch.c
Message:
Count search results so that we know when none have been found.


Files:
   cbot/src/db.c
Message:
Begin locking db util.

Files:
   cbot/src/cbot.h
   cbot/src/state.c
Message:
Break out the few lines which generate the state filename.


Files:
   cbot/src/dbtest.c
   cbot/src/db.c
Message:
Test DB.

Works if you open and close the db handle.


Files:
   cbot/src/http.c
Message:
Increase recv timeout to two seconds.


Files:
   cbot/src/cbot.h
   cbot/src/yahoosearch.c
Message:
Add db functions.


Files:
   cbot/modules/mod_ysearch.c
Message:
Correct count.


Files:
   cbot/modules/Makefile
Message:
Build netcalc.

Files:
   cbot/modules/mod_shrunk.c
Message:
Try and shrink multiple URLs in one grouptell.


Files:
   cbot/modules/mod_parse_irc.c
Message:
IRC version of the inject command which doesn't rely on ourtellf
not adding extra stuff to the buffer.


Files:
   cbot/modules/mod_ysearch.c
Message:
Correct ourtellf format.

$Id: download.m4,v 1.5 2004/12/20 13:37:25 john Exp $