]> andersk Git - libfaim.git/blob - CHANGES
- Mon Jul 17 01:56:31 UTC 2000
[libfaim.git] / CHANGES
1
2 No release numbers
3 ------------------
4  - Mon Jul 17 01:56:31 UTC 2000
5    - Added 0004/000c callback (for message acknowledgments)
6       - This goes with the AIM_IMFLAGS_ACK option that has been there
7         for ages now.  When you send a message with that option, you'll
8         get a message back containing the screenname, telling you it was sent.
9    - Moved the aim_conn_kill's out of aim_get_command() and into
10       the client.  They're only closed in there now.  This is so that you 
11       can detect what type of connection died.  You'll want to handle
12       BOS and chat connections in special ways most likely.  You'll also
13       need to call aim_conn_kill when you're done with it.
14    - Added/fixed the Rate Change handlers.  Now passes up a long that
15       should contain a number.  I'm currently in pattern-searching mode.
16
17  - Sun Jul 16 22:59:39 GMT 2000
18    - Fixed the locking in the rendezvous code.  Hopefully is safe now.
19
20  - Sun Jul 16 11:03:28 GMT 2000
21    - Fixed 0001/000a chat printf.  (Actually a one liner a few days ago.)
22    - Started integrating josh's 3k rendezvous patch.  Currently only
23       directim is working.  And its got bugs.  But he's not online
24       right now, so I can't bitch.  I'd love to bitch here, but I'm 
25       tired. 
26      - Can definitly accept directim connections and send/recieve.
27      - See faimtest for the new callbacks.  (Urg.)
28      - Here weeee gooooo.  (Not sure if this will break everyone or not.)
29
30  - Fri Jun 30 00:04:47 UTC 2000
31    - Removed the forceful ICQ-related warnings, just in case they're wrong
32    - Added three new fields to the client info.  
33       - **REQUIRES CLIENT CHANGES -- see faimtest for new initializer
34    - Cleaned up aim_send_login()
35    - Put in a nice hidious fix for AOL's latest bit of the drama.  See
36       aim_readtlvchain() for the details.
37
38  - Mon Jun 26 07:53:02 UTC 2000
39    - Added utils/aimdebugd for playing with things -- see the README
40    - Added aim_im.c::aim_parse_outgoing_im().  Probably not useful
41       unless you're writing a server or something (or hacking aimdebugd).
42    - aim_send_im() now sends the same data as AIM4 does (three more bytes)
43    - Added aim_debugconn_sendconnect() for aimdebugd-enablement.
44
45  - Sat Jun 24 02:14:07 UTC 2000
46    - Added fakelocks for platforms without pthreads or that have no
47       use for them.
48    - Added workaround for MSG_WAITALL for people with the very broken
49       libc that comes with earlier Red Hat's.
50
51  - Sat Jun 24 00:44:24 UTC 2000
52    - Support zero-type TLVs in aim_extractinfo()
53      - AOL now ocassionally throws extra zeros in so in order to break
54          clients.  Aparently zero-type TLVs are a special case -- if the
55          type is zero, then _there is no length_ field.  AOL are geniuses.
56      - Note that you only get these if you send a bad client string, such
57          as the top one in faimtest.  If you #if 0 that one out and use the
58          second one, you'll be fine.  (Unless you just want to see the message
59          for yourself.  Its nifty. (FREE!))
60    - ICBM parser now uses aim_extractuserinfo() so that it can benefit
61        from the above changes, as well as clean up the whole "is it the 
62        first or the second one of this type?" issue
63      - This also fixes the changes AOL made in away messages.
64    = Fixed a possible buffer overflow when AOL changes the max sn length
65    - Increased MAXSNLEN to 32 (they appear to be valid)
66      - If you start getting messages from someone called "AOL Instant
67         Messenger", see comment one, paragraph two.
68    - aim_select() now returns a -1 if there are no connections open
69    - Connections are now killed completely if there is a major error on them
70    - faimtest now calls aim_logoff() on connection error
71
72  - Fri Jun 23 22:38:47 UTC 2000
73    - Adds start of adverts support
74    - Adds aim_bos_nop().  You may want to send this occassionally
75    - Fixes aim_rxhandlers.c to work for people with three-letter
76        screen names
77
78  - The week prior to Fri Jun 16 19:37:09 UTC 2000
79    - Rethought the rendezvous stuff.  DEFINIT WORK IN PROGRESS
80      - Do not bother trying to use this.  This will probably break
81          your clients.  You may or may not want to fix them, since 
82          I may change it again soon.  
83      - I REPEAT: This really is a developer-only version.  It barely
84          compiles.  I'm just committing it so I don't have so many
85          trees floating around.
86    - Added stuff to support OFT as well as OSCAR protocols
87    - Added aim_send_im_direct() for directim ("IM Image")
88    - Added caps getting/putting routines 
89    - Added more aim_login fixes to avoid more AOL stupidity
90      - This is the same as went to libfaim-devel yesterday, so don't upgrade
91        just to get these changes.
92    - Removed aimicq_encode_password -- now use the same table
93        for both ICQ and AIM
94    - Added AUTHORS
95
96  - Tue Jun  6 01:36:48 UTC 2000
97    - Inverted gethostbyname2() check.  Not sure how that ended up 
98        in that state.
99    - Added some of the initial framework to support file transfers
100    - Added in a few checks for that
101      - Can currently parse and send a denial message.
102    - Added cookie caching.  (Sorry, I just like saying that.)
103    - Rearranged channel 2 ICBM parsing (detects the different
104        rendezvous types better and hopefully accuratly).
105    - Killed the connection array.  Now a list.  (Suits the
106        upcoming features better.)  --- REQUIRES CLIENT CHANGES...
107      - In most cases, you need to change aim_conn_close() calls
108          to aim_conn_kill().  This will free them as well as 
109          close them.  If you don't do this, you'll pollute the
110          connection list and leak memory.
111    - Possibly a few other minor things (some cleanups to faimtest for one)
112
113  - Fri Jun  2 23:27:28 UTC 2000
114    - Cleaned up aim_send_login slightly
115    - Added aimicq_encode_password to support the new hash
116        values required for logging in with ICQ
117    - Removed crash when email and/or reg status aren't
118        in the auth response (they're not in ICQ responses)
119    - So now as long as you specify a client version of 
120        4.30.3141 in the client info, and your ICQ number
121        as your screen name, you can login to ICQ via libfaim
122        and use it just like an AIM account.
123    - Added AIM_CB_SPECIAL_CONNERR callback for recieving 
124        messages such as disconnect reasonses ("you logged
125        on from a different machine", etc).
126    - Added faimtest's userinfo handler to support away messages
127
128  - Fri Jun  2 15:57:27 UTC 2000
129    - Add creation time, maxmsglen, and various unknowns to chat info
130      update callback.
131    - Remove 'nothing works yet' comment from top of aim_chat.c (it works!)
132
133  - Wed May 31 01:17:24 UTC 2000
134    - Added constants for message sizes (MAXMSGLEN, MAXCHATMSGLEN)
135      - Note that the new max message size is defined as 7988bytes,
136          drastically larger than WinAIM lets you put out.  This is a
137          libfaim-exclusive feature :)
138    - Reduced base buffer size on aim_send_im()  
139  
140  - Tue May 30 22:32:31 UTC 2000
141    - Added lock around tx seqnum to prevent that race when transmitting
142        from diverse threads. (actually committed earlier today)
143    - Added aim_meta.c and a few constants and things to keep
144        track of "releases".  
145    - Added mkbuildinfo.sh to automatically update build string
146        "constants" on every invocation of 'make all'.
147
148  - Mon May 29 12:08:28 GMT 2000
149    - Rearranged aim_tx_flushqueue(); moved write operation 
150        to aim_tx_sendframe()
151    - Turned aim_tx_enqueue() into a macro that calls sess->tx_enqueue,
152        a function pointer to whatever you want to use to enqueue
153        things for transmition (or not)
154    - Old aim_tx_enqueue becomes aim_tx_enqueue__queuebased.  Added
155        aim_tx_enqueue__immediate for doing immediate writes.  Default
156        is to use queue-based procedure.
157    - Cleaned up parts of aim_conn.c
158    - Added locking around the sockets themselves.  Should allow
159        for full cross-thread usage.
160      - Unfortunatly, only pthreads are supported at this time.
161        If you don't have pthreads on your arch, implement the
162        macros your arch needs and send me a patch.  (A SysV
163        semaphore implementation would be trivial, as would a 
164        simple integer-based lock.)
165
166  - Sun May 21 14:59:20 GMT 2000
167    - Added infotype parameter to aim_getinfo() for requesting
168        different types of messages.  AIM_GETINFO_GENERALINFO
169        will get you the normal stuff, AIM_GETINFO_AWAYMESSAGE
170        will get the normal stuff, with the profile replaced with
171        the user's away message.  Also, the callback adds an 
172        unsigned short to the end to give you the value that
173        was originally passed to the request.
174    - There were a few server-pertinent changes that didn't get 
175        documented from last month.  I have no idea what they were.
176
177  - Sun Apr  2 07:29:11 UTC 2000
178    - Redid much of the tx path to remove the superfluous copy.  But
179        it touches every function that transmits.  Its been a long 
180        time in coming.
181    - Added caps parameter to aim_bos_setprofile().  You can now
182        control what capabilties you show up as others to
183    - Added ->capabilities to userinfo.  It should be nonzero when
184        its coming off buddy oncoming information, but NOT requested
185        user info.
186
187  - Sun Apr  2 01:45:15 UTC 2000
188    - Increased AIM_CONN_MAX from 5 to 7.  Precausionary only
189    - Removed deprecated TIS_TELNET_PROXY from faim/faimconfig.h
190    - Added macros for the simple integer functions in aim_util.c
191    - Removed usage of aim_failsaferead() 
192       - Still not sure why I had it to begin with.  I think it 
193         was a remament from when we used non-blocking sockets
194         (which I don't know why I did either)
195    - Removed some of the oddities in aim_get_command()
196       - gprof showed this taking 20kns on my k6-300.  Should be faster now.
197       - Added conn parameter.  This should prevent aim_select() from
198         getting called too many times in a row.
199
200  - Thu Mar 23 08:45:40 UTC 2000
201    - Removed aim_countconn() > 0 check in aim_select(), its logically redundent
202    - Added aim_putuserinfo() (inverse of aim_extractuserinfo())
203    - Added aim_sendbuddyoncoming/offgoing() 
204    - Rearranged loop in rxdispatch()
205    - Remove aim_conn_close() if connections dead in aim_get_command()
206
207  - Thu Mar 23 00:44:32 UTC 2000
208    - Added a check to purge_rxqueue to skip handled commands
209
210  - Mon Mar 20 05:30:59 UTC 2000
211    - Added some server-only functions for login
212    - Added aim_counttlvchain()
213    - Added aim_sncmp() and aim_snlen()
214
215  - Sun Mar 19 06:07:52 UTC 2000
216    - Added a parameter to aim_select to return event type 
217      - REQUIRES CLIENT CHANGES.
218    - For the most part rewrote the tx and rx queuing code 
219      - Should fix many, many outstanding problems in and related
220          to that code, including one that keeps memory from freeing 
221    - Fixed several bugs in various places
222    - Reformated a lot of code, and did general cleanups
223    - Should have a generally more robust lib now.
224
225  - Sun Mar 12 00:07:40 UTC 2000
226    - Fixed a robustness problem in aim_handleredirect_middle()
227    - Added TLV chain creation routines (yes, aimd is progressing)
228
229  - Mon Jan  3 04:07:55 UTC 2000
230    - Fixed bug in aim_snac.c
231    - Fixed condition where commands read from connections that have 
232        been closed were still left in the queue.  Now cancelled.
233    - Added some printfs to aim_info to get more informative crahes
234    - Fixed a bug in aim_rxqueue::purge
235
236  - Sun Jan  2 10:31:19 UTC 2000
237    - Cleanups in aim_info.c
238    - Can compile with -Ddebug=100 again
239    - Implemented chat: Joining/Leaving, info parsing, IM parsing/sending
240    - Implemented some chatnav: rights req/parsing, room creation
241
242  - Thu Dec 30 10:08:42 UTC 1999
243    - Fixed bug in aim_im.c when (encoding == NULL) || (lang == NULL)
244    - Added detection of voice chat requests
245    - Added AIM_CLASS_* defines, including new Away flag
246    - Added awaymsg parameter to bos_setprofile.
247      - If awaymsg is nonnull, you will be advertised as being away (your
248          class will be ORed with AIM_CLASS_AWAY), otherwise you'll show 
249          up normal.
250
251  - Wed Dec 29 10:06:35 UTC 1999
252    - Fixed small bug in IM parser
253    - Added stubs for the capability TLVs in userinfo.
254
255  - Wed Dec 29 09:14:45 UTC 1999
256    - Added a capability block to aim_bos_setprofile.  Can now get chat 
257        invites again.
258    - Extended ICBM parser to support channel 2 messages (chat invites)
259      - A channel parameter has been prepended to the varargs -- REQUIRES 
260          CLIENT CHANGES.
261      - Extended faimtest to support chat invites.
262    - Changed faimtest to get sn/password from environment
263
264  - Wed Dec 29 04:17:03 UTC 1999
265    - Added -g to CFLAGS
266    - Added aim_sendconnack() to aim_login.c (needed for newer login)
267    - Added code for the new SNAC-based login/auth procedure. (see SNACLOGIN
268        in faim/faimconfig.h for why its not enabled)
269    - Reimplemented aim_authparse(), aim_handleredirect() using TLVlists
270        - The old auth_failed callback is now integrated into the
271            success one.  If there was an error, logininfo->errorcode is nonzero
272    - Fiddled with version information.  Added aim_setversions()
273    - Added table of SNAC names for showing unknown snacs (jbm)
274    - Added a middle handler for MOTD
275    - Added new authorization SNACs to faim/aim_cbtypes.h   
276
277  - Sun Dec 26 22:59:10 UTC 1999
278    - Renamed login_phase1_struct to aim_login_struct
279    - Changed cookie and sn to be static arrays in aim_login_struct
280    - Integrated the Jabber-faim changes.  (temas)  [BIG CLIENT CHANGES]
281      - Added aim_session_t, removed all global variables
282      - Changed all functions to accept a session pointer
283      - Removed aim_global.c
284      - Updated faimtest to use an aim_session_t.
285      - Removed all cases where logininfo was passed as vararg to client
286    - Fixed small bug in aim_newconn's 'fixing' of host:port addresses
287    - Added an install rule to the makefile (installs headers+so only!)
288    - Enabled USE_SNAC_FOR_IMS by default, assuming it got fixed
289        by n's new aim_snac.c from ages ago
290    - Implemented a middle handler for 0004/0001 message errors, added
291        snacid lookup to get illfated destination SN and pass to client
292    - Implemented a short middle handler for offgoing buddy.
293
294  - Fri Dec 24 21:30:06 UTC 1999
295    - Added an error-counting Read() that has been sitting in my inbox
296    - Cleaned up header files, created aim_cbtypes.h.
297    - Added void * to aim_conn_t for private client use if they want. (Orb)
298    - Removed all stderr output.  All output is important, and goes to stdout.
299    - Renamed isautoresponse in IM parser to icbmflags.
300    - Added Orb's fix for the new login code, deleted old (see Orb, I do read
301        your mail....eventually).
302    - Added mailing lists to README.
303
304  - Fri Dec 24 11:12:34 UTC 1999
305    - Cleaned up both outgoing and incoming ICBM handling.  Anything
306        that crashes around there is no longer libfaims fault!
307        - The encoding flags are now passed up to the client.
308    - Added several TLV routines to parse large blocks of continuous
309        TLV triplets.  Not terribly effecient, but quite elegent in usage.
310    - Added icbm_setparams() back in from way-back-long-ago.  It hasn't
311        been implemented in a long time, but I think we should still send it.
312
313  - Fri Dec 24 01:23:06 UTC 1999
314    - Fixed a very minor bug in aim_newconn().
315    - Added aimutil_get{16,32}()
316    - Added aim_extractuserinfo() for extracting  user data
317        blocks and putting them into struct aim_userinfo_s's.
318          - Added a loop to print out info on extraneous TLVs.
319          - Put in lots of comments.
320    - Added parse_oncoming_middle() to parse the user data
321        block of that packet.  Now passes struct aim_userinfo_s
322        to client.
323    - Rearranged parse_userinfo_middle().  Now passes an entire
324        userinfo struct to client instead of individual variables.
325    - Convered the version of parse_im_middle() thats actually getting
326        used to pass up a userinfo struct.  
327    - Updated faimtest to accept new structs.
328
329  - Tue Dec 21 06:18:50 UTC 1999
330    - Fixed a Win32 header problem
331  - Tue Dec 21 03:44:13 UTC 1999
332    - Latency timers now update on rx as well as tx.  Gets rid of even more
333        of the rate problems that most clients are having.  
334    - Renamed lasttx and settxlatency to lastactivity and setlatency, respec.
335    - Integrated fixes needed for Win32 -- should compile cleanly now (DMP)
336    - Cleaned up some places, use aim_putsnac everywhere now.
337
338  - Sun Sep 26 20:04:20 MST 1999
339    - Reduced the IM parsing to look for 3 zeros instead of 4 -- NEEDS WORK
340        - This was needed to work with MacAIM3 and some WinAIM3s.
341    - Added aim_conn_settxlatency() for throttling outgoing frames -- NEEDS WORK
342    - Added an int to the userinfo and incoming IM user callbacks for new
343        TLV that AOL put it in -- its the number of seconds elapsed since
344        the user logged in
345    - Worked more on the callbacks (more internal rearrangements)
346    - Fixed bug in aim_select() (returning negative fds)
347    - Clear out logininfo struct before putting more data into it
348    - Other bugfixes that I can't particularly remember.
349
350  - Tue Aug 24 03:13:12 UTC 1999   --- TRANSITION RELEASE!!
351    - Added jbm's new aim_rxqueue.c, which should crash less
352    - Started the overhaul on the callback system.  No where near complete yet.
353
354  - Sun Aug  1 03:02:17 UTC 1999
355    - Added aimutil_*()s in aim_util.c for raw byte placement
356    - Cleaned up aim_im.c, aim_auth.c, and aim_login.c using aimutil_*
357    - Added AIM_IMFLAGS, flags option to aim_send_im(), removed
358        aim_send_im_away()
359    - Added client_info parameter to aim_send_login()
360    - Tweaked aim_send_im() (AOL changed a few things, there's some more
361        changes left to do)
362    - Some Chat stuff changed, still no where near functional
363    - Finally remembered to switch the license to LGPL (from GPL)
364    - Permit/Deny (blocking) list support added
365    - Released a snapshot
366
367  - Sat Jul 31 05:28:38 UTC 1999
368    - Changed aim_bos_setdeny() to aim_bos_changevisibility() and actually
369        did the implementation.  
370
371  - Fri Jul 23 17:45:22 UTC 1999
372    - Work around for the AOL change in IP syntax (thanks to Eric Peyton)
373    - Released snapshot
374
375  - Sun Apr 25 23:31:44 UTC 1999
376    - Fixed stupid off-by-one bug in aim_logoff()
377
378  - Sun Apr 25 22:43:31 UTC 1999
379    - Renamed/reclassified missed IM errors (now all callbacks -- no backend handling)
380    - Killed aim_login() -- all connections now opened in frontend
381    - aim_conn_close() will not close fd's < 3
382    - Released snapshot.
383
384  - Sat Apr 10 22:44:07 UTC 1999
385    - Changed how rx_command->handled works; now uses return value from callback
386    - Changed the if's in the dispatcher (aim_rxhandlers.c) to switch()es
387
388  - Sat Apr 10 03:51:21 UTC 1999
389    - Started CHANGES
390    - Put in n's aim_snac.c.
391    - Updated aim_{add,remove}_buddy() to use aim_conn
392    - Updated aim_usersearch_address() to use aim_conn
393    - Cleaned up aim.h a bit (removed old *phase* protos)
394    - Changed gethostbyname() to gethostbyname2() (for MacOS X)
395    - Changed aim_newconn() to pass connection errors in connstruct->status
396      - Updated faimtest.c to detect connection errors
397    - Fixed a small typo in aim_im::aim_parse_incoming_im_middle()
398    - Added free()s in that function and to userinfo counterpart (fewer leaks)
399    - Released snapshot
400
401  - Sat Apr  3 06:43:14 UTC 1999
402    - Released snapshot
403
404  - Wed Dec 30 01:20:59 MST 1998
405    - Released snapshot
406
407  - Mon Dec  7 16:57:57 MST 1998
408    - Released snapshot
409
410  - Sat Dec  5 00:01:53 MST 1998
411    - Released snapshot
412  
413  - Thu Nov 26 17:50:02 MST 1998
414    -  Released snapshot
This page took 1.978748 seconds and 5 git commands to generate.