aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
Commit message (Collapse)AuthorAgeLines
* Check the RESTART environment variable before closing fd's 0-2 since theWilmer van der Gaast2010-03-16-11/+7
| | | | | previous approach broke upgrades to bzr >= 500.
* Close fd's 0,1,2 no matter what, not just if they're ttys. (Bug #476)Wilmer van der Gaast2010-03-14-5/+11
|
* Merging changes from Jelmer: It's now possible to cross-compile a WindowsWilmer van der Gaast2008-06-30-4/+5
|\ | | | | | | | | version of BitlBee from Linux. No working SSL support yet though!
| * Merge integration branch.Jelmer Vernooij2008-06-09-6/+10
| |\
| * \ Merge trunk.Jelmer Vernooij2008-04-02-61/+63
| |\ \
| * | | #ifdef out some Win32-incompatible code blocksJelmer Vernooij2006-05-25-1/+5
| | | |
| * | | [merge] WilmerJelmer Vernooij2006-05-25-2/+2
| |\ \ \
| * \ \ \ [merge] WilmerJelmer Vernooij2006-03-01-58/+124
| |\ \ \ \
| * \ \ \ \ Merge WilmerJelmer Vernooij2006-01-10-169/+56
| |\ \ \ \ \
| * \ \ \ \ \ Merge WilmerJelmer Vernooij2005-12-15-247/+9
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge WilmerJelmer Vernooij2005-11-19-1/+1
| |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ Merge WilmerJelmer Vernooij2005-11-19-1/+1
| | |\ \ \ \ \ \ \
| * | | | | | | | | Merge new changes from pluginable and WilmerJelmer Vernooij2005-11-15-6/+0
| |\| | | | | | | |
| | * | | | | | | | Merge changes from WilmerJelmer Vernooij2005-11-15-6/+0
| | |\ \ \ \ \ \ \ \
| * | | | | | | | | | Import work on services-based Win32 portJelmer Vernooij2005-11-07-6/+0
| |/ / / / / / / / /
| * | | | | | | | | Migrate my pluginable branch to use Wilmers' branch as parentJelmer Vernooij2005-11-07-6/+33
| | | | | | | | | |
* | | | | | | | | | Now using an environment variable instead of a flag to pass state info whenWilmer van der Gaast2008-06-29-1/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | restarting the ForkDaemon. Preparing for a proper fallback when execv() fails. (Bug #425)
* | | | | | | | | Added ClientInterface configuration option to make BitlBee bind() to aWilmer van der Gaast2008-04-06-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specific interface before connecting to a remote host.
* | | | | | | | | Rearranged some event handling code.Wilmer van der Gaast2008-04-02-4/+8
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Making AI_ADDRCONFIG optional, it doesn't exist on at least NetBSD andWilmer van der Gaast2008-02-10-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (IIRC) OpenBSD systems.
* | | | | | | | Fixing some Solaris compiler warnings (u_int->uint, adding some typecastsWilmer van der Gaast2008-01-17-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for pid_t variables).
* | | | | | | | Fixed the epoll+ForkDaemon combination. The libevent event handlingWilmer van der Gaast2007-11-28-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | didn't work very well on Linux 2.6 (and possibly others) in ForkDaemon mode.
* | | | | | | | Fixed NULL pointer dereference (in printf) when connected to a non-socketWilmer van der Gaast2007-11-19-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (which I do quite often when testing stuff).
* | | | | | | | Merging from Jelmer.Wilmer van der Gaast2007-11-05-56/+37
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix indentation.Jelmer Vernooij2007-10-18-10/+10
| | | | | | | | |
| * | | | | | | | Use standard functions for dealing with both IPv6 and IPv4. Jelmer Vernooij2007-10-18-58/+37
|/ / / / / / / /
* | | | | | | | Fixed uninitialized memory issue in bitlbee.c listen socket setup code.Wilmer van der Gaast2007-02-18-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #230 and #183.
* | | | | | | | Merging from main.Wilmer van der Gaast2006-07-14-12/+31
|\ \ \ \ \ \ \ \
| * | | | | | | | Removed #defines used to simulate systems without IPv6 support.Wilmer van der Gaast2006-07-12-3/+0
| | | | | | | | |
| * | | | | | | | Better handling of situations where IPv6 is not available at run-time.Wilmer van der Gaast2006-07-11-12/+34
| | | | | | | | |
| * | | | | | | | Merging libevent branch: Events can now be handles by both glib and libevent.Wilmer van der Gaast2006-06-21-23/+17
| |\ \ \ \ \ \ \ \
* | | | | | | | | | Using salted MD5 checksums for the user's BitlBee password and salted RC4Wilmer van der Gaast2006-06-25-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | encryption for the IM account passwords, plus some calls to srand() to keep the salts secure and unique.
* | | | | | | | | | xml_save(), decent error handling and merging fixed autosaving.Wilmer van der Gaast2006-06-15-1/+1
|\| | | | | | | | | | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Converted irc->status to binary flags. (This also fixes auto-save-on-quitWilmer van der Gaast2006-06-15-1/+1
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that broke because of USTATUS_SHUTDOWN. :-( )
* | | | | | | | Fixed a little memory access bug.Wilmer van der Gaast2006-05-14-5/+5
| | | | | | | |
* | | | | | | | Moved everything to the BitlBee event handling API.Wilmer van der Gaast2006-05-10-30/+27
| | | | | | | |
* | | | | | | | Got rid of all GLib GIOChannel-related calls outside proxy.cWilmer van der Gaast2006-05-07-29/+26
|/ / / / / / /
* | | | | | / Cut-and-paste considered harmful.Wilmer van der Gaast2006-03-31-2/+2
| |_|_|_|_|/ |/| | | | |
* | | | | | Also listen for admin connections on a unix domain socket at /var/run/bitlbeeJelmer Vernooij2006-03-01-0/+4
| | | | | |
* | | | | | Added RESTART command for easier upgrades without losing IPC connections.Wilmer van der Gaast2006-02-02-3/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Obviously only works well for forking daemon mode.)
| * | | | | | Fixed the bug that caused a fork() bomb last night.Wilmer van der Gaast2006-01-22-3/+7
| | | | | | |
| * | | | | | Error checking for accept(). Have to find out why it went wrong (and ↵Wilmer van der Gaast2006-01-22-0/+6
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fork()ed a bit too much) last night.
| * | | | | | | Added RESTART command (only for ForkDaemon mode) for easier upgrades.Wilmer van der Gaast2006-01-21-0/+3
| |/ / / / / /
* / / / / / / Added PID-file code.Wilmer van der Gaast2006-02-02-0/+11
|/ / / / / /
* | | | | | Renamed commands.c, got rid of return values in all command functions.Wilmer van der Gaast2006-01-20-3/+5
| | | | | |
* | | | | | Merging IPC branch, it's too different from the main code to keep itWilmer van der Gaast2006-01-20-36/+73
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | separated (and it's pretty stable now). Have fun. :-)
| * | | | | | A bit too much for one commit, but well: Client processes didn't clean upWilmer van der Gaast2006-01-19-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some master structs (bitlbee_child list) yet, and added the IPC CLIENT command to inform the master process about host- and nickname. Can be useful later.
| * | | | | | Merged (and adapted) changes from main tree.Wilmer van der Gaast2006-01-18-13/+13
| |\ \ \ \ \ \
| * | | | | | | Better DIE implementation, added SO_REUSEADDR to listening socket.Wilmer van der Gaast2006-01-15-0/+4
| | | | | | | |
| * | | | | | | Imported irc_command branch and used this addition for parsing IPC commands. ↵Wilmer van der Gaast2006-01-15-79/+14
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | (Implemented WALLOP and a very evil DIE.)