aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Imported setuid() patch from Simo Leone <simo@archlinux...> with someWilmer van der Gaast2007-12-02-5/+43
| | | | | modifications. Also adding some missing g_free()s to conf.c.
* Forgot to return something in jabber_chat_join_failed().Wilmer van der Gaast2007-12-02-3/+3
|
* Merging a change I should've pulled before committing three other changes.Wilmer van der Gaast2007-12-02-3/+14
|\
| * Added charset checks on incoming msgs (from the IRC side) to prevent possibleWilmer van der Gaast2007-12-02-3/+14
| | | | | | | | | | | | crashes/other odd behaviour in IM modules (or a GLib function that crashes on non-UTF-8 strings).
* | 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.
* | Defining DEBUG via CFLAGS so that it'll always be there, even when a fileWilmer van der Gaast2007-12-02-1/+1
| | | | | | | | | | doesn't include config.h.
* | 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-22/+5
|
* Fixed the epoll+ForkDaemon combination. The libevent event handlingWilmer van der Gaast2007-11-28-8/+43
| | | | | | didn't work very well on Linux 2.6 (and possibly others) in ForkDaemon mode.
* 1.1.1dev (Although the CHANGES change isn't in there).1.1.1Wilmer van der Gaast2007-11-24-2/+4
|
* 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-223/+470
| | | | | I ever need SHA256 ;-)).
* Replaced GPL-incompatible MD5 hashing code.Wilmer van der Gaast2007-11-23-467/+242
|
* Some changes to get rid of compiler warnings. (And disabling strictWilmer van der Gaast2007-11-22-11/+19
| | | | | aliasing because there are too many warnings about it. :-P)
* Fixed memory management issues introduced by at least the getaddrinfo()Wilmer van der Gaast2007-11-20-2/+2
| | | | | change. (Patch from arnau)
* Fixed NULL pointer dereference (in printf) when connected to a non-socketWilmer van der Gaast2007-11-19-20/+11
| | | | | (which I do quite often when testing stuff).
* Changelog update.Wilmer van der Gaast2007-11-19-2/+4
|
* Merging Jabber groupchat support.Wilmer van der Gaast2007-11-19-189/+967
|\
| * 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-14/+54
| | | | | | | | | | implement the Jabber hooks.
| * Merging from devel/Jelmer.Wilmer van der Gaast2007-11-14-161/+113
| |\
| * | Added "xmlconsole" setting so it can be enabled at login time already.Wilmer van der Gaast2007-11-14-0/+24
| | |
| * | Merge from devel.Wilmer van der Gaast2007-10-12-133/+466
| |\ \
| * | | Not trying to handle typing notifications from unknown buddies anymoreWilmer van der Gaast2007-08-08-1/+5
| | | | | | | | | | | | | | | | | | | | (NULL pointer dereference).
| * | | Added jabber_error_parse() and using it for both stream- and stanzaWilmer van der Gaast2007-07-30-24/+61
| | | | | | | | | | | | | | | | | | | | (only presence so far) errors.
| * | | Added imcb_clean_handle() to sanitize handles properly (without puttingWilmer van der Gaast2007-07-15-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | IRC-specific stuff into the Jabber module). Only using this in the MUC code for now because this only works if the IM module can somehow convert the cleaned up handle back to the original one.
| * | | Added join_chat command to the "help groupchat" information.Wilmer van der Gaast2007-07-15-0/+4
| | | |
| * | | Merging more debian/ changes.Wilmer van der Gaast2007-07-14-479/+3
| |\ \ \
| * | | | Fixed imc_logout() (assigning u too early). Stupid me.Wilmer van der Gaast2007-07-11-1/+2
| | | | |
| * | | | Merging from devel. Added documentation for the join_chat command, addingWilmer van der Gaast2007-07-06-21/+2418
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a debian/ tree and a merge from Jelmer (mainly unittest stuff).
| * | | | | Added (and using) jabber_chat_free() for better memory management, fixedWilmer van der Gaast2007-07-02-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | channel name generation code in root_commands.c and fixed one memory leak in jabber_buddy_remove_bare().
| * | | | | Stripping of unwanted characters (@ and =) in channel nicknames.Wilmer van der Gaast2007-07-02-1/+11
| | | | | |
| * | | | | Fixed nick hint function to only set the nick if it's different fromWilmer van der Gaast2007-07-02-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the current one (otherwise the dedupe function will dedupe the nick against itself).
| * | | | | 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.
| * | | | | Keeping an original (not normalized) copy of the user's nickname. ThisWilmer van der Gaast2007-07-01-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes a bug reported by James Teh in the monster ticket #20. There's no proper garbage collection yet in the Jabber conference code, really have to do that soon. :-(
| * | | | | Better handling of private messages via groupchats.Wilmer van der Gaast2007-07-01-9/+54
| | | | | |
| * | | | | Properly updating away state info if one resource goes down while anotherWilmer van der Gaast2007-07-01-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one's still there. Not sending offline notifications is great, but updating the away state info is even better. :-)
| * | | | | Less copy-pasting in the service discovery reply and added MUC support toWilmer van der Gaast2007-07-01-22/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that list. And adding some const stuff in the xmltree functions.
| * | | | | Better groupchat channel name generation/verification.Wilmer van der Gaast2007-07-01-2/+5
| | | | | |
| * | | | | Not calling imcb_remove_buddy() right after removing the XML console buddyWilmer van der Gaast2007-06-20-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anymore.
| * | | | | Fixed irc_chat_by_channel() to not break if using multiple IM accountsWilmer van der Gaast2007-06-14-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | where some of them are down.
| * | | | | Added imcb_remove_buddy() so deletions in Jabber roster pushes actuallyWilmer van der Gaast2007-06-14-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work. This also solves the issue of underscores appearing and disappearing in their nicknames when people leave/join a chat.
| * | | | | Fixed a memory management problem that caused some strange nickname issues.Wilmer van der Gaast2007-06-14-2/+7
| | | | | |
| * | | | | Fixed the duplicate-nick problem. Very very very stupid bug... :-(Wilmer van der Gaast2007-06-14-1/+1
| | | | | |
| * | | | | Calling imcb_add_buddy() before setting the nickname. This is the onlyWilmer van der Gaast2007-06-04-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | way to set the nickname in time before BitlBee sends the JOIN.
| * | | | | Fixed retarded use of strcpy() and no longer using Jabber fullnames forWilmer van der Gaast2007-06-04-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-26/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | Now anonymous rooms should really work. This makes sure the self-join willWilmer van der Gaast2007-06-04-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actually be recognized properly. This is running on my work machine for a few days already.
| * | | | | Added a real XML-console to the Jabber module! Add the handle "xmlconsole"Wilmer van der Gaast2007-06-04-12/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.