1 1998-10-08 Nathan Bryant <bryant@cs.usm.maine.edu>
2 * lots of warning fixes; builds with -std1 on dec unix
3 * aidepost.c, citadel.h, citmail.c, file_ops.c, msgbase.c, netmailer.c,
4 netproc.c, rcit.c, server.h, stats.c, userlist.c: use time_t where
6 * control.c, room_ops.c, serv_chat.c, sysdep.c: use memset() instead of
8 * dynloader.c, dynloader.h, messages.c, server.h, sysdep.c,
9 sysdep_decls.h: function pointer/prototyping fixes
11 1998-10-07 Nathan Bryant <bryant@cs.usm.maine.edu>
12 * snprintf.c, snprintf.h: new files
13 * Makefile.in, configure.in, dynloader.c, sysdep.c: support for the
14 above; citserver now builds and runs on Digital Unix 4.0d with the
15 GNU-style configure script. there is a bug with the hostname display
17 * netproc.c: sillyness fix
18 * room_ops.h: prototype delete_room()
19 * client_chat.c, commands.c, serv_chat.c, sysdep.c:
20 use HAVE_SYS_SELECT_H macro
22 Mon Oct 5 17:01:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
23 * Began fixing the stuff I broke
25 Sun Oct 4 23:35:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
26 * Did the big migration to the new data structures. Lots of stuff is
27 now broken. Basic moving from room to room works, but Mail is
28 broken, and some of the administrative commands are unimplemented.
30 1998-10-02 Nathan Bryant <bryant@cs.usm.maine.edu>
31 * configure.in: autologin now defaults to disabled
33 Fri Oct 2 00:04:31 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
34 * Finally removed all three usersupp.foo[MAXROOMS] elements, and
35 migrated all the code that used them to use "struct visit" instead.
37 Thu Oct 1 23:02:20 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
38 * Rewrote [l][get|put]room() functions to use room names rather than
39 room index numbers. Temporarily prepended a "n" to these four
40 function names until they are put to use.
42 Thu Oct 1 16:27:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
43 * Removed a few more references to usersupp.lastseen[]
45 1998-10-01 Nathan Bryant <bryant@cs.usm.maine.edu>
46 * .cvsignore: add so_locations (generated by osf1 ld with shared libs)
47 * Makefile.in: restructured variables for greater consistency, use
48 @echo to print out notices during the make process, add so_locations
50 * configure.in, Makefile.in: configure checks for -rdynamic
51 * ipc_c_tcp.c: fix DEC compiler warning wrt unsigned char
52 * stats.c: add semicolon to placate DREC compiler
53 * user_ops.c: define _POSIX_C_SOURCE, include <limits.h>
54 * configure.in: pass -pthread to DEC compiler, don't check for
55 libpthread[s] on DEC Unix
57 1998-09-30 Nathan Bryant <bryant@cs.usm.maine.edu>
58 * Makefile.in: new variable PTHREAD_DEFS for portability
59 * aidepost.c, citadel.c, citmail.c, mailinglist.c, msgform.c,
60 netmailer.c, netpoll.c, netproc.c, rcit.c, readlog.c, setup.c,
61 stats.c, userlist.c, whobbs.c: return type of main() is int
62 * citadel.c, commands.c, messages.c: use time_t properly
63 * citserver.c: include <limits.h>
64 * config.guess, config.sub, install-sh: new files
65 * configure.in: don't use gcc on Digital Unix
67 Tue Sep 29 23:17:34 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
68 * room_ops.c: modified usergoto() to look at the new data structures
69 for counting new messages and such.
71 1998-09-29 Nathan Bryant <bryant@cs.usm.maine.edu>
72 * user_ops.c: fix compiler warning and potential memory leak,
74 * configure.in, Makefile.in: only build the server if we find pthreads
75 * Makefile.in: realclean removes config.{cache,log,status}
77 Tue Sep 29 13:20:14 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
78 * Removed code from some of the utilities which was still attempting
79 to access the old non-gdbm data store.
80 * housekeeping.c: rewrote check_ref_counts() to do a ForEachRoom()
81 traversal instead of a MAXROOMS loop.
82 * sysdep.c: set up a dummy CitContext record to be used during server
83 startup, during which time there is no real context.
85 Mon Sep 28 23:51:51 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
86 * Implemented the function ForEachRoom() to handle all-rooms traversal
87 (this will work with both the old and new paradigms, because both
88 use a GDBM database with one room per record). Migrated all room
89 list commands to use it.
91 Mon Sep 28 22:05:35 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
92 * Implemented the function CtdlRoomAccess() to handle *all* of the
93 user-access-to-rooms functionality. Migrated all room list commands
94 to use it. Still need to migrate gotos.
96 1998-09-28 Nathan Bryant <bryant@cs.usm.maine.edu>
97 * configure.in, acconfig.h: new files; partially functional GNU
98 autoconf configure script. Run autoheader; autoconf; ./configure
99 --prefix=`pwd` to test.
100 * Makefile.tmpl: new file; this is what Makefile.in used to be. Used by
102 * Makefile.in: modified to work with autoconf-style configure script
103 * Configure: modified to use Makefile.tmpl and generate autoconf-style
104 macros. Removed procfs detection. Pass -O2 to gcc, -O to other
105 compilers. Removed mknod/mkfifo detection; code should use mkfifo(3).
106 * citmail.c, msgform.c, netproc.c, routines.c, support.c, userlist.c,
107 whobbs.c: use HAVE_STRERROR macro rather than NO_STRERROR
108 * commands.c: use HAVE_TERMIOS_H macro rather than POSIX_TERMIO
109 * netproc.c: remove procfs stuff. simply attempt to kill the target
110 process with signal zero instead; this checks whether the process
112 * setup.c, useradmin.c: use HAVE_CURSES_H macro
114 Sun Sep 27 23:41:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
115 * BOTH the old and new generation systems are being written to at
116 this point. Code that reads stuff is still using the old system.
118 Sun Sep 27 16:10:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
119 * Changed all "generation" variables from char to long, in preparation
120 for removing MAXROOMS. Generations for new rooms are now timestamps.
121 * Defined "struct visit" to hold user/room relationships.
122 * Removed some #define's from citadel.h that are no longer used.
124 Wed Sep 23 13:41:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
125 * More changes to support attachments. They mostly work, but only
126 in fixed-format messages.
128 Mon Sep 21 21:19:17 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
129 * msgbase.c: began laying the groundwork to support attachments.
130 Purchased Rogaine(tm) in preparation for expected hair loss.
132 1998-09-21 Nathan Bryant <bryant@cs.usm.maine.edu>
133 * msgbase.c: include dynloader.h
134 * citadelapi.h: removed
135 * dynloader.h: prototype CtdlRegisterUserHook()
137 Sun Sep 20 18:56:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
138 * Added a UserFunctionHook category to implement hooks which perform
139 operations on various users or usernames
141 Fri Sep 18 21:14:41 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
142 * citserver.c: removed cmd_extn() and related code
144 1998-09-18 Nathan Bryant <bryant@cs.usm.maine.edu>
145 * user_ops.c: include dynloader.h
146 * roomstats.{c,mk}: removed
147 * Configure, Makefile.in: autodependency-related fixes
149 Thu Sep 17 22:55:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
150 * Various changes to allow "new messages" to work correctly with Mail
152 Thu Sep 17 22:21:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
153 * server.h, dynloader.c, citserver.c, user_ops.c: reduced the number
154 of hook types by inventing an EventType field to the Session hook.
155 * proxy.c: added pre-fetching
157 1998-09-17 Nathan Bryant <bryant@cs.usm.maine.edu>
158 * Makefile.in: add SERV_MODULES and PROXY_TARGETS to `cleaner'
159 * dynloader.[ch], serv_{chat,test}.[ch], sysdep.c: cleaned
160 up the dynamic loader interface as follows:
161 - all the symbol table stuff is gone.
162 - modules are loaded once at server startup and never unloaded.
163 - Added a new function CtdlRegisterProtoHook() to handle the stuff
164 that was being done with the symbol tables.
165 - Dynamic_Module_Init() now returns a pointer to a static struct
166 DLModule_Info; this structure itself has been modified to use char*
167 fields instead of fixed char arrays.
168 * roomstats.c: include <stdarg.h> not <stdargs.h> (is this file still
170 * Configure, Makefile.in: added autodependency support
172 Wed Sep 16 22:25:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
173 * Implemented separate structs, lists, and functions for each type
174 of server-side hook available.
176 1998-09-16 Nathan Bryant <bryant@cs.usm.maine.edu>
177 * ipc_c_tcp.c: Fixed up some #include/prototyping stuff, call memcpy()
180 * sysdep.c, user_ops.c: removed reference to hooks.h
182 Wed Sep 16 11:42:42 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
183 * ipc_c_tcp.c: Reversed any changes that have been made to this file,
184 because something was causing abominally slow response time.
185 * proxy.c: added. This will eventually become a caching, pre-fetching
186 multiuser proxy server for the Citadel protocol.
188 1998-09-15 Nathan Bryant <bryant@cs.usm.maine.edu>
189 * Makefile.in: remove support.o from serv_chat.so, add -fPIC to compile
190 flags for serv_chat.o
191 * dynloader.c: include "sysdep_decls.h", use RTLD_NOW not RTLD_LAZY
192 * dynloader.h: prototype CtdlRegisterHook()
193 * .cvsignore: added data
195 Mon Sep 14 20:49:08 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
196 * Tried my hand at adding the ability for server extensions to
197 register various types of "hooks" in addition to just adding
198 server commands. This is probably not final.
200 Tue Sep 8 12:11:56 EDT 1998 Brian Costello <btx@calyx.net>
201 * Added support for dynamic server modules. Reworked serv_chat.c
204 Tue Sep 1 23:09:50 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
205 * userpurge.c: rewrote using functions from the server core, rather
206 than the now-defunct external API. This'll be ready once the module
207 loading code is done. (I just had to commit _something_ tonight.)
209 Mon Aug 31 22:47:58 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
210 * Yanked the citadelapi.c module. This wasn't working out well.
211 * techdocs/citadelapi.txt - began documenting the new API to be used
212 by modules which will be dynamic linked into the server - most of
213 this API is existing server functions.
214 * Added a ForEachUser() function with callback mechanism, and reworked
215 cmd_list() to use it.
217 Sun Aug 30 21:52:43 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
218 * Moved all of the gdbm databases to a separate "data" directory.
220 1998-08-26 Nathan Bryant <bryant@cs.usm.maine.edu>
221 * Makefile.in: realclean removes Makefile, fixed `touch citadel.h'
224 1998-08-25 Nathan Bryant <bryant@cs.usm.maine.edu>
225 * room_ops.c: include time.h
226 * userlist.c, whobbs.c, serv_chat.c, user_ops.c, sysdep.c, stats.c,
227 citadel_decls.h, commands.c, messages.h, routines.h, routines2.h:
228 remove duplicated declarations
230 Mon Aug 24 23:45:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
231 * setup.c: Removed yesno_s()
232 * citadel.h, room_ops.c: added QRmtime field to struct quickroom,
233 modified whenever a room is modified or posted in.
234 * citadelapi.c: Added CtdlForEachRoom() function
236 Mon Aug 24 20:04:04 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
237 * Makefile.in: new target `cleaner' does the same as `realclean'
238 without removing sysdep.h
239 * proto.h: is bad. eliminate. I've moved the prototypes into several
240 header files, one per .c file
242 Mon Aug 24 00:45:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
243 * Added a CtdlGotoRoom() function to the CitadelAPI.
245 Sun Aug 23 21:47:00 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
246 * sysoputil is finally dead! Removed it from the build.
247 * Added userpurge.c server extension (initial implementation)
249 Tue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
250 * Makefile.in: `clean' target no longer rm's sysdep.h; new target
251 `realclean' removes everything clean does, plus sysdep.h, plus
253 * Configure: add -Wstrict-prototypes to CFLAGS for gcc systems
254 * *.[ch]: protoized. Added several new header files containing
255 prototypes and other external declarations; many duplicated
256 declarations still should be moved to header files. proto.h must die
259 Mon Aug 17 23:52:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
260 * Implemented a bunch of user account related functions in the
263 Mon Aug 17 20:01:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
264 * Fixed the crash problem. It wasn't AGUP/ASUP, but rather a buffer
265 overrun in getuser() (thanks, Nathan). Implemented overrun checks
266 in getuser(), getroom(), and getfloor() to prevent future problems.
268 Mon Aug 17 00:06:52 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
269 * Updated citmail.c with the latest stuff from the production system.
270 * Implemented AGUP and ASUP commands, but AGUP crashes the server
271 after its first successful use (user-not-found's don't affect it).
273 Thu Aug 6 19:25:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
274 * Got the CitadelAPI library to the point where the server can start
275 up an extension, and the extension will connect to the server, do
276 some initialization, call a user-supplied CtdlMain(), and exit. Also
277 hacked together a _temporary_ form of the new EXTN server command.
279 Wed Aug 5 23:02:22 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
280 * Second attempt at getting the server API started. Now it runs
281 outside of the server and builds a connection.
283 Tue Aug 4 18:33:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
284 * Modified the appearance of Internet addresses when they arrive on
286 * Removed the <E> field from the message format writeup in hack.txt.
287 * Fixed-up citmail.c so that it doesn't try to do database lookups.
289 Mon Aug 3 23:01:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
290 * Started developing the server-side API. This is in its very
291 initial stages. See serverapi.c and techdoc/api.txt
293 1998-08-02 Nathan Bryant <bryant@cs.usm.maine.edu>
294 * Makefile.in: added config_decls.h to dependencies
296 Sun Aug 2 21:09:09 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
297 * config_defs.h: renamed to config_decls.h
298 * config.c, sysoputil.c: updated to reflect the above
300 Sun Aug 2 18:52:05 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
301 * config_defs.h: new file, contains external declarations from config.c
302 * config.c: moved defs to config_defs.h, use PATH_MAX from <limits.h>
303 for bbs_home_directory
304 * mailinglist.c, support.c: include <string.h>
305 * sysoputil.c: include <string.h>, <limits.h>, "config_defs.h", remove
306 duplicated defs, replace gets() call with fgets()
307 * user_ops.c: define _XOPEN_SOURCE_EXTENDED
309 Sat Aug 1 18:32:52 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
310 * ipc_c_tcp.c: fixed order of memcpy parameters after gethostbyname
312 Sun Jul 19 17:26:12 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
313 * ChangeLog: reordered; the GNU standard is to add new entries to the
315 * .cvsignore: added userlist
317 Sun Jul 12 20:58:59 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
318 * Finished migrating everything to the new data store.
319 * Replaced the binary "calllog" with the ASCII "citadel.log"
320 * Began converting broken utilities that depend on the old data store
322 Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
323 * Makefile.in: removed msgstats
325 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>