aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
* 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.
* Microsoft, I hate you.Wilmer van der Gaast2008-08-02-197/+207
|
* Reverting to the old MSN/Passport authentication mechanism, the new oneWilmer van der Gaast2008-07-31-207/+197
| | | | | is "broken". (Bug #439)
* ext_yahoo_error() shouldn't close the connection if the error is fatal,Wilmer van der Gaast2008-07-29-3/+0
| | | | | the caller will do it already.
* Merging changes from Jelmer: It's now possible to cross-compile a WindowsWilmer van der Gaast2008-06-30-4/+0
|\ | | | | | | | | version of BitlBee from Linux. No working SSL support yet though!
| * Merge trunk.Jelmer Vernooij2008-06-28-87/+156
| |\
| * \ Merge support for cross-compiling for Windows using the mingw32 compiler.Jelmer Vernooij2008-06-10-4/+0
| |\ \
| | * | Move SSPI SSL implementation to same directory as other SSL backends.Jelmer Vernooij2008-06-10-278/+0
| | | |
| | * | Merge integration branch.Jelmer Vernooij2008-06-09-24/+64
| | |\ \ | | |/ / | |/| |
| | * | Merge trunk.Jelmer Vernooij2008-04-02-18521/+6547
| | |\ \
| | * | | Remove unnecessary Windows-specific code.Jelmer Vernooij2006-05-26-4/+0
| | | | |
| | * | | [merge] WilmerJelmer Vernooij2006-05-26-10/+19
| | |\ \ \
| | * | | | Fix some unresolved symbols.Jelmer Vernooij2006-05-26-30/+53
| | | | | |
| | * | | | [merge] integrationJelmer Vernooij2006-05-25-19/+28
| | |\ \ \ \
| | * | | | | Some more work on SSL on WindowsJelmer Vernooij2006-05-25-4/+38
| | | | | | |
| | * | | | | #ifdef out some Win32-incompatible code blocksJelmer Vernooij2006-05-25-2/+2
| | | | | | |
| | * | | | | [merge] WilmerJelmer Vernooij2006-05-25-485/+474
| | |\ \ \ \ \
| | * \ \ \ \ \ [merge] WilmerJelmer Vernooij2006-03-01-374/+58
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merge WilmerJelmer Vernooij2006-01-10-945/+926
| | |\ \ \ \ \ \ \
| | * | | | | | | | Initial work on a SSPI SSL backendJelmer Vernooij2005-12-18-0/+210
| | | | | | | | | |
| | * | | | | | | | Merge integrationJelmer Vernooij2005-12-17-31/+84
| | |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ Merge WilmerJelmer Vernooij2005-12-15-116/+315
| | |\ \ \ \ \ \ \ \ \
* | | | | | | | | | | | Fixed two memory leaks in the MSN module.Wilmer van der Gaast2008-06-29-3/+20
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
* | | | | | | | | | | Never use yahoo_close() directly, always use yahoo_logoff().Wilmer van der Gaast2008-06-24-4/+1
| | | | | | | | | | |
* | | | | | | | | | | From the department of over-engineering, now cached packet IDs are fullWilmer van der Gaast2008-06-22-19/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MD5 hashes instead of a known MD5 hash with a number. Just to make it harder to confuse BitlBee by sending it faked responses to packets.
* | | | | | | | | | | Shut up a "mostly harmless" warning (this NULL would never actually beWilmer van der Gaast2008-06-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dereferenced as far as I can see).
* | | | | | | | | | | Another fixup after [devel,394]. Clearly I'm not a morning person.Wilmer van der Gaast2008-06-22-2/+2
| | | | | | | | | | |
* | | | | | | | | | | Fixed bug in [devel,394].Wilmer van der Gaast2008-06-22-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Partial fix for #419: Moved normalize() and some other stuff to OSCARWilmer van der Gaast2008-06-22-29/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | becuase it's the only place where it's used, and using this to strip spaces from all screennames before sending them to BitlBee.
* | | | | | | | | | | Now preserving case in JID resources, and handling them with case sensitivityWilmer van der Gaast2008-06-22-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since apparently that's how the RFC wants it. (While the rest of the JID should be case IN-sensitive. Consistency is hard to find these days...) Also extended the unittests a little bit. Closes #422.
* | | | | | | | | | | Added jabber_util unittests (buddy_add/_by_jid only ATM).Wilmer van der Gaast2008-06-22-1/+3
| | | | | | | | | | |
* | | | | | | | | | | Using a port list instead of a single range for the allowed Jabber portWilmer van der Gaast2008-06-15-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numbers, adding 80 and 443. Partially closes #265.
* | | | | | | | | | | Added parsing of Jabber chatroom invitations.Wilmer van der Gaast2008-06-15-0/+17
| | | | | | | | | | |
* | | | | | | | | | | This seems to fix the Yahoo! logoff code. I have no idea why this was brokenWilmer van der Gaast2008-06-14-11/+4
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (on purpose) in libyahoo2, but this fix seems to work and at least Valgrind is still happy. And I actually see myself log off now, and the fd is actually cleaned up properly.
* | | | | | | | | | Now checking if msn_sb_create() returns NULL. This is very unlikely, butWilmer van der Gaast2008-04-21-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can happen if we run out of file descriptors, for example.
* | | | | | | | | | Don't automatically enable MSN debugging messages for debugging builds.Wilmer van der Gaast2008-04-08-1/+1
| | | | | | | | | |
* | | | | | | | | | query.h now defines a callback function type, not using void* for it anymore.Wilmer van der Gaast2008-04-05-20/+42
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Got rid of the bogus window handler pointer as the first argument to the callback.
* | | | | | | | | Fixed stalling issue with OpenSSL and Jabber (#368).Wilmer van der Gaast2008-03-23-2/+7
| | | | | | | | |
* | | | | | | | | Fixed cached_id_prefix memory leak.Wilmer van der Gaast2008-03-16-0/+1
| | | | | | | | |
* | | | | | | | | Although I have no idea what the author meant with code likeWilmer van der Gaast2008-03-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `if(cp != "\005")', I'm sure he feels homesick to QuickBasic. Since BitlBee doesn't use this function anyway, it doesn't really matter if my fix works. As long as it keeps the compiler quiet.
* | | | | | | | | Inviting someone to a Yahoo! chatroom with msg=NULL is bad. I wonder ifWilmer van der Gaast2008-03-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /invite ever worked in the Yahoo! module...
* | | | | | | | | Indicate that we support YMSG protocol version 12, this should hopefullyWilmer van der Gaast2008-03-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keep BitlBee working after 2008-04-02 <http://messenger.yahoo.com/eol>.
* | | | | | | | | Automatically truncate MSN passports to 16 characters because that's theWilmer van der Gaast2008-02-17-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maximum supported by MSN and giving a longer password will make the authentication fail.
* | | | | | | | | Replaced old MSN Passport (v1.4) authentication code with what's described onWilmer van der Gaast2008-02-17-196/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://msnpiki.msnfanatic.com/index.php/MSNP13:SOAPTweener . This was an attempt to fix bug #360, but it didn't. However, this change may make BitlBee a little bit more future-proof. Plus, the code is tidier and sometimes faster than the old mechanism.
* | | | | | | | | Moved xmltree handlers initialization to xt_new().Wilmer van der Gaast2008-02-16-2/+1
| | | | | | | | |
* | | | | | | | | Moved xmltree to lib/ because I want to use it from more than just theWilmer van der Gaast2008-02-16-687/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jabber module.
* | | | | | | | | Added callback on Jabber add-to-roster requests so buddies get added to theWilmer van der Gaast2008-02-16-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal buddy list a little bit earlier. This should deal better with Jabber servers that send presence information of a new buddy before the roster push.