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