aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
Commit message (Collapse)AuthorAgeLines
* Applied show-offline patch from Florian E.J. Fruth, adapted for a fewWilmer van der Gaast2010-05-02-0/+1
| | | | | changes that happened since 1.2.4.
* 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.)
* 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
|