aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | | | | | | | | | | | Fix for bug #536: No longer fail on corrupted USR responses with certainWilmer van der Gaast2010-03-14-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unicode characters in the friendly name.
* | | | | | | | | | | | | | | | | | | Allow disabling certain IM protocols at runtime, patch fromWilmer van der Gaast2010-03-14-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | misc@mandriva.org, bug #381.
* | | | | | | | | | | | | | | | | | | Adding a few consts and other misc fixes from bug #431. Doing this via aWilmer van der Gaast2010-03-14-19/+23
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merge because bzr can probably deal with the conflicts better than patch.
| * | | | | | | | | | | | | | | | | | | Some const/etc cleanups submitted by domen@coderock.org back in bug #431.Wilmer van der Gaast2010-03-14-20/+24
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Don't send bind and session requests at the same time when logging inWilmer van der Gaast2010-03-14-31/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because some very picky jabberd's don't like it. (Fixes Bug #569)
* | | | | | | | | | | | | | | | | | | Don't send a <?xml> stream start after starttls since it upsets certainWilmer van der Gaast2010-03-14-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jabberd's including Zimbra's. Thanks to jMCg and balzar in #bitlbee for helping with figuring this out.
* | | | | | | | | | | | | | | | | | | Added nick_source account setting to allow using full name fields forWilmer van der Gaast2010-03-13-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generating nicknames instead of just the handle.
* | | | | | | | | | | | | | | | | | | Fixed handling of contact lists where at least the first contact is not inWilmer van der Gaast2010-03-13-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | any group yet. Crashing is not the right solution.
* | | | | | | | | | | | | | | | | | | Yahoo! status updates (at least initial ones, I assume) can be too long toWilmer van der Gaast2010-03-12-25/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fit into one packet. Yahoo! servers will split them up, and not necessarily on buddy boundaries. Trying to handle this a little bit better now. (Sadly I can't test this myself, I can only see this causing troubles on testing sometimes.)
* | | | | | | | | | | | | | | | | | | Merging in some code from libyahoo2-trunk that deals better with (initial)Wilmer van der Gaast2010-03-12-194/+146
| |_|/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | status updates and cleans up some stale stuff.
* | | | | | | | | | | | | | | | | | Fixed an "off-by -1" bug in msn_findheader() that could probably be triggeredWilmer van der Gaast2010-03-10-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by incoming messages without headers.
* | | | | | | | | | | | | | | | | | Fixed a compiler warning for an ugliness that fortunately shouldn't haveWilmer van der Gaast2010-03-09-1/+1
| |_|_|_|_|_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caused any issues except with broken protocol modules.
* | | | | | | | | | | | | | | | | Changed formatting of Jabber buddy info response.Wilmer van der Gaast2010-03-07-4/+5
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Two more fixes in OSCAR to avoid NULL pointers being passed toWilmer van der Gaast2010-03-07-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | g_strcasecmp().
* | | | | | | | | | | | | | | | | Added global and per-account settings "away" and "status" so the user canWilmer van der Gaast2010-03-07-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set these things individually.
* | | | | | | | | | | | | | | | | Adapted nogaim.c. Pretty nice cleanup of away state alias handling, mostly.Wilmer van der Gaast2010-03-06-45/+40
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Yahoo! fixes. Turns out the protocol really is somewhat odd.Wilmer van der Gaast2010-03-06-5/+6
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Put AWY at the beginning of the list since it's used as a fallback.Wilmer van der Gaast2010-03-06-1/+1
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Fixed up Yahoo! I'll have to do some more thorough testing of this codeWilmer van der Gaast2010-03-06-45/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since I may have broken something.
* | | | | | | | | | | | | | | | | OSCAR cleanup.Wilmer van der Gaast2010-03-06-15/+20
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | MSN module updated to deal with the new API. Not many changes since itWilmer van der Gaast2010-03-06-41/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't currently support away messages anyway. This is more a bit of a cleanup.
* | | | | | | | | | | | | | | | | Away with this stupid GAIM_AWAY_CUSTOM constant. Let's see what still uses it.Wilmer van der Gaast2010-03-06-3/+2
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | The Jabber part of the change. Also made representation of not-away a bitWilmer van der Gaast2010-03-06-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more consistent. Except for free-for-chat, which is nuts anyway.
* | | | | | | | | | | | | | | | | A few fixes for bugs that caused coredumps on testing.bitlbee.org (orWilmer van der Gaast2009-12-17-11/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caught my attention in new compiler warnings).
* | | | | | | | | | | | | | | | | Committing some >1y old change. This seems to fix a small leak in the MSNWilmer van der Gaast2009-12-07-15/+20
| |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mail notification handler.
* | | | | | | | | | | | | | | | Shuffling a few more #includes. Much more shuffling will be needed.Wilmer van der Gaast2009-10-23-4/+7
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Don't include chat.h from bitlbee.h. make install-dev doesn't installWilmer van der Gaast2009-10-22-0/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chat.h and it shouldn't ... but things broke because bitlbee.h includes it. Fixes #534.
* | | | | | | | | | | | | | | If you can't find what you expect in an IQ packet, it doesn't mean it'sWilmer van der Gaast2009-10-17-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incorrect, so stop spamming. Ideally it should return a feature-not- implemented but I'll do that later.
* | | | | | | | | | | | | | | Valgrind pointed me at some memory leaks in the Yahoo! codek, including oneWilmer van der Gaast2009-10-17-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that existed for a while already. Fixed.
* | | | | | | | | | | | | | | Turns out I *did* implement HTTPS auth for Yahoo! myself already, but IWilmer van der Gaast2009-10-13-184/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kept it as a patch somewhere in my homedir because I thought I didn't need it. I like this code more so I'll use it instead.
* | | | | | | | | | | | | | | Setting Yahoo! away states works again.Wilmer van der Gaast2009-10-10-23/+30
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Fixed an ugly bug in the write handler that may have caused many weird bugsWilmer van der Gaast2009-10-10-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for a while already by only sending one packet even if more of them were generated during an event cycle.
* | | | | | | | | | | | | | | More Yahoo! fixes: Adding and removing buddies works, and for the firstWilmer van der Gaast2009-10-10-41/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | time buddy add requests are actually handled; from what I can see this simply didn't exist in libyahoo2 yet so far. :-( I melded pieces of changes from http://geny.sf.net/ to make this stuff work.
* | | | | | | | | | | | | | | Added imcb_ask_auth() instead of reimplementing authorization requestsWilmer van der Gaast2009-10-10-13/+61
| |_|_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in every protocol module.
* | | | | | | | | | | | | | Fixing a crash bug that causes crashes only with buggy Jabber conferenceWilmer van der Gaast2009-10-04-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | servers, sending a "you left this chat" without first acknowledging you entering it.
* | | | | | | | | | | | | | Cleaned up Yahoo! fix: Error handling, and also not crashing when theWilmer van der Gaast2009-10-03-77/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connection disappears again before authentication finishes.
* | | | | | | | | | | | | | Yahoo! can log in again. This code still needs major cleanups, use it onlyWilmer van der Gaast2009-10-03-9/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if you're very desparate.
* | | | | | | | | | | | | | Fixed compatibility with AIM mobile messages. Should work according toWilmer van der Gaast2009-06-18-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reports in bug #88 (where this patch comes from) and #bitlbee. Not sure about side effects, one way to find out...
* | | | | | | | | | | | | | Fixed a bug that caused crashes when joining certain kinds of Google TalkWilmer van der Gaast2009-06-03-2/+4
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chatrooms. Doesn't seem to be Google Talk specific, other than that this is the first time I see empty <x xmlns="http://jabber.org/protocol/muc#user"/> elements that cause this crash. A more proper/efficient fix may be to just move the break outside the inner if.
* | | | | | | | | | | | | Detect disconnects caused by concurrent logins or rate limiting, and disableWilmer van der Gaast2008-12-14-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | auto-reconnect in those cases to prevent loops.
* | | | | | | | | | | | | Dropping warnings about unknown JIDs since they're spammy (mostly show upWilmer van der Gaast2008-12-14-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the user logs in from mulitple locations) and the irc->debug setting shouldn't be read from inside the IM modules.
* | | | | | | | | | | | | Fixed ic->away leaking memory. This var is only used by OSCAR and shouldWilmer van der Gaast2008-12-14-27/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maybe be killed. Also fixed some completely broken indentation in those functions.
* | | | | | | | | | | | | Adding the password to the right part of the <presence> stanza so joiningWilmer van der Gaast2008-09-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | password-protected rooms *really* works.
* | | | | | | | | | | | | Restored support for password-protected chatrooms (for now only by acceptingWilmer van der Gaast2008-09-28-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a password in the IRC JOIN command).
* | | | | | | | | | | | | Fixed one crash bug in Yahoo! chatroom invitation handling.Wilmer van der Gaast2008-09-28-2/+15
| | | | | | | | | | | | |
* | | | | | | | | | | | | Added auto_join code.Wilmer van der Gaast2008-08-31-0/+11
| | | | | | | | | | | | |
* | | | | | | | | | | | | Added SET_INVALID, which set evaluators should now return instead of NULLWilmer van der Gaast2008-08-24-11/+7
| |_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the given value is not accepted. This to allow certain variables actually be set to NULL (server, for example). This should fully close #444.
* | | | | | | | | | | | Added msn_sb_write_msg() (patch from ulim).Wilmer van der Gaast2008-08-10-58/+51
| | | | | | | | | | | |
* | | | | | | | | | | | Added ceiling to auto-reconnect delay, changed the default to 5*3<900 andWilmer van der Gaast2008-08-10-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added documentation.
* | | | | | | | | | | | Simple exponential backoff code. Have to add a maximum delay setting,Wilmer van der Gaast2008-08-06-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | something like 5*5<300: 5s, multiply by 5 on each failure, but stop increasing once we hit 5m.