aboutsummaryrefslogtreecommitdiffstats
path: root/irc_im.c
Commit message (Collapse)AuthorAgeLines
* Reindent everything to K&R style with tabsIndent2015-02-20-625/+618
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* irc_commands: implemented KICK supportjgeboski2015-01-29-0/+18
| | | | | | | | | | | With similar commands being supported, such as INVITE, the KICK command should be supported as well. The key motivation behind supporting KICK is having for having a way to remove users from group chats. As of now, there is no way for a bitlbee user to remove a user from a group chat. With no current KICK implementation, it made using this command a prime candidate for the UI side of this implementation. In addition, the KICK command has been supported in the control channel as well. This is to keep the INVITE/KICK pair consistent.
* irc-channel: implemented a special mode for show_usersjgeboski2015-01-28-1/+3
| | | | | | | | | | | | | This allows for users to be declared as being special, which does not have any specific meaning. The meaning of being special is different from protocol-to-protocol, which many protocols do not even implement. This functionality is mainly geared towards a special user state which only some protocols may actually need to define. For example, with the third-party Steam plugin, this can be used for denoting a user which is actively playing a game. By default, this mode will not actually be used by any plugin. However, it does default to the half-operator user mode.
* irc-im: fixed invalid memory reading on chat leavejgeboski2015-01-16-3/+1
| | | | | | | | When a chat is left, prpl->chat_leave() is invoked, which is suppose to free the groupchat. Since the data is now freed, or suppose to have been freed, attempting to modify the data will result in bad things. This simply removes an assignment operation, which was unneeded due to the memory already being freed.
* Replace isdigit/isalpha/.../tolower/toupper with glib variantsdequis2015-01-16-2/+2
| | | | | | | | | | | This fixes warnings about passing signed chars to them (apparently they are implemented as macros that do array lookups without checks in some platforms, yay) Specifically: functions=isalnum|isalpha|isdigit|isspace|isxdigit|tolower|toupper sed -ir "s/$functions/g_ascii_&/g" **/*.c
* Fix incorrect Free Software Foundation addressMatej Cepl2015-01-16-2/+2
|
* Fix word_wrap memory leak...dequis2014-09-21-0/+1
|
* Word wrapping for group chat mesages (Ticket #1131)dequis2014-02-27-2/+3
|
* Use account tag instead of protocol/network name for generating hostmasks.Wilmer van der Gaast2013-07-01-1/+11
|
* Add irc_t* argument to all relevant nick_*() functions.Wilmer van der Gaast2013-04-20-1/+1
|
* I'm still bored on a long flight. Wrote a script to automatically updateWilmer van der Gaast2013-02-21-1/+1
| | | | | | | my copyright mentions since some were getting pretty stale. Left files not touched since before 2012 alone so that this change doesn't touch almost EVERY source file.
* Bug #929: Indeed SET_NULL_OK was missing.Wilmer van der Gaast2012-03-10-1/+6
|
* Mainline merge.Wilmer van der Gaast2011-12-17-16/+7
|\
| * Big merge from pesco, closing some OTR issues: #759, #824, #839, #830.Wilmer van der Gaast2011-10-20-16/+7
| |\
| | * rename irc_usermsg to irc_rootmsg.unknown2011-10-03-23/+11
| | | | | | | | | | | | | | | | | | add new irc_usermsg, irc_usernotice. deliver user-specific messages from libotr as notices to that user.
| | * factor making a message appear from a specific nick out of bee_irc_user_msgunknown2011-10-01-14/+21
| |/
* / Error handling fixes.Wilmer van der Gaast2011-08-04-3/+5
|/ | | | | | Found one double free() bug causing troubles when a buddy_msg() handler takes down the IM connection immediately.
* Crash-bug (NULL-ptr deref) fix in channel part routine.Wilmer van der Gaast2011-06-11-1/+2
|
* Improved channel cleanup. Should fix a crash bug when leaving temporaryWilmer van der Gaast2011-05-01-0/+3
| | | | | groupchat channels (i.e. channels invited to on gtalk). #780.
* Add CTCP HELP code. Also cleaning up some noop handlers in the TwitterWilmer van der Gaast2010-12-07-0/+20
| | | | | | module (chat_with and send_typing) that suggested support for features that obviously don't exist.
* First bits of CTCP support to contacts. (Try /CTCP VERSION on a JabberWilmer van der Gaast2010-12-06-0/+26
| | | | | contact.)
* rename -delWilmer van der Gaast2010-12-05-0/+18
|
* Clean up pastebuf_timer when cleaning up channels, and properly clean upWilmer van der Gaast2010-12-02-1/+4
| | | | | | | channel-chatroom reference when leaving a chatroom. This fixes two very similar crash bugs when leaving a chatroom within the paste_buffer_delay period.
* Chop spaces from IM handles in all cases. Fixes #723.Wilmer van der Gaast2010-11-21-11/+7
|
* Added irc_channel_with_user() function to find a suitable channel to showWilmer van der Gaast2010-11-20-2/+7
| | | | | a user's message in, instead of just &bitlbee by default.
* Merging mainline, which includes a huge msnp13 merge.Wilmer van der Gaast2010-10-02-3/+3
|\ | | | | | | | | | | Not 100% sure about the OpenSSL merge, should double check that but I'm currently offline.
| * Fix NULL pointer dereference when removing nicks from groupchats.Wilmer van der Gaast2010-09-06-1/+1
| |
| * Fixing handling of (Jabber) chatroom topic changes done by the user.Wilmer van der Gaast2010-09-05-1/+1
| |
| * Fixed NULL ptr dereference when hilighting non-IM users in chatrooms.Wilmer van der Gaast2010-09-02-1/+1
| |
* | Do encryption and decryption. Somehow SMP and other things aren't workingWilmer van der Gaast2010-09-01-13/+73
|/ | | | | | so well yet, at least when testing with Pidgin on the other side. Not sure where the bug is.
* Revert to the old control channel messages for fullname changes, the /noticesWilmer van der Gaast2010-08-30-1/+3
| | | | | were probably just a bad idea.
* Process incoming XMPP groupchat invites in a saner way: Create a temporaryWilmer van der Gaast2010-08-23-0/+58
| | | | | channel the user can easily /join.
* blist should only show contacts that are (or would be if they were online)Wilmer van der Gaast2010-08-14-14/+2
| | | | | in the current channel.
* Restore default_target setting, kill last_root_cmd variable and just useWilmer van der Gaast2010-07-29-0/+1
| | | | | the last_channel variable, like for any other user.
* Clean up references from irc_user structs to channels that are being free()d.Wilmer van der Gaast2010-07-29-1/+10
|
* Allow change nicknames when moving contacts between groups. Also fixing aWilmer van der Gaast2010-07-25-0/+11
| | | | | bug that caused many empty channel mode changes being sent.
* Use the account tag in a few places and store it in the XML file as anWilmer van der Gaast2010-07-24-1/+1
| | | | | attribute, not as a setting (since all accounts have it anyway).
* Adding protocol-specific chatroom settings. First one to use this: AIMWilmer van der Gaast2010-07-24-2/+9
| | | | | chatrooms to use exchange numbers other than 4.
* One of the last few things I wanted to get done in this branch: combiningWilmer van der Gaast2010-07-18-14/+21
| | | | | | show_offline and away_devoice and possibly other ideas into one setting called show_users. Documentation will come soon. :-P
* Fixed cleaning up of channels. Something broke when changing theWilmer van der Gaast2010-07-13-3/+33
| | | | | irc_channel_del_user() syntax.
* Reformat nicks whenever fullname/nick/group changes (but at least for nowWilmer van der Gaast2010-07-13-47/+23
| | | | | still only for offline users).
* Use bee_user structs in all nick_* functions. Prepare for a nick_get() withWilmer van der Gaast2010-07-11-3/+3
| | | | | more flexible nickname generation.
* When addressing people in a chatroom, try to translate the nickname to theWilmer van der Gaast2010-07-05-1/+26
| | | | | original unstripped version (without ugly underscores, also).
* Kick the user instead of parting him/her when cleaning up a channel. This isWilmer van der Gaast2010-07-04-3/+3
| | | | | what the older version also did so that Irssi won't clean up the window.
* Auto joins for chatrooms.Wilmer van der Gaast2010-07-04-0/+15
|
* Show a user going offline as a QUIT, not as one or more PARTs, like in theWilmer van der Gaast2010-07-03-0/+8
| | | | | | old-style BitlBee. This so that the IRC client will show the notification in query windows as well. Make it a setting though, for bug #539.
* Initialize the show variable in channel_update. This shouldn't have causedWilmer van der Gaast2010-07-03-1/+1
| | | | | | any troubles, only unpredictable behaviour for users trying out unimplemented functionality.
* When receiving a channel name hint, and a channel with that name alreadyWilmer van der Gaast2010-07-01-10/+29
| | | | | | exists, remove it if it's fully unused, instead of failing immediately. (Fixes #639.)
* Flush channels when the user leaves them. Also, don't update a controlWilmer van der Gaast2010-07-01-1/+2
| | | | | channel if the user isn't in it.
* Also allow selecting contacts for a channel by protocol instead of account.Wilmer van der Gaast2010-06-30-0/+2
| | | | | | If someone has two MSN accts and wants contacts from both in one channel, this is now possible.