* Updated some of the docs. Bumped version number to 5.80 in anticipation
authorArt Cancro <ajc@citadel.org>
Sat, 28 Apr 2001 04:42:59 +0000 (04:42 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 28 Apr 2001 04:42:59 +0000 (04:42 +0000)
  of going into a release cycle soon.

citadel/ChangeLog
citadel/IAFA-PACKAGE
citadel/citadel.h
citadel/citadel.lsm
citadel/docs/copyright.txt
citadel/serv_vandelay.c
citadel/sysconfig.h
citadel/sysdep.c
citadel/techdoc/citadelapi.txt
citadel/techdoc/developers.txt
citadel/techdoc/session.txt

index 985de7054337200ee1214dc9b52c270fd31649e5..92cdddd55b39e5fe7eee7ebba54007a7d319fa41 100644 (file)
@@ -1,6 +1,7 @@
  $Log$
- Revision 573.131  2001/04/28 04:18:44  ajc
- *** empty log message ***
+ Revision 573.132  2001/04/28 04:42:55  ajc
+ * Updated some of the docs.  Bumped version number to 5.80 in anticipation
+   of going into a release cycle soon.
 
  Revision 573.130  2001/04/26 03:31:00  ajc
  * Finished the implementation of per-message seen/unseen logic, both in the
@@ -2516,3 +2517,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index 72f9c6751d93e7ce2836a5c78f8f70bc602f2e13..f621827de0f2d7b7360c8ca6bf455bb6260931d4 100644 (file)
@@ -1,5 +1,5 @@
 Title:          Citadel/UX
-Version:        5.73
+Version:        5.80
 Description:    An advanced messaging system which can be used for BBS,
                groupware, and
                online community applications.  It is multithreaded,
index 5da1f1d826d979cbd1fb935036ffe47f43fae1bd..9b30987b3052442b8eae8d3779fffe1592e7f188 100644 (file)
@@ -10,7 +10,7 @@
 #include "sysconfig.h"
 #include "ipcdef.h"
 
-#define CITADEL        "Citadel/UX 5.73"       /* Text description of this software */
+#define CITADEL        "Citadel/UX 5.80"       /* Text description of this software */
 
 /*
  * REV_LEVEL is the current version number (multiplied by 100 to avoid having
@@ -19,7 +19,7 @@
  * are older than REV_MIN, none of the programs will work until the setup
  * program is run again to bring things up to date.
  */
-#define REV_LEVEL      573             /* This version */
+#define REV_LEVEL      580             /* This version */
 #define REV_MIN                570             /* Oldest compatible version */
 
 #define SERVER_TYPE 0  /* zero for stock Citadel/UX; other developers please
index 01545c4893be535d68dc1f8437eaff092d221e99..4be991c1b2a25ad31c0bc7d9d1d541b127ceb0da 100644 (file)
@@ -1,7 +1,7 @@
 Begin3
 Title:          Citadel/UX
-Version:        5.73
-Entered-date:  Tue Sep  5 14:35:11 EDT 2000
+Version:        5.80
+Entered-date:  Sat Apr 28 00:41:52 EDT 2001
 Description:    An advanced messaging system which can be used for BBS,
                groupware, and online community applications.  It is
                multithreaded, client/server, database driven, and
index be1d5a3cae3ab67afc8e8a68ce9d37ec6cd3bf12..add38c061528c1d31ef4e6026977414ad1a954ed 100644 (file)
@@ -1,21 +1,21 @@
                          -----------------------
-                         Citadel/UX version 5.74
+                         Citadel/UX version 5.80
                          -----------------------
  
  Copyright (c) 1987-2001 by the Citadel development team.
   
      Steven M. Bellovin (author of public domain 'parsedate' function)
-     Michael Bremen (HP/UX compatibility layer and some cosmetics)
-     Nathan Bryant (build system, security, database access, and others)
-     Art Cancro (overall system design and lead developer)
-     Brian Costello (cosmetics, additional commands)
-     Daniel Malament (string compare function for IMAP server
-     Stu Mark (IGnet/Open protocol design)
-     Ben Mehlman (additional client features)
-     Ari Samson (project management)
-     John Walker (author of public domain base64 encoder/decoder)
-     Steve Williams (documentation)
-     Ethan Young (IGnet/Open protocol design)
+     Michael Bremen     (HP/UX compatibility layer and some cosmetics)
+     Nathan Bryant      (build system, security, database access, and others)
+     Art Cancro         (overall system design and lead developer)
+     Brian Costello     (cosmetics, additional commands)
+     Daniel Malament    (string compare function for IMAP server)
+     Stu Mark           (IGnet/Open protocol design)
+     Ben Mehlman        (additional client features)
+     Ari Samson         (project management)
+     John Walker        (author of public domain base64 encoder/decoder)
+     Steve Williams     (documentation)
+     Ethan Young        (IGnet/Open protocol design)
     
  ------------------------------------------------------------------------------
  
index 9e6a0ea077ba9a5c1a7374deffa43fbfe5a5317c..20c3f96c62b7ba1a42db4c876150faccbaa5b7e9 100644 (file)
@@ -17,6 +17,7 @@
 #include <sys/time.h>
 #include <sys/wait.h>
 #include <string.h>
+#include <ctype.h>
 #include <limits.h>
 #include "citadel.h"
 #include "server.h"
@@ -158,7 +159,14 @@ void artv_export_visits(void) {
                cprintf("%ld\n", vbuf.v_roomnum);
                cprintf("%ld\n", vbuf.v_roomgen);
                cprintf("%ld\n", vbuf.v_usernum);
-               cprintf("%ld\n", vbuf.v_lastseen);
+
+               if (strlen(vbuf.v_seen) > 0) {
+                       cprintf("%s\n", vbuf.v_seen);
+               }
+               else {
+                       cprintf("%ld\n", vbuf.v_lastseen);
+               }
+
                cprintf("%u\n", vbuf.v_flags);
        }
        cdb_end_transaction();
@@ -426,11 +434,18 @@ void artv_import_floor(void) {
 void artv_import_visit(void) {
        struct visit vbuf;
        char buf[SIZ];
+       int i;
+       int is_textual_seen = 0;
 
        client_gets(buf);       vbuf.v_roomnum = atol(buf);
        client_gets(buf);       vbuf.v_roomgen = atol(buf);
        client_gets(buf);       vbuf.v_usernum = atol(buf);
-       client_gets(buf);       vbuf.v_lastseen = atol(buf);
+
+       client_gets(buf);
+       vbuf.v_lastseen = atol(buf);
+       for (i=0; i<strlen(buf); ++i) if (!isdigit(buf[i])) is_textual_seen = 1;
+       if (is_textual_seen)    strcpy(vbuf.v_seen, buf);
+
        client_gets(buf);       vbuf.v_flags = atoi(buf);
        put_visit(&vbuf);
        lprintf(7, "Imported visit %ld/%ld/%ld\n",
index 2d283ad99483c6803acbad4ab6534c22495a7b4b..378a3b639e0962e1e8d92b8ea3c8e8871b9beb3a 100644 (file)
 
 
 /*
- * Command buffer size (do not change!)
+ * Standard buffer size for string datatypes.  DO NOT CHANGE!  Not only does
+ * there exist a minimum buffer size for certain protocols (such as IMAP), but
+ * fixed-length buffers are now stored in some of the data structures on disk,
+ * so if you change the buffer size you'll fux0r your database.
  */
 #define SIZ            4096
 
index 655bb7249286fc26975c3acd563f76b0dbb5e663..51439c3ce862c98339334b1ac4f32ebc119d0829 100644 (file)
@@ -980,7 +980,7 @@ int main(int argc, char **argv)
        /* Tell 'em who's in da house */
        lprintf(1,
 "\nMultithreaded message server for Citadel/UX\n"
-"Copyright (C) 1987-2000 by the Citadel/UX development team.\n"
+"Copyright (C) 1987-2001 by the Citadel/UX development team.\n"
 "Citadel/UX is free software, covered by the GNU General Public License, and\n"
 "you are welcome to change it and/or distribute copies of it under certain\n"
 "conditions.  There is absolutely no warranty for this software.  Please\n"
index b82d85e28583d3e69872957b75a8bcd5ec86f939..259299d4009abd25b4b7c35526539ea977183b02 100644 (file)
@@ -4,7 +4,11 @@
   This is a VERY INCOMPLETE documentation of the API for extending the
 Citadel server using dynamically loaded modules.  It really isn't an API at
 all, but rather a list of some of the functions available in the server which
-are likely to be of use to module writers.  
+are likely to be of use to module writers.
+  The current trend is to move as much stuff as possible out of the server
+proper and into loadable modules.  This makes the code much easier to read and
+understand.
   
   Expect this document to become more complete over time, as both the API and
 the person documenting it have a chance to mature a bit.  :)
index e68bb0e5cfb27d803eb4e2e05ee8feecc7f02c8b..1353cb51ac600d875cb28dd13de979ad8efcbde9 100644 (file)
@@ -25,7 +25,7 @@ Developer codes (and where known, client codes)
  1     Brian Ledbetter <brian@shadowcom.net>
 
        Client  Name            Status          Description
-       0       libCxClient     in production   Comprehensive Citadel/UX client API
+       0       libCxClient     in production   Client-side API library
        1       Infusion        in production   Groupware for Citadel/UX
 
  2     Matthew Scott <gldnspud@telcomplus.com>
index eda0ff0421fedd7066a77e9191c40e86039152a8..4007dc176b4f0107a84b3bd84ba12838a41f9c3f 100644 (file)
@@ -1,5 +1,5 @@
                   SESSION LAYER PROTOCOL FOR CITADEL/UX
-         (c) 1995-2000 by Art Cancro et. al.    All Rights Reserved
+         (c) 1995-2001 by Art Cancro et. al.    All Rights Reserved
    
   
  INTRODUCTION
@@ -24,7 +24,7 @@ developments ahead of time, please at least send in an e-mail documenting
 what you did, so that your new commands can be added to this document.
  
  The coordinator of the Citadel/UX project is Art Cancro
-<ajc@uncnsrd.mt-kisco.ny.us>.
+<ajc@uncensored.citadel.org>.
     
   
  CONNECTING TO A SERVER
@@ -548,7 +548,7 @@ proprietary features:
 your own.
  -> Clients other than your own should still be able to utilize your server,
 even if your proprietary extensions aren't supported.
- -> Please contact Art Cancro <ajc@uncnsrd.mt-kisco.ny.us> and obtain a unique
+ -> Please contact Art Cancro <ajc@uncensored.citadel.org> and obtain a unique
 server type code, which can be assigned to your server program.
  -> If you document what you did in detail, perhaps it can be added to a
 future release of the Citadel/UX program, so everyone can enjoy it.  Better
@@ -575,7 +575,7 @@ length of the file, and a description.
  
  The server message contained on the same line with LISTING_FOLLOWS will
 contain the name of the system and the name of the directory, such as:
-  uncnsrd.mt-kisco.ny.us|/usr/bbs/files/my_room_directory
+  uncensored.citadel.org|/usr/bbs/files/my_room_directory
  
  
  SLRP   (Set Last-message-Read Pointer)