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