# HG changeset patch # User Adam Fritzler # Date 1004859748 0 # Node ID 44773c4b0f166ff47ed33e728018ae7994f116d3 # Parent f1d44505d66a36ab9d2f63fc4b74bfa3ccc4199a [gaim-migrate @ 2682] So I was out driving around and went to get back on I-80, but there was no Westbound onramp at Cutting. I was so unpleased. I kept driving. Their were signs for San Rafael, so I just kept going. Little did I know that the it was referring to an onramp to westbound 580, and that it was quite a distance from where I started. It was good, though, because I was bored anyway. committer: Tailor Script diff -r f1d44505d66a -r 44773c4b0f16 src/buddy.c --- a/src/buddy.c Fri Nov 02 23:02:31 2001 +0000 +++ b/src/buddy.c Sun Nov 04 07:42:28 2001 +0000 @@ -1877,7 +1877,7 @@ static char buf[256], *tmp; int count = 0, i = 0; gushort bit = 1; - while (bit <= 0x80) { + while (bit <= 0x400) { if (bit & caps) { switch (bit) { case 0x1: @@ -1899,11 +1899,15 @@ tmp = _("Send File"); break; case 0x40: + case 0x200: tmp = _("Games"); break; case 0x80: tmp = _("Stocks"); break; + case 0x400: + tmp = _("EveryBuddy Bug"); + break; default: tmp = NULL; break; diff -r f1d44505d66a -r 44773c4b0f16 src/protocols/oscar/aim.h --- a/src/protocols/oscar/aim.h Fri Nov 02 23:02:31 2001 +0000 +++ b/src/protocols/oscar/aim.h Sun Nov 04 07:42:28 2001 +0000 @@ -809,6 +809,7 @@ #define AIM_CAPS_SAVESTOCKS 0x0080 #define AIM_CAPS_SENDBUDDYLIST 0x0100 #define AIM_CAPS_GAMES2 0x0200 +#define AIM_CAPS_EVERYBUDDY 0x0400 #define AIM_CAPS_LAST 0x8000 faim_export int aim_0002_000b(aim_session_t *sess, aim_conn_t *conn, const char *sn); diff -r f1d44505d66a -r 44773c4b0f16 src/protocols/oscar/info.c --- a/src/protocols/oscar/info.c Fri Nov 02 23:02:31 2001 +0000 +++ b/src/protocols/oscar/info.c Sun Nov 04 07:42:28 2001 +0000 @@ -124,34 +124,47 @@ unsigned char data[16]; } aim_caps[] = { - {AIM_CAPS_BUDDYICON, - {0x09, 0x46, 0x13, 0x46, 0x4c, 0x7f, 0x11, 0xd1, + /* + * Chat is oddball. + */ + {AIM_CAPS_CHAT, + {0x74, 0x8f, 0x24, 0x20, 0x62, 0x87, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, + /* + * These are mostly in order. + */ {AIM_CAPS_VOICE, {0x09, 0x46, 0x13, 0x41, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, + {AIM_CAPS_SENDFILE, + {0x09, 0x46, 0x13, 0x43, 0x4c, 0x7f, 0x11, 0xd1, + 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, + + /* + * Advertised by the EveryBuddy client. + */ + {AIM_CAPS_EVERYBUDDY, + {0x09, 0x46, 0x13, 0x44, 0x4c, 0x7f, 0x11, 0xd1, + 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, + {AIM_CAPS_IMIMAGE, {0x09, 0x46, 0x13, 0x45, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, - {AIM_CAPS_CHAT, - {0x74, 0x8f, 0x24, 0x20, 0x62, 0x87, 0x11, 0xd1, + {AIM_CAPS_BUDDYICON, + {0x09, 0x46, 0x13, 0x46, 0x4c, 0x7f, 0x11, 0xd1, + 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, + + {AIM_CAPS_SAVESTOCKS, + {0x09, 0x46, 0x13, 0x47, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, {AIM_CAPS_GETFILE, {0x09, 0x46, 0x13, 0x48, 0x4c, 0x7f, 0x11, 0xd1, 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, - {AIM_CAPS_SENDFILE, - {0x09, 0x46, 0x13, 0x43, 0x4c, 0x7f, 0x11, 0xd1, - 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, - - {AIM_CAPS_SAVESTOCKS, - {0x09, 0x46, 0x13, 0x47, 0x4c, 0x7f, 0x11, 0xd1, - 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}}, - /* * Indeed, there are two of these. The former appears to be correct, * but in some versions of winaim, the second one is set. Either they