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