aboutsummaryrefslogtreecommitdiffstats
path: root/ipc.c
Commit message (Collapse)AuthorAgeLines
* ipc: Fix strict aliasing warningsdequis2015-10-30-2/+2
| | | | | | | | | | | Turned out to be as simple as just using memcpy. As with all strict aliasing warnings, these only appeared when compiling with optimization, and might have caused Bad Thingsā„¢ This page is cool: http://dbp-consulting.com/tutorials/StrictAliasing.html
* coverity: Fix some (harmless?) use-after-free with g_slist_remove()dequis2015-02-22-2/+2
| | | | | | | These were passing a pointer to a variable right after it was g_free()'d They are most likely harmless as g_slist_remove() probably just needs the pointer location, but fixing it anyway.
* Reindent everything to K&R style with tabsIndent2015-02-20-538/+515
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* ipc_child_identify: fix a maybe-uninitialized warningdequis2015-01-16-2/+2
|
* Fix compiler warnings on Cygwin and Mac OS X.Jason Copenhaver2015-01-16-1/+3
| | | | | | | | * Don't use PIE/PIC on Cygwin/Darwin unless specified as these platforms don't support it. * Cleanup warnings for 'make check' build. * Fix the type issue for getsockopt calls. * Fix enum warnings in Yahoo libs on Mac OS X.
* Fix incorrect Free Software Foundation addressMatej Cepl2015-01-16-2/+2
|
* RIP native win32 support (use cygwin instead)dequis2014-09-27-10/+0
| | | | It has been broken for a very long time and nobody cared about it.
* Add irc_t* argument to all relevant nick_*() functions.Wilmer van der Gaast2013-04-20-2/+2
|
* I'm still bored on a long flight. Wrote a script to automatically updateWilmer van der Gaast2013-02-21-1/+1
| | | | | | | my copyright mentions since some were getting pretty stale. Left files not touched since before 2012 alone so that this change doesn't touch almost EVERY source file.
* Set PACKAGE to BitlBee-LIBPURPLE for the libpurple variant, because in manyWilmer van der Gaast2012-05-02-1/+1
| | | | | ways it's not BitlBee and I'm tired of getting libpurple-related bug reports.
* Big merge from pesco, closing some OTR issues: #759, #824, #839, #830.Wilmer van der Gaast2011-10-20-3/+3
|\
| * rename irc_usermsg to irc_rootmsg.unknown2011-10-03-3/+3
| | | | | | | | | | | | add new irc_usermsg, irc_usernotice. deliver user-specific messages from libotr as notices to that user.
* | Drop the on-disk IPC socket by default. Nothing uses it. If one really wantsWilmer van der Gaast2011-10-19-0/+3
|/ | | | | it, it can be restored using the --ipcsocket= configure option.
* Don't use the fd passing code in ipc.c on SunOS since it doesn't seem to beWilmer van der Gaast2010-11-12-0/+15
| | | | | supported there.
* Fixed shutdown sequence (could cause 100% CPU usage on SIGTERM).Wilmer van der Gaast2010-07-27-3/+0
|
* Merging *BSD compatibility fix from Doug Luce (include sys/uio.h evenWilmer van der Gaast2010-07-15-1/+2
| | | | | though the sendmsg() manpage says this isn't necessary).
* More careful pointer checking in the master.Wilmer van der Gaast2010-07-11-2/+3
|
* Added allow_takeover setting for people who don't like this new functionality.Wilmer van der Gaast2010-07-11-2/+11
|
* When cleaning up queries, q->data is free()d. Even if it turns out to beWilmer van der Gaast2010-07-11-1/+1
| | | | | | | the "struct irc" containing all data belonging to a session. Sanitise memory management a little bit here. (There are some memory leaks in here too that need to be fixed at some point.)
* Takeover stuff now works in daemon mode as well.Wilmer van der Gaast2010-07-11-2/+71
|
* Cleanup. Move some code to a more appropriate location, and show the oldWilmer van der Gaast2010-07-10-28/+4
| | | | | connection a quit message instead of just breaking the connection.
* More state consistency checks/error handling.Wilmer van der Gaast2010-07-10-26/+53
|
* Inform IPC master about nick changes.Wilmer van der Gaast2010-07-09-0/+13
|
* Also sync umodes.Wilmer van der Gaast2010-07-09-0/+10
|
* Ask for confirmation. Generally working fairly well now, but definitelyWilmer van der Gaast2010-07-09-22/+99
| | | | | fragile.
* It works! Fragile like hell though, and without any confirmation or whatever.Wilmer van der Gaast2010-07-07-8/+98
|
* First part of the handshake, including sending a file descriptor to theWilmer van der Gaast2010-07-06-10/+109
| | | | | IPC master.
* Merging killerbee stuff, bringing all the bleeding-edge stuff together.Wilmer van der Gaast2010-06-07-3/+3
|\
| * Make purple use BitlBee's event handling API. Since the APIs never reallyWilmer van der Gaast2009-10-11-3/+3
| | | | | | | | | | | | | | | | | | | | diverged too much this is fairly transparent. I did rename and redefine GAIM_INPUT_* variables to really make it work without adding another stupid layer in between. One problem left, the new libpurple input API doesn't care about return values. Fixing that in the next CL.
* | One total mess that doesn't do much yet, but reorganised some stuff andWilmer van der Gaast2010-03-26-6/+6
|/ | | | | untying the IRC and the core parts a little bit. Lots of work left to do.
* Merging changes from Jelmer: It's now possible to cross-compile a WindowsWilmer van der Gaast2008-06-30-1/+5
|\ | | | | | | | | version of BitlBee from Linux. No working SSL support yet though!
| * Merge trunk.Jelmer Vernooij2008-06-28-12/+14
| |\
| * \ Merge trunk.Jelmer Vernooij2008-04-02-57/+70
| |\ \
| * | | Fix some unresolved symbols.Jelmer Vernooij2006-05-26-0/+4
| | | |
| * | | #ifdef out some Win32-incompatible code blocksJelmer Vernooij2006-05-25-1/+1
| | | |
* | | | Now using an environment variable instead of a flag to pass state info whenWilmer van der Gaast2008-06-29-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | restarting the ForkDaemon. Preparing for a proper fallback when execv() fails. (Bug #425)
* | | | Added the DEAF command, which makes the daemon stop listening for newWilmer van der Gaast2008-06-29-0/+20
| |_|/ |/| | | | | | | | | | | | | | connections. This makes it easier to upgrade a BitlBee without having to disconnect all current users immediately. Closes #428.
* | | Fixed two more embarassing memory leaks.Wilmer van der Gaast2008-06-21-0/+8
| | |
* | | Fixed memory leaking ipc_readline().Wilmer van der Gaast2008-06-21-12/+6
| |/ |/|
* | Some saner error handling in ipc.c. One of the things I wanted to do forWilmer van der Gaast2008-03-02-21/+39
| | | | | | | | | | 1.2.
* | Fixing some Solaris compiler warnings (u_int->uint, adding some typecastsWilmer van der Gaast2008-01-17-3/+3
| | | | | | | | | | for pid_t variables).
* | Bye bye lilo. I've never been a fan of yours, but let's not make fun of theWilmer van der Gaast2006-11-24-3/+3
| | | | | | | | | | dead...
* | Merging libevent branch: Events can now be handles by both glib and libevent.Wilmer van der Gaast2006-06-21-26/+21
|\ \
| * | Merging from main development tree.Wilmer van der Gaast2006-05-19-1/+2
| |\|
| * | Moved everything to the BitlBee event handling API.Wilmer van der Gaast2006-05-10-11/+17
| | |
| * | Got rid of all GLib GIOChannel-related calls outside proxy.cWilmer van der Gaast2006-05-07-20/+9
| | |
* | | !x&y == (!x)&y, not !(x&y).Wilmer van der Gaast2006-06-15-5/+5
| | |
* | | Converted irc->status to binary flags. (This also fixes auto-save-on-quitWilmer van der Gaast2006-06-15-5/+5
| |/ |/| | | | | | | that broke because of USTATUS_SHUTDOWN. :-( )
* | Fixed various memory leaks/other possible problems after code review.Wilmer van der Gaast2006-05-15-0/+1
| |
* | Fix compilation with tccJelmer Vernooij2006-05-10-1/+1
|/