citadel.git
22 years ago - added a new function to the database interface, cdb_close_cursor(). always
Nathan Bryant [Sun, 29 Jul 2001 22:24:04 +0000 (22:24 +0000)]
 - added a new function to the database interface, cdb_close_cursor().  always
call this when you're finished with a traversal but didn't bother reading all
the way to the end.

 - removed several cdb_begin_transaction()/cdb_end_transaction() calls that are
no longer needed because of the read-only cursor support.

22 years agochange ForEachRoom to use read-only cursors by default. it can be overridden to
Nathan Bryant [Sun, 29 Jul 2001 20:56:09 +0000 (20:56 +0000)]
change ForEachRoom to use read-only cursors by default. it can be overridden to
still use read/write cursors by doing:

 cdb_begin_transaction();
 ForEachRoom(...);
 cdb_end_transaction();

the only place I found where it appears necessary to do so is check_ref_counts,
so this checkin affects that function too.

22 years agogenerate symlinks to .libs in modules directory
Nathan Bryant [Sun, 29 Jul 2001 20:06:33 +0000 (20:06 +0000)]
generate symlinks to .libs in modules directory

22 years ago* List processing happens in two passes (load list and run list)
Art Cancro [Sat, 28 Jul 2001 23:17:19 +0000 (23:17 +0000)]
* List processing happens in two passes (load list and run list)

22 years agoimplemented read-only cursors. one of the advantages to these is that
Nathan Bryant [Sat, 28 Jul 2001 00:02:50 +0000 (00:02 +0000)]
implemented read-only cursors. one of the advantages to these is that
transactions can be avoided; a cursor operation that occurs within a
transaction will often acquire a read lock on every single database page.  in
general, the Sleepycat documentation recommends avoiding transaction-protected
read-only operations where practical. read/modify/write operations can still
be transaction protected, of course.

to use a read-only cursor, call cdb_rewind without a previous call to
cdb_begin_transaction. the DB driver will notice this and prevent the current
thread from modifying data or starting a transaction until the cursor is
closed.

22 years agolibtool has matured a lot since the last time i looked at it (years ago)
Nathan Bryant [Fri, 27 Jul 2001 20:45:44 +0000 (20:45 +0000)]
libtool has matured a lot since the last time i looked at it (years ago)
so we now use it to handle the details of building shared libraries and
the linker flags for the main executable.

in theory this should bring a lot more portability to the dynloader
subsystem and enable us to do things like transparently detect GNU vs Sun
linkers on solaris, for example

22 years agofix fix
Nathan Bryant [Fri, 27 Jul 2001 03:59:08 +0000 (03:59 +0000)]
fix fix

22 years ago*** empty log message ***
Nathan Bryant [Fri, 27 Jul 2001 03:48:16 +0000 (03:48 +0000)]
*** empty log message ***

22 years agoone more try
Nathan Bryant [Fri, 27 Jul 2001 03:31:38 +0000 (03:31 +0000)]
one more try

22 years agomissed one thing in the autoconf move
Nathan Bryant [Fri, 27 Jul 2001 03:29:04 +0000 (03:29 +0000)]
missed one thing in the autoconf move

22 years agosupport one cursor per database rather than one global cursor
Nathan Bryant [Fri, 27 Jul 2001 02:57:43 +0000 (02:57 +0000)]
support one cursor per database rather than one global cursor

22 years agoremove the automatic transaction demarcation on singleton read operations
Nathan Bryant [Fri, 27 Jul 2001 01:32:07 +0000 (01:32 +0000)]
remove the automatic transaction demarcation on singleton read operations

22 years ago - move to autoconf 2.52
Nathan Bryant [Thu, 26 Jul 2001 21:43:46 +0000 (21:43 +0000)]
 - move to autoconf 2.52
 - random warning fix
 - check for db 3.3

22 years ago* New UI for mailing list setup
Art Cancro [Tue, 24 Jul 2001 13:17:55 +0000 (13:17 +0000)]
* New UI for mailing list setup
* rooms.c: code cleanup
* docs update

22 years agofix build on solaris, check default install location for db 3.2, and silence
Nathan Bryant [Fri, 20 Jul 2001 23:48:23 +0000 (23:48 +0000)]
fix build on solaris, check default install location for db 3.2, and silence
gcc 3.0

22 years ago* Silly change to internet_addressing() to handle NULL returned from
Art Cancro [Wed, 18 Jul 2001 14:35:30 +0000 (14:35 +0000)]
* Silly change to internet_addressing() to handle NULL returned from
  getpwuid() wihout crashing the server.

22 years ago* housekeeping once every 60 seconds, not 1 second
Art Cancro [Mon, 16 Jul 2001 14:30:28 +0000 (14:30 +0000)]
* housekeeping once every 60 seconds, not 1 second

22 years ago* Silly cosmetic change to keep the wholist ordered by ascending session number
Art Cancro [Mon, 16 Jul 2001 14:24:30 +0000 (14:24 +0000)]
* Silly cosmetic change to keep the wholist ordered by ascending session number

22 years ago* Shuffled around some of the housekeeping loop code
Art Cancro [Fri, 13 Jul 2001 00:01:37 +0000 (00:01 +0000)]
* Shuffled around some of the housekeeping loop code

22 years ago* database_sleepycat.c: small changes to log messages
Art Cancro [Wed, 11 Jul 2001 17:01:10 +0000 (17:01 +0000)]
* database_sleepycat.c: small changes to log messages

22 years agomoved dret initialization in cdb_fetch, just in case
Nathan Bryant [Wed, 11 Jul 2001 04:35:40 +0000 (04:35 +0000)]
moved dret initialization in cdb_fetch, just in case

22 years ago* THIS IS 5.80
Art Cancro [Tue, 3 Jul 2001 03:07:09 +0000 (03:07 +0000)]
* THIS IS 5.80

22 years ago* Last minute doco update for 5.80
Art Cancro [Tue, 3 Jul 2001 03:06:52 +0000 (03:06 +0000)]
* Last minute doco update for 5.80

22 years agoconfigure.in: check for Berkeley DB first.
Nathan Bryant [Sun, 1 Jul 2001 15:44:32 +0000 (15:44 +0000)]
configure.in: check for Berkeley DB first.

22 years ago* tag for 3.01
Art Cancro [Thu, 28 Jun 2001 15:05:35 +0000 (15:05 +0000)]
* tag for 3.01

22 years ago* 3.01
Art Cancro [Thu, 28 Jun 2001 15:05:18 +0000 (15:05 +0000)]
* 3.01

22 years ago* Every generated page now includes a meta tag to disable evil "smart tags"
Art Cancro [Thu, 28 Jun 2001 15:03:49 +0000 (15:03 +0000)]
* Every generated page now includes a meta tag to disable evil "smart tags"
  (see http://smarttags.manilasites.com/ for more information)

22 years ago* Placated users who whine about privacy policy by adding MESG ROOMACCESS to
Art Cancro [Thu, 28 Jun 2001 02:39:54 +0000 (02:39 +0000)]
* Placated users who whine about privacy policy by adding MESG ROOMACCESS to
  the screen where you can create a room...

22 years ago* update
Art Cancro [Wed, 27 Jun 2001 23:36:55 +0000 (23:36 +0000)]
* update

22 years ago* Added some verbage to messages/roomaccess to placate a user who keeps
Art Cancro [Wed, 27 Jun 2001 23:34:30 +0000 (23:34 +0000)]
* Added some verbage to messages/roomaccess to placate a user who keeps
  bitching about privacy policy.

22 years ago* Tagged everything as Version 3.00
Art Cancro [Wed, 27 Jun 2001 06:24:07 +0000 (06:24 +0000)]
* Tagged everything as Version 3.00

22 years ago* Updated docs for the 3.00 release
Art Cancro [Wed, 27 Jun 2001 06:22:49 +0000 (06:22 +0000)]
* Updated docs for the 3.00 release

22 years ago* Correct generated window name in pop up pages
Art Cancro [Wed, 27 Jun 2001 06:16:02 +0000 (06:16 +0000)]
* Correct generated window name in pop up pages
* Added handling of MIME inline images (not tested)

22 years ago* A few performance and tuning cleanups. Increased the size of the socket
Art Cancro [Fri, 22 Jun 2001 17:58:20 +0000 (17:58 +0000)]
* A few performance and tuning cleanups.  Increased the size of the socket
  queue length to 100 for use on big systems.  Also, during startup, the
  initial startup thread now exits after creating the worker threads, instead
  of becoming a worker thread itself.  For some reason Solaris had problems
  with the latter method.

22 years ago* Ooops... last_cull needs to be declared static
Art Cancro [Tue, 19 Jun 2001 03:41:04 +0000 (03:41 +0000)]
* Ooops... last_cull needs to be declared static

22 years ago* imap_fetch.c: download MIME parts without decoding first. We like that.
Art Cancro [Tue, 19 Jun 2001 03:33:19 +0000 (03:33 +0000)]
* imap_fetch.c: download MIME parts without decoding first.  We like that.
* database_sleepycat.c: added automatic culling of log files which have not
  been written to in five days.

22 years ago* dont decode mime
Art Cancro [Tue, 19 Jun 2001 00:17:18 +0000 (00:17 +0000)]
* dont decode mime

22 years agofix all the <time.h> vs. <sys/time.h> issues, hopefully
Nathan Bryant [Sun, 17 Jun 2001 19:42:24 +0000 (19:42 +0000)]
fix all the <time.h> vs. <sys/time.h> issues, hopefully

22 years ago* Added distfiles for FreeBSD. To create a FreeBSD package, do this:
Brian [Wed, 13 Jun 2001 15:06:44 +0000 (15:06 +0000)]
* Added distfiles for FreeBSD.  To create a FreeBSD package, do this:
   make install
   (cd distfiles/FreeBSD; pkg_create -c COMMENT -d DETAILS -f FILES libCxClient-0.xx; mv libCx*tgz ../..)

22 years ago* Updated release version in configure.in (we're 0.10 now!!)
Brian [Tue, 12 Jun 2001 14:47:29 +0000 (14:47 +0000)]
* Updated release version in configure.in (we're 0.10 now!!)

22 years ago* Fixed sample client code to shut down _correctly_. (...Rather than just
Brian [Tue, 12 Jun 2001 14:34:06 +0000 (14:34 +0000)]
* Fixed sample client code to shut down _correctly_.  (...Rather than just
  quit without free()ing memory...)

22 years ago* Working on cleaning up code. There were LOTS of missing free() calls.
Brian [Tue, 12 Jun 2001 11:48:54 +0000 (11:48 +0000)]
* Working on cleaning up code.  There were LOTS of missing free() calls.
Boy, was I lazy...  :)
  This library is MUCH more stable than it was at 0.59-RELEASE checkpoint,
  but it still has a few leaky issues.  I'm still working on fixing it.

22 years ago* Working on cleaning up code. There were LOTS of missing free() calls.
Brian [Tue, 12 Jun 2001 11:47:44 +0000 (11:47 +0000)]
* Working on cleaning up code.  There were LOTS of missing free() calls.
Boy, was I lazy...  :)

  This library is MUCH more stable than it was at 0.59-RELEASE checkpoint,
  but it still has a few leaky issues.  I'm still working on fixing it.

22 years ago* First cut at downloading attachments throught the browser.
Art Cancro [Thu, 7 Jun 2001 04:36:07 +0000 (04:36 +0000)]
* First cut at downloading attachments throught the browser.

22 years ago* More tweaks to the MIME parser
Art Cancro [Thu, 7 Jun 2001 03:28:37 +0000 (03:28 +0000)]
* More tweaks to the MIME parser

22 years ago* Brought over an updated mime parser from Citadel
Art Cancro [Thu, 7 Jun 2001 03:16:57 +0000 (03:16 +0000)]
* Brought over an updated mime parser from Citadel

22 years ago* msgbase.c: output extra newline at end of RFC822 message if necessary to
Art Cancro [Wed, 6 Jun 2001 15:44:37 +0000 (15:44 +0000)]
* msgbase.c: output extra newline at end of RFC822 message if necessary to
  ensure that 000 termination string appears on a line by itself.

22 years ago* mime_parser.c: #include <pthread.h> so it compiles cleanly
Art Cancro [Wed, 6 Jun 2001 14:44:25 +0000 (14:44 +0000)]
* mime_parser.c: #include <pthread.h> so it compiles cleanly

22 years ago* fix a bug
Art Cancro [Wed, 6 Jun 2001 04:27:07 +0000 (04:27 +0000)]
* fix a bug

22 years ago* Moved memreadline() to tools.c
Art Cancro [Wed, 6 Jun 2001 04:22:25 +0000 (04:22 +0000)]
* Moved memreadline() to tools.c
* internet_addressing.c: fixed conversion of fields to (hopefully) never get
  into an active loop when encountering badly formed headers

22 years ago* Fixed login to take you to the Lobby instead of the next room.
Art Cancro [Thu, 31 May 2001 02:26:24 +0000 (02:26 +0000)]
* Fixed login to take you to the Lobby instead of the next room.

22 years ago* more mime fix attempts
Art Cancro [Thu, 31 May 2001 02:21:47 +0000 (02:21 +0000)]
* more mime fix attempts

22 years ago* Fix to upload handler to recognize browser uploads based on *either* a "name"
Art Cancro [Wed, 30 May 2001 22:37:09 +0000 (22:37 +0000)]
* Fix to upload handler to recognize browser uploads based on *either* a "name"
  or a "filename" from the MIME parser.

22 years ago* Changes to mime parser ... still something wrong
Art Cancro [Wed, 30 May 2001 01:06:57 +0000 (01:06 +0000)]
* Changes to mime parser ... still something wrong

22 years ago* Fixed bug which marked all messages in Lobby as old before reading at login
Art Cancro [Mon, 28 May 2001 19:27:31 +0000 (19:27 +0000)]
* Fixed bug which marked all messages in Lobby as old before reading at login

22 years ago* Added a "no new messages" response in the client, displayed when a read
Art Cancro [Sun, 27 May 2001 05:23:03 +0000 (05:23 +0000)]
* Added a "no new messages" response in the client, displayed when a read
  command turns up a zero message count.

22 years ago* Brought over the new MIME parser from Citadel. WARNING: BROKEN BUILD!!
Art Cancro [Fri, 25 May 2001 22:39:27 +0000 (22:39 +0000)]
* Brought over the new MIME parser from Citadel.  WARNING: BROKEN BUILD!!

22 years ago* UI changes (pretty frames with no scrollbars)
Art Cancro [Wed, 23 May 2001 16:15:25 +0000 (16:15 +0000)]
* UI changes (pretty frames with no scrollbars)

22 years ago* cosmetics
Art Cancro [Tue, 22 May 2001 00:32:18 +0000 (00:32 +0000)]
* cosmetics

22 years ago* Another attempt to fix the fd leak
Art Cancro [Tue, 22 May 2001 00:02:18 +0000 (00:02 +0000)]
* Another attempt to fix the fd leak

22 years ago* Attempt to fix the dangling sockets.
Art Cancro [Sat, 19 May 2001 02:21:40 +0000 (02:21 +0000)]
* Attempt to fix the dangling sockets.

22 years ago* Fixed bug in mime_parser.c that caused parts to be dropped when the last
Art Cancro [Fri, 18 May 2001 20:12:09 +0000 (20:12 +0000)]
* Fixed bug in mime_parser.c that caused parts to be dropped when the last
  boundary was the very last line of the message.
* serv_smtp.c: toned down some of the command response verbage.

23 years ago* More icon updates and link cleanup type stuff
Art Cancro [Tue, 15 May 2001 03:22:27 +0000 (03:22 +0000)]
* More icon updates and link cleanup type stuff

23 years ago* Added quick installation notes.
Brian [Mon, 14 May 2001 17:59:18 +0000 (17:59 +0000)]
* Added quick installation notes.

23 years ago* Added multi-connection support. libCxClient can now handle
Brian [Mon, 14 May 2001 14:01:23 +0000 (14:01 +0000)]
* Added multi-connection support.  libCxClient can now handle
multiple concurrent connections to different Citadel servers.
This, unfortunately, required a change in the development API.
Please examine the source in src/newtest.c for an example
of how to use the new API.
* Fixed some bugs in the transport layer.
* No new features that I can think of, but there may be some...

23 years ago* Added paging icon and right-justified it
Art Cancro [Sun, 6 May 2001 05:11:50 +0000 (05:11 +0000)]
* Added paging icon and right-justified it
* Send-page window is now a popup

23 years ago* Added "page user" button in wholist
Art Cancro [Fri, 4 May 2001 04:28:10 +0000 (04:28 +0000)]
* Added "page user" button in wholist

23 years ago* more of the UI overhaul
Art Cancro [Tue, 1 May 2001 00:49:45 +0000 (00:49 +0000)]
* more of the UI overhaul

23 years ago* more changes
Art Cancro [Mon, 30 Apr 2001 01:58:02 +0000 (01:58 +0000)]
* more changes

23 years ago* more work on UI overhaul
Art Cancro [Mon, 30 Apr 2001 01:49:37 +0000 (01:49 +0000)]
* more work on UI overhaul

23 years ago* User interface overhaul now in progress. WARNING: incomplete system.
Art Cancro [Sun, 29 Apr 2001 04:39:25 +0000 (04:39 +0000)]
* User interface overhaul now in progress.  WARNING: incomplete system.

23 years ago* Updated some of the docs. Bumped version number to 5.80 in anticipation
Art Cancro [Sat, 28 Apr 2001 04:42:59 +0000 (04:42 +0000)]
* Updated some of the docs.  Bumped version number to 5.80 in anticipation
  of going into a release cycle soon.

23 years ago*** empty log message ***
Art Cancro [Sat, 28 Apr 2001 04:18:45 +0000 (04:18 +0000)]
*** empty log message ***

23 years ago* Finished the implementation of per-message seen/unseen logic, both in the
Art Cancro [Thu, 26 Apr 2001 03:31:03 +0000 (03:31 +0000)]
* Finished the implementation of per-message seen/unseen logic, both in the
  server proper and in IMAP.  Citadel protocol uses new "seen" command.

23 years ago* Began implementation of per-message seen/unseen attribute
Art Cancro [Sat, 21 Apr 2001 04:55:54 +0000 (04:55 +0000)]
* Began implementation of per-message seen/unseen attribute

23 years ago* IMAP LIST/LSUB: made it case insensitive. Also minor IMAP code cleanup.
Art Cancro [Fri, 20 Apr 2001 03:39:54 +0000 (03:39 +0000)]
* IMAP LIST/LSUB: made it case insensitive.  Also minor IMAP code cleanup.

23 years ago* Modified rooms.c in the client so that it would allow inviting into
Andru Luvisi [Tue, 17 Apr 2001 00:35:19 +0000 (00:35 +0000)]
* Modified rooms.c in the client so that it would allow inviting into
  public rooms.  This is important since there is now a V_LOCKOUT
  flag which prevents users who have been kicked from rejoining
  a room unless/until you invite them back in.

23 years ago* Modified client rooms.c so that people can be invited to public rooms.
Andru Luvisi [Tue, 17 Apr 2001 00:19:31 +0000 (00:19 +0000)]
* Modified client rooms.c so that people can be invited to public rooms.
  This is needed because the V_LOCKOUT flag is set when people are
  kicked out of public rooms so they can't rejoin.  The only way to
  let them back in is to INVT them.

23 years ago* Fixed bug in room_ops.c that wasn't allowing aides to goto passworded
Andru Luvisi [Mon, 16 Apr 2001 19:21:14 +0000 (19:21 +0000)]
* Fixed bug in room_ops.c that wasn't allowing aides to goto passworded
  rooms without knowing the password.

23 years ago* Fixed an unterminated string bug in IMAP APPEND. Storing messages should
Art Cancro [Sat, 14 Apr 2001 04:26:44 +0000 (04:26 +0000)]
* Fixed an unterminated string bug in IMAP APPEND.  Storing messages should
  work now.

23 years ago* Finished coding IMAP APPEND. It works, but there's a bug in it somewhere
Art Cancro [Tue, 10 Apr 2001 01:04:10 +0000 (01:04 +0000)]
* Finished coding IMAP APPEND.  It works, but there's a bug in it somewhere
  that is corrupting the memory.

23 years ago* Began implementing IMAP APPEND
Art Cancro [Tue, 3 Apr 2001 00:47:23 +0000 (00:47 +0000)]
* Began implementing IMAP APPEND

23 years ago* Modified roomops.c to give users the ability to pick a floor at room
Andru Luvisi [Sun, 1 Apr 2001 22:13:37 +0000 (22:13 +0000)]
* Modified roomops.c to give users the ability to pick a floor at room
  creation time.

23 years ago* *Actually* fixed a botched ChangeLog entry.
Andru Luvisi [Sun, 1 Apr 2001 22:05:44 +0000 (22:05 +0000)]
* *Actually* fixed a botched ChangeLog entry.

23 years ago* Fixed a botched ChangeLog entry.
Andru Luvisi [Sun, 1 Apr 2001 22:04:28 +0000 (22:04 +0000)]
* Fixed a botched ChangeLog entry.

23 years agoChanged two fclose()s to pclose()s.
Andru Luvisi [Sun, 1 Apr 2001 22:03:10 +0000 (22:03 +0000)]
Changed two fclose()s to pclose()s.

23 years agoChanged two fclose()s to pclose()s in serv_vandelay.c
Andru Luvisi [Sun, 1 Apr 2001 21:35:17 +0000 (21:35 +0000)]
Changed two fclose()s to pclose()s in serv_vandelay.c

23 years ago* serv_pop3.c: Fixed APOP. Now logs in properly. Also cleaned up some non-
Michael Hampton [Sun, 25 Mar 2001 11:52:36 +0000 (11:52 +0000)]
* serv_pop3.c: Fixed APOP. Now logs in properly. Also cleaned up some non-
  RFC-compliant error messages.

23 years ago* Added the new IMAP mailbox string compare submitted by Daniel Malament.
Art Cancro [Wed, 21 Mar 2001 05:47:53 +0000 (05:47 +0000)]
* Added the new IMAP mailbox string compare submitted by Daniel Malament.

23 years ago* Added the (\NoInferiors) tag to all rooms listed in IMAP. This made Mozilla
Art Cancro [Tue, 20 Mar 2001 01:33:56 +0000 (01:33 +0000)]
* Added the (\NoInferiors) tag to all rooms listed in IMAP.  This made Mozilla
  behave very nicely.

23 years ago* imap
Art Cancro [Sun, 18 Mar 2001 05:15:22 +0000 (05:15 +0000)]
* imap

23 years ago* some obscure stupid imap thing
Art Cancro [Sun, 18 Mar 2001 04:53:58 +0000 (04:53 +0000)]
* some obscure stupid imap thing

23 years ago* Changed the return interface for CxMiExpRecv(). It now returns a more
Brian [Tue, 13 Mar 2001 22:45:53 +0000 (22:45 +0000)]
* Changed the return interface for CxMiExpRecv().  It now returns a more
intelligible struct representing an atomic Express Message.  UNfortunately,
this requires the user to free 2 things (object, object->message) as opposed
to one (object)...  C'est la vie...

23 years ago* support (BODY[HEADER.FIELDS(BLAH BLAH BLAH)]) and HEADER.FIELDS.NOT
Art Cancro [Tue, 13 Mar 2001 17:19:33 +0000 (17:19 +0000)]
* support (BODY[HEADER.FIELDS(BLAH BLAH BLAH)]) and HEADER.FIELDS.NOT

23 years ago* HEADER.FIELDS...
Art Cancro [Tue, 13 Mar 2001 05:04:32 +0000 (05:04 +0000)]
* HEADER.FIELDS...

23 years ago* Added SLRP support (but doesn't seem to work yet...)
Brian [Tue, 13 Mar 2001 03:41:03 +0000 (03:41 +0000)]
* Added SLRP support (but doesn't seem to work yet...)

23 years ago* Shortened the "ID" tag to make more room for client/vendor id's.
Brian [Mon, 12 Mar 2001 20:38:47 +0000 (20:38 +0000)]
* Shortened the "ID" tag to make more room for client/vendor id's.

23 years ago* Implemented SUBSCRIBE and UNSUBSCRIBE commands
Art Cancro [Mon, 12 Mar 2001 01:27:42 +0000 (01:27 +0000)]
* Implemented SUBSCRIBE and UNSUBSCRIBE commands

23 years ago* Mega sexy hack to deliver express messages THROUGH IMAP! uber coolness!!
Art Cancro [Sun, 11 Mar 2001 23:00:29 +0000 (23:00 +0000)]
* Mega sexy hack to deliver express messages THROUGH IMAP!  uber coolness!!

23 years ago* updated loginwrapper docs
Art Cancro [Sun, 11 Mar 2001 22:09:30 +0000 (22:09 +0000)]
* updated loginwrapper docs