summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/job.c
AgeCommit message (Expand)Author
2020-03-24Add support for overlay popup boxes to show text or output temporarilyNicholas Marriott
2020-03-19Add a flag to run a background process in a pty as well, not used forNicholas Marriott
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-11-19evbuffer_new and bufferevent_new can both fail (when malloc fails) andNicholas Marriott
2018-10-28Do not printf NULL.Nicholas Marriott
2018-09-27Use same working directory rules for jobs as new windows rather thanNicholas Marriott
2018-08-23all_jobs can be static.Nicholas Marriott
2018-08-23Move job struct into job.c.Nicholas Marriott
2018-03-08Add a missing client-detached hook when the server shuts down, and doNicholas Marriott
2017-07-14Because ignore SIGCHLD early, letting signal_del restore it doesn't workNicholas Marriott
2017-07-12Block signals between forking and clearing signal handlers (or callingNicholas Marriott
2017-07-12Move signal code into proc.c.Nicholas Marriott
2017-05-31Style and spacing nits.Nicholas Marriott
2017-04-25Do not update TERM into config file parsing has finished.Nicholas Marriott
2017-04-20If a #() command doesn't exit, use its most recent line of output (itNicholas Marriott
2017-03-09Move server_fill_environ into environ.c and move some other common codeNicholas Marriott
2016-10-10Loads more static, except for cmd-*.c and window-*.c.Nicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2015-11-18Use __unused rather than rolling our own.Nicholas Marriott
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsNicholas Marriott
2015-10-28Like options, move the environ struct into environ.c.Nicholas Marriott
2015-06-17Use an explicit job state instead of avoid closing our side of theNicholas Marriott
2015-04-24Set working directory for run-shell and if-shell.Nicholas Marriott
2014-10-20Tidy up some includes.Nicholas Marriott
2014-04-14Don't leak socketpair file descriptors if fork fails. Spotted by BalazsNicholas Marriott
2013-10-10Use format_get_command() and some spacing tweaks.Nicholas Marriott
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