[project @ 2002-08-08 15:21:08 by unknown_lamer]
[clinton/bobotpp.git] / NEWS
1 (-*- text -*-)
2 User Visible Changes In Bobot++
3
4 IMPORTANT NOTES:
5 As of version 1.98 unknown_lamer is the new maintainer. Also as of
6 version 1.98, you must have Guile 1.5.6+ or 1.6.x in order to
7 compile scripting support.
8
9 =====================================================================
10 ====== The News =====================================================
11 =====================================================================
12
13 Version 2.1.1: foom
14 - You can now "name" a hook using an extra arg to bot:addhook. This
15 name can be used to have multiple hooks of the same type with the
16 same regexp. The default name is "DEFAULT" so don't use that as the
17 name for your hooks.
18 - Logging now works again (oops, I didn't realize I broke it until I
19 started to work on DCC).
20 - DCC CHAT now "works." You can connect to the bot and talk to to it,
21 but it doesn't do anything useful.
22 - New hooks: hooks/send/... where ... is one of action, ctcp, public,
23 or message. These are triggered when the bot does an
24 ACTION, sends a CTCP (_not_ a ctcp-reply), sends a PRIVMSG to a
25 channel, or sends a PRIVMSG to another user, respectively. There
26 will be more send hooks added later.
27 - New hooks: hooks/dcc/chat-begin and
28 hooks/dcc/chat-message. chat-begin is called when the chat starts
29 and has one argument: the address (in user!nick@host
30 format). chat-message has two arguments: from (user!nick@host) and
31 message, which is the raw message (since there is no real protocol
32 for DCC). chat-start hooks are matched against the address and
33 chat-message hooks are matched against the text "ADDRESS MESSAGE"
34 where ADDRESS is the sender's address and MESSAGE is the message.
35
36 Version 2.1.0: Zug Zug
37 - Hooks can now be fallthrough or non fallthrough. You can set a hooks
38 priority and whether or not it falls through (i.e. continues hook
39 matching after it has been executed) using two optional args to
40 (bot-addhook). The new args are pri (integer priority) and fallthru
41 (#t or #f) and are at the end. Higher priority hooks are executed
42 before lower priority hooks, and fallthrough hooks are executed
43 before non-fallthrough hooks.
44 - The default config is read from ~/.bobotpp/config/default/ or
45 /etc/bobotpp/default/ if the user config is not found. Put your
46 default config is either dir. You may also specify a specific config
47 under these dirs using the --config or -c arg to bobotpp (see
48 bobotpp --help for the full list of commands you may use and how to
49 use them).
50 - Scripts are now stored in ~/.bobotpp/scripts/ or
51 PREFIX/bobotpp/scripts/ (where PREFIX is /usr/local unless you
52 changed it with the --prefix arg to configure). The new function
53 bot-load will take a filename and load it from these dirs, returning
54 #t if the file was loaded and #f if it wasn't. You can modify the
55 search list by appending to %bot-loadpath.
56 - bobot-utils.scm is now autoloaded, so you don't need to
57 load it if you want to use its functions.
58 - Logs are now in ~/.bobotpp/logs/
59 - bot-* procedures in Scheme are now bot:*. The old bot-* functions
60 are defined as aliases in bobot-utils.scm
61 - You can now use lambda's for new commands (oops, I wasn't protecting
62 the objects from garbage collection)
63
64
65 Version 2.0: Stable release / CVS merges
66 - Merged stuff from Etienne Bernard's dev tree that he was working on
67 before I took over (not much)
68 - bot-adduser and bot-addshit now work from Scheme
69
70 Version 1.99: Configure joy
71 - You can now disable scripting using --disable-scripting or
72 --enable-scripting=no
73 - Crypt can also be disabled with --disable-crypt or --enable-crypt=no
74 - Old hooks behavior has been restored (new hooks are added to the end
75 of the hooks list and processing does not stop at the first matched
76 hook). The hook behavior will change radically in 2.1.
77
78 Version 1.98: Unknown_lamer made a large number of changes
79 - Code is now ISO C++ and compiles with GCC 3.1
80 - Converted makefile system to use automake
81 - configure.ac now requires autoconf 2.50 (this is only a problem if
82 you modify it, but I should be the only one doing that)
83 - Transition to new Guile 1.6 API has begun
84 - Scripting must always be enabled for now (known "bug")
85 - first hook of a given type to match is the only hook executed, all
86 others are ignored. Note that the last hook to be registered is the
87 first in the list!
88
89
90 Version 1.97: lots of changes, especially guile's scripting support, which
91 is not yet documented. See in the scripts/ directory for
92 examples, and in Interp.C (the Startup() function) for the
93 list of all available commands.
94
95 Version 1.30: Syntax change for "channel =" in bot.conf. See examples/bot.conf.
96 Rewrite of ident/password system. Should be more secure and
97 flexible.