1 2002-07-11 Clinton Ebadi <clinton@unknownlamer.org>
3 * source/ServerQueue.C (sendUser): Changed . . in USER command to
4 0 * (which is the Right Way to because <mode> must be a number...)
6 * source/Parser.C (init): New method of Parse. This initalizes the
7 functions map. functions replaces the old functions array, and
8 should yield better performance (since the functions array had to
9 be scanned for every incoming message)
11 * source/Parser.H: New member, functions (private)
13 2002-07-10 Clinton Ebadi <clinton@unknownlamer.org>
15 * source/Interp.C (Startup): New symbols: bot:user-*
16 [none|user|trusted|friend|master] are defined in Scheme as the
17 different levels of the users.
18 (Startup): All bot-* variables are now bot:*
20 2002-07-09 Clinton Ebadi <clinton@unknownlamer.org>
22 * source/Bot.H: Made some variables private because they shouldn't
25 * source/Parser.C (parseCTCP): Reneabled DCC CHAT (I want to test
26 this out to see if it works and make it work)
28 * source/Bot.C (Bot::Bot): New var: logs_dir. Set to the log file
31 * scripts/bobot-utils.scm: Fixed a typo (I forgot the / after
32 scripts in the user scripts dir) that made bobot++ not able to
33 load scripts from the user scripts dir
35 2002-07-08 Clinton Ebadi <clinton@unknownlamer.org>
37 * source/BotInterp.C (RunHooks): Changed iterators to
38 reverse_iterators because the hooks list is sorted in ascending
39 order--higher priority and fallthrough hooks appear _after_ the
40 lower priority and non-fallthrough hooks.
42 * source/Main.C (print_long_help): Added function
43 (print_short_help): Renamed from printUsage
44 (namespace): Most stuff in here is now defined in an anonymouse
45 namespace so it doesn't have external linkage
46 (real_main): Uses getopt_long instead of getopt. Added several
47 command line arguments (bobotpp --help for a full list).
49 * scripts/bobot-utils.scm (bot-load): Function moved from
52 * source/Interp.C (Startup): Autoloads
53 PREFIX/bobotpp/scripts/bobot-utils.scm now
54 (Startup): New Scheme variable: bot-sys-scripts-dir (system
57 * source/bobot-scheme.scm.in: Removed
59 * source/Makefile.am: Removed bobot-scheme.scm compiliation
61 * configure.ac (PREFIX): configure.ac defined prefix now
63 * source/Main.C (real_main): Default configuration is now read
64 from /etc/bobotpp/default
65 * source/bobot-scheme.scm.in: Added file. This defines the
66 'bot-load' procedure which will load a file from
67 $HOME/.bobotpp/scripts/ or @datadir@/bobotpp/scripts/ if the
68 script doesn't exist in the user script dir.
70 2002-07-01 Clinton Ebadi <clinton@unknownlamer.org>
72 * bobot++.texinfo: Started docs (just a skeleton right now)
74 * source/ScriptCommands.C (AddHook): Now takes pri and fall opt
75 args to set a hooks priority and whether or not it will
76 fallthrough. These args are optional.
78 * source/Interp.C (Startup): addhook now takes 3 req and 2 opt args
80 * source/BotInterp.C (AddHook): Now uses priority and fallthrough
81 (RunHooks): exec fallthrough hooks first.
83 * source/BotInterp.H: Changed Hooks to have priority
84 Added fhooksMap to BotInterp (fallthrough)
86 * source/UserCommands.C (AddShit): Converted to use Commands
88 2002-06-21 Clinton Ebadi <clinton@unknownlamer.org>
90 * source/Commands.C (AddUser): Fixed a one-off (function call was
91 before a brace instead of after one) that caused a segfault when
92 the user mask was a wildcard
94 2002-06-20 Clinton Ebadi <clinton@unknownlamer.org>
96 * all files: Updated address of the FSF
98 * source/UserCommands.C (AddUser): Uses Commands now instead of
99 manipulating the bot directly
101 2002-06-18 Clinton Ebadi <clinton@unknownlamer.org>
103 * source/ScriptCommands.C (AddShit): Filled in function.
105 * source/Interp.C (Startup): Bind bot-adduser to
106 ScriptCommands::AddUser instead of Action
107 (Startup): Bind bot-addshit to ScriptCommands::AddShit
109 * source/ScriptCommands.C (AddUser): Filled in function
111 * source/ServerList.C (delServer): Changed (n - 1) to n...n-1
112 would have caused problems if you used more than one server
114 * source/Parser.H: Changed const char* to String in userFunctionStruct
116 * source/String.H: Added std::string compatibility members
118 * configure.ac: You can now disable Crypt and scripting
120 * source/*: Added #include "config.h" where needed
122 * configure.ac: Added AM_CONFIG_HEADER
124 * config.h.in: added file
126 * source/Queue.C: Didn't notice iostream.h here! Fixed
129 Copyright 2002 Clinton Ebadi
130 Copying and distribution of this file, with or without modification, are
131 permitted provided the copyright notice and this notice are preserved.