Mercurial > pidgin
changeset 2669:44773c4b0f16
[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 <tailor@pidgin.im>
author | Adam Fritzler <mid@auk.cx> |
---|---|
date | Sun, 04 Nov 2001 07:42:28 +0000 |
parents | f1d44505d66a |
children | f6f2871d77c2 |
files | src/buddy.c src/protocols/oscar/aim.h src/protocols/oscar/info.c |
diffstat | 3 files changed, 31 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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);
--- 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