aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | 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.
* | | | Changed root nicknames are now saved. (Bug #378)Wilmer van der Gaast2008-04-05-0/+1
| | | |
* | | | Rearranged some event handling code.Wilmer van der Gaast2008-04-02-5/+8
| | | |
* | | | Reordered irc_free() a little bit, hoping that this will fix a crash-on-quitWilmer van der Gaast2008-04-02-55/+56
| | | | | | | | | | | | | | | | | | | | bug I can't figure out. The previous order wasn't optimal.
* | | | Changed charset handling: irc_t keeps two iconv structures, which are justWilmer van der Gaast2008-03-30-23/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | used for every line sent and received, so now there's no need to use g_iconv_open() every time a message comes in/out. Also, fixed a small memory leak that was there for a long time but somehow never caught my attention.
* | | | Be more liberal with accepted line endings. ERC on Windows likes to useWilmer van der Gaast2008-03-29-28/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | "\r\r\n", for example, and until now BitlBee only chopped off the \r\n, leaving the first \r as part of the command, which means it couldn't log in to BitlBee at all. (Bad character in nickname.)
* | | | Closing bug #209: The PASS command can now be used to identify yourselfWilmer van der Gaast2008-03-29-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | to BitlBee. The advantage: No more messing with NickServ hooks. Just set a server password.
* | | | Fixed handling of "set charset none". Fixes bug #373.Wilmer van der Gaast2008-03-21-3/+4
| |_|/ |/| |
* | | Fixed getnameinfo() calls, this fixes Solaris stability issues. Thanks toWilmer van der Gaast2008-02-07-2/+2
| | | | | | | | | | | | | | | Logan O'Sullivan Bruns for the report.
* | | Added help_free() and cleaned up some very stale help-related stuff IWilmer van der Gaast2008-02-02-11/+0
| | | | | | | | | | | | | | | wasn't even aware of. This closes bug #352.
* | | Different handling of charset mismatches before login time. Ignoring aWilmer van der Gaast2008-01-13-1/+15
| | | | | | | | | | | | | | | | | | USER command because of encoding issues isn't too great, so let's simply replace them. The information isn't really used anywhere anyway.
* | | More consistency in error/warning errors. Until now "WARNING:" was usuallyWilmer van der Gaast2008-01-06-1/+1
| |/ |/| | | | | | | in upper case while "Error:" wasn't .... that doesn't really make sense.
* | 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).
* Fixed NULL pointer dereference (in printf) when connected to a non-socketWilmer van der Gaast2007-11-19-10/+5
| | | | | (which I do quite often when testing stuff).
* Merging /TOPIC code from Miklos Vajna. Untested, because I still have toWilmer van der Gaast2007-11-19-11/+6
| | | | | implement the Jabber hooks.
* Merging from devel/Jelmer.Wilmer van der Gaast2007-11-14-47/+29
|\
| * Merging from Jelmer.Wilmer van der Gaast2007-11-05-46/+28
| |\
| | * Fix indentation.Jelmer Vernooij2007-10-18-11/+11
| | |
| | * Use standard functions for dealing with both IPv6 and IPv4. Jelmer Vernooij2007-10-18-48/+18
| | |
| * | s/FAQ's/FAQs/Wilmer van der Gaast2007-10-30-1/+1
| |/
* | Merge from devel.Wilmer van der Gaast2007-10-12-2/+3
|\|
| * Made the netsplit-like quit messages optional.Wilmer van der Gaast2007-10-10-1/+2
| |
| * Made UTF-8 the new default charset. This is the default on pretty much everyWilmer van der Gaast2007-09-01-1/+1
| | | | | | | | | | recent machin.
* | 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.
* | Got rid of one HORRIBLE stupidity called chat_by_channel(), which stillWilmer van der Gaast2007-04-22-3/+19
|/ | | | | | | 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...
* Consistency; Using OPT_T(YP|HINK)ING for outgoing typing notfication crapWilmer van der Gaast2007-04-20-1/+1
| | | | | too.
* s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h aWilmer van der Gaast2007-04-15-3/+3
| | | | | | 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-3/+2
| | | | | it's in acc too. wants_to_die is now an argument to imc_logout().
* More cleanups, mainly in the callbacks. Replaced things likeWilmer van der Gaast2007-04-05-1/+1
| | | | | | | | do_error_dialog() and (set|hide)_login_progress(_error)?() with things that hopefully make more sense. Although it's still not really great...
* s/gaim_connection/im_connection/ and some other minor API changes. The restWilmer van der Gaast2007-03-30-21/+21
| | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-)
* Preparing for Jabber conference room support.Wilmer van der Gaast2007-03-27-4/+4
|
* Preventing infinite loop while cleaning up accounts in irc_free(). Closes #245.Wilmer van der Gaast2007-02-18-1/+6
|