aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | | | | | | | | | | | | Merging in Jabber resource selection fix. This adds the activity_timeoutWilmer van der Gaast2010-03-18-47/+58
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting, which makes BitlBee send a message to bare JIDs if there was no recent seen activity from any of the person's resources. This should fix most issues with messages going to the wrong resource (i.e. someone's mobile phone instead of something more sensible).
| * | | | | | | | | | | | | | | | | | | Fixed a bug that caused full JIDs to get lost sometimes with the new wayWilmer van der Gaast2010-03-18-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of storing full JIDs belongong to a contact.
| * | | | | | | | | | | | | | | | | | | Fixed jabber_util unittest. It passes, yet something still seems to beWilmer van der Gaast2010-03-12-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | broken. :-(
| * | | | | | | | | | | | | | | | | | | Merging mainline.Wilmer van der Gaast2010-03-12-205/+197
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | Restoring some logic that seemed broken but was important with handlingWilmer van der Gaast2009-11-19-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of chatrooms (and likely more things). The restored version is somewhat less confusing.
| * | | | | | | | | | | | | | | | | | | | Fixed a facepalm kind of NULL pointer dereference bug.Wilmer van der Gaast2009-11-19-4/+5
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | resource_select now defaults to activity instead of priority. Also, addingWilmer van der Gaast2009-11-19-48/+54
| | |_|_|_|_|_|_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a activity_timeout setting. Now, messages to someone who hasn't spoken for a while will be sent to his/her bare JID, usually resulting in a broadcast. This should fix issues with messages sometimes arriving on someone's Crackberry/Android/etc instead of some place s/he's paying attention to. Last, the activity timer is only reset on incoming messages.
* | | | | | | | | | | | | | | | | | | | Set resource_select to activity by default since priority has always been1.2.5Wilmer van der Gaast2010-03-17-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a stupid default. More fixes coming up soon.
* | | | | | | | | | | | | | | | | | | | Really set Yahoo! status messages properly. YMSG, how I hate you.Wilmer van der Gaast2010-03-16-1/+1
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Include non-away status messages in blist and whois responses. The whoisWilmer van der Gaast2010-03-16-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change is a complete violation of the IRC protocol but that doesn't seem to be an uncommon thing.
* | | | | | | | | | | | | | | | | | | | Deal with stupid (on first sight, at least) Yahoo! server behaviour causingWilmer van der Gaast2010-03-15-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | double free()s on testing ATM. Apparently it's perfectly legal to give buddy information with an "end buddy" marker but no "begin buddy".
* | | | | | | | | | | | | | | | | | | | Oops.. Today's Jabber fix could get stuck in a somewhat infinite loop if aWilmer van der Gaast2010-03-15-17/+3
| |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jabber server returns an empty <iq type="result"/> response to the session establishment request (which is valid and actually done by the example, but my test Jabberd shows different behaviour). Fixed.
* | | | | | | | | | | | | | | | | | | 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...