aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | /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
|
* Disabling little optimization in irc.c because it can't be done safely inWilmer van der Gaast2006-10-31-2/+5
| | | | | this part of the code for now.
* Added message on successful creation of accounts and fixed "set password"Wilmer van der Gaast2006-08-25-1/+3
| | | | | command.
* Extra comments in set.h and now properly using set_getbool() instead ofWilmer van der Gaast2006-08-13-2/+2
| | | | | set_getint().
* Added some (more) comments to .h files in lib/ and some minor fixes/cleanups.Wilmer van der Gaast2006-07-19-1/+0
|
* Fixed a broken call to set_get() (CRASH), shut up a compiler warning inWilmer van der Gaast2006-07-15-1/+1
| | | | | events_glib and now using the right evaluator for acc->"auto_reconnect".
* Merging from main.Wilmer van der Gaast2006-07-14-19/+26
|\
| * Better handling of situations where IPv6 is not available at run-time.Wilmer van der Gaast2006-07-11-19/+22
| |
| * Fixed irc_names() (forgot to add @s for user/root in the new version).Wilmer van der Gaast2006-07-09-1/+4
| |
* | Implemented per-account nick lists instead of per-protocol nick lists.Wilmer van der Gaast2006-07-03-37/+6
| | | | | | | | | | | | | | | | | | | | nick_t is dead, instead nicks are just saves in a per-account_t GLib hash table. While doing this, the import_buddies command finally died and text_save() disappeared, because the old file format can't handle most of the new features in this branch anyway. Still have to implement support for the new nick lists in text_load()!
* | Fixed check in set_eval_account() and merging from main (better NAMES replies).Wilmer van der Gaast2006-07-01-35/+34
|\|
| * /NAMES replies are more efficient now.Wilmer van der Gaast2006-06-26-35/+34
| |