aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | When cleaning up queries, q->data is free()d. Even if it turns out to beWilmer van der Gaast2010-07-11-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the "struct irc" containing all data belonging to a session. Sanitise memory management a little bit here. (There are some memory leaks in here too that need to be fixed at some point.)
| * | | | | | | | | | | | Takeover stuff now works in daemon mode as well.Wilmer van der Gaast2010-07-11-6/+90
| | | | | | | | | | | | |
| * | | | | | | | | | | | Cleanup. Move some code to a more appropriate location, and show the oldWilmer van der Gaast2010-07-10-30/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connection a quit message instead of just breaking the connection.
| * | | | | | | | | | | | Translate "nick:" to "@nick" in Twitter rooms to make tab completion easier.Wilmer van der Gaast2010-07-10-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not working yet with stripped/mangled nicknames.
| * | | | | | | | | | | | Only available in ForkDaemon mode for now: If a user connects (andWilmer van der Gaast2010-07-10-25/+373
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identifies) while he's already logged in, offer to take over the old connection.
| | * \ \ \ \ \ \ \ \ \ \ \ Merging main ui-fix.Wilmer van der Gaast2010-07-10-9/+59
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | Allow nick changes if they're only different in capitalisation, fixedWilmer van der Gaast2010-07-08-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | faulty responses in the NICK command, and fixing crash bug in nick changes before finishing login.
| * | | | | | | | | | | | | When addressing people in a chatroom, try to translate the nickname to theWilmer van der Gaast2010-07-05-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | original unstripped version (without ugly underscores, also).
| | * | | | | | | | | | | | More state consistency checks/error handling.Wilmer van der Gaast2010-07-10-26/+53
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Inform IPC master about nick changes.Wilmer van der Gaast2010-07-09-0/+17
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Also sync umodes.Wilmer van der Gaast2010-07-09-0/+10
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Ask for confirmation. Generally working fairly well now, but definitelyWilmer van der Gaast2010-07-09-22/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fragile.
| | * | | | | | | | | | | | It works! Fragile like hell though, and without any confirmation or whatever.Wilmer van der Gaast2010-07-07-8/+98
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | First part of the handshake, including sending a file descriptor to theWilmer van der Gaast2010-07-06-14/+140
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPC master.
| * | | | | | | | | | | | Kick the user instead of parting him/her when cleaning up a channel. This isWilmer van der Gaast2010-07-04-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | what the older version also did so that Irssi won't clean up the window.
| * | | | | | | | | | | | Documentation update. I think this covers most of the channel-related ui-fixWilmer van der Gaast2010-07-04-7/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes.
| * | | | | | | | | | | | Auto joins for chatrooms.Wilmer van der Gaast2010-07-04-0/+24
| | | | | | | | | | | | |
| * | | | | | | | | | | | Added automatic joining of channels. Auto-rejoin functionality forWilmer van der Gaast2010-07-04-2/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | groupchats not reimplemented yet but that's the next step.
| * | | | | | | | | | | | Show a user going offline as a QUIT, not as one or more PARTs, like in theWilmer van der Gaast2010-07-03-43/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | Use irc_send_msg instead of irc_send_msg_raw() to echo messages to self,Wilmer van der Gaast2010-07-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to make sure CTCP ACTIONs work. Not important, just more correct. Other CTCPs sent to oneself are dropped, but why CTCP yourself anyway?
| * | | | | | | | | | | | 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.
| * | | | | | | | | | | | Fix handling of outgoing CTCP ACTIONs.Wilmer van der Gaast2010-07-03-1/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | A few Twitter fixes from mainline.Wilmer van der Gaast2010-07-01-13/+24
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | D'oh. Of course the getter functions should also treat next_cursor as aWilmer van der Gaast2010-06-30-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64-bit integer. This code now successfully fetches lists with up to ~900 items. (Since this takes quite long, maybe there should be an upper limit.)
* | | | | | | | | | | | | next_cursor is a 64-bit integer. Make it so. This should fix issues withWilmer van der Gaast2010-06-30-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getting contact lists containing >100 people. I'm still not getting a full list but even Twitter claims I'm at the end of the list. Will investigate later.
* | | | | | | | | | | | | Strip whitespace in Twitter OAuth PIN responses.Wilmer van der Gaast2010-06-30-1/+8
| | | | | | | | | | | | |
| * | | | | | | | | | | | 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.)
| * | | | | | | | | | | | Disable the code added in the previous change during shutdown, since it'sWilmer van der Gaast2010-07-01-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointless at that stage and may cause crashes.
| * | | | | | | | | | | | Flush channels when the user leaves them. Also, don't update a controlWilmer van der Gaast2010-07-01-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | channel if the user isn't in it.
| * | | | | | | | | | | | Support /NOTICE, although for now just to yourself - some IRC clients useWilmer van der Gaast2010-07-01-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this to measure lag.
| * | | | | | | | | | | | Also, automatically set up per-protocol channels if the name's a protocolWilmer van der Gaast2010-06-30-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name.
| * | | | | | | | | | | | Also allow selecting contacts for a channel by protocol instead of account.Wilmer van der Gaast2010-06-30-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If someone has two MSN accts and wants contacts from both in one channel, this is now possible.
| * | | | | | | | | | | | Allow joining multiple channels at once. Although BitlBee doesn't advertiseWilmer van der Gaast2010-06-28-21/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support for this, irssi tries to do this anyway.
| * | | | | | | | | | | | An empty string is not a valid channel name.Wilmer van der Gaast2010-06-28-0/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Callers shouldn't have to expect that irc_channel_del_user() frees the channelWilmer van der Gaast2010-06-28-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so if it wants to (temporary channels), do it via a timer.
| * | | | | | | | | | | | Hacky support for short subcommands (i.e. "ac l" instead of "account list".).Wilmer van der Gaast2010-06-28-11/+19
| | | | | | | | | | | | |
| * | | | | | | | | | | | Mark nameless groupchat channels as temporary so they don't stick aroundWilmer van der Gaast2010-06-28-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | forever.
| * | | | | | | | | | | | irc_channel_name_strip() instead of nick_strip().Wilmer van der Gaast2010-06-27-2/+16
| | | | | | | | | | | | |
| * | | | | | | | | | | | Save and load channels. Also fixing a bug in creating non-control channelsWilmer van der Gaast2010-06-27-9/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with a &-name.
| * | | | | | | | | | | | Import chatrooms configured in older BitlBee versions. Settings are currentlyWilmer van der Gaast2010-06-27-274/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ignored though. Also removing the old chat.[ch] files since they're really not important anymore.
| * | | | | | | | | | | | Changed account set (and other account commands) syntax. Instead ofWilmer van der Gaast2010-06-27-202/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "account set acc/key value" you now do "account acc set key value". So just the regular set syntax with a "account acc" prefix. The slash has been a source of confusion for long enough now. For consistency, commands like "account on acc" should now also be "account acc on" instead. Same for the new "channel" comand, of course.
| * | | | | | | | | | | | Remember in which channel the user talked to someone and show responses inWilmer van der Gaast2010-06-26-20/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that same channel.
| * | | | | | | | | | | | Merging bugfix from mainline.Wilmer van der Gaast2010-06-26-4/+8
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Don't create multiple main loops if the user follows >100 people.Wilmer van der Gaast2010-06-24-4/+8
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merging a few revisions from mainline.Wilmer van der Gaast2010-06-24-30/+85
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Fixed an access-after-free() bug in the Jabber keepalive + cache cleanupWilmer van der Gaast2010-06-24-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code.
* | | | | | | | | | | | | Load the whole Twitter contact list at login time if mode=chat/many,Wilmer van der Gaast2010-06-24-26/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of adding contacts as they post tweets. Also in mode=chat, populate the channel *before* adding the user to it, avoiding a flood of joins.
* | | | | | | | | | | | | Fixed a NULL pointer dereference in the Jabber module.Wilmer van der Gaast2010-06-23-1/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | Added user_agent setting to Jabber accounts so people can get aroundWilmer van der Gaast2010-06-23-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ridiculous user agent restrictions on certain Jabber servers. Obviously this is pretty simple to detect and break, but it works at least with Openfire.
| * | | | | | | | | | | | Automatically call the "channel" command for the now-gone chat subcommands.Wilmer van der Gaast2010-06-23-0/+7
| | | | | | | | | | | | |