Art Cancro [Wed, 3 Nov 1999 04:01:23 +0000 (04:01 +0000)]
* Fixed buffer overrun problems in cmd_rchg(), cmd_hchg(), and cmd_uchg()
* Removed my email address as the feedback content from the docs; replaced
it with a reference to the Citadel/UX web site.
Art Cancro [Thu, 28 Oct 1999 19:50:55 +0000 (19:50 +0000)]
* Fixed a problem where the client protocol would spit out two responses
and therefore get out of sync if ASUP command set the access level to
0 and therefore deleted the user (thanks to Eric McDonald)
Art Cancro [Thu, 28 Oct 1999 05:08:50 +0000 (05:08 +0000)]
* Removed all of the thread cancellation cruft that is no longer necessary
* Moved the now non-system-dependent RemoveContext() out of sysdep.c (now
it's part of cleanup() in citserver.c)
* Removed all references to pthread_* from all modules except sysdep.c
Art Cancro [Thu, 28 Oct 1999 03:20:18 +0000 (03:20 +0000)]
* Fixed the problem of worker threads waking up prematurely.
* 'QUIT'-terminated sessions now exit properly. Still need to fix code for
sessions which are terminated from another session or by the server.
Art Cancro [Wed, 27 Oct 1999 04:26:59 +0000 (04:26 +0000)]
* Initial hack of worker-thread rearchitecture. Right now it is successfully
dispatching worker threads to active client sockets (and to the master
socket too, of course). Removing sessions is currently broken. There is
also a problem with worker threads waking up too quickly when a client
command is entered (race condition?). More cleanup to follow.
Art Cancro [Tue, 26 Oct 1999 03:48:40 +0000 (03:48 +0000)]
* Shuffled around the order of events when a thread is terminating. All
mutex operations now happen prior to the freeing of the CitContext structure,
otherwise begin_critical_section() and end_critical_section() try to
manipulate the context's mutex count when there isn't any context.
Art Cancro [Tue, 26 Oct 1999 03:21:17 +0000 (03:21 +0000)]
* Changed a lot of strncpy() calls to safestrncpy() and replaced most of their
hardcoded size arguments with 'sizeof' based arguments.
* Moved the CitContext destruction into the housekeeper thread and out of the
thread being cancelled. Didn't fix it, though (to see what happens, link
the server against ElectricFence and watch what happens when a session ends).
Art Cancro [Wed, 20 Oct 1999 16:46:28 +0000 (16:46 +0000)]
* More code shuffle. Added some flags to CtdlSaveMessagePointerInRoom() and
enabled the MOVE command to also do a "copy" operation (actually just
creates a second link and bumps the ref count). Implemented "<C>opy" in
the client.
Art Cancro [Sat, 16 Oct 1999 05:30:17 +0000 (05:30 +0000)]
* Changes to message replication code. Don't do server-side hooks during
an ENT3 command. Also fixed a bug in cmd_whok() that caused crashes
after a file format change.
Art Cancro [Wed, 6 Oct 1999 03:51:01 +0000 (03:51 +0000)]
* Figured out a way to get the user's vCard to automatically delete in the
global address book when it's replaced. Now to find a way to add the new
one...
Art Cancro [Wed, 6 Oct 1999 02:44:02 +0000 (02:44 +0000)]
* Per Nick's request, removed the key bindings stuff. He knows how to fit
it back in when it's fixed. Also added more attempts at cache disabling,
but it still doesn't work in the StarOffice browser. I don't know why.
Art Cancro [Sat, 2 Oct 1999 03:26:14 +0000 (03:26 +0000)]
* Merged in Nick's bit of JavaScript to handle key commands.
BROKEN BUILD ALERT!! This runs all the time, even when the cursor is
in a text field. Right now you can't even log in.
Art Cancro [Wed, 29 Sep 1999 17:26:56 +0000 (17:26 +0000)]
* serv_vcard.c: fixed crashola bug in cmd_greg()
* tools.c: simplified and improved the string tokenizer. Now it runs in a
single pass with no intermediate buffer.
Art Cancro [Thu, 16 Sep 1999 03:23:27 +0000 (03:23 +0000)]
* Did most of the migration from save_message() to CtdlSaveMsg(). The
latter builds a "struct CtdlMessage" (so we can run server-side handlers
against it later on), then serializes it and stores to disk.
* BROKEN BUILD ALERT!! cmd_ent3() and CtdlWriteObject() are still not
migrated. They are stubbed out and will MALFUNCTION if used right now!!
Art Cancro [Tue, 7 Sep 1999 01:42:45 +0000 (01:42 +0000)]
* cmd_msg3() now uses serialize_message() for its output. All message
commands will eventually exist as a "struct CtdlMessage" at some point
so that we can install server-side handler hooks.
Art Cancro [Tue, 7 Sep 1999 00:04:13 +0000 (00:04 +0000)]
* netproc.c: put outgoing messages into the use table, too -- this prevents
locally originated messages from showing up again if a remote system is
misconfigured and spools them back to us.