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