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