[project @ 2005-06-29 20:19:45 by unknown_lamer]
[clinton/bobotpp.git] / ChangeLog
index aa9172a..be6a68a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,203 @@
+2005-06-29  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * configure.ac: Release 2.1.8
+
+       * 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  <clinton@unknownlamer.org>
+
+       * 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  <clinton@unknownlamer.org>
+
+       * 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  <clinton@unknownlamer.org>
+
+       * 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  <clinton@unknownlamer.org>
+
+       * 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  <clinton@unknownlamer.org>
+
+       * 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)
+
+       * source/Interp.C (interp_init_helper): Register bot:notice with scheme
+
+       * bobot++.texinfo (High Level Message Functions): Document bot:notice
+
+       * source/Message.H: Added operator== to Message (tests for error
+       code equality)
+
+       * source/Commands.C: Removed message type macros
+
+       * source/Message.H: Moved message type macros to Message.H
+
+       * source/ScriptCommands.C (sendNotice): Implemented sendNotice
+
+       * source/ScriptCommands.H: Uncomment sendNotice
+
+       * source/Bot.C (waitForInput): Use %02d when formatting
+       Hooks::TIMER argument instead of %2d, and switch to snprintf to
+       enforce max length
+
+       * bobot++.texinfo (Hooks): Clarified intro text about hooks (order
+       of processing).
+
+       * source/Bot.C (run): Added call to Hooks::DISCONNECT
+       (hooks/disconnect) when the bot is disconnected from the server
+
+       * bobot++.texinfo: Applied documentation patch from Dale P. Smith
+       (Hook Types): Added hooks/disconnect argument
+
+2005-06-06  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * bobot++.texinfo: Change @vskip 0 to @vskip 0pt to make this work
+       again (thanks dsmith)
+
+2005-06-01  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * source/Interp.C (interp_init_helper): Added
+       bot:protection/[none|ban|kick|deop] constants to Scheme
+       (interp_init_helper): Added bot:aop/[yes|no] constants
+
+2005-05-31  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * configure.ac: Release Bobot++ 2.1.7
+       Changed version to 2.18.CVS
+
+       * source/UserList.C (save): Remove workaround for BUG #2
+
+       * source/Parser.C (parse001): make realNick lowercase when doing
+       the comparison to bot->nickName to prevent pushing a second copy
+       of the bot onto the userlist (closes BUG #2)
+
+       * source/Bot.C (Bot): cleaned up constructor
+       (waitForInput): replaced gh_list with scm_list_n
+
+       * source/UserList.C: Cleaned up some formatting
+
+       * source/Main.C: Formatted code more cleanly
+       (real_main): changed a few Strings to std::strings
+
+       * source/String.C (operator): Made index signed again, it's not
+       worth fixing this warning
+
+       * source/Bot.C: Add casts to make this compile with unsigned int
+       as operator[] in String
+
+       * source/String.C (operator): Made index unsigned
+
+       * source/Utils.C: Made a few things unsigned to kill warnings
+
+       * source/Socket.C (readLine): Made pos unsigned
+
+       * source/Bot.C (Bot): Fixed initializer list order to kill warnings
+
+       * source/BotInterp.C (RunTimers): Removed unused variable (Timer *t)
+
+       * source/StringTokenizer.C (count_tokens): Changed return type to
+       unsigned int
+       (more_tokens_p): Made counter unsigned
+
+       * source/StringTokenizer.H (class StringTokenizer): Made pos
+       std::string::size_type instead of int
+
+       * source/Commands.C (TBan): Returns Ok is the ban is done instead
+       of falling off the end (oops)
+
+       * source/BotInterp.H: Add general catch case (false)
+
 2005-03-11  Clinton Ebadi  <clinton@unknownlamer.org>
 
        * configure.ac: Release 2.1.6