[project @ 2002-07-09 14:28:08 by unknown_lamer]
[clinton/bobotpp.git] / ChangeLog
1 2002-07-08 Clinton Ebadi <clinton@unknownlamer.org>
2
3 * source/BotInterp.C (RunHooks): Changed iterators to
4 reverse_iterators because the hooks list is sorted in ascending
5 order--higher priority and fallthrough hooks appear _after_ the
6 lower priority and non-fallthrough hooks.
7
8 * source/Main.C (print_long_help): Added function
9 (print_short_help): Renamed from printUsage
10 (namespace): Most stuff in here is now defined in an anonymouse
11 namespace so it doesn't have external linkage
12 (real_main): Uses getopt_long instead of getopt. Added several
13 command line arguments (bobotpp --help for a full list).
14
15 * scripts/bobot-utils.scm (bot-load): Function moved from
16 bobot-scheme.scm
17
18 * source/Interp.C (Startup): Autoloads
19 PREFIX/bobotpp/scripts/bobot-utils.scm now
20 (Startup): New Scheme variable: bot-sys-scripts-dir (system
21 scripts dir)
22
23 * source/bobot-scheme.scm.in: Removed
24
25 * source/Makefile.am: Removed bobot-scheme.scm compiliation
26
27 * configure.ac (PREFIX): configure.ac defined prefix now
28
29 * source/Main.C (real_main): Default configuration is now read
30 from /etc/bobotpp/default
31 * source/bobot-scheme.scm.in: Added file. This defines the
32 'bot-load' procedure which will load a file from
33 $HOME/.bobotpp/scripts/ or @datadir@/bobotpp/scripts/ if the
34 script doesn't exist in the user script dir.
35
36 2002-07-01 Clinton Ebadi <clinton@unknownlamer.org>
37
38 * bobot++.texinfo: Started docs (just a skeleton right now)
39
40 * source/ScriptCommands.C (AddHook): Now takes pri and fall opt
41 args to set a hooks priority and whether or not it will
42 fallthrough. These args are optional.
43
44 * source/Interp.C (Startup): addhook now takes 3 req and 2 opt args
45
46 * source/BotInterp.C (AddHook): Now uses priority and fallthrough
47 (RunHooks): exec fallthrough hooks first.
48
49 * source/BotInterp.H: Changed Hooks to have priority
50 Added fhooksMap to BotInterp (fallthrough)
51
52 * source/UserCommands.C (AddShit): Converted to use Commands
53
54 2002-06-21 Clinton Ebadi <clinton@unknownlamer.org>
55
56 * source/Commands.C (AddUser): Fixed a one-off (function call was
57 before a brace instead of after one) that caused a segfault when
58 the user mask was a wildcard
59
60 2002-06-20 Clinton Ebadi <clinton@unknownlamer.org>
61
62 * all files: Updated address of the FSF
63
64 * source/UserCommands.C (AddUser): Uses Commands now instead of
65 manipulating the bot directly
66
67 2002-06-18 Clinton Ebadi <clinton@unknownlamer.org>
68
69 * source/ScriptCommands.C (AddShit): Filled in function.
70
71 * source/Interp.C (Startup): Bind bot-adduser to
72 ScriptCommands::AddUser instead of Action
73 (Startup): Bind bot-addshit to ScriptCommands::AddShit
74
75 * source/ScriptCommands.C (AddUser): Filled in function
76
77 * source/ServerList.C (delServer): Changed (n - 1) to n...n-1
78 would have caused problems if you used more than one server
79
80 * source/Parser.H: Changed const char* to String in userFunctionStruct
81
82 * source/String.H: Added std::string compatibility members
83
84 * configure.ac: You can now disable Crypt and scripting
85
86 * source/*: Added #include "config.h" where needed
87
88 * configure.ac: Added AM_CONFIG_HEADER
89
90 * config.h.in: added file
91
92 * source/Queue.C: Didn't notice iostream.h here! Fixed
93
94
95 Copyright 2002 Clinton Ebadi
96 Copying and distribution of this file, with or without modification, are
97 permitted provided the copyright notice and this notice are preserved.