[project @ 2005-07-04 01:48:38 by unknown_lamer]
[clinton/bobotpp.git] / ChangeLog
index 758dd8b..8af66ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,70 @@
+2005-07-03  Clinton Ebadi  <clinton@unknownlamer.org>
+
+       * 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  <clinton@unknownlamer.org>
 
        * bobot++.texinfo: Updated copyright years, changed "applies to