[project @ 2002-07-12 03:27:05 by unknown_lamer]
[clinton/bobotpp.git] / ChangeLog
1 2002-07-11 Clinton Ebadi <clinton@unknownlamer.org>
2
3 * source/ServerQueue.C (sendUser): Changed . . in USER command to
4 0 * (which is the Right Way to because <mode> must be a number...)
5
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)
10
11 * source/Parser.H: New member, functions (private)
12
13 2002-07-10 Clinton Ebadi <clinton@unknownlamer.org>
14
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:*
19
20 2002-07-09 Clinton Ebadi <clinton@unknownlamer.org>
21
22 * source/Bot.H: Made some variables private because they shouldn't
23 be changed at runtime
24
25 * source/Parser.C (parseCTCP): Reneabled DCC CHAT (I want to test
26 this out to see if it works and make it work)
27
28 * source/Bot.C (Bot::Bot): New var: logs_dir. Set to the log file
29 dir.
30
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
34
35 2002-07-08 Clinton Ebadi <clinton@unknownlamer.org>
36
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.
41
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).
48
49 * scripts/bobot-utils.scm (bot-load): Function moved from
50 bobot-scheme.scm
51
52 * source/Interp.C (Startup): Autoloads
53 PREFIX/bobotpp/scripts/bobot-utils.scm now
54 (Startup): New Scheme variable: bot-sys-scripts-dir (system
55 scripts dir)
56
57 * source/bobot-scheme.scm.in: Removed
58
59 * source/Makefile.am: Removed bobot-scheme.scm compiliation
60
61 * configure.ac (PREFIX): configure.ac defined prefix now
62
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.
69
70 2002-07-01 Clinton Ebadi <clinton@unknownlamer.org>
71
72 * bobot++.texinfo: Started docs (just a skeleton right now)
73
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.
77
78 * source/Interp.C (Startup): addhook now takes 3 req and 2 opt args
79
80 * source/BotInterp.C (AddHook): Now uses priority and fallthrough
81 (RunHooks): exec fallthrough hooks first.
82
83 * source/BotInterp.H: Changed Hooks to have priority
84 Added fhooksMap to BotInterp (fallthrough)
85
86 * source/UserCommands.C (AddShit): Converted to use Commands
87
88 2002-06-21 Clinton Ebadi <clinton@unknownlamer.org>
89
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
93
94 2002-06-20 Clinton Ebadi <clinton@unknownlamer.org>
95
96 * all files: Updated address of the FSF
97
98 * source/UserCommands.C (AddUser): Uses Commands now instead of
99 manipulating the bot directly
100
101 2002-06-18 Clinton Ebadi <clinton@unknownlamer.org>
102
103 * source/ScriptCommands.C (AddShit): Filled in function.
104
105 * source/Interp.C (Startup): Bind bot-adduser to
106 ScriptCommands::AddUser instead of Action
107 (Startup): Bind bot-addshit to ScriptCommands::AddShit
108
109 * source/ScriptCommands.C (AddUser): Filled in function
110
111 * source/ServerList.C (delServer): Changed (n - 1) to n...n-1
112 would have caused problems if you used more than one server
113
114 * source/Parser.H: Changed const char* to String in userFunctionStruct
115
116 * source/String.H: Added std::string compatibility members
117
118 * configure.ac: You can now disable Crypt and scripting
119
120 * source/*: Added #include "config.h" where needed
121
122 * configure.ac: Added AM_CONFIG_HEADER
123
124 * config.h.in: added file
125
126 * source/Queue.C: Didn't notice iostream.h here! Fixed
127
128
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.