summaryrefslogtreecommitdiffstats
path: root/job.c
AgeCommit message (Collapse)Author
2021-03-02Merge branch 'obsd-master' into masterThomas Adam
2021-03-02Drop support for popups where the content is provided directly to tmuxnicm
(which does not have many practical uses) and only support running a program in the popup. display-popup is now simpler and can accept multiple arguments to avoid escaping problems (like the other commands).
2021-02-19Merge branch 'obsd-master' into masterThomas Adam
2021-02-19Check return value of chdir() to stop a silly warning with somenicm
compilers, GitHub issue 2573.
2020-05-16Add 'e' key in buffer mode to open the buffer in an editor.nicm
2020-05-01Add 'e' key in buffer mode to open the buffer in an editor.Nicholas Marriott
2020-03-26Merge branch 'obsd-master'Thomas Adam
2020-03-24Add support for overlay popup boxes to show text or output temporarilynicm
above the normal layout. These work similarly to menus and are created with the display-popup command.
2020-03-19No util.h.Nicholas Marriott
2020-03-19Merge branch 'obsd-master'Thomas Adam
2020-03-19Add a flag to run a background process in a pty as well, not used fornicm
anything yet.
2019-06-28Merge branch 'obsd-master'Thomas Adam
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2018-11-19Merge branch 'obsd-master'Thomas Adam
2018-11-19evbuffer_new and bufferevent_new can both fail (when malloc fails) andnicm
return NULL. GitHub issue 1547.
2018-10-28Merge branch 'obsd-master'Thomas Adam
2018-10-28Do not printf NULL.nicm
2018-09-27Merge branch 'obsd-master'Thomas Adam
2018-09-27Use same working directory rules for jobs as new windows rather thannicm
always starting in home, GitHub issue 1488.
2018-08-23Merge branch 'obsd-master'Thomas Adam
2018-08-23all_jobs can be static.nicm
2018-08-23Merge branch 'obsd-master'Thomas Adam
2018-08-23Move job struct into job.c.nicm
2018-03-08Merge branch 'obsd-master'Thomas Adam
2018-03-08Add a missing client-detached hook when the server shuts down, and donicm
not exit until jobs started from run-shell/if-shell have finished (add a job flags member and a flag to indicate other jobs). GitHub issue 1245.
2017-07-14Merge branch 'obsd-master'Thomas Adam
2017-07-14Because ignore SIGCHLD early, letting signal_del restore it doesn't worknicm
correctly, so set it explicitly back to default (and the others for good measure).
2017-07-12Merge branch 'obsd-master'Thomas Adam
Conflicts: cmd-pipe-pane.c proc.c tmux.c window.c
2017-07-12Block signals between forking and clearing signal handlers (or callingnicm
event_reinit) - if the child gets a signal and fires the libevent signal handler during this period it could write a signal into the parent's signal pipe. GitHub issue 1001 from Aaron van Geffen.
2017-07-12Move signal code into proc.c.nicm
2017-06-01Merge branch 'obsd-master'Thomas Adam
Conflicts: window-buffer.c
2017-05-31Style and spacing nits.nicm
2017-04-25Merge branch 'obsd-master'Thomas Adam
2017-04-25Do not update TERM into config file parsing has finished.nicm
2017-04-20Merge branch 'obsd-master'Thomas Adam
2017-04-20If a #() command doesn't exit, use its most recent line of output (itnicm
must be a full line). Don't let it redraw the status line more than once a second. Requested by someone about 10 years ago...
2017-03-09Merge branch 'obsd-master'Thomas Adam
2017-03-09Move server_fill_environ into environ.c and move some other common codenicm
into it.
2016-10-12Merge branch 'obsd-master'Thomas Adam
Conflicts: format.c osdep-openbsd.c
2016-10-10Loads more static, except for cmd-*.c and window-*.c.nicm
2016-01-19Merge branch 'obsd-master'Thomas Adam
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-11-18Merge branch 'obsd-master'Thomas Adam
2015-11-18Use __unused rather than rolling our own.nicm
2015-10-31Merge branch 'obsd-master'Thomas Adam
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsnicm
around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
2015-10-28Merge branch 'obsd-master'Thomas Adam
2015-10-28Like options, move the environ struct into environ.c.nicm
2015-10-15Some header fixes.Nicholas Marriott
2015-06-17Merge branch 'obsd-master'Thomas Adam