summaryrefslogtreecommitdiffstats
path: root/job.c
AgeCommit message (Expand)Author
2016-10-10Loads more static, except for cmd-*.c and window-*.c.nicm
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-11-18Use __unused rather than rolling our own.nicm
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsnicm
2015-10-28Like options, move the environ struct into environ.c.nicm
2015-06-17Use an explicit job state instead of avoid closing our side of thenicm
2015-04-24Set working directory for run-shell and if-shell.nicm
2014-10-20Tidy up some includes.nicm
2014-04-14Don't leak socketpair file descriptors if fork fails. Spotted by Balazsnicm
2013-10-10Use format_get_command() and some spacing tweaks.nicm
2013-04-17%zu format for size_t.Nicholas Marriott
2013-04-10Set EV_WRITE for jobs or run/if-shell jobs can hang. From Chris Johnsen.Nicholas Marriott
2013-03-25Extend jobs to support writing and use that for copy-pipe instead ofNicholas Marriott
2013-03-22No more lint means no more ARGSUSED.Nicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-01-29Call bufferevent_free before closing file descriptor associated with itNicholas Marriott
2011-01-26Simplify the way jobs work and drop the persist type, so all jobs areNicholas Marriott
2011-01-26Use LIST_* not SLIST_*.Nicholas Marriott
2011-01-23Set $TMUX without the session when background jobs are run.Nicholas Marriott
2011-01-08Move all calls to fcntl(...O_NONBLOCK) into a function and clear theNicholas Marriott
2010-10-16Trying to set FD_CLOEXEC on every fd is a lost cause, just useNicholas Marriott
2010-08-19Do not call event_del() for signals after fork(), just use sigaction()Nicholas Marriott
2010-05-04Put this back in with the initialisation in the right order.Nicholas Marriott
2010-05-04Revert last change, it appears to be broken somehow.Nicholas Marriott
2010-05-03Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott
2010-04-04Run job commands explicitly in the global enviroment (which can beNicholas Marriott
2010-02-24Typo fix from Tim van der Molen.Nicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
2009-11-04Add back JOB_PERSIST checks that got lost.Nicholas Marriott
2009-11-04Switch jobs over to use a bufferevent.Nicholas Marriott
2009-11-04Initial changes to move tmux to libevent.Nicholas Marriott
2009-11-01Add a flag for jobs that shouldn't be freed after they've died and use it forNicholas Marriott
2009-10-21Remove unused function.Nicholas Marriott
2009-10-21Getting the read and write ends of the pipe the right way round is usuallyNicholas Marriott
2009-10-20Sort out stdout before stdin/stderr in case the stdout side of the pipe got oneNicholas Marriott
2009-10-11Switch run-shell over to queue the command in the background like #().Nicholas Marriott
2009-10-11There isn't much point in having a free function if it isn't used.Nicholas Marriott
2009-10-11Collect status from dead jobs and don't invoke the callback until bothNicholas Marriott
2009-10-10Put all jobs on a global all_jobs list and use that in server.c instead ofNicholas Marriott
2009-10-10Rather than running status-left, status-right and window title #() with popenNicholas Marriott