Art Cancro [Sat, 15 Jan 2000 18:29:15 +0000 (18:29 +0000)]
* Added a generic (void *) parameter to the ForEachUser() and ForEachRoom()
callback mechanisms, to allow callers and callbacks to pass arbitrary data
between each other without requiring TSD variables.
* room_ops.c: eliminated the need for 'FloorBeingSearched' TSD variable
* internet_addressing.c: eliminated 'buffer1' and 'buffer2' TSD variables
Nathan Bryant [Tue, 11 Jan 2000 22:51:42 +0000 (22:51 +0000)]
* citclient.cpp: different IDEN string depending on __WXMSW__ etc.
macros
* hosts.cpp, prefs.cpp: pass FALSE to ini->Flush() as this is supposed
to be the default but WX headers appear to lack the default on
Windows
* includes.hpp: renamed class DoChat to class ChatWindow -- WTF was it
named like this?
* main.cpp: load bitmaps from resouces if __WXMSW__ is defined
* makefile.g95: add hosts.o
* daphne.rc: new file; Windows resource definitions. right now just
contains the bitmaps
Art Cancro [Sun, 9 Jan 2000 23:11:04 +0000 (23:11 +0000)]
* Auto-creation of various rooms is now done correctly (private, non-mailbox)
* Set up the "Local System Configuration" room and associated API & servcmds
Art Cancro [Sun, 9 Jan 2000 19:03:16 +0000 (19:03 +0000)]
* Removed the fifo-based protocol downloads and replaced it with a less
elegant "download temporary file to client, then sx/sb/sz" because
downloading through a fifo was confusing some software.
Art Cancro [Sat, 8 Jan 2000 05:00:10 +0000 (05:00 +0000)]
* Reworked some of the data structures to handle multiple recipients
* Began implementation of the delivery queue
* Added CtdlReallocUserData()
* CtdlSaveMsg() now returns the local message ID in the database
Steve Williams [Wed, 15 Dec 1999 03:01:07 +0000 (03:01 +0000)]
Changed 'enter' so that it ONLY asks for a recipient when in mail.
Changed goto so that it no longer deletes the message window when clicked
on. This results in a potential infinitate number of room menus, which
I'll fix when I have time. This was the ONLY instability. Previously
clicking on goto (in the menu, the arrow button OR the 'goto' button) more
than once would cause the program to crash. That's no longer the case.
The *ix version is now stable.
Fixed various problems in the MSW version, which will be released only in
executable form when stabilized.
Steve Williams [Wed, 15 Dec 1999 02:43:08 +0000 (02:43 +0000)]
Changed 'enter' so that in normal rooms it doesn't ask 'to' anymore. Now
it only asks for a recipient in Mail.
Remove delete this; in button_goto (roomview.cpp), as it was causing
daphne to crash if goto was clicked more than once. Unfortunately this
results in a potentially infinite number of room windows open at once,
but as this was the MAIN instability issue with the Linux version it had
to be dealt with.
Worked more on the windows port. Executable is unstable and will be
worked on this week. unfortunately wxWindows is not nearly as portable as
stated and I'll have to learn a whole new set of commands to deal with the
MSW port. Getting there though.
Art Cancro [Thu, 9 Dec 1999 00:22:58 +0000 (00:22 +0000)]
* Finished the "arbitrary service" registration.
* Eliminated "special" master socket for Citadel protocol - just register it
like any other protocol.
* Began initial implementation of native SMTP service.
Art Cancro [Fri, 3 Dec 1999 05:09:55 +0000 (05:09 +0000)]
* Rewrote the HTTP engine and application coupling to run in a worker thread
model and to run as a single multithreaded program (eliminated helper
processes and pipes). It currently runs but has many large bugs.
Art Cancro [Sun, 21 Nov 1999 18:30:17 +0000 (18:30 +0000)]
* Protected cmd_move() from buffer overrun (no longer crashes the server)
* cmd_chat() -- truncate input at 100 characters to prevent buffer overruns.
Also handle broken client sockets properly. (Thanks to DME for bug report)
Art Cancro [Wed, 17 Nov 1999 04:15:06 +0000 (04:15 +0000)]
* Removed the session_count() function. Instead, keep a reference count
updated when sessions begin and end.
* Replaced fixed number of worker threads with lower and upper limits; current
code now tries to make thread count == session count, within these limits
Steve Williams [Mon, 15 Nov 1999 05:22:11 +0000 (05:22 +0000)]
On disconnect, changed the SetStatusText() to "" for 1, and 2 to blank
the 2nd and 3rd status fields. Also fixed zap again. Replaced the
'zapped rooms' floor in the roomtree.cpp.
Steve Williams [Mon, 15 Nov 1999 04:19:19 +0000 (04:19 +0000)]
Killed the refresh timer in who.cpp
Updated the who function so that refreshes are no longer automated, but
WILL work when clicking on 'refresh' on the who window.
who_refresh had a timer which wasn't stoppable, which would, when
connecting to another bbs, continue running and then core dump.
Removed the read new button from roomview. It wasn't necessary as new
messages dump automatically.
Art Cancro [Mon, 15 Nov 1999 03:17:40 +0000 (03:17 +0000)]
* Put lockfile in /tmp instead of in /var/lock. The latter is not guaranteed
to exist, nor is it guaranteed to be writable by BBSUID
(Resolves bug #11 from the Bugzilla repository)