mid [Wed, 31 May 2000 01:21:44 +0000 (01:21 +0000)]
- Wed May 31 01:17:24 UTC 2000
- Added constants for message sizes (MAXMSGLEN, MAXCHATMSGLEN)
- Note that the new max message size is defined as 7988bytes,
drastically larger than WinAIM lets you put out. This is a
libfaim-exclusive feature :)
- Reduced base buffer size on aim_send_im()
mid [Tue, 30 May 2000 22:37:20 +0000 (22:37 +0000)]
- Tue May 30 22:32:31 UTC 2000
- Added lock around tx seqnum to prevent that race when transmitting
from diverse threads. (actually committed earlier today)
- Added aim_meta.c and a few constants and things to keep
track of "releases".
- Added mkbuildinfo.sh to automatically update build string
"constants" on every invocation of 'make all'.
mid [Mon, 29 May 2000 12:37:45 +0000 (12:37 +0000)]
- Mon May 29 12:08:28 GMT 2000
- Rearranged aim_tx_flushqueue(); moved write operation
to aim_tx_sendframe()
- Turned aim_tx_enqueue() into a macro that calls sess->tx_enqueue,
a function pointer to whatever you want to use to enqueue
things for transmition (or not)
- Old aim_tx_enqueue becomes aim_tx_enqueue__queuebased. Added
aim_tx_enqueue__immediate for doing immediate writes. Default
is to use queue-based procedure.
- Cleaned up parts of aim_conn.c
- Added locking around the sockets themselves. Should allow
for full cross-thread usage.
- Unfortunatly, only pthreads are supported at this time.
If you don't have pthreads on your arch, implement the
macros your arch needs and send me a patch. (A SysV
semaphore implementation would be trivial, as would a
simple integer-based lock.)
mid [Sun, 21 May 2000 23:14:30 +0000 (23:14 +0000)]
- Sun May 21 14:59:20 GMT 2000
- Added infotype parameter to aim_getinfo() for requesting
different types of messages. AIM_GETINFO_GENERALINFO
will get you the normal stuff, AIM_GETINFO_AWAYMESSAGE
will get the normal stuff, with the profile replaced with
the user's away message. Also, the callback adds an
unsigned short to the end to give you the value that
was originally passed to the request.
- There were a few server-pertinent changes that didn't get
documented from last month. I have no idea what they were.
- Sun Apr 2 07:29:11 UTC 2000
- Redid much of the tx path to remove the superfluous copy. But
it touches every function that transmits. Its been a long
time in coming.
- Added caps parameter to aim_bos_setprofile(). You can now
control what capabilties you show up as others to
- Added ->capabilities to userinfo. It should be nonzero when
its coming off buddy oncoming information, but NOT requested
user info.
- Sun Apr 2 01:45:15 UTC 2000
- Increased AIM_CONN_MAX from 5 to 7. Precausionary only
- Removed deprecated TIS_TELNET_PROXY from faim/faimconfig.h
- Added macros for the simple integer functions in aim_util.c
- Removed usage of aim_failsaferead()
- Still not sure why I had it to begin with. I think it
was a remament from when we used non-blocking sockets
(which I don't know why I did either)
- Removed some of the oddities in aim_get_command()
- gprof showed this taking 20kns on my k6-300. Should be faster now.
- Added conn parameter. This should prevent aim_select() from
getting called too many times in a row.
mid [Thu, 23 Mar 2000 22:42:10 +0000 (22:42 +0000)]
- Thu Mar 23 08:45:40 UTC 2000
- Removed aim_countconn() > 0 check in aim_select(), its logically redundent
- Added aim_putuserinfo() (inverse of aim_extractuserinfo())
- Added aim_sendbuddyoncoming/offgoing()
- Rearranged loop in rxdispatch()
- Remove aim_conn_close() if connections dead in aim_get_command()
mid [Sun, 19 Mar 2000 08:55:50 +0000 (08:55 +0000)]
- Sun Mar 19 06:07:52 UTC 2000
- Added a parameter to aim_select to return event type
- REQUIRES CLIENT CHANGES.
- For the most part rewrote the tx and rx queuing code
- Should fix many, many outstanding problems in and related
to that code, including one that keeps memory from freeing
- Fixed several bugs in various places
- Reformated a lot of code, and did general cleanups
- Should have a generally more robust lib now.