]> code.citadel.org Git - citadel.git/blob - citadel/ChangeLog
Minor cosmetic cleanup. No code changes.
[citadel.git] / citadel / ChangeLog
1 $Log$
2 Revision 1.351  1999/08/21 18:37:29  ajc
3 Minor cosmetic cleanup.  No code changes.
4
5 Revision 1.350  1999/08/21 05:15:34  ajc
6 * mailinglist.c, netmailer.c: fixed to allow list submissions from all posters
7   on a Citadel network rather than only on the local system.
8
9 Revision 1.349  1999/08/08 00:25:45  ajc
10 * Made one more byte available in locate_host() and in all the structs which
11   its output gets written to (client can display 24 positions but we were only
12   saving 23).
13
14 Revision 1.348  1999/08/07 16:34:38  nbryant
15 * serv_icq.c: warning fixes
16
17 Revision 1.347  1999/08/06 02:57:26  ajc
18 * locate_host.c: use strdoop() and phree() instead of strdup() and free()
19 * serv_icq.c: run learned IP's through Citadel's locate_host() & put in Wholist
20
21 Revision 1.346  1999/08/05 17:58:59  ajc
22 * RWHO command now returns express message code in postion 3
23
24 Revision 1.345  1999/08/04 02:21:45  ajc
25 * Fixed some bugs in the ICQ metaclient, and documented the new protocol cmds
26
27 Revision 1.344  1999/08/03 11:34:35  ajc
28 * Added client_icq.c and client_icq.h
29
30 Revision 1.343  1999/08/03 03:14:51  ajc
31 * Wrote the client side of the ICQ gateway.  Now on to other projects.  :)
32
33 Revision 1.342  1999/08/03 01:52:06  ajc
34 * Redesigned the client protocol commands for dealing with ICQ
35 * Implemented page function priority ordering to prevent pages from being
36   simultaneously delivered over multiple IM systems
37 * Migrated serv_icq.* into the Makefile
38
39 Revision 1.341  1999/08/01 21:36:30  ajc
40 * EXTREME coolness.  The server side of the ICQ metaclient is now working.
41   It is set up using ICQL and ICQA commands, it automatically logs the user
42   onto ICQ along with Citadel, and displays all non-offline ICQ contacts
43   in the Wholist.
44
45 Revision 1.340  1999/07/31 07:18:01  ajc
46 * Restructured the express message infrastructure, adding a class of function
47   hooks for the addition of multiple paging modules with message routing
48
49 Revision 1.339  1999/07/30 22:20:19  ajc
50 * Applied bugfix patches contributed by Vaggelis Tsirkas:
51   * rooms.c: buffer overrun fix
52   * room_ops.c: cmd_rdir() now behaves better when directory doesn't exist
53
54 Revision 1.338  1999/07/30 03:32:24  ajc
55 * Added strdoop(), a leak-checked version of strdup()
56 * Small fixes to new API functions in msgbase.c
57 * ICQ metaclient stores/reads config using the message base API functions
58
59 Revision 1.337  1999/07/29 03:36:37  ajc
60 * msgbase.c: reorganized.  output_message() now uses CtdlFetchMessage(),
61   cmd_msg3() now fetches directly from disk and spews to the client.
62
63 Revision 1.336  1999/07/28 04:02:37  ajc
64 * Server modules are now labelled with their RCS ID instead of a complex and
65   manually-updated data structure.
66
67 Revision 1.335  1999/07/28 03:50:24  ajc
68 * serv_expire.c: expire-by-age now calls CtdlFetchMessage() instead of
69   calling output_message() in MT_DATE mode.
70 * msgbase.c: removed MT_DATE mode ('twas a sleazy hack)
71
72 Revision 1.334  1999/07/27 22:47:26  ajc
73 * Implemented new data type "CtdlMessage" which will eventually be used as
74   widely as possible to represent a message in memory.
75 * Implemented CtdlFetchMessage() which is intended to become the back-end to
76   output_message() as well as a bunch of other things.
77
78 Revision 1.333  1999/07/27 20:00:24  ajc
79 Removed all references to CC->msglist and CC->num_msgs, and all utility
80 functions which relied upon them.  Citadel Is Now Better.
81
82 Revision 1.332  1999/07/27 19:32:22  ajc
83 Removed serv_upgrade.c and all references to it in Makefile.in
84 Reworked new-mail-count to not use MessageFromList() etc.
85
86 Revision 1.331  1999/07/25 02:59:37  ajc
87 Fixed reference count problem in cmd_move()
88
89 Revision 1.330  1999/07/24 22:50:38  ajc
90 Continued replacing references to [get|put]_msglist() with better code.
91 For some reason, cmd_msgs() still doesn't always work right.
92
93 Revision 1.329  1999/07/24 22:16:41  ajc
94 Experimenting with automatic updating of ChangeLog by CVS.  Simply twiddle
95 ChangeLog a bit (i.e. by adding or removing a newline from the end of the
96 file) before issusing "cvs commit", and the comments recorded by CVS will
97 automatically appear at the beginning of ChangeLog.
98
99 Revision 1.328  1999/07/24 22:14:21  ajc
100 cmd_move() now uses CtdlDeleteMessages().
101 WARNING: build is temporarily broken.  Currently removing all references
102 to the "msglist" kept in CitContext.  It's ugly and must die.
103
104 Thu Jul 22 22:26:50 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
105         * Moved message deletion into new API function CtdlDeleteMessages()
106         * Added CtdlWriteObject() to store generic data in the msgbase
107         * Fixed really dumb error that prevented network msgs from posting
108
109 Tue Jul 20 22:14:54 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
110         * Moved the actual work done in cmd_msgs() into a new API function
111           called CtdlForEachMessage() which is supplied a callback function.
112
113 Mon Jul 19 23:24:18 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
114         * Keep the (unqualified) content-type in the SuppMsgInfo record.  We'll
115           be using this shortly to search rooms for specific object types.
116
117 Sun Jul 18 14:53:16 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us> 
118         * Changes to dynloader et al to handle ICQ module being written
119         * serv_icq.c, serv_icq.mk: added (separate makefile is temporary)
120
121 1999-07-17 Nathan Bryant <bryant@cs.usm.maine.edu>
122         * chkpwd.c: DELETED CVS REVISION 1.3 (backed out Art's last change)
123           use 'cvs update -r 1.2 chkpwd.c; cvs update -A chkpwd.c' NOW to
124           avoid problems with working directories.
125         * Makefile.in: don't install chkpwd setuid if make install isn't
126           being run as root.
127         * citadel.spec: chmod u+s chkpwd during %install stage
128
129 Fri Jul 16 18:39:04 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
130         * PEXP and GEXP no longer trip the idle time display
131         * Fixed bug which duplicated incoming private mail to Trashcan
132         * Improved auto-reconnect by NOT using SIGPIPE and longjmp(); also
133           implemented a 15 second delay to wait for a crashed server to restart
134         * Relaxed the security check in chkpwd.c a bit; it was just flat-out
135           preventing logins on my system otherwise
136
137 Thu Jul 15 22:57:32 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
138         * eliminate redundant "name" parameter in [l]putuser(), now uses
139           usbuf->fullname to guarantee the correct name for the index
140
141 1999-07-12 Nathan Bryant <bryant@cs.usm.maine.edu>
142         * Makefile.in, configure.in: link netproc with gdbm
143         * netproc.c: only include gdbm.h if HAVE_GDBM_H
144         * user_ops.c: warning fix
145
146 Mon Jul 12 19:51:30 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
147         * Mail is now saved in both sender and recipient mailboxes.  This is
148           structured in a way that will allow a separate "outbox" room and/or
149           multiple recipients in the future.
150
151 Sun Jul 11 18:46:48 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
152         * netproc.c: msgfind() no longer uses the timestamp as a message-ID
153           when no other message-ID is available (it screws up the loopzapper)
154         * room_ops.c: eliminate room name parameter in putroom() and its ilk;
155           get data from quickroom.QRname instead; prevents incorrect indexes
156         * Tentative implementation of "personal rooms" (user-private namespace)
157         * Added supplementary message info records for info that may change
158           at some time later than when the message is saved (i.e. ref counts)
159         * Implemented msg reference count increment/decrement; delete messages
160           whose reference count reaches zero
161
162 Wed Jul  7 23:25:09 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
163         * control.c: create citadel.control if it doesn't exist (yikes!)
164         * serv_expire.c: purge mailbox rooms belonging to non-existent users
165         * user_ops.c: don't delete user's mailbox at user-delete time
166
167 Mon Jul  5 17:01:29 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
168         * utilsmenu: removed menu items for defunct utilities
169
170 Mon Jun 28 16:24:10 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
171         * Changed any remaining references to UUCP, to "Internet" instead.
172
173 Thu Jun 24 11:13:23 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
174         * added server command line option "-f" to defrag databases on startup
175         * control.c: better performance and reliability in [get|put]_control()
176         * netproc.c: Finished the loopzapper
177
178 Mon Jun 21 00:04:15 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
179         * netproc.c: started writing a vortex checker.  Not finished.
180
181 Wed Jun  9 23:34:25 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
182         * Replaced all code that generated temporary filenames with calls to
183           tmpnam().  Rewrote using tmpfile() where possible.
184
185 Thu Jun  3 11:35:18 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
186         * base64.c: mapped fi and fo to stdin and stdout using
187           actual code rather than assignment at declaration time
188           (several users of Red Hat Linux 6.0 reported problems)
189
190 Fri May 21 20:05:00 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
191         * Added function CtdlGetDynamicSymbol() for dynamic symbol allocation
192         * server.h: Changed discrete #define's to enum's where appropriate
193         * sysdep.c: Changed the startup message to give credit to the whole
194           development team :)  Also made the message more GNU-ish.
195
196 Thu May 20 20:01:30 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
197         * database.c: print log messages for file defragmentations
198         * citserver.c: implemented CtdlAllocUserData() and CtdlGetUserData()
199           for arbitrary per-session data storage (by modules etc.) without
200           having to add fields to struct CitContext
201         * msgbase.c: removed "desired_section" from struct CitContext and
202           implemented it using CtdlGetUserData() as a test.
203
204 Wed May 19 19:30:28 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
205         * commands.c, commands.h, routines.c: began color scheme changes
206
207 1999-05-15 Nathan Bryant <bryant@cs.usm.maine.edu>
208         * configure.in: Added untested support for BSDI 4.x.
209
210 1999-05-13 Nathan Bryant <bryant@cs.usm.maine.edu>
211         * acconfig.h, configure.in, routines.c: fix for certain SYSV variants
212           which lack utmp.ut_host
213         * citadel.h, file_ops.c, msgbase.c, netproc.c, serv_chat.c: fix
214           namespace collision with <sys/stream.h> on aforementioned SYSV
215           variant
216         * configure.in, getutline.c: check for paths.h
217         * configure.in, Makefile.in: check for -lsocket and -lnsl
218
219 1999-05-11 Nathan Bryant <bryant@cs.usm.maine.edu>
220         * chkpwd.c: fixed excessive paranoia; it used to refuse to run when
221           invoked by root and BBSUID != 0
222         * Makefile.in: ignore errors while installing /etc/pam.d/citadel
223
224 1999-04-27 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
225         * file_ops.c: fixed NDOP to not crash the server if it has trouble
226           with a download file
227         * netpoll.c: upped default packet size
228
229 Mon Apr 26 22:06:57 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
230         * Repaired IGnorant security hole blunder re. citmail
231
232 Sun Apr 25 12:44:08 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
233         * serv_chat.c: notify user of number of participants upon entering chat
234         * Built the 5.53 distribution
235
236 Wed Apr 21 22:23:13 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
237         * aidepost.c: add -r flag to allow posting to rooms other than Aide>
238         * serv_expire.c: now posts transcripts of all auto-purged rooms/users
239
240 Tue Apr 20 12:45:55 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
241         * messages.c: downloading more than MAX_MSGS messages now truncates
242           (off the beginning of the list) rather than crashing.
243
244 Mon Apr 19 12:11:48 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
245         * whobbs.c: auto-detect when being called from a webserver, and act
246           as a CGI (print HTTP headers and HTML output)
247
248 1999-04-18 Nathan Bryant <bryant@cs.usm.maine.edu>
249         * serv_chat.c: fixed some potential buffer overruns (thanks dme)
250
251 Wed Apr 14 21:32:28 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
252         * Makefile.in: chmod 4755 citmail to prevent citmail from aborting
253           when called from sendmail due to citadel.config security check
254
255 1999-04-13 Nathan Bryant <bryant@cs.usm.maine.edu>
256         * dynloader.c: OpenBSD places underscores in front of symbol names
257         * Makefile.in: fixed a few sillies
258         * aidepost.c, citmail.c, file_ops.c, logging.c, msgbase.c, netmailer.c,
259           netproc.c, rcit.c, routines.c, serv_upgrade.c: fixed time_t handling
260           (have to cast it to long for printf/scanf)
261
262 Mon Apr 12 22:13:26 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
263         * aidepost.c: rewrote to unlink temp file before writing to it so that
264           it will automatically go away if interrupted. Also ran indent -kr -i8
265
266 1999-04-12 Nathan Bryant <bryant@cs.usm.maine.edu>
267         * configure.in, Makefile.in: taught it how to generate OpenBSD shared
268           libraries
269         * config.c, sysdep.c: fix -h option not setting proper modules dir
270         * configure.in, citadel.spec: make --enable-chkpwd the default
271         * setup.c: don't chown chkpwd
272
273 1999-04-11 Nathan Bryant <bryant@cs.usm.maine.edu>
274         * configure.in: another OpenBSD fix, but we're still not quite there yet
275         * serv_chat.c: warning fix
276
277 Thu Apr  8 22:51:28 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
278         * config.c: now requires a setup run for *any* rev level difference
279         * Updated docs & confs for 5.53b1 release
280         * setup.c: sets the 0600 permission bits on citadel.config that
281           is checked for in config.c
282
283 1999-04-08 Nathan Bryant <bryant@cs.usm.maine.edu>
284         * citserver.c: improved is_public_client(), also if a public_client
285           only supplies a numeric address, attempt to resolve it
286         * locate_host.c: verify that the forward DNS matches the reverse
287         * locate_host.c, locate_host.h: more general interface
288         * configure.in, acconfig.h: fixes for Digital UNIX
289
290 Wed Apr  7 21:36:16 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
291         * Implemented "access level required to create rooms" (client & server)
292
293 1999-04-07 Nathan Bryant <bryant@cs.usm.maine.edu>
294         * configure.in: updated help messages, OpenBSD support
295         * setup.c: if /etc/inittab doesn't exist, don't ask to create an
296           entry in it
297         * server.h, sysdep.c: fix a potential deadlock/data corruption bug
298         * room_ops.c: fixed the 'gdbm error: Illegal data' message when
299           deleting a room which had never been posted to
300         * user_ops.c: include errno.h
301         * dynloader.c: fix for OpenBSD
302
303 1999-04-06 Nathan Bryant <bryant@cs.usm.maine.edu>
304         * Makefile.in, configure.in, getutline.c, sysdep.c:
305           fixes/bug workarounds for FreeBSD
306
307 1999-04-03 Nathan Bryant <bryant@cs.usm.maine.edu>
308         * Makefile.in, configure.in, chkpwd.c, acconfig.h: support for
309           `chkpwd', a setuid helper program for machines which use shadow
310           passwords (configure --enable-chkpwd)
311         * Makefile.in, configure.in, auth.c, citadel.pam, user_ops.c: support
312           for PAM or shadow passwords (configure --with-pam)
313         * Makefile.in: made some messages simpler
314         * citadel.spec: updated for 5.53; correct name of tarball; build with
315           --enable-chkpwd and --with-pam; add defattr tags so rpm's can be
316           built by non-root user
317         * commands.c: cosmetic cleanup
318         * config.c: (security/paranoia) check permissions on citadel.config
319         * configure.in: check for ncurses if we can't find curses
320         * dynloader.c: warning fix
321         * sysdep.c: don't complain if initgroups() fails
322         * citadel.c: fix systems with SYSV-style signal handling (e.g. libc5)
323         * Makefile.in: New! Improved! Cleaner! Shinier!
324
325 Sun Mar 21 14:21:47 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
326         * messages.c: cosmetic cleanups to message reading loop
327
328 Sat Mar 13 21:33:19 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
329         * commands.c: use bright colors by default in color mode
330         * citserver.c: initialize wholist fields with (not logged in) etc.
331
332 1999-03-08 Nathan Bryant <bryant@cs.usm.maine.edu>
333         * sysdep.c: call DLoader_Init() with an absolute path so that gdb can
334           find module symbols
335         * database.c: bail out if opening databases fails
336
337 Sat Mar  6 01:55:55 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
338         * serv_chat.c: use memfmout(), *not* cprintf() to transmit express
339           messages.  Calling cprintf() on strings >256 bytes crashes the server
340         * msgbase.c: minor logging fix in save_message()
341
342 1999-03-05 Nathan Bryant <bryant@cs.usm.maine.edu>
343         * sysdep.c: add undocumented -r flag to citserver to prevent it from
344           dropping root permissions.
345         * sysdep.c: also drop supplementary groups
346
347 1999-03-04 Nathan Bryant <bryant@cs.usm.maine.edu>
348         * config.c: error checking in put_config()
349         * setup.c: chgrp files to the login group associated with BBSUID
350         * sysdep.c: copyright 1987-1999; drop root perms; load modules and call
351           master_startup() after dropping perms
352
353 Wed Mar  3 00:00:55 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
354         * Prevent buffer overruns in lowercase_name in [get|put]user()
355         * client_chat.c: use citedit() for page composition
356
357 Sat Feb 27 07:47:36 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
358         * rooms.c: download_to_local_disk() prompts for a filename if a blank
359           filename was supplied to it (for attachments without names)
360         * mime_parser.c: strip leading whitespace in content_type & disposition
361
362 1999-02-24 Nathan Bryant <bryant@cs.usm.maine.edu>
363         * configure.in: improved check for pthreads
364         * configure.in, routines.c, acconfig.h: check for ut_type in struct utmp
365         * configure.in, Makefile.in: support for building server modules as
366           relocatable objects for BSDI (which still uses a.out *gag* *choke*)
367         * configure.in: compiler choice & flags for BSDI; check for libtermcap
368         * database.c: don't use a critical section in open_databases()
369         * housekeeping.c: use getfloor()/putfloor() instead of
370           lgetfloor()/lputfloor() in check_ref_counts()
371         * mime_parser.c: include <errno.h>
372         * msgbase.c: include <limits.h>
373         * sysdep.c: hacks for BSDI. use signals to fake thread cancellation;
374           don't call master_cleanup() directly from signal handler.
375         * routines.c: prototype getutline() if necessary
376         * getutline.c: stupid bugfix
377         * acconfig.h, configure.in, locate_host.c, server.h: work around
378           nonreentrant gethostbyaddr() on BSDI
379
380 Mon Feb 15 22:59:00 EST 1999 Vaggelis Tsirkas
381         * citadel.c: increased hostname buffer size to handle very big names
382
383 1999-02-15 Nathan Bryant <bryant@cs.usm.maine.edu>
384         * sysdep.c(main): initialize alen before call to accept()
385
386 1999-02-04 Nathan Bryant <bryant@cs.usm.maine.edu>
387         * configure.in: improved check for cygwin
388         * configure.in, routines.c: access utmp directly instead of calling
389           `who' if getutline() is available.
390         * configure.in, Makefile.in, getutline.c: replace getutline() on
391           systems which don't have it
392         * routines.c: now always access utmp directly unless we can't find
393           utmp.h
394
395 1999-02-02 Nathan Bryant <bryant@cs.usm.maine.edu>
396         * Fixes for Cygwin:
397           - ifdef out file download methods that require named pipes (client)
398           - include pthread.h and gdbm.h only if they are present (fixes
399             auto dependency generation)
400           - include snprintf.h where needed
401           - handle .exe suffixes for "make install"
402
403 Tue Feb  2 22:15:08 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
404         * Overhauled the express messaging system (again)
405
406 Mon Feb  1 19:48:04 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
407         * messages.c: implemented client download of MIME attachments
408
409 Sun Jan 31 18:29:18 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
410         * Added qpdecode.c to the distribution (decodes quoted-printable)
411         * Finished the MIME parser
412         * Gave MSG0 a reasonable behaviour for MIME messages
413         * Added the OPNA command for downloading attachments
414
415 Sat Jan 30 18:39:53 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
416         * Look for citadel.rc in current directory if not found elsewhere
417         * More work on the MIME parser
418         * Added base64.c to the distribution
419
420 1999-01-29 Nathan Bryant <bryant@cs.usm.maine.edu>
421         * fixes for IRIX (thanks to wr and family for use of the Indy):
422           - use memset()/memcpy() instead of bzero()/bcopy() in all cases
423           - configure updates
424           - handle `long' pid's
425           - a few other little bits
426
427 Mon Jan 25 21:23:07 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
428         * Fixed bug in save_message() which crashed the server on mail to sysop
429         * Rewrote pop_march() to be smarter about <G>oto heuristics
430
431 Sat Jan 23 14:32:19 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
432         * Changed internal storage of express messages from a linked list to
433           a single, resizable buffer.
434         * Added a "room order" key to the room record, to allow some control
435           over room listing order.
436         * Made the room list commands aware of the room order key.
437         * Overhauled <G>oto heuristics to pay attention to floor & room order
438
439 Wed Jan 20 19:21:51 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
440         * Added some more code to the unfinished MIME parser
441         * Changed module loading path to simply "modules" because after calling
442           get_config(), the cwd is guaranteed to be the correct BBS directory.
443
444 Tue Jan 19 21:28:29 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
445         * Fixed a bug in the user editing command (client side)
446         * Started a rewrite of the MIME parser
447
448 Thu Jan 14 21:21:15 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
449         * Brought over the mime_parser from WebCit and began preliminary work
450           on supporting MIME format messages.
451
452 Tue Jan 12 22:30:00 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
453         * Various changes to begin work on support for MIME messages
454                 - Defined format type 4 for MIME
455                 - msgbase.c: *temporary* hacks in output_message() for Type 4
456                 - citmail.c: added more robust header parsing, and support
457                              for Type 4.  Also eliminated the crappy built-in
458                              SMTP server.
459                 - Updated some of the technical documentation
460
461 Sun Jan 10 13:34:36 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
462         * Fixed access to page log room
463
464 Fri Jan  8 12:35:09 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
465         * control.c: include <limits.h> to fix PATH_MAX undefined
466         * serv_chat.c: made the following changes to cmd_sexp() --
467                 * Send zero-length message to check only, don't send
468                 * Send "-" message on the command line to invoke
469                   the SEND_LISTING transfer mode for a multi-line message
470         * Added facilities to log all pages to a room (site configurable)
471
472 Tue Jan  5 23:24:52 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
473         * Replaced all occurances of malloc(), realloc(), and free() in the
474           server and server-modules with mallok(), reallok(), and phree().
475           Wrote macros and a set of leak-tracking functions.
476
477 Sun Jan  3 20:38:45 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
478         * Documentation changes
479
480 Fri Jan  1 01:01:45 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
481         * Fixed security problem relating to private rooms
482
483 Wed Dec 30 20:10:52 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
484         * sysdep.c: put a bigger string buffer into lprintf() to avoid overruns
485
486 Sat Dec 26 16:56:46 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
487         * internetmail.config: commented this file more clearly
488
489 Wed Dec 23 20:42:49 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
490         * citadel.c: added some experimental code to automatically reconnect
491           to the server if the connection is broken.  For some reason, it only
492           works once.
493
494 Wed Dec 23 18:47:12 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
495         * sysdep.c: ignore SIGPIPE.  This keeps broken connections from
496           crashing the whole server.
497         * Tagged everything for the official 5.50 release.
498
499 Mon Dec 21 07:54:20 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
500         * housekeeping.c: call kill_session() with session_to_kill,
501           not ccptr->cs_pid (was crashing the server)
502
503 Sat Dec 19 13:57:48 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
504         * Added "-i" flag to netproc to make it skip the export phase.
505           Updated other programs to call netproc in this way when appropriate.
506         * Updated network.txt to reflect the usage for netproc (which has
507           been wrong for several releases)
508
509 Thu Dec 17 00:17:04 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
510         * Started removing the word "beta" from the docs and code.
511           Preparing for an actual release.
512         * msgbase.c: generate an 'I' field when requested (i.e. on locally
513           originating messages.  this was breaking parts of the network)
514
515 1998-12-15 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
516         * msgbase.c: remove extra call to alias() which was causing
517           Citadel-to-Citadel mail to fall into the bit bucket.
518         * msgbase.c: fixed tempfile naming problem that could cause a new
519           outgoing netmail message to overwrite another if netproc had not been
520           run in between
521
522 1998-12-14 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
523         * More session table stability nonsense
524
525 Sun Dec 13 17:40:08 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
526         * sysdep.c, citserver.c: (hopefully) fixed a session table concurrency
527           bug which was causing the server to occasionally crash.
528         * removed serv_test.so from the default build
529
530 Fri Dec 11 18:50:00 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
531         * setup.c: default value for maxsessions is now 0 (no limit)
532         * room_ops.c: don't allow users to create a room called "Mail"
533         * serv_expire.c: fixed "number of messages purged" display
534         * commands.c: when using color, default to low-intensity colors
535
536 Tue Dec  8 07:58:16 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
537         * Beta 2
538
539 Sat Dec  5 01:24:03 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
540         * Added a new type of module hook for adding logging functions
541         * Removed whitespace to left and right of '@' in netmail recipients
542         * sysdep.c: read citadel.config _before_ initializing loadable modules
543         * stats.c: fixed segfault resulting from extracting log lines
544         * Ripped most of the "attachments" stuff out of both the client and
545           server.  (Thought of a better way to handle it ... LATER.)
546
547 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
548         * setup.c: create citadel.config with mode 0600
549         * Makefile.in: don't chmod sendcommand
550         * serv_upgrade.c: don't create citadel.config if it doesn't already
551           exist (paranoia)
552         * setup.c: saner defaults for nodename and fqdn
553
554 Wed Dec  2 20:37:05 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
555         * msgbase.c: modified AddMessageToRoom() and all functions that call it
556           to use a more reliable/accurate method to set quickroom.QRhighest
557         * weekly.in: don't sort/purge filedir where filedir doesn't exist
558
559 1998-12-02 Nathan Bryant <bryant@cs.usm.maine.edu>
560         * weekly is now generated by configure
561
562 Mon Nov 30 19:48:52 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
563         * room_ops.c: added sort_msglist() to move and save operations
564         * sendcommand.c: added (also updated utils.txt, weekly, Makefile.in)
565         * BETA 1
566
567 Sun Nov 29 23:57:39 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
568         * Fixed cmd_regi() to not display a second result code after xfer
569         * Makefile.in: Removed "chmod 4755 citmail netmailer"
570
571 1998-11-23 Nathan Bryant <bryant@cs.usm.maine.edu>
572         * citadel.spec: added
573
574 1998-11-22 Nathan Bryant <bryant@cs.usm.maine.edu>
575         * Makefile.in: split install target into install-exec, install-data,
576           and install-doc subtargets
577
578 Sat Nov 21 16:53:30 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
579         * Added a fourth color mode in the client: "user" which turns color
580           on or off according to a per-user flag stored on the server.  Added
581           server-side support for this too, of course.
582         * import.c: removed
583         * serv_expire.c: finished the code to purge stale visits
584         * sysdep.c: strip trailing nonprintables in client_gets()
585         * routines2.c: fixed <.AS> command; all configs now work properly
586         * Moved num_parms() and all the extract() type functions into tools.c
587           and removed them from all other files.  Linked in tools.[o|ro] there.
588         * netproc.c: handled incoming file transfers to correct room directory
589         * room_ops.c: fixed incorrect naming of files in info and images dirs
590
591 Fri Nov 20 20:29:07 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
592         * setup.c: removed all prompts that can be configured from within the
593           client in order to simplify the setup procedure
594
595 Thu Nov 19 23:28:33 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
596         * Fixed serv_upgrade.c and export5.c (found elsewhere) to use a new
597           export format which treats visits as a separate section
598         * serv_expire.c: began writing functions to purge rooms and visits
599           (neither work yet), and added a way to call defrag_databases()
600
601 Wed Nov 18 23:51:17 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
602         * Reimplemented 'visit' structs stored globally instead of as
603           lists-per-user
604
605 Tue Nov 17 22:37:48 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
606         * Started implementing global room numbers.
607
608 Sun Nov 15 20:32:34 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
609         * room_ops.c: mailbox rooms always appear on the main floor
610         * made QR_MAILBOX rooms non-editable
611         * cmd_setr() delete old room record when room name changes
612           (This causes a big mess that exposes a flaw in the whole design.)
613         * room_ops.c: users can delete messages from their mailboxes
614
615 Thu Nov 12 23:59:13 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
616         * Rewrote cmd_rchg() and also increased the size of the "fakename"
617           buffer.  Overruns are probably what was causing the crashes.
618         * Changed the way cmd_ent3() handles mail messages; the previous code
619           rerouted all private mail to the trash.
620
621 Wed Nov 11 17:57:39 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
622         * citserver.c: slight changes to cmd_rchg() and cmd_hchg() [crashes]
623         * citserver.c, msgbase.c, user_ops.c: hide the owner-prefix of mail
624           rooms in a couple more places: set_wtmpsupp() and make_message()
625         * sysdep.c: added an fflush() to lprintf() for "tail -f"-able logs
626         * serv_expire.c: purge ops are now a command instead of a cleanup
627           function.  This is probably temporary as well.
628         * citadel.c: fixed the way <.WL> parses the returned data from a
629           TIME command.
630
631 1998-11-11 Nathan Bryant <bryant@cs.usm.maine.edu>
632         * serv_upgrade.c: fix uninitialized variable
633
634 Wed Nov 11 00:47:32 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
635         * msgbase.c: fixed a bug that was misrouting incoming network msgs
636         * server.h, database.c: wrapped all GDBM calls in critical sections
637           to avoid making those calls re-entrantly (gdbm fatal: lseek error)
638
639 1998-11-10 Nathan Bryant <bryant@cs.usm.maine.edu>
640         * Makefile.in: link in snprintf.o where needed
641
642 1998-11-09 Nathan Bryant <bryant@cs.usm.maine.edu>
643         * client_chat.c: eliminate calls to sprintf()
644         * commands.h, routines.c, routines2.c: warning fix
645         * commands.c, control.c, cux2ascii.c, file_ops.c, import.c,
646           ipc_c_tcp.c: eliminate sprintf() calls
647
648 Mon Nov  9 19:15:31 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
649         * serv_upgrade.c: added all missing fields to export/import
650         * serv_expire.c: support per-user purge time when purging users
651         * user_ops.c: added per-user purge time to AGUP and ASUP commands
652         * routines.c: added more stuff to <.A>ide <E>dit user
653
654 Sun Nov  8 22:56:53 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
655         * serv_expire.c: created; moved message expiry from serv_test.c,
656           moved user purge from userpurge.c
657         * userpurge.c: deleted
658         * routines2.c: finished <.AS> command
659         * room_ops.c: fixed Aide room access (for some reason, the Aide
660           room had the QR_MAILBOX flag set)
661
662 1998-11-08 Nathan Bryant <bryant@cs.usm.maine.edu>
663         * useradmin.c: really removed (cvs remove)
664         * aidepost.c, citadel.c: convert all sprintf() calls to snprintf()
665         * sysdep.c: fix overrun in lprintf() described by dme/Dead Monkey
666         * citmail.c, citserver.c: convert all sprintf() call to snprintf()
667
668 Sun Nov  8 13:19:36 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
669         * useradmin.c: removed
670         * utils.doc: removed references to useradmin and sysoputil
671
672 Fri Nov  6 20:22:20 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
673         * citadel.h (and related files): removed defunct parameters,
674           c_defent and c_msgbase (erase your test bbs)
675         * Implemented CONF server command for site-global configs
676         * Shuffled yesno() and yesno_d() from routines.c to commands.c
677         * commands.c: implemented boolprompt()
678         * routines2.c: started adding CONF questions to <.AS> command
679         * room_ops.c: began a fix for the mysterious disappearing Aide room
680
681 1998-11-05 Nathan Bryant <bryant@cs.usm.maine.edu>
682         * snprintf.c: warning fix propagated over from gcit
683
684 1998-11-04 Nathan Bryant <bryant@cs.usm.maine.edu>
685         * added RCS Id keyword strings to sources
686         * citmail.c: reverted to version 1.10
687
688 Wed Nov  4 10:53:13 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
689         * messages.c: temporarily set screenwidth to a fixed value of 80
690           during <P>rint operations.
691
692 Mon Nov  2 12:59:03 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
693         * setup.c: looks for 'citadel', 'bbs', or 'guest' in /etc/passwd to
694           try to get a default for bbsuid if it's currently set to 0
695         * citmail.c: changed usersupp.eternal to usersupp.usernum (why didn't
696           it complain about this before?)
697         * serv_upgrade.c: began writing an "export" command to do sidegrades
698
699 Sun Nov  1 18:47:42 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
700         * serv_upgrade.c: cosmetic changes
701         * Implemented message expiry by date (this really needs to be moved
702           out of serv_test.c, but where does it belong?)
703
704 1998-11-01 Nathan Bryant <bryant@cs.usm.maine.edu>
705         * serv_upgrade.c: warning fixes
706         * acconfig.h: remove ANSI_COLOR
707         * Configure, Makefile.tmpl: removed
708
709 Sat Oct 31 20:48:44 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
710         * More stoopid ANSI colour additions here and there.
711         * ANSI colour selection is now in citadel.rc instead of an option in
712           the configure script.  "on" "off" and "auto" are available.
713         * added "build.txt" to the techdoc directory, with LS's build notes
714
715 1998-10-31 Nathan Bryant <bryant@cs.usm.maine.edu>
716         * citadel.c, commands.c, commands.h: set background color to black
717           before clearing screen, so that we can actually see text on
718           black-on-white xterms.
719
720 1998-10-29 Nathan Bryant <bryant@cs.usm.maine.edu>
721         * rooms.c: fix color of Mail>
722         * citadel.c: send ANSI detect sequence after attach_to_server() so the
723           terminal doesn't send the answerback sequence to the shell if we
724           can't connect.
725
726 Wed Oct 28 20:20:14 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us
727         * citadel.c: Added a splash of colour to the Wholist
728
729 1998-10-28 Nathan Bryant <bryant@cs.usm.maine.edu>
730         * configure.in: added comments
731         * mkinstalldirs: new file to be used for `make install'
732         * aclocal.m4, missing: new files, also swiped from automake
733         * citadel.c: don't mung the terminal if we can't find citadel.rc
734         * Makefile.in: added `install' target, `clean' removes
735           *.mo, rebuild configure when configure.in changes.
736         * configure.in: check for install and autoconf
737         * configure.in, Makefile.in: only pass -fPIC to gcc
738         * policy.c: warning fix for OSF/1 (use memset() instead of bzero())
739
740 Tue Oct 27 22:25:42 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
741         * Unified the "unpacked database" format for both upgrades and
742           sidegrades (also see export5.c elsewhere)
743         * citserver.c: clear out cmdbuf before reading a command; some server
744           commands were accidentally extracting parameters from previous cmds
745         * rooms.c: removed the warning about the ineffectiveness of kicking
746           users out of public rooms, because the new server can do lockouts
747
748 1998-10-27 Nathan Bryant <bryant@cs.usm.maine.edu>
749         * sysdep.c (client_gets), ipc_c_tcp.c (serv_gets): improved handling
750           of long lines. 
751         * Makefile.in: partial support for VPATH builds, autodependency fix
752
753 Tue Oct 27 00:08:16 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
754         * minor documentation changes
755
756 Sun Oct 25 14:57:40 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
757         * messages.c: fixed an oversight that was allowing attachments even
758           when disabled in citadel.rc
759
760 1998-10-25 Nathan Bryant <bryant@cs.usm.maine.edu>
761         * routines2.c: warning fix
762
763 Sat Oct 24 22:07:56 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
764         * Client: added message expiration policy questions to room edit
765         * Client: added <.A>ide <S>ystem configuration command
766
767 1998-10-24 Nathan Bryant <bryant@cs.usm.maine.edu>
768         * Makefile.in: Auto dependency generation (may require GNU make, but
769           does at least function without this feature on OSF/1 make);
770           Makefile is regenerated when Makefile.in changes (ditto);
771           `realclean' is now known as `distclean';
772           portability fixes for older Unix make utilities
773         * citadel.c, citadel.h, commands.c: make client suspendable
774
775 Fri Oct 23 19:34:38 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
776         * setup.c: default node name is now obtained from uname()
777         * config.c: added put_config()
778         * policy.c: added, moved GetExpirePolicy() from room_ops.c
779         * policy.c: implemented cmd_gpex() and cmd_spex()
780
781 Wed Oct 21 22:24:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
782         * Mail rooms now hide their owner-prefix from the client.
783         * proxy.c: added configurability and primitive message expiry
784
785 1998-10-20 Nathan Bryant <bryant@cs.usm.maine.edu>
786         * Makefile.tmpl: fix to build client with old Configure script
787         * configure.in: autologin defaults to enabled if crypt() is available
788         * room_ops.c: fix improper null-termination bug I introduced
789
790 Mon Oct 19 20:52:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
791         * Client ability to force display of prompts in Mail rooms, even when
792           the user has prompting turned off (citadel.rc option)
793
794 1998-10-16 Nathan Bryant <bryant@cs.usm.maine.edu>
795         * sysdep.c (cprintf): generate a newline on truncated buffer
796         * room_ops.c: exploitable overrun fixes
797
798 Thu Oct 15 19:27:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
799         * msgbase.c: reimplemented cmd_move()
800           room_ops.c: wrote AddMessageToRoom() which is used for both entering
801           and moving messages.
802         * setup.c: system-default message expire policy of "number of
803           messages, 150" is now a default configuration instead of a temp hack
804         * proxy.c: cache dir create now dies on any error except EEXIST
805
806 Wed Oct 14 22:41:16 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
807         * Misc code cleanup
808
809 1998-10-13 Nathan Bryant <bryant@cs.usm.maine.edu>
810         * configure.in: don't check for -lcrypt unless autologin is enabled
811         * file_ops.c: fix another overrun
812
813 Mon Oct 12 15:27:21 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
814         * Killed the "rooms" subdirectory (it isn't used anymore)
815         * dynloader.c: Made dynamically added server commands case-insensitive
816         * import.c is now serv_upgrade.c, a module
817         * Removed most of the "level 9" trace messages no longer needed
818
819 1998-10-12 Nathan Bryant <bryant@cs.usm.maine.edu>
820         * Makefile.in: simplified to use pattern rules; files compiled with
821           -D_REENTRANT go to *.ro to allow the same files to be used with both
822           client and server
823         * tools.c, tools.h: new files; misc routines used by both client and
824           server go here. contains safestrncpy() at the moment.
825         * rooms.c: fix several exploitable buffer overruns
826         * sysdep.c: fix infinite loop when long lines are received from the
827           client; fix exploitable buffer overrun in cprintf()
828         * ipc_c_tcp.c: fix infinite loop on long line from server
829         * serv_upgrade.sh: remove uncnsrd-dependent absolute path
830         * .cvsignore: add *.ro
831
832 Sun Oct 11 23:17:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
833         * Built some more of the message expiry infrastructure
834
835 1998-10-11 Nathan Bryant <bryant@cs.usm.maine.edu>
836         * citserver.c: fix two more overruns, one of which was preventing
837           the "From Host" from showing up in the <W>ho listing.
838
839 Sun Oct 11 02:51:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
840         * Moved "struct visit" and its associated defs from citadel.h to
841           server.h where they belong
842         * Set up data structures for room policies (expiry, etc.)
843
844 1998-10-10 Nathan Bryant <bryant@cs.usm.maine.edu>
845         * citserver.c: fix overrun which caused segv's on servers with long
846           hostnames.
847
848 Fri Oct  9 18:34:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
849         * user_ops.c: added PurgeStaleRelationships() to do processing at
850           session logout time to remove visits for rooms which no longer exist
851         * user_ops.c: implemented NewMailCount()
852
853 1998-10-09 Nathan Bryant <bryant@cs.usm.maine.edu>
854         * serv_chat.c: fix buffer overrun that was resulting in segv's
855         * serv_chat.c: fix another overrun that could cause sessions to hang,
856           and cleaned up some other strncpy()-related stuff. DON'T FORGET TO
857           NULL-TERMINATE DESTINATION BUFFERS AFTER STRNCPY CALLS.
858
859 Fri Oct  9 13:22:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
860         * Implemented "lazy mode" traversal - pressing the space bar will do
861           <N>ext messsage, <G>oto next room, or read <N>ew as appropriate.
862         * room_ops.c: modify CtdlRoomAccess() to allow access to mailbox rooms
863           only to their owners.
864
865 Thu Oct  8 17:13:27 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
866         * messages.c, citadel.rc: added the ability to display message numbers
867           in the header when reading messages.  I think this is butt ugly, but
868           some of the DaveCode afficionados seem to like it...
869
870 Thu Oct  8 15:34:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
871         * room_ops.c: Added is_noneditable() function to replace all of the
872           duplicated code present in all functions which edit room parameters.
873
874 1998-10-08 Nathan Bryant <bryant@cs.usm.maine.edu>
875         * lots of warning fixes; builds with -std1 on dec unix
876         * aidepost.c, citadel.h, citmail.c, file_ops.c, msgbase.c, netmailer.c,
877           netproc.c, rcit.c, server.h, stats.c, userlist.c: use time_t where
878           needed
879         * control.c, room_ops.c, serv_chat.c, sysdep.c: use memset() instead of
880           bzero()
881         * dynloader.c, dynloader.h, messages.c, server.h, sysdep.c,
882           sysdep_decls.h: function pointer/prototyping fixes
883         * rooms.c: use mkfifo(3) instead of system("mkfifo")
884
885 1998-10-07 Nathan Bryant <bryant@cs.usm.maine.edu>
886         * snprintf.c, snprintf.h: new files
887         * Makefile.in, configure.in, dynloader.c, sysdep.c: support for the
888           above; citserver now builds and runs on Digital Unix 4.0d with the
889           GNU-style configure script. there is a bug with the hostname display
890           in the wholist.
891         * netproc.c: sillyness fix
892         * room_ops.h: prototype delete_room()
893         * client_chat.c, commands.c, serv_chat.c, sysdep.c:
894           use HAVE_SYS_SELECT_H macro
895
896 Mon Oct  5 17:01:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
897         * Began fixing the stuff I broke
898
899 Sun Oct  4 23:35:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
900         * Did the big migration to the new data structures.  Lots of stuff is
901           now broken.  Basic moving from room to room works, but Mail is
902           broken, and some of the administrative commands are unimplemented.
903
904 1998-10-02 Nathan Bryant <bryant@cs.usm.maine.edu>
905         * configure.in: autologin now defaults to disabled
906
907 Fri Oct  2 00:04:31 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
908         * Finally removed all three usersupp.foo[MAXROOMS] elements, and
909           migrated all the code that used them to use "struct visit" instead.
910
911 Thu Oct  1 23:02:20 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
912         * Rewrote [l][get|put]room() functions to use room names rather than
913           room index numbers.  Temporarily prepended a "n" to these four
914           function names until they are put to use.
915
916 Thu Oct  1 16:27:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
917         * Removed a few more references to usersupp.lastseen[]
918
919 1998-10-01 Nathan Bryant <bryant@cs.usm.maine.edu>
920         * .cvsignore: add so_locations (generated by osf1 ld with shared libs)
921         * Makefile.in: restructured variables for greater consistency, use
922           @echo to print out notices during the make process, add so_locations
923           to `cleaner'
924         * configure.in, Makefile.in: configure checks for -rdynamic
925         * ipc_c_tcp.c: fix DEC compiler warning wrt unsigned char
926         * stats.c: add semicolon to placate DREC compiler
927         * user_ops.c: define _POSIX_C_SOURCE, include <limits.h>
928         * configure.in: pass -pthread to DEC compiler, don't check for
929           libpthread[s] on DEC Unix
930
931 1998-09-30 Nathan Bryant <bryant@cs.usm.maine.edu>
932         * Makefile.in: new variable PTHREAD_DEFS for portability
933         * aidepost.c, citadel.c, citmail.c, mailinglist.c, msgform.c,
934           netmailer.c, netpoll.c, netproc.c, rcit.c, readlog.c, setup.c,
935           stats.c, userlist.c, whobbs.c: return type of main() is int
936         * citadel.c, commands.c, messages.c: use time_t properly
937         * citserver.c: include <limits.h>
938         * config.guess, config.sub, install-sh: new files
939         * configure.in: don't use gcc on Digital Unix
940
941 Tue Sep 29 23:17:34 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
942         * room_ops.c: modified usergoto() to look at the new data structures
943           for counting new messages and such.
944
945 1998-09-29 Nathan Bryant <bryant@cs.usm.maine.edu>
946         * user_ops.c: fix compiler warning and potential memory leak,
947           include sysdep.h
948         * configure.in, Makefile.in: only build the server if we find pthreads
949         * Makefile.in: realclean removes config.{cache,log,status}
950
951 Tue Sep 29 13:20:14 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
952         * Removed code from some of the utilities which was still attempting
953           to access the old non-gdbm data store.
954         * housekeeping.c: rewrote check_ref_counts() to do a ForEachRoom()
955           traversal instead of a MAXROOMS loop.
956         * sysdep.c: set up a dummy CitContext record to be used during server
957           startup, during which time there is no real context.
958
959 Mon Sep 28 23:51:51 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
960         * Implemented the function ForEachRoom() to handle all-rooms traversal
961           (this will work with both the old and new paradigms, because both
962           use a GDBM database with one room per record).  Migrated all room
963           list commands to use it.
964
965 Mon Sep 28 22:05:35 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
966         * Implemented the function CtdlRoomAccess() to handle *all* of the
967           user-access-to-rooms functionality.  Migrated all room list commands
968           to use it.  Still need to migrate gotos.
969
970 1998-09-28 Nathan Bryant <bryant@cs.usm.maine.edu>
971         * configure.in, acconfig.h: new files; partially functional GNU
972           autoconf configure script. Run autoheader; autoconf; ./configure
973           --prefix=`pwd` to test.
974         * Makefile.tmpl: new file; this is what Makefile.in used to be. Used by
975           Configure.
976         * Makefile.in: modified to work with autoconf-style configure script
977         * Configure: modified to use Makefile.tmpl and generate autoconf-style
978           macros. Removed procfs detection. Pass -O2 to gcc, -O to other
979           compilers. Removed mknod/mkfifo detection; code should use mkfifo(3).
980         * citmail.c, msgform.c, netproc.c, routines.c, support.c, userlist.c,
981           whobbs.c: use HAVE_STRERROR macro rather than NO_STRERROR
982         * commands.c: use HAVE_TERMIOS_H macro rather than POSIX_TERMIO
983         * netproc.c: remove procfs stuff. simply attempt to kill the target
984           process with signal zero instead; this checks whether the process
985           exists.
986         * setup.c, useradmin.c: use HAVE_CURSES_H macro
987
988 Sun Sep 27 23:41:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
989         * BOTH the old and new generation systems are being written to at
990           this point.  Code that reads stuff is still using the old system.
991
992 Sun Sep 27 16:10:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
993         * Changed all "generation" variables from char to long, in preparation
994           for removing MAXROOMS.  Generations for new rooms are now timestamps.
995         * Defined "struct visit" to hold user/room relationships.
996         * Removed some #define's from citadel.h that are no longer used.
997
998 Wed Sep 23 13:41:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
999         * More changes to support attachments.  They mostly work, but only
1000           in fixed-format messages.
1001
1002 Mon Sep 21 21:19:17 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1003         * msgbase.c: began laying the groundwork to support attachments.
1004           Purchased Rogaine(tm) in preparation for expected hair loss.
1005
1006 1998-09-21 Nathan Bryant <bryant@cs.usm.maine.edu>
1007         * msgbase.c: include dynloader.h
1008         * citadelapi.h: removed
1009         * dynloader.h: prototype CtdlRegisterUserHook()
1010
1011 Sun Sep 20 18:56:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1012         * Added a UserFunctionHook category to implement hooks which perform
1013           operations on various users or usernames
1014
1015 Fri Sep 18 21:14:41 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1016         * citserver.c: removed cmd_extn() and related code
1017
1018 1998-09-18 Nathan Bryant <bryant@cs.usm.maine.edu>
1019         * user_ops.c: include dynloader.h
1020         * roomstats.{c,mk}: removed
1021         * Configure, Makefile.in: autodependency-related fixes
1022
1023 Thu Sep 17 22:55:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1024         * Various changes to allow "new messages" to work correctly with Mail
1025
1026 Thu Sep 17 22:21:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1027         * server.h, dynloader.c, citserver.c, user_ops.c: reduced the number
1028           of hook types by inventing an EventType field to the Session hook.
1029         * proxy.c: added pre-fetching
1030
1031 1998-09-17 Nathan Bryant <bryant@cs.usm.maine.edu>
1032         * Makefile.in: add SERV_MODULES and PROXY_TARGETS to `cleaner'
1033         * dynloader.[ch], serv_{chat,test}.[ch], sysdep.c: cleaned
1034           up the dynamic loader interface as follows:
1035           - all the symbol table stuff is gone.
1036           - modules are loaded once at server startup and never unloaded.
1037           - Added a new function CtdlRegisterProtoHook() to handle the stuff
1038             that was being done with the symbol tables.
1039           - Dynamic_Module_Init() now returns a pointer to a static struct
1040             DLModule_Info; this structure itself has been modified to use char*
1041             fields instead of fixed char arrays.
1042         * roomstats.c: include <stdarg.h> not <stdargs.h> (is this file still
1043           in use?)
1044         * Configure, Makefile.in: added autodependency support
1045
1046 Wed Sep 16 22:25:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1047         * Implemented separate structs, lists, and functions for each type
1048           of server-side hook available.
1049
1050 1998-09-16 Nathan Bryant <bryant@cs.usm.maine.edu>
1051         * ipc_c_tcp.c: Fixed up some #include/prototyping stuff, call memcpy()
1052           instead of bcopy()
1053         * hooks.h: removed
1054         * sysdep.c, user_ops.c: removed reference to hooks.h
1055
1056 Wed Sep 16 11:42:42 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1057         * ipc_c_tcp.c: Reversed any changes that have been made to this file,
1058           because something was causing abominally slow response time.
1059         * proxy.c: added.  This will eventually become a caching, pre-fetching
1060           multiuser proxy server for the Citadel protocol.
1061
1062 1998-09-15 Nathan Bryant <bryant@cs.usm.maine.edu>
1063         * Makefile.in: remove support.o from serv_chat.so, add -fPIC to compile
1064           flags for serv_chat.o
1065         * dynloader.c: include "sysdep_decls.h", use RTLD_NOW not RTLD_LAZY
1066         * dynloader.h: prototype CtdlRegisterHook()
1067         * .cvsignore: added data
1068
1069 Mon Sep 14 20:49:08 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1070         * Tried my hand at adding the ability for server extensions to
1071           register various types of "hooks" in addition to just adding
1072           server commands.  This is probably not final.
1073
1074 Tue Sep  8 12:11:56 EDT 1998 Brian Costello <btx@calyx.net>
1075         * Added support for dynamic server modules.  Reworked serv_chat.c
1076           to be such a module.
1077
1078 Tue Sep  1 23:09:50 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1079         * userpurge.c: rewrote using functions from the server core, rather
1080           than the now-defunct external API.  This'll be ready once the module
1081           loading code is done.  (I just had to commit _something_ tonight.)
1082
1083 Mon Aug 31 22:47:58 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1084         * Yanked the citadelapi.c module.  This wasn't working out well.
1085         * techdocs/citadelapi.txt - began documenting the new API to be used
1086           by modules which will be dynamic linked into the server - most of
1087           this API is existing server functions.
1088         * Added a ForEachUser() function with callback mechanism, and reworked
1089           cmd_list() to use it.
1090
1091 Sun Aug 30 21:52:43 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1092         * Moved all of the gdbm databases to a separate "data" directory.
1093
1094 1998-08-26 Nathan Bryant <bryant@cs.usm.maine.edu>
1095         * Makefile.in: realclean removes Makefile, fixed `touch citadel.h'
1096           problem
1097
1098 1998-08-25 Nathan Bryant <bryant@cs.usm.maine.edu>
1099         * room_ops.c: include time.h
1100         * userlist.c, whobbs.c, serv_chat.c, user_ops.c, sysdep.c, stats.c,
1101           citadel_decls.h, commands.c, messages.h, routines.h, routines2.h:
1102           remove duplicated declarations
1103
1104 Mon Aug 24 23:45:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1105         * setup.c: Removed yesno_s()
1106         * citadel.h, room_ops.c: added QRmtime field to struct quickroom,
1107           modified whenever a room is modified or posted in.
1108         * citadelapi.c: Added CtdlForEachRoom() function
1109
1110 Mon Aug 24 20:04:04 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
1111         * Makefile.in: new target `cleaner' does the same as `realclean' 
1112           without removing sysdep.h
1113         * proto.h: is bad. eliminate. I've moved the prototypes into several
1114           header files, one per .c file
1115
1116 Mon Aug 24 00:45:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1117         * Added a CtdlGotoRoom() function to the CitadelAPI.
1118  
1119 Sun Aug 23 21:47:00 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1120         * sysoputil is finally dead!  Removed it from the build.
1121         * Added userpurge.c server extension (initial implementation)
1122
1123 Tue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
1124         * Makefile.in: `clean' target no longer rm's sysdep.h; new target
1125           `realclean' removes everything clean does, plus sysdep.h, plus
1126           target binaries.
1127         * Configure: add -Wstrict-prototypes to CFLAGS for gcc systems
1128         * *.[ch]: protoized. Added several new header files containing
1129           prototypes and other external declarations; many duplicated
1130           declarations still should be moved to header files. proto.h must die
1131           as well, IMHO.
1132
1133 Mon Aug 17 23:52:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1134         * Implemented a bunch of user account related functions in the
1135           CitadelAPI library.
1136
1137 Mon Aug 17 20:01:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1138         * Fixed the crash problem.  It wasn't AGUP/ASUP, but rather a buffer
1139           overrun in getuser() (thanks, Nathan).  Implemented overrun checks
1140           in getuser(), getroom(), and getfloor() to prevent future problems.
1141
1142 Mon Aug 17 00:06:52 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1143         * Updated citmail.c with the latest stuff from the production system.
1144         * Implemented AGUP and ASUP commands, but AGUP crashes the server
1145           after its first successful use (user-not-found's don't affect it).
1146
1147 Thu Aug  6 19:25:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1148         * Got the CitadelAPI library to the point where the server can start
1149           up an extension, and the extension will connect to the server, do
1150           some initialization, call a user-supplied CtdlMain(), and exit.  Also
1151           hacked together a _temporary_ form of the new EXTN server command.
1152  
1153 Wed Aug  5 23:02:22 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1154         * Second attempt at getting the server API started.  Now it runs
1155           outside of the server and builds a connection.
1156
1157 Tue Aug  4 18:33:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1158         * Modified the appearance of Internet addresses when they arrive on
1159           a Citadel system.
1160         * Removed the <E> field from the message format writeup in hack.txt.
1161         * Fixed-up citmail.c so that it doesn't try to do database lookups.
1162
1163 Mon Aug  3 23:01:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1164         * Started developing the server-side API.  This is in its very
1165           initial stages.  See serverapi.c and techdoc/api.txt
1166
1167 1998-08-02  Nathan Bryant  <bryant@cs.usm.maine.edu>
1168         * Makefile.in: added config_decls.h to dependencies
1169
1170 Sun Aug  2 21:09:09 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
1171         * config_defs.h: renamed to config_decls.h
1172         * config.c, sysoputil.c: updated to reflect the above
1173
1174 Sun Aug  2 18:52:05 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
1175         * config_defs.h: new file, contains external declarations from config.c
1176         * config.c: moved defs to config_defs.h, use PATH_MAX from <limits.h>
1177           for bbs_home_directory
1178         * mailinglist.c, support.c: include <string.h>
1179         * sysoputil.c: include <string.h>, <limits.h>, "config_defs.h", remove
1180           duplicated defs, replace gets() call with fgets()
1181         * user_ops.c: define _XOPEN_SOURCE_EXTENDED
1182
1183 Sat Aug  1 18:32:52 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
1184         * ipc_c_tcp.c: fixed order of memcpy parameters after gethostbyname
1185
1186 Sun Jul 19 17:26:12 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
1187         * ChangeLog: reordered; the GNU standard is to add new entries to the
1188           top.
1189         * .cvsignore: added userlist
1190
1191 Sun Jul 12 20:58:59 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1192         * Finished migrating everything to the new data store.
1193         * Replaced the binary "calllog" with the ASCII "citadel.log"
1194         * Began converting broken utilities that depend on the old data store
1195
1196 Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
1197         * Makefile.in: removed msgstats
1198
1199 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
1200         * Initial CVS import