aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | | | | | | Messages from the user are also included in backlogs when joining a JabberWilmer van der Gaast2008-02-03-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chatroom. Until now they were ignored, which might make backlogs a little bit confusing.
* | | | | | | | | | | | | | Disabling "Unknown command" warnings since they're very noisy and prettyWilmer van der Gaast2008-02-03-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointless.
* | | | | | | | | | | | | | Implemented XEP-0115. This adds some info to the <presence/> tags soWilmer van der Gaast2008-02-03-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clients interested in capabilities can cache discovery info, so they don't have to ask about it every time you/they log in.
* | | | | | | | | | | | | | Saner garbage collection of cached packets in the Jabber module. NowWilmer van der Gaast2008-02-03-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cached packets are removed after about ten minues instead of something between one and two minutes. Closes one issue in #354.
* | | | | | | | | | | | | | Fixed handling of OSCAR multi-part messages... They're not arrays, they'reWilmer van der Gaast2008-01-30-4/+6
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | linked lists!
* | | | | | | | | | | | | Keeping track of valid Jabber connections so _connected() events will beWilmer van der Gaast2008-01-24-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ignored if the connection's dead already. Necessary if using GLib for event handling for now. :-/
* | | | | | | | | | | | | Fixed two valgrind warnings (partially uninitialized "struct tm" vars.)Wilmer van der Gaast2008-01-24-0/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | The Jabber module now uses imcb_chat_log() instead of imcb_log() whereWilmer van der Gaast2008-01-20-5/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | possible.
* | | | | | | | | | | | | Added imcb_chat_log() for chatroom system messages, so they can beWilmer van der Gaast2008-01-20-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | displayed inside the right channel.
* | | | | | | | | | | | | GET_BUDDY_FIRST wasn't actually implemented, even though it was in useWilmer van der Gaast2008-01-20-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | already. I don't want to know how long it took me to find out...
* | | | | | | | | | | | | Moving imcb_chat_new() to a saner location (no code changes) and fixingWilmer van der Gaast2008-01-18-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default channel topic.
* | | | | | | | | | | | | Apparently ext_yahoo_got_im can be called with msg=NULL, so it should beWilmer van der Gaast2008-01-17-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handled. Let's just ignore those packets.
* | | | | | | | | | | | | Fixing some Solaris compiler warnings (u_int->uint, adding some typecastsWilmer van der Gaast2008-01-17-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for pid_t variables).
* | | | | | | | | | | | | Fixed handing of failed groupchat joins.Wilmer van der Gaast2008-01-13-6/+5
| | | | | | | | | | | | |
* | | | | | | | | | | | | Fixed "Conditional jump or move depends on uninitialised value(s)" atWilmer van der Gaast2008-01-13-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jabber_pkt_presence (presence.c:174). Valgrind-Wilmer: 1-0.
* | | | | | | | | | | | | When a switchboard connection dies (at the TCP level) and there are stillWilmer van der Gaast2008-01-12-5/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | queued messages, they will now be moved back to the main queue and a new sb will be created to try to send the messages again. I hope this will solve some/most/all of the "Closing switchboard with unsent messages" problems, but can't be sure since this problem isn't very easy to reproduce. At least it should solve the ones caused by keeping spare switchboards around. Also enabling switchboard debugging output if configured with --debug=1, at least for now this will be useful.
* | | | | | | | | | | | | Killed info_string_append() and now showing the IP address of ICQ usersWilmer van der Gaast2008-01-12-82/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the "info" command response.
* | | | | | | | | | | | | Fixing bug #344, now away states should always be correct, even when peopleWilmer van der Gaast2008-01-11-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do complicated things with multiple resources. (There were two bugs and some duplicated code, so I moved things around a bit.)
* | | | | | | | | | | | | Now setting odata->icq properly again, this got lost some time ago, whichWilmer van der Gaast2008-01-10-2/+3
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | broke the info command and probably more things.
* | | | | | | | | | | | More consistency in error/warning errors. Until now "WARNING:" was usuallyWilmer van der Gaast2008-01-06-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in upper case while "Error:" wasn't .... that doesn't really make sense.
* | | | | | | | | | | | Changed warning message about unsent MSN messages. It should show the actualWilmer van der Gaast2008-01-06-50/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | message(s) now.
* | | | | | | | | | | | Added "mail_notifications" setting. Who needs those notifications anyway?Wilmer van der Gaast2008-01-05-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes: #338.
* | | | | | | | | | | | Added handling of MSN switchboard NAK messages. Untested, but hey, itWilmer van der Gaast2008-01-05-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compiles! (And it's pretty trivial...)
* | | | | | | | | | | | Added missing return in jabber_login().Wilmer van der Gaast2007-12-28-0/+2
| | | | | | | | | | | |
* | | | | | | | | | | | Implemented XEP-0199 (patch from misc@mandriva.org).Wilmer van der Gaast2007-12-16-1/+12
| | | | | | | | | | | |
* | | | | | | | | | | | Killed the <server> parameter to "account add" and changed the defaultWilmer van der Gaast2007-12-12-23/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | server for OSCAR to what both login.icq.com and login.oscar.aol.com resolve to these days. There's no need to specify a server anymore so why bother. And cleaned up the docs (removed all references to those OSCAR servers).
* | | | | | | | | | | | Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPUWilmer van der Gaast2007-12-12-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage bug.
* | | | | | | | | | | | Added /invite support for Jabber chatrooms (and fixed the argument orderWilmer van der Gaast2007-12-09-4/+40
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to chat_invite).
* | | | | | | | | | | Fixing jabber_login/_logout for better (non-crashing) cleanup on earlyWilmer van der Gaast2007-12-04-2/+6
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connect failure.
* | | | | | | | | | Forgot to return something in jabber_chat_join_failed().Wilmer van der Gaast2007-12-02-3/+3
| | | | | | | | | |
* | | | | | | | | | Handling of presence-error packets (only useful for groupchats now), movedWilmer van der Gaast2007-12-02-29/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jabber_chat_by_jid() (with the right name) to conference.c, I don't know what it was doing in jabber_util.c.
* | | | | | | | | | Removed retarded printf() (ARGH) and moved the event handling handling ofWilmer van der Gaast2007-12-02-20/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IQ packets to jabber_util so I can reuse it for certain presence packets.
* | | | | | | | | | printf() in daemons considered harmful.Wilmer van der Gaast2007-11-29-15/+0
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Added some random hash to the id= for cached XMPP packets so that packetsWilmer van der Gaast2007-11-24-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from other BitlBees won't be picked up accidentally. Might also want to randomize the per-packet IDs because they're still predictable.
* | | | | | | | | (Hopefully) fixing one case where the Jabber module doesn't understand aWilmer van der Gaast2007-11-24-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <presence type=unavailable> tag properly and keeps showing the buddy as on-line. (When the tag comes from a bare JID.)
* | | | | | | | | Replaced GPL-incompatible SHA1 hashing code (and renamed the files in caseWilmer van der Gaast2007-11-23-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I ever need SHA256 ;-)).
* | | | | | | | | Some changes to get rid of compiler warnings. (And disabling strictWilmer van der Gaast2007-11-22-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aliasing because there are too many warnings about it. :-P)
* | | | | | | | | Added Jabber groupchat topic support.Wilmer van der Gaast2007-11-19-6/+42
| | | | | | | | |
* | | | | | | | | Merging /TOPIC code from Miklos Vajna. Untested, because I still have toWilmer van der Gaast2007-11-19-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implement the Jabber hooks.
* | | | | | | | | Merging from devel/Jelmer.Wilmer van der Gaast2007-11-14-18/+15
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Removed some debugging stuff that shouldn't have been here for a long timeWilmer van der Gaast2007-11-14-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | already.
| * | | | | | | | | Handing of multipart messages in OSCAR (usually from mobiles), this fixesWilmer van der Gaast2007-11-10-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug #88, at last.
| * | | | | | | | | Fix another warning.Jelmer Vernooij2007-10-12-3/+3
| | | | | | | | | |
* | | | | | | | | | Added "xmlconsole" setting so it can be enabled at login time already.Wilmer van der Gaast2007-11-14-0/+11
| | | | | | | | | |
* | | | | | | | | | Merge from devel.Wilmer van der Gaast2007-10-12-45/+122
|\| | | | | | | | |
| * | | | | | | | | Added word_wrap() function to misc.c and using it at the right places soWilmer van der Gaast2007-10-12-33/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that long messages in groupchats also get wrapped properly (instead of truncated).
| * | | | | | | | | Made the netsplit-like quit messages optional.Wilmer van der Gaast2007-10-10-2/+14
| | | | | | | | | |
| * | | | | | | | | Added some comments to nogaim.h (Thanks to Miklos Vajna).Wilmer van der Gaast2007-10-10-1/+2
| | | | | | | | | |
| * | | | | | | | | Improve comments in nogaim.h so that writing support for new protocols will beMiklos Vajna2007-10-08-6/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | easier.
| * | | | | | | | | From vmiklos: More verbose error message on plugin load failures.Wilmer van der Gaast2007-08-30-1/+1
| | | | | | | | | |