Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | jabber/io: Split input buffer parsing to a jabber_feed_input() function | dequis | 2015-08-26 | -51/+71 |
| | | | | | | | | | | | To simplify testing. Also allow passing a -1 as size to use strlen() Minor behavior change: The jabber_init_iq_auth() branch can no longer return immediately, which means it will continue through the ssl_pending() check in jabber_read_callback(). Other than that, the size -1 change, and one indentation level less, the function body is the same as before. | |||
* | Reindent everything to K&R style with tabs | Indent | 2015-02-20 | -321/+289 |
| | | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame. | |||
* | Handle not-authorized stream errors, avoid reconnect | dequis | 2014-10-10 | -0/+5 |
| | | | | Got this one while trying to connect to google servers with hipchat auth | |||
* | I'm still bored on a long flight. Wrote a script to automatically update | Wilmer van der Gaast | 2013-02-21 | -1/+1 |
| | | | | | | | my copyright mentions since some were getting pretty stale. Left files not touched since before 2012 alone so that this change doesn't touch almost EVERY source file. | |||
* | Handle see-other-host requests from XMPP servers. This should fix MSN/WLM | Wilmer van der Gaast | 2012-09-17 | -0/+31 |
| | | | | | XMPP support. | |||
* | Removing unfinished debugging stuff accidentally committed in | Wilmer van der Gaast | 2011-12-24 | -3/+0 |
| | | | | | changeset:devel,856. | |||
* | Merging SSL certificate verification for GnuTLS, with help from AopicieR. | Wilmer van der Gaast | 2011-12-23 | -5/+27 |
|\ | ||||
| * | Just check if verification code != 0 instead of checking for one specific | Wilmer van der Gaast | 2011-12-19 | -1/+1 |
| | | | | | | | | | | bit. Any non-0 failure means a problem. | |||
| * | Move conversion of status codes to status messages into SSL libs. | Wilmer van der Gaast | 2011-12-19 | -34/+9 |
| | | ||||
| * | Initial merge of tls_verify patch from AopicieR. | Wilmer van der Gaast | 2011-12-19 | -3/+50 |
| | | ||||
* | | Use initgroups() as well when dropping privileges. Closes bug #852. | Wilmer van der Gaast | 2011-12-22 | -0/+3 |
|/ | ||||
* | Merging non-SASL authentication patch from #863. This also implements | Wilmer van der Gaast | 2011-12-07 | -2/+2 |
| | | | | | | | hidden-default settings, which means a setting is hidden unless it was changed from the default. This seems like appropriate behaviour for something as obscure as this. | |||
* | Fix memory corruption on Jabber disconnect with xmlconsole and | Wilmer van der Gaast | 2011-02-24 | -1/+1 |
| | | | | | handle_unknown=add enabled. | |||
* | Hide password information during SASL auth in xmlconsole. | Wilmer van der Gaast | 2010-12-16 | -1/+8 |
| | ||||
* | Merging head. Most changes are not so relevant because they're to IM | Wilmer van der Gaast | 2010-03-20 | -11/+1 |
|\ | | | | | | | | | modules. | |||
| * | Oops.. Today's Jabber fix could get stuck in a somewhat infinite loop if a | Wilmer van der Gaast | 2010-03-15 | -11/+1 |
| | | | | | | | | | | | | | | 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. | |||
* | | Merging in head. | Wilmer van der Gaast | 2010-03-14 | -26/+12 |
|\| | ||||
| * | Don't send bind and session requests at the same time when logging in | Wilmer van der Gaast | 2010-03-14 | -23/+7 |
| | | | | | | | | | | 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 certain | Wilmer van der Gaast | 2010-03-14 | -3/+5 |
| | | | | | | | | | | | | jabberd's including Zimbra's. Thanks to jMCg and balzar in #bitlbee for helping with figuring this out. | |||
* | | Make purple use BitlBee's event handling API. Since the APIs never really | Wilmer van der Gaast | 2009-10-11 | -2/+2 |
|/ | | | | | | | | | | diverged too much this is fairly transparent. I did rename and redefine GAIM_INPUT_* variables to really make it work without adding another stupid layer in between. One problem left, the new libpurple input API doesn't care about return values. Fixing that in the next CL. | |||
* | Fixed stalling issue with OpenSSL and Jabber (#368). | Wilmer van der Gaast | 2008-03-23 | -2/+7 |
| | ||||
* | Moved xmltree handlers initialization to xt_new(). | Wilmer van der Gaast | 2008-02-16 | -2/+1 |
| | ||||
* | Keeping track of valid Jabber connections so _connected() events will be | Wilmer van der Gaast | 2008-01-24 | -1/+9 |
| | | | | | | ignored if the connection's dead already. Necessary if using GLib for event handling for now. :-/ | |||
* | Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPU | Wilmer van der Gaast | 2007-12-12 | -2/+2 |
| | | | | | usage bug. | |||
* | Merging from devel/Jelmer. | Wilmer van der Gaast | 2007-11-14 | -9/+0 |
|\ | ||||
| * | Removed some debugging stuff that shouldn't have been here for a long time | Wilmer van der Gaast | 2007-11-14 | -9/+0 |
| | | | | | | | | | | already. | |||
* | | Added jabber_error_parse() and using it for both stream- and stanza | Wilmer van der Gaast | 2007-07-30 | -23/+8 |
| | | | | | | | | | | (only presence so far) errors. | |||
* | | Added a real XML-console to the Jabber module! Add the handle "xmlconsole" | Wilmer van der Gaast | 2007-06-04 | -0/+29 |
|/ | | | | | | | (without any @server part) to your contact list and you'll see all XMPP traffic going in and out, and messages sent to the buddy will be sent as packets to the server. | |||
* | s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h a | Wilmer van der Gaast | 2007-04-15 | -15/+15 |
| | | | | | | little bit, grouping things by category instead of original Gaim 0.58 filename. | |||
* | Cleaned up struct im_connection. No more username/password stuff since | Wilmer van der Gaast | 2007-04-15 | -13/+14 |
| | | | | | it's in acc too. wants_to_die is now an argument to imc_logout(). | |||
* | Now that all these functions take format strings, I have to make sure I | Wilmer van der Gaast | 2007-04-05 | -3/+1 |
| | | | | | use that and don't introduce vulnerabilities. :-) | |||
* | More cleanups, mainly in the callbacks. Replaced things like | Wilmer van der Gaast | 2007-04-05 | -27/+27 |
| | | | | | | | | do_error_dialog() and (set|hide)_login_progress(_error)?() with things that hopefully make more sense. Although it's still not really great... | |||
* | s/gaim_connection/im_connection/ and some other minor API changes. The rest | Wilmer van der Gaast | 2007-03-30 | -77/+77 |
| | | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-) | |||
* | Fixed me. ;-) This seems to be correct already. | Wilmer van der Gaast | 2006-11-23 | -1/+1 |
| | ||||
* | Added #defines for XML namespaces. | Wilmer van der Gaast | 2006-10-31 | -5/+5 |
| | ||||
* | Proper detections of errors from *_connect() and added a "Connecting" | Wilmer van der Gaast | 2006-10-21 | -4/+0 |
| | | | | | message in jabber_login(). | |||
* | Special message when the XMPP session is ended because of a concurrent | Wilmer van der Gaast | 2006-10-12 | -3/+9 |
| | | | | | | login, and now sending proper error responses to IQ packets we can't handle. | |||
* | Fixed issues in end-of-connection detection and added basic "handling" of | Wilmer van der Gaast | 2006-10-11 | -1/+50 |
| | | | | | | stream errors. (They can't really be handled, but at least the user can be informed.) | |||
* | Moved handling of all IQ packets to event handlers. Cleaned up a LOT of | Wilmer van der Gaast | 2006-10-08 | -4/+4 |
| | | | | | mess in iq.c! | |||
* | Implemented a better node cache using a GLib hash, and preparing to add | Wilmer van der Gaast | 2006-10-08 | -2/+2 |
| | | | | | | | event handlers that can be set when sending a packet to handle the reply to this specific packet. This should allow me to make the iq handler a lot cleaner. | |||
* | Never mind about those privacy lists, they're horrible and not supported | Wilmer van der Gaast | 2006-10-07 | -1/+1 |
| | | | | | | | by any client I know of. Also, they're already working on a (probably completely incompatible) standard: JEP-191. Maybe BitlBee will implement it too some day... | |||
* | Added max. recursion depth arguments to xt_handle()/_cleanup() to make sure | Wilmer van der Gaast | 2006-10-06 | -2/+2 |
| | | | | | | commands that still have to be handled don't get (partially) cleaned up already. | |||
* | Lack of TLS support is also detected now if the server doesn't support | Wilmer van der Gaast | 2006-10-04 | -16/+45 |
| | | | | | | XMPP 1.0 (properly), and restored immediate writes by splitting up the jabber_write_callback() function. | |||
* | Added a useful error message for SASL negotiation failures and turned off | Wilmer van der Gaast | 2006-10-02 | -1/+7 |
| | | | | | the little hack in jabber_write() for now because it breaks error handling. | |||
* | No more double free()/crashes when trying to set up an SSL connection to | Wilmer van der Gaast | 2006-10-02 | -0/+5 |
| | | | | | | | a non-SSL server, and better handling of TLS connection setup by initializing the TLS session from a callback function (which guarantees a valid return value from ssl_starttls() before any error callback could be called). | |||
* | Better fix for servers that report to comply with XMPP 1.0 but don't offer | Wilmer van der Gaast | 2006-10-01 | -8/+7 |
| | | | | | | SASL authentication options. Previous fix tried to do IQ authentication even after successful SASL authentications. | |||
* | Can now log in to the jabber.com server (which pretends to support XMPP 1.0 | Wilmer van der Gaast | 2006-10-01 | -0/+12 |
| | | | | | but does NOT (seem to) support SASL authentication). | |||
* | Some initial hooks/stuff for privacy lists, and fixed a crash bug on | Wilmer van der Gaast | 2006-10-01 | -1/+1 |
| | | | | | connecting to Google Talk. | |||
* | Better handling of user tls setting. | Wilmer van der Gaast | 2006-09-24 | -6/+24 |
| | ||||
* | Added support for SSL- and TLS-connections. Checking of the "tls" user | Wilmer van der Gaast | 2006-09-24 | -9/+98 |
| | | | | | | setting has to be finished, plus an ssl_starttls() function for the other SSL libraries (this code will only compile with GnuTLS for now). |