aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
Commit message (Collapse)AuthorAgeLines
...
* Added some random hash to the id= for cached XMPP packets so that packetsWilmer van der Gaast2007-11-24-0/+28
| | | | | | from other BitlBees won't be picked up accidentally. Might also want to randomize the per-packet IDs because they're still predictable.
* Added Jabber groupchat topic support.Wilmer van der Gaast2007-11-19-0/+7
|
* Added "xmlconsole" setting so it can be enabled at login time already.Wilmer van der Gaast2007-11-14-0/+11
|
* Added (and using) jabber_chat_free() for better memory management, fixedWilmer van der Gaast2007-07-02-1/+1
| | | | | | channel name generation code in root_commands.c and fixed one memory leak in jabber_buddy_remove_bare().
* Cleaning up groupchats when shutting down the Jabber connection. TheWilmer van der Gaast2007-07-02-0/+3
| | | | | | cleaning up of groupchats isn't done very well yet, but this will at least keep things sane.
* Better handling of private messages via groupchats.Wilmer van der Gaast2007-07-01-1/+5
|
* Not calling imcb_remove_buddy() right after removing the XML console buddyWilmer van der Gaast2007-06-20-0/+4
| | | | | anymore.
* Added imcb_remove_buddy() so deletions in Jabber roster pushes actuallyWilmer van der Gaast2007-06-14-1/+1
| | | | | | work. This also solves the issue of underscores appearing and disappearing in their nicknames when people leave/join a chat.
* Added a real XML-console to the Jabber module! Add the handle "xmlconsole"Wilmer van der Gaast2007-06-04-0/+21
| | | | | | | (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.
* You can send messages too now. But it's still very kludgy and doesn't workWilmer van der Gaast2007-04-22-2/+7
| | | | | with anonymous rooms (ie about 95% of all available Jabber chatrooms?).
* Read-only support for Jabber conferences (non-anonymous rooms only).Wilmer van der Gaast2007-04-22-2/+20
| | | | | Just don't use this, you're really not going to like it. :-)
* Consistency; Using OPT_T(YP|HINK)ING for outgoing typing notfication crapWilmer van der Gaast2007-04-20-5/+5
| | | | | too.
* Renamed some more prpl functions.Wilmer van der Gaast2007-04-20-3/+3
|
* s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h aWilmer van der Gaast2007-04-15-6/+6
| | | | | | little bit, grouping things by category instead of original Gaim 0.58 filename.
* Cleaned up struct im_connection. No more username/password stuff sinceWilmer van der Gaast2007-04-15-3/+3
| | | | | it's in acc too. wants_to_die is now an argument to imc_logout().
* More cleanups, mainly in the callbacks. Replaced things likeWilmer van der Gaast2007-04-05-9/+9
| | | | | | | | 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 restWilmer van der Gaast2007-03-30-46/+46
| | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-)
* Added Jabber server port number restrictions.Wilmer van der Gaast2007-02-18-1/+10
|
* Improved handling of JIDs: Bare JIDs are allowed (*sigh*) and caseWilmer van der Gaast2006-11-13-8/+12
| | | | | insensitivity. Probably not complete yet...
* Added #defines for XML namespaces.Wilmer van der Gaast2006-10-31-2/+2
|
* Added handling of roster pushes. This means your local buddy list willWilmer van der Gaast2006-10-28-1/+4
| | | | | | stay synchronized with other clients logged into your account at the same time.
* Can't hurt to at least try one compile before running bzr commit...Wilmer van der Gaast2006-10-21-1/+1
|
* Proper detections of errors from *_connect() and added a "Connecting"Wilmer van der Gaast2006-10-21-1/+8
| | | | | message in jabber_login().
* Added backwards compatibility with the old "account add" syntax for JabberWilmer van der Gaast2006-10-20-3/+69
| | | | | | | | | accounts. Very ugly code, so it won't stay long. ;-) Plus checking of the ssl_connect() return value, because of course it can return NULL too... Have to add general *_connect() error checking to jabber_login() soon!
* get_info() now displays vCard information too.Wilmer van der Gaast2006-10-18-0/+2
|
* Proper cleanup of jabber buddy structures when removing a buddy from theWilmer van der Gaast2006-10-15-8/+17
| | | | | | | 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.
* 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.
* Added resource selection (based on priority or time of last message) toWilmer van der Gaast2006-10-10-9/+63
| | | | | | | 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-1/+15
| | | | | | | | | 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-1/+1
| | | | | mess in iq.c!
* Implemented a better node cache using a GLib hash, and preparing to addWilmer van der Gaast2006-10-08-44/+19
| | | | | | | 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-2/+18
| | | | | domain.
* Never mind about those privacy lists, they're horrible and not supportedWilmer van der Gaast2006-10-07-41/+0
| | | | | | | 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...
* Lack of TLS support is also detected now if the server doesn't supportWilmer van der Gaast2006-10-04-1/+1
| | | | | | XMPP 1.0 (properly), and restored immediate writes by splitting up the jabber_write_callback() function.
* Added some error handling for the (not very complete yet) privacy list code.Wilmer van der Gaast2006-10-02-4/+15
|
* Some initial hooks/stuff for privacy lists, and fixed a crash bug onWilmer van der Gaast2006-10-01-2/+8
| | | | | connecting to Google Talk.
* 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-2/+5
|
* 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.
* Handling of incoming authorization requests, manual block/allow. (Doesn'tWilmer van der Gaast2006-09-24-4/+22
| | | | | 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/+14
| | | | | to work perfectly though.
* Added support for SSL- and TLS-connections. Checking of the "tls" userWilmer van der Gaast2006-09-24-2/+2
| | | | | | 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-1/+1
|
* Implemented a list of away states, using this for a better set_away(), andWilmer van der Gaast2006-09-23-10/+18
| | | | | got rid of the double <presence> tag sent because of presence_announce().
* Better detection of successful IQ authentication (using packet caching),Wilmer van der Gaast2006-09-22-0/+6
| | | | | properly working SASL authentication (although only PLAIN so far).
* Implemented set_away() (VERY simple version, have to add an away stateWilmer van der Gaast2006-09-21-32/+12
| | | | | | table like in the MSN module), added sending of keepalive "packets" and removed old main() code (for testing only) from jabber.c.
* Added simple parsing of incoming <presence> tags, a nice </stream:stream>Wilmer van der Gaast2006-09-21-1/+11
| | | | | | 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-2/+18
| | | | | | messages now. Just try to figure out why it doesn't get typing notifications...
* It now requests a roster when logged in, no parsing for it yet.Wilmer van der Gaast2006-09-20-0/+2
|