aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
Commit message (Collapse)AuthorAgeLines
* 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
|
* It can send a valid (pre-XMPP) login packet. Lots of work to do, still...Wilmer van der Gaast2006-09-20-23/+46
|
* Added some pretty empty files.Wilmer van der Gaast2006-09-20-0/+147
|
* Removed old Jabber module, started to fill in the new stuff. (xmltreeWilmer van der Gaast2006-09-20-2392/+0
| | | | | developed outside this tree)
* Fixed a memory leak, added a check for valid Jabber handles, and updatedWilmer van der Gaast2006-07-14-0/+7
| | | | | | documentation (added information about "account set" and sorted the list of settings because it was a bit too random).
* Implemented per-account nick lists instead of per-protocol nick lists.Wilmer van der Gaast2006-07-03-1/+1
| | | | | | | | | | nick_t is dead, instead nicks are just saves in a per-account_t GLib hash table. While doing this, the import_buddies command finally died and text_save() disappeared, because the old file format can't handle most of the new features in this branch anyway. Still have to implement support for the new nick lists in text_load()!
* Added protocol-specific settings, made the server setting specific to onlyWilmer van der Gaast2006-07-02-29/+60
| | | | | OSCAR and Jabber.
* Got rid of struct aim_user (now using account_t everywhere). Needs some moreWilmer van der Gaast2006-07-01-12/+12
| | | | | testing though.
* Merging from main development tree.Wilmer van der Gaast2006-05-19-0/+2
|\
| * Fixed possible double free() in Jabber module.Wilmer van der Gaast2006-05-16-0/+2
| |
* | Moved everything to the BitlBee event handling API.Wilmer van der Gaast2006-05-10-12/+16
|/
* Added/Fixed calls to show_got_added() in all IM-modules, now to fill in thatWilmer van der Gaast2006-04-03-1/+1
| | | | | call. (It should ask the user if he/she wants to add a buddy to his/her list.)
* Removed some unused stuff from nogaim.h, preparing to fix some API issues there.Wilmer van der Gaast2006-03-31-37/+0
|
* Fixed #111, Jabber away states get set correctly at connect-time now.Wilmer van der Gaast2006-03-18-4/+1
|
* Fixed read() error handling in Jabber module.Wilmer van der Gaast2006-01-19-1/+1
|
* Removed useless UTF8-related functions (iconv works a lot better).Wilmer van der Gaast2005-12-31-5/+1
|
* Jabber module now requests the buddy list before setting an away state, thisWilmer van der Gaast2005-12-20-6/+2
| | | | | | was at least one cause of not seeing someone online. I'm afraid there are more (there's at least one more I know about), as mentioned in #15.
* Merge from WilmerJelmer Vernooij2005-12-04-9/+12
|\
| * Modified CHANGES, and extended the allowed port range a bit.Wilmer van der Gaast2005-12-02-2/+4
| |
| * The Jabber module now only accepts a limited range of ports (5222 and 5223),Wilmer van der Gaast2005-12-02-0/+5
| | | | | | | | | | | | so it can't be abused as a portscanner. Thanks to Peter van Dijk (Habbie) for the report.
| * jabber.c:542: warning: `gjc' might be used uninitialized in this functionWilmer van der Gaast2005-12-01-3/+3
| |
| * Got rid of the config.h includes in IM-code. Now that HAVE_CONFIG_H isWilmer van der Gaast2005-11-30-4/+0
| | | | | | | | | | defined, they started to cause problems.
| * This should fix a crash bug in Jabber module (NULL pointer dereference on ↵Wilmer van der Gaast2005-11-29-5/+5
| | | | | | | | broken Jabber/SSL connections).
* | Merge from WilmerJelmer Vernooij2005-11-28-95/+47
|\|
| * Little code cleanup in Jabber module, added support for Jabber headline ↵Wilmer van der Gaast2005-11-23-95/+47
| | | | | | | | messages.
* | Merge WilmerJelmer Vernooij2005-11-19-1/+1
|\|
| * Got rid of raw ^B's in source,Wilmer van der Gaast2005-11-16-1/+1
| | | | | | | | | | | | | | | | Replaced most irc_usermsg() calls in nogaim.c with serv_got_crap(), Slightly clearer handling of buddy add requests. Thanks to timing for the patch.
* | Merge from JelmerJelmer Vernooij2005-11-15-0/+1
|\|
| * Remove handle_cmp() replacing it by a protocol-specific function.Jelmer Vernooij2005-11-15-0/+1
| |