aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/iq.c
Commit message (Collapse)AuthorAgeLines
...
* Added some random hash to the id= for cached XMPP packets so that packetsWilmer van der Gaast2007-11-24-1/+1
| | | | | | from other BitlBees won't be picked up accidentally. Might also want to randomize the per-packet IDs because they're still predictable.
* Replaced GPL-incompatible SHA1 hashing code (and renamed the files in caseWilmer van der Gaast2007-11-23-5/+6
| | | | | I ever need SHA256 ;-)).
* Less copy-pasting in the service discovery reply and added MUC support toWilmer van der Gaast2007-07-01-14/+13
| | | | | that list. And adding some const stuff in the xmltree functions.
* Added imcb_remove_buddy() so deletions in Jabber roster pushes actuallyWilmer van der Gaast2007-06-14-4/+1
| | | | | | work. This also solves the issue of underscores appearing and disappearing in their nicknames when people leave/join a chat.
* Fixed retarded use of strcpy() and no longer using Jabber fullnames forWilmer van der Gaast2007-06-04-3/+0
| | | | | nickname generation. IM fullnames and IRC nicknames are just *different*.
* Added imcb_buddy_nick_hint so the Jabber conference module can suggest saneWilmer van der Gaast2007-06-04-1/+5
| | | | | | | | nicknames for chatroom participants. There'll probably be a lot of underscores now, but this is by far the cleanest way to implement this, I think. At least now whispers will work properly. Also using this function call to set names for ICQ contacts in a slightly saner way.
* More API changes: buddy list management. imcb_add_buddy() is now a *real*Wilmer van der Gaast2007-04-18-15/+7
| | | | | | | | | callback, it's only called from inside IM-modules. This makes sure a buddy only gets added to the BitlBee structures if the add was successful. This gets rid of the weirdness described in #55. Unfortunately for now this change breaks A) automatic renaming of ICQ contacts (if there are names stored in the contact list) B) add -tmp.
* Split serv_got_update() into imcb_buddy_(status|times). (Well, the secondWilmer van der Gaast2007-04-15-1/+1
| | | | | | | one isn't implemented yet, but I'll do that later.) At last I got rid of the hack called get_status_string(). And now Yahoo seems to mess up away messages...
* s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h aWilmer van der Gaast2007-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 sinceWilmer van der Gaast2007-04-15-5/+5
| | | | | it's in acc too. wants_to_die is now an argument to imc_logout().
* More format string problems.Wilmer van der Gaast2007-04-15-1/+1
|
* More cleanups, mainly in the callbacks. Replaced things likeWilmer van der Gaast2007-04-05-20/+20
| | | | | | | | 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-68/+68
| | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-)
* Fixed some (possible) NULL-pointer dereferences. THANKS FOR NOTHING toWilmer van der Gaast2006-11-23-7/+26
| | | | | | | | GLib for giving this very useful "s2 != NULL assertion failed" message instead of just dereferencing the damn pointer so I can find a backtrace, this sure makes debugging very easy, guys! Wasn't GLib supposed to SAVE time?
* Added #defines for XML namespaces.Wilmer van der Gaast2006-10-31-13/+13
|
* Added handling of roster pushes. This means your local buddy list willWilmer van der Gaast2006-10-28-11/+53
| | | | | | stay synchronized with other clients logged into your account at the same time.
* Now all IQ packets get an ID and cached packets get a "special" ID. ThisWilmer van der Gaast2006-10-20-8/+26
| | | | | | 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/+142
|
* hash_hex buffer for IQ digest authentication missed one byte...Wilmer van der Gaast2006-10-16-1/+1
|
* 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-11/+23
| | | | | | login, and now sending proper error responses to IQ packets we can't handle.
* Handling of some basic IQ-get packets.Wilmer van der Gaast2006-10-11-3/+70
|
* Moved handling of all IQ packets to event handlers. Cleaned up a LOT ofWilmer van der Gaast2006-10-08-125/+149
| | | | | mess in iq.c!
* Implemented a better node cache using a GLib hash, and preparing to addWilmer van der Gaast2006-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 supportedWilmer van der Gaast2006-10-07-150/+2
| | | | | | | 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 some error handling for the (not very complete yet) privacy list code.Wilmer van der Gaast2006-10-02-5/+48
|
* Some initial hooks/stuff for privacy lists, and fixed a crash bug onWilmer van der Gaast2006-10-01-5/+114
| | | | | connecting to Google Talk.
* Proper detection of resource changed strings from the server.Wilmer van der Gaast2006-09-26-8/+19
|
* Added add_buddy/remove_buddy functions. Removing a contact doesn't seemWilmer van der Gaast2006-09-24-0/+43
| | | | | to work perfectly though.
* Implemented a list of away states, using this for a better set_away(), andWilmer van der Gaast2006-09-23-1/+1
| | | | | 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-6/+28
| | | | | 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-1/+1
| | | | | | | 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.
* Now parsing roster properly. (Hopefully...)Wilmer van der Gaast2006-09-20-0/+19
|
* It now requests a roster when logged in, no parsing for it yet.Wilmer van der Gaast2006-09-20-10/+44
|
* It can send a valid (pre-XMPP) login packet. Lots of work to do, still...Wilmer van der Gaast2006-09-20-3/+78
|
* Added some pretty empty files.Wilmer van der Gaast2006-09-20-0/+35