X-Git-Url: http://git.hcoop.net/clinton/bobotpp.git/blobdiff_plain/5aec462269e699fa250645beae748d0104ab6c72..ae97d6ecf49738b9e0e253a07db0b07a28fee05e:/ChangeLog diff --git a/ChangeLog b/ChangeLog index e8179ab..8af66ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,190 @@ +2005-07-03 Clinton Ebadi + + * bobot++.texinfo (Hook Types): Documented all hooks + + * source/ServerQueue.C (sendPrivmsg): Changed SEND_MESSAGE hook to + match dest and pass dest to send hook + + * bobot++.texinfo (Hook Types): Changed language of + hooks/dcc/chat-* hook documention + (Received Message Hooks): Added subsub section of Hook Types + (Sent Message Hooks): Added subsub section of Hook Types + (DCC CHAT Hooks): Added subsub section of Hook Types + (Miscellaneous Hooks): Added subsub section of Hook Types + + * source/Parser.C (parseScriptFunction): Changed + lazy_apply_wrapper to Interp::LazyApplyWrapper + (parseScriptFunction): Changed empty_handler to Interp::EmptyHandler + (parsePart): Grammar fix in log (Leaved => Left) + + * source/Interp.H (Interp): Added LazyHandler method + + * source/BotInterp.C (RunHooks): changed lazy_apply_wrapper to + Interp::LazyApplyWrapper + (RunTimers): Changed empty_handler to Interp::EmptyHandler + (RunHooks): Changed empty_handler to Interp::EmptyHandler + (RunTimers): Changed lazy_apply_wrapper to Interp::LazyApplyWrapper + + * source/Interp.C (LazyHandler): Renamed from lazy_handler + (ScmApplyWrapper): Renamed from scm_apply_wrapper + (EmptyHandler): Renamed from empty_handler + + * source/Interp.H (Interp): Removed ErrorHandler method + (Interp): Added LazyApplyWrapper method + (Interp): Added EmptyHandler method + (Interp): Added ScmApplyWrapper method + + * scripts/bobot-utils.scm: Added hooks/leave as an alias for hooks/part + Added begin-deprecated around deprecated definitions + (_deprecated-fun): Added macro to define an alias for a function + and issue a deprecation warning when used + Converted all bot- aliases to use _deprecated-fun + + * source/Interp.C (interp_init_helper): Changed Hook::LEAVE to + Hook::PART + (interp_init_helper): Removed definition of hooks/leave + + * bobot++.texinfo (Hook Types): Removed stub for hooks/leave, only + document hooks/part name (hooks/leave still exists, but will not + be documented as it is the same as hooks/part) + + * source/Parser.C (parsePart): Use Hook::PART instead of Hook::LEAVE + + * source/BotInterp.H: Removed Hook::LEAVE, added Hook::PART + + * bobot++.texinfo (Scripting): Added note about most arguments + being strings + + * source/Commands.C (NextServer): Call hooks/disconnect + + * source/Bot.C (run): Pass extra argument to Hook::DISCONNECT + + * bobot++.texinfo (Creating a Hook): Reformatted the bot:addhook + section to make it more readable + (Hook Types): Reformatted hooks/action + (Hook Types): Changed grammar of hooks/nickname (their => his) + (Hook Types): Documented hooks/signoff + +2005-06-29 Clinton Ebadi + + * bobot++.texinfo: Updated copyright years, changed "applies to + 2.1.5" to 2.2 + + * source/Socket.C (readLine): return buf.substr (0, pos) instead + of using the String char * constructor (this should be faster, + especially for long strings since a simple copy is used instead of + going over each char until nul is encountered) + + * configure.ac: Release 2.1.8 + Change version to 2.1.9CVS + + * source/Parser.C: Include Commands.H (fixes --disable-scripting build) + + * source/Bot.C (Bot): Fix to make a --disable-scripting build work + + * bobot++.texinfo (Configuration): Swapped order of config file + placement and config files + (User Levels): users not found in the user list *can* execute + commands as bot:user-none now. + (Low Level Message Functions): Changed a few @code{}s to @var{}s + +2005-06-28 Clinton Ebadi + + * bobot++.texinfo: @vskip Opt... => @vskip 0pt... + + * source/Main.C (namespace): Added debug-scripts option + + * source/Parser.C (parseCTCP): Hook::ACTION is now passed + from->getNick () instead of from->getAddress () (consistency fix) + + * source/Main.C: Merged error handling patch from dsmith + + * source/Parser.C: Merged error handling + patch from dsmith + + * source/Interp.H: Merged error handling patch from dsmith + + * source/Interp.C (lazy_handler): Merged error handling patch from + dsmith + + * source/BotInterp.H: Merged error handling patch from dsmith + + * source/BotInterp.C: Merged error handling patch from dsmith + + * bobot++.texinfo (Low Level Message Functions): Documented + bot:send-ctcp-reply + + * source/Parser.C (parseCTCP): Converted to use Commands::CTCPReply + + * source/Interp.C (interp_init_helper): Bound bot:send-ctcp-reply + in scheme + + * bobot++.texinfo (Low Level Message Functions): + s/bot:send-CTCP/bot:send-ctcp/ + + * source/Interp.C (interp_init_helper): Renamed bot:send-CTCP to + bot:send-ctcp + + * source/ScriptCommands.H: Uncommented sendCTCPReply prototype + + * source/ScriptCommands.C (sendCTCP): Convert to use Commands::CTCP + (sendCTCPReply): Added + + * source/Parser.C (parseJoin): Convert to use Commands::CTCP + + * source/Commands.C (CTCP): Implemented + (CTCPReply): Implemented + (Action): Convert to use Commands::CTCP + + * source/Commands.H: Added CTCP (bot, target, command, message) + Added CTCPReply (bot, target, command, message) + +2005-06-27 Clinton Ebadi + + * examples/bot.conf (maxnicklength): Update example config + + * source/Utils.C (valid_nickname_p): Use b->MAX_NICKLENGTH + + * source/Bot.C (readConfig): Look for MAXNICKLENGTH parameter + + * source/Bot.H: Added MAX_NICKLENGTH member + + * source/Utils.H (valid_nickname_p): Now takes Bot* as first argument + + * source/Commands.C (Msg): Send multiple PRIVMSGs when a message + is multiple lines + + * source/UserCommands.C (SetVersion): Convert to use Commands::Notice + + * source/Commands.C (Notice): Send multiple NOTICEs when a message + is multiple lines + +2005-06-25 Clinton Ebadi + + * source/Main.C (real_main): Enable Guile debugging mode when + --debug is used + + * source/Interp.C (interp_post_startup_helper): Return + SCM_UNSPECIFIED instead of 0 + +2005-06-24 Clinton Ebadi + + * All: Updated FSF street address + + * source/Commands.C (Msg): Move body of Say to an if inside of this + (Say): Just call Msg + + * source/ScriptCommands.C (sendNotice): Returns error code instead + of just #t or #f + + * source/Commands.C (Say): Check to make sure target is a channel + (Msg): Extended to send messages to channels + 2005-06-23 Clinton Ebadi + * scripts/bot.scm: Added file ((bobotpp bot) module for other + modules to gain access to bobot++ interface) + * source/Commands.C (Notice): Commented out check/abort if target is a channel (there doesn't seem to be a reason for this to not work)