aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | buddy_sendbuffer should be renamed, since it has to work for users andWilmer van der Gaast2010-06-06-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chats. For smooth transitions, add an old_key attribute to settings which can be used as a (temporary) alias.
* | | | | | | | Misc. cleanup. Also updated the Yahoo! module to deal with struct groupchatWilmer van der Gaast2010-05-08-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in a GSList so that a default config fully compiles again.
* | | | | | | | Always show normal contacts in &bitlbee, not just the first channel in theWilmer van der Gaast2010-05-08-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | list.
* | | | | | | | Restore away_devoice.Wilmer van der Gaast2010-05-03-0/+4
| | | | | | | |
* | | | | | | | Call bee_free() from irc_free() or daemon mode gets pretty sad.Wilmer van der Gaast2010-04-14-6/+6
| | | | | | | |
* | | | | | | | Merging loads of stuff from mainline.Wilmer van der Gaast2010-04-14-5/+22
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| * | | | | | | Fixed 2-byte memory leak in set_eval_charset().Wilmer van der Gaast2010-04-08-0/+5
| | | | | | | |
| * | | | | | | Added display_timestamps setting in case some people may not really like them.Wilmer van der Gaast2010-04-08-0/+1
| | | | | | | |
| * | | | | | | Show timestamps for offline messages. Including a timezone setting forWilmer van der Gaast2010-04-07-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | people using servers outside their own timezone.
| * | | | | | | Don't allow non-8-bit character sets like utf-16 which completely break theWilmer van der Gaast2010-04-07-3/+14
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IRC protocol. (Happened to at least two public server users by now and it renders the accounts useless without manual intervention.)
* | | | | | | Always show root's greeting inside the control channel.Wilmer van der Gaast2010-04-12-0/+8
| | | | | | |
* | | | | | | Fixed cleanup issues when turning off an account. Also fixed syntax ofWilmer van der Gaast2010-04-12-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *_user_free().
* | | | | | | Restore the storage module.Wilmer van der Gaast2010-04-10-0/+13
| | | | | | |
* | | | | | | Cleaned lots of compiler warnings so I can get some signal again.Wilmer van der Gaast2010-04-01-0/+1
| | | | | | |
* | | | | | | Restored "account" root command and restored enough stuff to be able toWilmer van der Gaast2010-03-31-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | send messages. Also started moving stuff out from nogaim.* into bee_* files.
* | | | | | | Restored server-initiated PINGs.Wilmer van der Gaast2010-03-27-2/+39
| | | | | | |
* | | | | | | irc_usermsg() works a little bit again. Have to figure out how and whereWilmer van der Gaast2010-03-27-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to restore multiline support though.
* | | | | | | Added privmsg handlers to users/channels. root commands are coming back.Wilmer van der Gaast2010-03-27-0/+3
| | | | | | |
* | | | | | | Mode stuff. Also disallow unsetting +R umode which was possible so farWilmer van der Gaast2010-03-27-5/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (and shouldn't be).
* | | | | | | Topic handling changes.Wilmer van der Gaast2010-03-27-1/+1
| | | | | | |
* | | | | | | Added WHOIS command.Wilmer van der Gaast2010-03-26-2/+1
| | | | | | |
* | | | | | | Collect that garbage.Wilmer van der Gaast2010-03-26-0/+5
| | | | | | |
* | | | | | | Simple IRC channel interface, use it to represent the control channel.Wilmer van der Gaast2010-03-26-0/+32
| | | | | | |
* | | | | | | PING and QUIT work now, and adding some files that weren't checked in soWilmer van der Gaast2010-03-26-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | far.
* | | | | | | One total mess that doesn't do much yet, but reorganised some stuff andWilmer van der Gaast2010-03-26-848/+121
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | untying the IRC and the core parts a little bit. Lots of work left to do.
* | | | | | Now seems like a pretty good time to finally kill crypting.c and storage_text.Wilmer van der Gaast2010-03-24-1/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means people won't be able to upgrade from BitlBee 1.0 to this version anymore but only via 1.2. 1.0 is old enough that I don't really expect this to be a problem.
* | | | | Merging in file transfer support. Most important points from my reviewWilmer van der Gaast2010-03-21-1/+12
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | are fixed now, time to let it settle in and get people to try it.
| * | | | Merging mainline.Wilmer van der Gaast2010-03-17-1/+24
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Merging head.Wilmer van der Gaast2009-12-07-33/+41
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Merged in upstream r416 which includes my msn_write_msg patch. w00t! ;)ulim2008-08-10-1/+1
| |\ \ \ \
| * \ \ \ \ merged in upstream r410.ulim2008-08-04-1/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only conflict was the correction of jabber normalization which I had already done.
| * | | | | | ulibc support, fixes "Invalid SOCKS5 Connect message" problemulim2008-05-04-3/+0
| | | | | | |
| * | | | | | merged in upstream r379 (somewhere after 1.2-3).ulim2008-04-14-111/+186
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just one trivial conflict in the jabber Makefile, went smoothly.
| * \ \ \ \ \ \ Merged with upstream r328ulim2008-02-15-15/+18
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wilmer van der Gaast 2008-02-11 Got rid of some noise at startup: complaining when the default configuration Wilmer van der Gaast 2008-02-10 Added support for password-protected Jabber chatrooms. Wilmer van der Gaast 2008-02-10 Making AI_ADDRCONFIG optional, it doesn't exist on at least NetBSD and Wilmer van der Gaast 2008-02-09 Restored "add -tmp". A bit hackish, but it will do for now. Wilmer van der Gaast 2008-02-07 Fixed getnameinfo() calls, this fixes Solaris stability issues. Thanks to Wilmer van der Gaast 2008-02-04 Added bogus G_GNUC_MALLOC to restore GLib 2.4 compatibility (hopefully). Wilmer van der Gaast 2008-02-03 Messages from the user are also included in backlogs when joining a Jabber Wilmer van der Gaast 2008-02-03 Disabling "Unknown command" warnings since they're very noisy and pretty Wilmer van der Gaast 2008-02-03 Implemented XEP-0115. This adds some info to the <presence/> tags so Wilmer van der Gaast 2008-02-03 Saner garbage collection of cached packets in the Jabber module. Now Wilmer van der Gaast 2008-02-02 Added help_free() and cleaned up some very stale help-related stuff I Wilmer van der Gaast 2008-01-30 Fixed handling of OSCAR multi-part messages... They're not arrays, they're Wilmer van der Gaast 2008-01-24 Keeping track of valid Jabber connections so _connected() events will be Wilmer van der Gaast 2008-01-24 Fixed two valgrind warnings (partially uninitialized "struct tm" vars.) Wilmer van der Gaast 2008-01-20 The Jabber module now uses imcb_chat_log() instead of imcb_log() where Wilmer van der Gaast 2008-01-20 Added imcb_chat_log() for chatroom system messages, so they can be Wilmer van der Gaast 2008-01-20 GET_BUDDY_FIRST wasn't actually implemented, even though it was in use Wilmer van der Gaast 2008-01-19 Using test -f instead of test -e. This breaks if the include files are Wilmer van der Gaast 2008-01-19 Added byte swapping code to the new MD5 checksumming code to make it work Wilmer van der Gaast 2008-01-18 Moving imcb_chat_new() to a saner location (no code changes) and fixing Wilmer van der Gaast 2008-01-17 Apparently ext_yahoo_got_im can be called with msg=NULL, so it should be Wilmer van der Gaast 2008-01-17 Fixing some Solaris compiler warnings (u_int->uint, adding some typecasts Wilmer van der Gaast 2008-01-13 Fixed handing of failed groupchat joins. Wilmer van der Gaast 2008-01-13 Fixed "Conditional jump or move depends on uninitialised value(s)" at Wilmer van der Gaast 2008-01-13 Fixed quickstart2. (Bug #349.) Wilmer van der Gaast 2008-01-13 Different handling of charset mismatches before login time. Ignoring a Wilmer van der Gaast 2008-01-12 When a switchboard connection dies (at the TCP level) and there are still Wilmer van der Gaast 2008-01-12 Killed info_string_append() and now showing the IP address of ICQ users Wilmer van der Gaast 2008-01-11 Fixing bug #344, now away states should always be correct, even when people Wilmer van der Gaast 2008-01-11 Adding own handle to protocol name in blist output for people with multiple Wilmer van der Gaast 2008-01-10 Now setting odata->icq properly again, this got lost some time ago, which Wilmer van der Gaast 2008-01-06 More consistency in error/warning errors. Until now "WARNING:" was usually Wilmer van der Gaast 2008-01-06 Changed warning message about unsent MSN messages. It should show the actual Wilmer van der Gaast 2008-01-05 Added "mail_notifications" setting. Who needs those notifications anyway? Wilmer van der Gaast 2008-01-05 Build fix from vmiklos. Wilmer van der Gaast 2008-01-05 Added handling of MSN switchboard NAK messages. Untested, but hey, it Wilmer van der Gaast 2008-01-05 Removed closure->result. I was planning to add some more stuff, but will Miklos Vajna 2007-12-31 encode: md5.c is no longer in protocols/, it's in lib/ Wilmer van der Gaast 2007-12-28 Fixed return value check in proxy_connect(), since on some systems Wilmer van der Gaast 2007-12-28 Added missing return in jabber_login(). Wilmer van der Gaast 2007-12-16 Implemented XEP-0199 (patch from misc@mandriva.org). Wilmer van der Gaast 2007-12-12 Checking conn->xcred before trying to clean it up since GnuTLS doesn't Wilmer van der Gaast 2007-12-12 Killed the <server> parameter to "account add" and changed the default Wilmer van der Gaast 2007-12-12 Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPU Wilmer van der Gaast 2007-12-10 Don't allow nicks that start with a number. Wilmer van der Gaast 2007-12-10 Fixed "set xxx" syntax (it showed all settings instead of just xxx). Wilmer van der Gaast 2007-12-09 If I keep forgetting to credit people in commit msgs I should probably add Wilmer van der Gaast 2007-12-09 Added /invite support for Jabber chatrooms (and fixed the argument order
| * \ \ \ \ \ \ \ Merged in current develulim2007-12-04-3/+14
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wilmer van der Gaast 2007-12-02 Imported setuid() patch from Simo Leone <simo@archlinux...> with some Wilmer van der Gaast 2007-12-02 Forgot to return something in jabber_chat_join_failed(). Wilmer van der Gaast 2007-12-02 Merging a change I should've pulled before committing three other changes. Wilmer van der Gaast 2007-12-02 Added charset checks on incoming msgs (from the IRC side) to prevent possible Wilmer van der Gaast 2007-12-02 Handling of presence-error packets (only useful for groupchats now), moved Wilmer van der Gaast 2007-12-02 Defining DEBUG via CFLAGS so that it'll always be there, even when a file Wilmer van der Gaast 2007-12-02 Removed retarded printf() (ARGH) and moved the event handling handling of Wilmer van der Gaast 2007-11-29 printf() in daemons considered harmful. Wilmer van der Gaast 2007-11-28 Fixed the epoll+ForkDaemon combination. The libevent event handling
| * | | | | | | | | Intermediate commit. Sending seems to work. TODOs:ulim2007-12-03-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move from out_of_data to is_writable, eliminate buffers * implement "transfers reject [id]" * documentation in commands.xml * implement throughput and cummulative throughput boundaries * feature discovery before sending * implement sending over a proxy (proxy discovery, socks5 client handshake for sending, activate message) * integrate toxik-mek-ft
* | | | | | | | | | Allow changing the name of the control channel at run-time.Wilmer van der Gaast2010-03-19-0/+1
| |_|_|_|_|_|_|/ / |/| | | | | | | |
* | | | | | | | | While I'm at it, set auto_reconnect to true by default, which I intended toWilmer van der Gaast2010-03-14-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do for a long time already since it should be safe with all protocol modules now.
* | | | | | | | Added global and per-account settings "away" and "status" so the user canWilmer van der Gaast2010-03-07-0/+23
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | set these things individually.
* | | | | | | Fixed a bug in the IRC parser where lines that start with a colon and don'tWilmer van der Gaast2008-12-14-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contain any spaces could make BitlBee read uninitialized memory (and possibly even parse it as if it were a command). Also fixed a small memory leak around there.
* | | | | | | Merging BitlBee 1.2.3 release.Wilmer van der Gaast2008-09-07-2/+2
|\ \ \ \ \ \ \
| * | | | | | | Completely reviewed all uses of irc->password, irc_setpass() andWilmer van der Gaast2008-09-06-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USTATUS_IDENTIFIED after another account overwriting vulnerability was found by Tero Marttila.
* | | | | | | | /join can now be used to join chatrooms, join_chat should not be usedWilmer van der Gaast2008-08-31-2/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anymore. /join should not be used for unnamed groupchats anymore, use "chat with" instead.
* | | | | | | Clearer feedback after set/account set commands.Wilmer van der Gaast2008-08-24-5/+11
| | | | | | |
* | | | | | | Added SET_INVALID, which set evaluators should now return instead of NULLWilmer van der Gaast2008-08-24-22/+24
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the given value is not accepted. This to allow certain variables actually be set to NULL (server, for example). This should fully close #444.
* | | | | | Added ceiling to auto-reconnect delay, changed the default to 5*3<900 andWilmer van der Gaast2008-08-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added documentation.
* | | | | | Simple exponential backoff code. Have to add a maximum delay setting,Wilmer van der Gaast2008-08-06-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | something like 5*5<300: 5s, multiply by 5 on each failure, but stop increasing once we hit 5m.
* | | | | Merging changes from Jelmer: It's now possible to cross-compile a WindowsWilmer van der Gaast2008-06-30-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | version of BitlBee from Linux. No working SSL support yet though!
| * | | | | Fix undefined references.Jelmer Vernooij2008-06-10-0/+1
| | |_|_|/ | |/| | |
* / | | | Added the DEAF command, which makes the daemon stop listening for newWilmer van der Gaast2008-06-29-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | connections. This makes it easier to upgrade a BitlBee without having to disconnect all current users immediately. Closes #428.