clinton/bobotpp.git
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