clinton/bobotpp.git
18 years ago[project @ 2005-06-28 10:08:45 by unknown_lamer]
unknown_lamer [Tue, 28 Jun 2005 10:08:45 +0000 (10:08 +0000)]
[project @ 2005-06-28 10:08:45 by unknown_lamer]

Merged error handling patch from Dale Smith

18 years ago[project @ 2005-06-28 09:54:46 by unknown_lamer]
unknown_lamer [Tue, 28 Jun 2005 09:54:46 +0000 (09:54 +0000)]
[project @ 2005-06-28 09:54:46 by unknown_lamer]

Implemented Commands::CTCP and Commands::CTCPReply (for sending CTCP
messages), updated the Parser and ScriptCommands to use
them. Added and documented bot:send-ctcp-reply.

18 years ago[project @ 2005-06-28 03:16:45 by unknown_lamer]
unknown_lamer [Tue, 28 Jun 2005 03:16:45 +0000 (03:16 +0000)]
[project @ 2005-06-28 03:16:45 by unknown_lamer]

+ NOTICEs and PRIVMSGs are now sent correctly if they contain an
  embedded newline
+ Max nick length is now configurable via 'maxnicklength' option in
  bot.conf (defaults to 9)
+ A few internal cleanups

18 years ago[project @ 2005-06-25 18:11:10 by unknown_lamer]
unknown_lamer [Sat, 25 Jun 2005 18:11:10 +0000 (18:11 +0000)]
[project @ 2005-06-25 18:11:10 by unknown_lamer]

Guile's debugging evaluator is now enabled when --debug is used

18 years ago[project @ 2005-06-24 22:10:09 by unknown_lamer]
unknown_lamer [Fri, 24 Jun 2005 22:10:09 +0000 (22:10 +0000)]
[project @ 2005-06-24 22:10:09 by unknown_lamer]

Updated FSF street address

18 years ago[project @ 2005-06-24 18:59:07 by unknown_lamer]
unknown_lamer [Fri, 24 Jun 2005 18:59:07 +0000 (18:59 +0000)]
[project @ 2005-06-24 18:59:07 by unknown_lamer]

bot:msg and bot:say are the same thing now

18 years ago[project @ 2005-06-24 06:13:45 by unknown_lamer]
unknown_lamer [Fri, 24 Jun 2005 06:13:45 +0000 (06:13 +0000)]
[project @ 2005-06-24 06:13:45 by unknown_lamer]

bot:msg can now send messages to channels. bot:notice returns more
detailed error codes (that still can't be used without knowledge of
the C++, this will be fixed soon)

18 years ago[project @ 2005-06-23 22:59:18 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 22:59:18 +0000 (22:59 +0000)]
[project @ 2005-06-23 22:59:18 by unknown_lamer]

Made (bobotpp bot) actually work

18 years ago[project @ 2005-06-23 21:10:18 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 21:10:18 +0000 (21:10 +0000)]
[project @ 2005-06-23 21:10:18 by unknown_lamer]

Added scripts/bot.scm which exports the bobot++ interface to other modules

18 years ago[project @ 2005-06-23 18:49:38 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 18:49:39 +0000 (18:49 +0000)]
[project @ 2005-06-23 18:49:38 by unknown_lamer]

bot:notice has been implemented. Commands::Notice will now send a
notice to a channel. bot:notice was documented. Message macros were
moved around.

18 years ago[project @ 2005-06-23 18:11:08 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 18:11:08 +0000 (18:11 +0000)]
[project @ 2005-06-23 18:11:08 by unknown_lamer]

hooks/timer argument is now zero padded instead of space padded

18 years ago[project @ 2005-06-23 06:56:20 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 06:56:20 +0000 (06:56 +0000)]
[project @ 2005-06-23 06:56:20 by unknown_lamer]

Minor documentation edits

18 years ago[project @ 2005-06-23 06:43:12 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 06:43:12 +0000 (06:43 +0000)]
[project @ 2005-06-23 06:43:12 by unknown_lamer]

Call hooks/disconnect when disconnected from a server.

18 years ago[project @ 2005-06-23 06:20:44 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 06:20:44 +0000 (06:20 +0000)]
[project @ 2005-06-23 06:20:44 by unknown_lamer]

Added dsmith's documentation patch. I'll hack on more documentation
soon, I promise :-)

18 years ago[project @ 2005-06-07 12:52:52 by unknown_lamer]
unknown_lamer [Tue, 7 Jun 2005 12:52:55 +0000 (12:52 +0000)]
[project @ 2005-06-07 12:52:52 by unknown_lamer]

Fixed the scripts and texinfo file

18 years ago[project @ 2005-06-01 19:11:13 by unknown_lamer]
unknown_lamer [Wed, 1 Jun 2005 19:11:13 +0000 (19:11 +0000)]
[project @ 2005-06-01 19:11:13 by unknown_lamer]

Fixed texinfo file (make ps/pdf/dvi works now)

18 years ago[project @ 2005-06-01 11:12:41 by unknown_lamer]
unknown_lamer [Wed, 1 Jun 2005 11:12:41 +0000 (11:12 +0000)]
[project @ 2005-06-01 11:12:41 by unknown_lamer]

Added bot:protection/[none|ban|kick|deop] and bot:aop/[yes|no]
constants to the Scheme scripting interface

18 years ago[project @ 2005-06-01 00:27:44 by unknown_lamer]
unknown_lamer [Wed, 1 Jun 2005 00:27:44 +0000 (00:27 +0000)]
[project @ 2005-06-01 00:27:44 by unknown_lamer]

Fixed bug in Parser that would put two entries for the bot into the
userlist, fixed the formatting of a few files, and replaced some
Strings with std::strings

18 years ago[project @ 2005-05-31 05:59:57 by unknown_lamer]
unknown_lamer [Tue, 31 May 2005 05:59:58 +0000 (05:59 +0000)]
[project @ 2005-05-31 05:59:57 by unknown_lamer]

Fixed all warnings and a few rarely triggered bugs

19 years ago[project @ 2005-03-11 17:58:13 by unknown_lamer]
unknown_lamer [Fri, 11 Mar 2005 17:58:13 +0000 (17:58 +0000)]
[project @ 2005-03-11 17:58:13 by unknown_lamer]

Released 2.1.6, changed version to 2.1.7CVS

19 years ago[project @ 2005-03-01 03:18:40 by unknown_lamer]
unknown_lamer [Tue, 1 Mar 2005 03:18:40 +0000 (03:18 +0000)]
[project @ 2005-03-01 03:18:40 by unknown_lamer]

Fixed a potential segfault in the Parser

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

19 years ago[project @ 2005-02-28 23:43:20 by unknown_lamer]
unknown_lamer [Mon, 28 Feb 2005 23:43:20 +0000 (23:43 +0000)]
[project @ 2005-02-28 23:43:20 by unknown_lamer]

This should fix a few issues with String handling

2005-02-28  Clinton Ebadi  <clinton@unknownlamer.org>

* 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)

19 years ago[project @ 2005-02-28 05:50:12 by unknown_lamer]
unknown_lamer [Mon, 28 Feb 2005 05:50:12 +0000 (05:50 +0000)]
[project @ 2005-02-28 05:50:12 by unknown_lamer]

Re-added String.C and String.H

19 years ago[project @ 2005-02-28 05:49:38 by unknown_lamer]
unknown_lamer [Mon, 28 Feb 2005 05:49:38 +0000 (05:49 +0000)]
[project @ 2005-02-28 05:49:38 by unknown_lamer]

Removed String.[CH] (they'll be back in a sec, I hit a bad cvs command and now it won't stop bitching)

19 years ago[project @ 2005-02-28 05:48:26 by unknown_lamer]
unknown_lamer [Mon, 28 Feb 2005 05:48:26 +0000 (05:48 +0000)]
[project @ 2005-02-28 05:48:26 by unknown_lamer]

2005-02-28  Clinton Ebadi  <clinton@unknownlamer.org>

* 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

19 years ago[project @ 2005-01-13 20:07:01 by unknown_lamer]
unknown_lamer [Thu, 13 Jan 2005 20:07:01 +0000 (20:07 +0000)]
[project @ 2005-01-13 20:07:01 by unknown_lamer]

Utils is now a namespace instead of a class

19 years ago[project @ 2005-01-12 22:44:37 by unknown_lamer]
unknown_lamer [Wed, 12 Jan 2005 22:44:37 +0000 (22:44 +0000)]
[project @ 2005-01-12 22:44:37 by unknown_lamer]

Removed debug messages from BotConfig

19 years ago[project @ 2005-01-12 22:40:22 by unknown_lamer]
unknown_lamer [Wed, 12 Jan 2005 22:40:22 +0000 (22:40 +0000)]
[project @ 2005-01-12 22:40:22 by unknown_lamer]

Fixed a segfault in BotConfig (call watchers was in the wrong place),
fixed trim of last non-space char from a string in Utils::trim_str

19 years ago[project @ 2005-01-12 06:01:01 by unknown_lamer]
unknown_lamer [Wed, 12 Jan 2005 06:01:01 +0000 (06:01 +0000)]
[project @ 2005-01-12 06:01:01 by unknown_lamer]

BotConfig fully implemented, set_config_value that takes one t_value
instead of a t_value_list has been added for convinience

19 years ago[project @ 2005-01-12 05:36:40 by unknown_lamer]
unknown_lamer [Wed, 12 Jan 2005 05:36:40 +0000 (05:36 +0000)]
[project @ 2005-01-12 05:36:40 by unknown_lamer]

String removal phase 1: added trim, toLower, toUpper, and long2str to
Utils. Converted StringTokenizer to use std::string internally. Did
the same to Utils. Converted both to use _'s between tokens instead of
CamelCase (because we all know that CamelCase is
unreadable...). BotConfig is 99% done (just have to fix
read_config). Fixed a potential but extremely unlikely buffer
overflow.

19 years ago[project @ 2005-01-08 06:24:08 by unknown_lamer]
unknown_lamer [Sat, 8 Jan 2005 06:24:08 +0000 (06:24 +0000)]
[project @ 2005-01-08 06:24:08 by unknown_lamer]

Updating README (easier to read), added configure.ac test for CommonC++2 (which will soon replace Socket and StringTokenizer)

19 years ago[project @ 2005-01-07 18:19:38 by unknown_lamer]
unknown_lamer [Fri, 7 Jan 2005 18:19:38 +0000 (18:19 +0000)]
[project @ 2005-01-07 18:19:38 by unknown_lamer]

Call watchers from BotConfig::set_watcher_list (BotConfig is almost done)

19 years ago[project @ 2005-01-06 18:19:16 by unknown_lamer]
unknown_lamer [Thu, 6 Jan 2005 18:19:16 +0000 (18:19 +0000)]
[project @ 2005-01-06 18:19:16 by unknown_lamer]

Misc. bug fixes, documentation updates, and part of the new config
system. It compiles at least; the rest of the config system will be
added soonish.

19 years ago[project @ 2004-06-14 04:26:29 by unknown_lamer]
unknown_lamer [Mon, 14 Jun 2004 04:26:29 +0000 (04:26 +0000)]
[project @ 2004-06-14 04:26:29 by unknown_lamer]

Fixed a typo in README, disabled DCC CHAT for users below level 3 (FRIEND), and worked on the manual.

19 years ago[project @ 2004-06-13 02:04:44 by unknown_lamer]
unknown_lamer [Sun, 13 Jun 2004 02:04:51 +0000 (02:04 +0000)]
[project @ 2004-06-13 02:04:44 by unknown_lamer]

s/ctcp-quote/bot:ctcp-quote/

19 years ago[project @ 2004-06-13 02:03:43 by unknown_lamer]
unknown_lamer [Sun, 13 Jun 2004 02:03:44 +0000 (02:03 +0000)]
[project @ 2004-06-13 02:03:43 by unknown_lamer]

Wrote most of the configuration section of the manual and implemented bot:ctcp-quote in bobot-utils.scm

19 years ago[project @ 2004-05-12 15:19:06 by unknown_lamer]
unknown_lamer [Wed, 12 May 2004 15:19:07 +0000 (15:19 +0000)]
[project @ 2004-05-12 15:19:06 by unknown_lamer]

2004-05-12  Clinton Ebadi  <clinton@unknownlamer.org>

* source/DCCConnection.C (DCCConnection): Intialized `nuh' in the
constructor with `n' This should fix the segfaulting.

20 years ago[project @ 2004-04-28 03:33:52 by unknown_lamer]
unknown_lamer [Wed, 28 Apr 2004 03:33:52 +0000 (03:33 +0000)]
[project @ 2004-04-28 03:33:52 by unknown_lamer]

Huge Update, see the ChangeLog

20 years ago[project @ 2003-07-23 05:56:23 by unknown_lamer]
unknown_lamer [Wed, 23 Jul 2003 05:56:23 +0000 (05:56 +0000)]
[project @ 2003-07-23 05:56:23 by unknown_lamer]

* source/Parser.C (parseMessage): use the find method of std::map
to find the command to call instead of [] and then extract the
pointer to the userFunction from that if it exists. This appears
to fix the crash when one uses an undefined command followed by
any defined command.

21 years ago[project @ 2003-04-10 01:53:57 by unknown_lamer]
unknown_lamer [Thu, 10 Apr 2003 01:53:57 +0000 (01:53 +0000)]
[project @ 2003-04-10 01:53:57 by unknown_lamer]

Added support for overriding the flood rate

21 years ago[project @ 2003-04-04 02:50:56 by unknown_lamer]
unknown_lamer [Fri, 4 Apr 2003 02:50:56 +0000 (02:50 +0000)]
[project @ 2003-04-04 02:50:56 by unknown_lamer]

Updated NEWS. 2.1.2 is being released now (finally).

21 years ago[project @ 2003-04-04 02:49:43 by unknown_lamer]
unknown_lamer [Fri, 4 Apr 2003 02:49:43 +0000 (02:49 +0000)]
[project @ 2003-04-04 02:49:43 by unknown_lamer]

Added a new script and updated the example configuration

21 years ago[project @ 2003-04-04 02:43:18 by unknown_lamer]
unknown_lamer [Fri, 4 Apr 2003 02:43:18 +0000 (02:43 +0000)]
[project @ 2003-04-04 02:43:18 by unknown_lamer]

Replaced the old example bot with a new one that uses some of the new
features of Bobot++

21 years ago[project @ 2003-04-04 02:42:05 by unknown_lamer]
unknown_lamer [Fri, 4 Apr 2003 02:42:05 +0000 (02:42 +0000)]
[project @ 2003-04-04 02:42:05 by unknown_lamer]

Removed some files.

21 years ago[project @ 2003-04-03 03:37:06 by unknown_lamer]
unknown_lamer [Thu, 3 Apr 2003 03:37:06 +0000 (03:37 +0000)]
[project @ 2003-04-03 03:37:06 by unknown_lamer]

2003-04-02  Clinton Ebadi  <clinton@unknownlamer.org>

* scripts/bobot-utils.scm: Make exported symbols from
the-bot-module available in the guile-user module so that scripts
loaded with Interp::Load function.

2003-03-30  Clinton Ebadi  <clinton@unknownlamer.org>

* scripts/bobot-utils.scm (bot:load-module): Loads a file from the
%bot:loadpath into its own module and returns that (unnamed) module
(bot:use-module): Calls bot:load-module and then adds the newly
loaded module to the (current-module)'s use-list

* source/Interp.C (interp_init_helper): New procedure to initialize
the-bot-module (this is the old Interp::Startup verbatim)
(interp_post_startup_helper): New procedure to export
the-bot-module from bot_module
(Startup): Now calls interp_init_helper and
interp_post_startup_helper to initalize the bot module system

* source/Interp.H: Added private variable bot_module to Interp

21 years ago[project @ 2002-11-04 23:46:59 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 23:46:59 +0000 (23:46 +0000)]
[project @ 2002-11-04 23:46:59 by unknown_lamer]

Eeep, I forgot that bobot-utils.scm hasn't been generated from the .in file in a long time. Re-adding file.

21 years ago[project @ 2002-11-04 23:42:01 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 23:42:01 +0000 (23:42 +0000)]
[project @ 2002-11-04 23:42:01 by unknown_lamer]

Removed scripts/bobot-utils.scm (since it is generated from bobot-utils.scm.in), added bot: prefix to match-to-me and match-not-channel

21 years ago[project @ 2002-11-04 04:54:14 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 04:54:14 +0000 (04:54 +0000)]
[project @ 2002-11-04 04:54:14 by unknown_lamer]

Guh, so I suck. Now it builds. I mean it. No more commits tonight unless I'm a completel idiot (then again, I have four minutes left in today).

21 years ago[project @ 2002-11-04 04:40:27 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 04:40:27 +0000 (04:40 +0000)]
[project @ 2002-11-04 04:40:27 by unknown_lamer]

!@#$ I deleted config.h.in. Fixed, now the bot should compile.

21 years ago[project @ 2002-11-04 04:39:28 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 04:39:28 +0000 (04:39 +0000)]
[project @ 2002-11-04 04:39:28 by unknown_lamer]

Ok, last commit for the night. I fixed some configure.ac stuff and now autoheader can run, so now config.h.in is an empty file and the bot bootstraps.

21 years ago[project @ 2002-11-04 04:15:46 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 04:15:46 +0000 (04:15 +0000)]
[project @ 2002-11-04 04:15:46 by unknown_lamer]

Added boostrap and fixed README.CVS. It turns out autoreconf doesn't work for some reason, so I'll just use a bootstrap script like the Autotools book suggests.

21 years ago[project @ 2002-11-04 04:03:32 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 04:03:33 +0000 (04:03 +0000)]
[project @ 2002-11-04 04:03:32 by unknown_lamer]

Removed automatically generated files

21 years ago[project @ 2002-11-04 03:59:06 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 03:59:06 +0000 (03:59 +0000)]
[project @ 2002-11-04 03:59:06 by unknown_lamer]

Added README.CVS for bootstrapping the cvs tree

21 years ago[project @ 2002-11-04 03:50:19 by unknown_lamer]
unknown_lamer [Mon, 4 Nov 2002 03:50:19 +0000 (03:50 +0000)]
[project @ 2002-11-04 03:50:19 by unknown_lamer]

make distclean (cleaning up sources)

21 years ago[project @ 2002-11-03 22:59:05 by unknown_lamer]
unknown_lamer [Sun, 3 Nov 2002 22:59:05 +0000 (22:59 +0000)]
[project @ 2002-11-03 22:59:05 by unknown_lamer]

Added scripts/Makefile.in (I'll delete all of the autogenerated stuff eventually and add an build script like the one in the autotools book)

21 years ago[project @ 2002-11-03 22:42:59 by unknown_lamer]
unknown_lamer [Sun, 3 Nov 2002 22:42:59 +0000 (22:42 +0000)]
[project @ 2002-11-03 22:42:59 by unknown_lamer]

Made Mask::match case insensitive

21 years ago[project @ 2002-09-24 02:10:40 by unknown_lamer]
unknown_lamer [Tue, 24 Sep 2002 02:10:40 +0000 (02:10 +0000)]
[project @ 2002-09-24 02:10:40 by unknown_lamer]

Fixed a stupid bug where I grabbed a mutex I shouldn't and it killed the bot. The bot works again now.

21 years ago[project @ 2002-08-18 21:34:24 by unknown_lamer]
unknown_lamer [Sun, 18 Aug 2002 21:34:24 +0000 (21:34 +0000)]
[project @ 2002-08-18 21:34:24 by unknown_lamer]

Oops! I registered bot:DCC-chat-send when I meant bot:dcc-chat-send. 30 second fix.

21 years ago[project @ 2002-08-18 21:32:48 by unknown_lamer]
unknown_lamer [Sun, 18 Aug 2002 21:32:49 +0000 (21:32 +0000)]
[project @ 2002-08-18 21:32:48 by unknown_lamer]

You can now talk to the bot using bot:dcc-chat-send

21 years ago[project @ 2002-08-08 15:21:08 by unknown_lamer]
unknown_lamer [Thu, 8 Aug 2002 15:21:08 +0000 (15:21 +0000)]
[project @ 2002-08-08 15:21:08 by unknown_lamer]

Fixed a bug in String, and added a new class, DCCManager, for managing
DCC Connections (ugh, it seems a bit kludgey, but I am working on some
big changes to how the bot works right now...). Probably some other
changes I forgot about.

21 years ago[project @ 2002-08-06 20:51:03 by unknown_lamer]
unknown_lamer [Tue, 6 Aug 2002 20:51:03 +0000 (20:51 +0000)]
[project @ 2002-08-06 20:51:03 by unknown_lamer]

Oops! I forgot to commit BUGS and scripts/Makefile.am! Fixed.

21 years ago[project @ 2002-08-06 20:48:44 by unknown_lamer]
unknown_lamer [Tue, 6 Aug 2002 20:48:44 +0000 (20:48 +0000)]
[project @ 2002-08-06 20:48:44 by unknown_lamer]

DCC Chat now "works." It doesn't do anything useful, but you can /dcc
chat the bot and talk at it. I will add hooks for DCC messages
later. Probably some other bug fixes and stuff I forgot about, see the
ChangeLog.

21 years ago[project @ 2002-08-02 04:31:30 by unknown_lamer]
unknown_lamer [Fri, 2 Aug 2002 04:31:30 +0000 (04:31 +0000)]
[project @ 2002-08-02 04:31:30 by unknown_lamer]

A few things this time. Hooks can be named (really cool), a few bug
fixes (logs work again now), the docs were worked on a little,
Socket::readLine now automatically expands the buffer when the length
gets over 512 (it uses a static std::string that will _not_ have to be
expanded for most uses, but _might_ need to be expanded when I get DCC
to work), the bot now runs hooks on its own text so you have to
protect against your hooks triggering other hooks by their output;
this can be done using the new (not-from-me) syntax (see the manual
for how it works). I think that is it.

21 years ago[project @ 2002-07-28 22:17:32 by unknown_lamer]
unknown_lamer [Sun, 28 Jul 2002 22:17:32 +0000 (22:17 +0000)]
[project @ 2002-07-28 22:17:32 by unknown_lamer]

A few things, there is now a bot:exit-hook that is a standard Guile
hook that is run when the bot shuts down. 2.1.0 was released, so I
bumped the version number in configure.ac to 2.1.1CVS.

21 years ago[project @ 2002-07-24 03:05:06 by unknown_lamer]
unknown_lamer [Wed, 24 Jul 2002 03:05:06 +0000 (03:05 +0000)]
[project @ 2002-07-24 03:05:06 by unknown_lamer]

Lots of changes, look at the ChangeLog. Most notable is that the Hooks
system actually works now.

21 years ago[project @ 2002-07-15 21:01:51 by unknown_lamer]
unknown_lamer [Mon, 15 Jul 2002 21:01:51 +0000 (21:01 +0000)]
[project @ 2002-07-15 21:01:51 by unknown_lamer]

User functions are now all stored in a map and the userFunctionStruct
data type is gone as part of the new unification. userFunction now
protects it's scmFunc if it was passed so you can use lambda's in a
bot:addcommand now. The docs are slightly (not really) better and I've
started to add lower level message sending commands to the scripting
interface. Looks like it's almost time for 2.1.0 to be released.

21 years ago[project @ 2002-07-12 03:27:05 by unknown_lamer]
unknown_lamer [Fri, 12 Jul 2002 03:27:05 +0000 (03:27 +0000)]
[project @ 2002-07-12 03:27:05 by unknown_lamer]

2002-07-11  Clinton Ebadi  <clinton@unknownlamer.org>

* source/ServerQueue.C (sendUser): Changed . . in USER command to
0 * (which is the Right Way to because <mode> must be a number...)

* source/Parser.C (init): New method of Parse. This initalizes the
functions map. functions replaces the old functions array, and
should yield better performance (since the functions array had to
be scanned for every incoming message)

* source/Parser.H: New member, functions (private)

2002-07-10  Clinton Ebadi  <clinton@unknownlamer.org>

* source/Interp.C (Startup): New symbols: bot:user-*
[none|user|trusted|friend|master] are defined in Scheme as the
different levels of the users.
(Startup): All bot-* variables are now bot:*

2002-07-09  Clinton Ebadi  <clinton@unknownlamer.org>

* source/Bot.H: Made some variables private because they shouldn't
be changed at runtime

* source/Parser.C (parseCTCP): Reneabled DCC CHAT (I want to test
this out to see if it works and make it work)

* source/Bot.C (Bot::Bot): New var: logs_dir. Set to the log file
dir.

* scripts/bobot-utils.scm: Fixed a typo (I forgot the / after
scripts in the user scripts dir) that made bobot++ not able to
load scripts from the user scripts dir

21 years ago[project @ 2002-07-09 14:28:08 by unknown_lamer]
unknown_lamer [Tue, 9 Jul 2002 14:28:08 +0000 (14:28 +0000)]
[project @ 2002-07-09 14:28:08 by unknown_lamer]

- Removed bobot-scheme.scm.in and moved its single function into
  bobot-utils.scm.
- The PREFIX preprocessor symbol is now defined as the
  install prefix
- getopt_long is used instead of normal getopt, --help has been
  expanded to cover new options as well as give more detail.
- The default action for bobotpp when encountering a bad argument is
  to display the short help (just lists the commands you may use).
- Hooks list (BotInterp.C, RunHooks) is now read from end to beggining
  because we want to call the higher priority hooks before the lower
  priority hooks

21 years ago[project @ 2002-07-08 21:11:15 by unknown_lamer]
unknown_lamer [Mon, 8 Jul 2002 21:11:16 +0000 (21:11 +0000)]
[project @ 2002-07-08 21:11:15 by unknown_lamer]

2002-07-08  Clinton Ebadi  <clinton@unknownlamer.org>

        * source/Main.C (real_main): Default configuration is now read
        from /etc/bobotpp/default
        * source/bobot-scheme.scm.in: Added file. This defines the
        'bot-load' procedure which will load a file from
        $HOME/.bobotpp/scripts/ or @datadir@/bobotpp/scripts/ if the
        script doesn't exist in the user script dir.

21 years ago[project @ 2002-07-07 02:41:19 by unknown_lamer]
unknown_lamer [Sun, 7 Jul 2002 02:41:19 +0000 (02:41 +0000)]
[project @ 2002-07-07 02:41:19 by unknown_lamer]

Initial import into CVS

21 years ago[project @ 2002-07-07 02:33:51 by unknown_lamer]
unknown_lamer [Sun, 7 Jul 2002 02:33:51 +0000 (02:33 +0000)]
[project @ 2002-07-07 02:33:51 by unknown_lamer]

Initial import into CVS

21 years ago[project @ 2002-07-07 02:30:24 by unknown_lamer]
unknown_lamer [Sun, 7 Jul 2002 02:30:24 +0000 (02:30 +0000)]
[project @ 2002-07-07 02:30:24 by unknown_lamer]

Initial import into CVS