aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | Now all IQ packets get an ID and cached packets get a "special" ID. ThisWilmer van der Gaast2006-10-20-13/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | makes it easier to find out if an event handler has to be called for a reply packet.
| * | | | | | | | | | get_info() now displays vCard information too.Wilmer van der Gaast2006-10-18-0/+145
| | | | | | | | | | |
| * | | | | | | | | | hash_hex buffer for IQ digest authentication missed one byte...Wilmer van der Gaast2006-10-16-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Merge from devel.Wilmer van der Gaast2006-10-15-0/+1
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Proper cleanup of jabber buddy structures when removing a buddy from theWilmer van der Gaast2006-10-15-28/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | list, proper checking (and handling) of events related to buddies that aren't "hashed" yet, limit checks on priorityto setting, renamed JEP85 to XEP85, support for more XEP85 states.
| * | | | | | | | | | | Merging from main development tree.Wilmer van der Gaast2006-10-15-2/+2
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merging from devel and storage-xml.Wilmer van der Gaast2006-10-15-72/+49
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fixed get_info(), now that buddy_by_jid() doesn't just return the firstWilmer van der Gaast2006-10-13-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resource in the list anymore.
| * | | | | | | | | | | | | Replies to jabber:iq:time packets.Wilmer van der Gaast2006-10-12-0/+18
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Special message when the XMPP session is ended because of a concurrentWilmer van der Gaast2006-10-12-15/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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" ofWilmer van der Gaast2006-10-11-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stream errors. (They can't really be handled, but at least the user can be informed.)
| * | | | | | | | | | | | | Handling of some basic IQ-get packets.Wilmer van der Gaast2006-10-11-3/+70
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Oops... When I say ignore, I really mean ignore!Wilmer van der Gaast2006-10-10-0/+2
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Added resource selection (based on priority or time of last message) toWilmer van der Gaast2006-10-10-32/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | budd_by_jid(), added a full_jid property to easily address that resource without having to rebuild the full JID every time and implemented typing notification shite.
| * | | | | | | | | | | | | The module now keeps track of all resources available for a buddy. ThisWilmer van der Gaast2006-10-09-14/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | means the buddy won't show up offline when one resource goes down (while there are still others available). It also remembers away state information for every separate resource. Later this system will be used to keep track of client capability information (Typing notices, yay...) and who knows what else.
| * | | | | | | | | | | | | Moved handling of all IQ packets to event handlers. Cleaned up a LOT ofWilmer van der Gaast2006-10-08-142/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mess in iq.c!
| * | | | | | | | | | | | | Implemented a better node cache using a GLib hash, and preparing to addWilmer van der Gaast2006-10-08-63/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | | Added SRV lookups to automatically find out the correct server for aWilmer van der Gaast2006-10-07-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | domain.
| * | | | | | | | | | | | | Never mind about those privacy lists, they're horrible and not supportedWilmer van der Gaast2006-10-07-206/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 sureWilmer van der Gaast2006-10-06-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 supportWilmer van der Gaast2006-10-04-17/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XMPP 1.0 (properly), and restored immediate writes by splitting up the jabber_write_callback() function.
| * | | | | | | | | | | | | Fixed memory leak in jabber_buddy_ask() and added "handling" of type="error"Wilmer van der Gaast2006-10-02-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <presence/> tags.
| * | | | | | | | | | | | | Added some error handling for the (not very complete yet) privacy list code.Wilmer van der Gaast2006-10-02-9/+65
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Added a useful error message for SASL negotiation failures and turned offWilmer van der Gaast2006-10-02-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the little hack in jabber_write() for now because it breaks error handling.
| * | | | | | | | | | | | | The SASL DIGEST-MD5 handler now doesn't barf on challenges without a realmWilmer van der Gaast2006-10-02-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (jabber.org likes to do this).
| * | | | | | | | | | | | | No more double free()/crashes when trying to set up an SSL connection toWilmer van der Gaast2006-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 offerWilmer van der Gaast2006-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.0Wilmer van der Gaast2006-10-01-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but does NOT (seem to) support SASL authentication).
| * | | | | | | | | | | | | Some initial hooks/stuff for privacy lists, and fixed a crash bug onWilmer van der Gaast2006-10-01-8/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connecting to Google Talk.
| * | | | | | | | | | | | | Added xt_dup().Wilmer van der Gaast2006-09-26-0/+42
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Proper detection of resource changed strings from the server.Wilmer van der Gaast2006-09-26-8/+19
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Forgot to comment out one line...Wilmer van der Gaast2006-09-25-1/+0
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Changing the resource string while online probably doesn't work.Wilmer van der Gaast2006-09-25-30/+23
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Saner garbage collection for node cache.Wilmer van der Gaast2006-09-25-16/+27
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Added some experimental stuff with typing notifications that seems to showWilmer van der Gaast2006-09-24-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that Gaim doesn't support the official JEP-0085 standard (yet?)... And added simple garbage collection for the node_cache. Will improve it later.
| * | | | | | | | | | | | | Fixed an off-by-one memory allocation bug in xt_new_node().Wilmer van der Gaast2006-09-24-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Handling of incoming authorization requests, manual block/allow. (Doesn'tWilmer van der Gaast2006-09-24-4/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | seem to be completely like how it works on other IM networks.)
| * | | | | | | | | | | | | Added add_buddy/remove_buddy functions. Removing a contact doesn't seemWilmer van der Gaast2006-09-24-2/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to work perfectly though.
| * | | | | | | | | | | | | Better handling of user tls setting.Wilmer van der Gaast2006-09-24-6/+24
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Added support for SSL- and TLS-connections. Checking of the "tls" userWilmer van der Gaast2006-09-24-11/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting has to be finished, plus an ssl_starttls() function for the other SSL libraries (this code will only compile with GnuTLS for now).
| * | | | | | | | | | | | | Updated <presence> stuff to handle changing the priority setting.Wilmer van der Gaast2006-09-24-11/+47
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Implemented a list of away states, using this for a better set_away(), andWilmer van der Gaast2006-09-23-56/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | got rid of the double <presence> tag sent because of presence_announce().
| * | | | | | | | | | | | | Implemented support for SASL DIGEST-MD5 authentication.Wilmer van der Gaast2006-09-23-2/+179
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Better detection of successful IQ authentication (using packet caching),Wilmer van der Gaast2006-09-22-13/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | properly working SASL authentication (although only PLAIN so far).
| * | | | | | | | | | | | | Fixed return value on incomplete write()s in write handler, protectionWilmer van der Gaast2006-09-22-12/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | against write()ing to sockets that are closed already, hopefully sane detection for SASL support, and only sending type=unavailable presence tag to logged in sessions.
| * | | | | | | | | | | | | Basic SASL (PLAIN only ATM) authentication code. Doesn't log in completelyWilmer van der Gaast2006-09-22-6/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | yet.
| * | | | | | | | | | | | | Implemented set_away() (VERY simple version, have to add an away stateWilmer van der Gaast2006-09-21-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | table like in the MSN module), added sending of keepalive "packets" and removed old main() code (for testing only) from jabber.c.
| * | | | | | | | | | | | | Now also sending <presence type="unavailable"/> tag on disconnect, asWilmer van der Gaast2006-09-21-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recommended by rfc3921/5.1.5.
| * | | | | | | | | | | | | Added simple parsing of incoming <presence> tags, a nice </stream:stream>Wilmer van der Gaast2006-09-21-9/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at the end of sessions, support for sending messages, and restored the old (and leaking) xt_print(), which I'll only use for debugging.
| * | | | | | | | | | | | | Added enough to not make it crash on login, and it can properly receiveWilmer van der Gaast2006-09-21-4/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | messages now. Just try to figure out why it doesn't get typing notifications...