aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | Merge from Jelmer (making GCC4 happy by sanitizing some typecasting messWilmer van der Gaast2007-07-15-3/+4
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | around the RC4/B64 code).
| | * | | | | | | | | Fix some warnings in storage.c.Jelmer Vernooij2007-07-07-3/+4
| | | | | | | | | | |
* | | | | | | | | | | 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.
* | | | | | | | | | | 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-1/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a debian/ tree and a merge from Jelmer (mainly unittest stuff).
| * | | | | | | | | | Merge from Jelmer (mainly unit testing things).Wilmer van der Gaast2007-07-01-0/+5
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| | * | | | | | | | | Add lcov targetJelmer Vernooij2007-01-22-0/+5
| | | | | | | | | | |
| * | | | | | | | | | s/Gender: Unknown// in OSCAR profile info. If we don't know, just don'tWilmer van der Gaast2007-04-27-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mention it, like the other vars.
* | | | | | | | | | | Added (and using) jabber_chat_free() for better memory management, fixedWilmer van der Gaast2007-07-02-16/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | 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-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+6
| | | | | | | | | | |
* | | | | | | | | | | 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-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-23/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | Prepared the Jabber module for anonymous rooms, but the BitlBee coreWilmer van der Gaast2007-04-25-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't deal with it very well, and I don't really know yet how I'll solve this... :-(
* | | | | | | | | | | Fixes: handling of being kicked, now sending <presence/> tags to allWilmer van der Gaast2007-04-22-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conferences the user's in.
* | | | | | | | | | | Got rid of one HORRIBLE stupidity called chat_by_channel(), which stillWilmer van der Gaast2007-04-22-21/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | used the GLOBAL IM connections list, allowing user A to interfere with user B's groupchats if running in daemon mode. I can't believe this was still there...
* | | | | | | | | | | You can send messages too now. But it's still very kludgy and doesn't workWilmer van der Gaast2007-04-22-13/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-38/+329
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just don't use this, you're really not going to like it. :-)
* | | | | | | | | | join_chat root command works for AIM chats now. (Was trivial to add andWilmer van der Gaast2007-04-21-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | useful for testing.)
* | | | | | | | | | Consistency; Using OPT_T(YP|HINK)ING for outgoing typing notfication crapWilmer van der Gaast2007-04-20-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | too.
* | | | | | | | | | Jabber module should always send the status information of the primaryWilmer van der Gaast2007-04-20-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resource now, instead of just whatever came in last.
* | | | | | | | | | Added G_GNUC_PRINTF() to imcb_(log|error) to keep an eye on fmt string issues.Wilmer van der Gaast2007-04-20-2/+2
| | | | | | | | | |
* | | | | | | | | | Renamed some more prpl functions.Wilmer van der Gaast2007-04-20-23/+22
| | | | | | | | | |
* | | | | | | | | | Renamed/slightly changed syntax of groupchat callback functions.Wilmer van der Gaast2007-04-19-43/+42
| | | | | | | | | |
* | | | | | | | | | New code to use nicknames stored in ICQ contact lists.Wilmer van der Gaast2007-04-19-2/+23
| | | | | | | | | |
* | | | | | | | | | More API changes: buddy list management. imcb_add_buddy() is now a *real*Wilmer van der Gaast2007-04-18-70/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Fixed NULL pointer dereference in Jabber code.Wilmer van der Gaast2007-04-17-1/+2
| | | | | | | | | |
* | | | | | | | | | API cleanup pretty much complete. Fixed pretty much everything except theWilmer van der Gaast2007-04-16-46/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buddy/groupchat related functions.
* | | | | | | | | | Hopefully improved Yahoo! "markup" stripping.Wilmer van der Gaast2007-04-16-6/+12
| | | | | | | | | |
* | | | | | | | | | Updating the Yahoo! module. This seems to fix handling of incoming awayWilmer van der Gaast2007-04-15-242/+696
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | states/messages, should fix some issues with group chats, and unfortunately also adds some crap which I don't want to clean up for now.
* | | | | | | | | | Split serv_got_update() into imcb_buddy_(status|times). (Well, the secondWilmer van der Gaast2007-04-15-158/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-283/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-113/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-38/+10
| | | | | | | | | |
* | | | | | | | | | Now that all these functions take format strings, I have to make sure IWilmer van der Gaast2007-04-05-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use that and don't introduce vulnerabilities. :-)
* | | | | | | | | | More cleanups, mainly in the callbacks. Replaced things likeWilmer van der Gaast2007-04-05-321/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do_error_dialog() and (set|hide)_login_progress(_error)?() with things that hopefully make more sense. Although it's still not really great...