[project @ 2005-06-24 06:13:45 by unknown_lamer]
[clinton/bobotpp.git] / ChangeLog
index 42c2c04..e3cfd5c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,189 @@
+2005-06-24  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * 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
+       Changed version to 2.1.7CVS
+
+2005-02-28  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * source/Parser.C (parseLine): use map<>::find and an iterator to
+       find the IRC command instead of map<>::operator[] to avoid a
+       potential segfault
+
+       * source/Bot.C (waitForInput): Removed commented out code
+
+       * source/Socket.C (readLine): return String (buf.c_str ()) instead
+       of String (buf) so that only the buffer up to the first null is returned
+       (readLine): Added a comment explaining the usage of buf
+       (readLine): Changed type of length (std::string::size_type instead
+       of std::size_t)
+
+       * source/String.C: Reimplemented String on top of std::string to
+       fix a few bugs and potential memory leaks
+       (toLower): use Utils::to_lower
+       (toUpper): Use Utils::to_upper
+       (trim): Use Utils::trim_str
+
+       * source/String.H: removed srep, replaced it with a std::string (my_string)
+
+       * source/Utils.C (to_upper): Applied patch from Jos Hulzink
+       <josh@stack.nl>
+       (trim_str): Appled patch from Jos Hulzink <josh@stack.nl> (fixes
+       counters and substr call)
+
+       * source/StringTokenizer.C (next_token): Applied patch from Jos
+       Hulzink <josh@stack.nl> (fixes substr call)
+       (rest): Applied patch from Jos Hulzink <josh@stack.nl> (fixes
+       substr call)
+
+2005-02-27  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * source/Bot.H (COPYRIGHT_STRING): Remove Michael Wilson because
+       he is a lazy bum and never submitted the String replacing patch
+
+2005-01-23  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * configure.ac: Remove CC++ test
+       Changed version to 2.1.6CVS (2.1.5 released)
+
+       * bobot++.texinfo: Updated copyright
+
+2005-01-16  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * TODO (General): Added TODO items
+       (2.2): Moved a few items here from 2.4
+
+       * README (NOTE): Mention boost requirement
+
+2005-01-13  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * ChangeLog Updated copryight
+
+       * source/User.H: Removed forward declaration of Utils
+
+       * source/Bot.H: Removed forward declaration of Utils
+
+       * source/ChannelList.H: Removed forward declaration of Utils
+
+       * source/UserListItem.H: Removed forward declaration of Utils
+
+       * source/Utils.H: Removed class Utils, replaced with a namspace
+       (it only contained static methods)
+
+       * source/Bot.H (COPYRIGHT_STRING): Added 2005 and Michael Wilson
+       (he is replacing String)
+
 2005-01-12  Clinton Ebadi  <clinton@unknownlamer.org>
 
 2005-01-12  Clinton Ebadi  <clinton@unknownlamer.org>
 
+       * source/BotConfig.C (set_option_value): Put watcher calling
+       inside of if (cf_iter != end()) to fix a segfault (if the cf_iter
+       = end then there are no watchers since this is a new value and
+       references cf_iter->second segfaults)
+
+       * source/Utils.C (trim_str): Fixed bug (last non-space character
+       was being cut off)
+
        * source/BotConfig.C (read_config): Made to use set_option_value
        instead of manipulating options_db directly
 
        * source/BotConfig.C (read_config): Made to use set_option_value
        instead of manipulating options_db directly
 
        * source/Queue.C: Didn't notice iostream.h here! Fixed
 
 
        * source/Queue.C: Didn't notice iostream.h here! Fixed
 
 
-Copyright 2002,2003,2004 Clinton Ebadi
+Copyright 2002,2003,2004,2005 Clinton Ebadi
 Copying and distribution of this file, with or without modification, are
 permitted provided the copyright notice and this notice are preserved.
 Copying and distribution of this file, with or without modification, are
 permitted provided the copyright notice and this notice are preserved.