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.
Art Cancro [Sun, 8 Aug 1999 00:25:45 +0000 (00:25 +0000)]
* Made one more byte available in locate_host() and in all the structs which
its output gets written to (client can display 24 positions but we were only
saving 23).
Art Cancro [Fri, 6 Aug 1999 02:57:26 +0000 (02:57 +0000)]
* locate_host.c: use strdoop() and phree() instead of strdup() and free()
* serv_icq.c: run learned IP's through Citadel's locate_host() & put in Wholist