aboutsummaryrefslogtreecommitdiff
path: root/job.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2020-03-26
|\
| * Add support for overlay popup boxes to show text or output temporarilynicm2020-03-24
| | | | | | | | | | above the normal layout. These work similarly to menus and are created with the display-popup command.
* | No util.h.Nicholas Marriott2020-03-19
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-19
|\|
| * Add a flag to run a background process in a pty as well, not used fornicm2020-03-19
| | | | | | | | anything yet.
* | Merge branch 'obsd-master'Thomas Adam2019-06-28
|\|
| * When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-28
| | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2018-11-19
|\|
| * evbuffer_new and bufferevent_new can both fail (when malloc fails) andnicm2018-11-19
| | | | | | | | return NULL. GitHub issue 1547.
* | Merge branch 'obsd-master'Thomas Adam2018-10-28
|\|
| * Do not printf NULL.nicm2018-10-28
| |
* | Merge branch 'obsd-master'Thomas Adam2018-09-27
|\|
| * Use same working directory rules for jobs as new windows rather thannicm2018-09-27
| | | | | | | | always starting in home, GitHub issue 1488.
* | Merge branch 'obsd-master'Thomas Adam2018-08-23
|\|
| * all_jobs can be static.nicm2018-08-23
| |
* | Merge branch 'obsd-master'Thomas Adam2018-08-23
|\|
| * Move job struct into job.c.nicm2018-08-23
| |
* | Merge branch 'obsd-master'Thomas Adam2018-03-08
|\|
| * Add a missing client-detached hook when the server shuts down, and donicm2018-03-08
| | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2017-07-14
|\|
| * Because ignore SIGCHLD early, letting signal_del restore it doesn't worknicm2017-07-14
| | | | | | | | | | correctly, so set it explicitly back to default (and the others for good measure).
* | Merge branch 'obsd-master'Thomas Adam2017-07-12
|\| | | | | | | | | | | | | | | Conflicts: cmd-pipe-pane.c proc.c tmux.c window.c
| * Block signals between forking and clearing signal handlers (or callingnicm2017-07-12
| | | | | | | | | | | | 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.
| * Move signal code into proc.c.nicm2017-07-12
| |
* | Merge branch 'obsd-master'Thomas Adam2017-06-01
|\| | | | | | | | | Conflicts: window-buffer.c
| * Style and spacing nits.nicm2017-05-31
| |
* | Merge branch 'obsd-master'Thomas Adam2017-04-25
|\|
| * Do not update TERM into config file parsing has finished.nicm2017-04-25
| |
* | Merge branch 'obsd-master'Thomas Adam2017-04-20
|\|
| * If a #() command doesn't exit, use its most recent line of output (itnicm2017-04-20
| | | | | | | | | | | | | | 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...
* | Merge branch 'obsd-master'Thomas Adam2017-03-09
|\|
| * Move server_fill_environ into environ.c and move some other common codenicm2017-03-09
| | | | | | | | into it.
* | Merge branch 'obsd-master'Thomas Adam2016-10-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
| |
* | Merge branch 'obsd-master'Thomas Adam2016-01-19
|\|
| * I no longer use my SourceForge address so replace it.nicm2016-01-19
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-18
|\|
| * Use __unused rather than rolling our own.nicm2015-11-18
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-31
|\|
| * Because pledge(2) does not allow us to pass directory file descriptorsnicm2015-10-31
| | | | | | | | | | | | | | | | | | 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).
* | Merge branch 'obsd-master'Thomas Adam2015-10-28
|\|
| * Like options, move the environ struct into environ.c.nicm2015-10-28
| |
* | Some header fixes.Nicholas Marriott2015-10-15
| |
* | Merge branch 'obsd-master'Thomas Adam2015-06-17
|\|
| * Use an explicit job state instead of avoid closing our side of thenicm2015-06-17
| | | | | | | | | | | | | | socketpair and setting it to -1 to mark when the other side is closed. This avoids closing it while the libevent bufferevent still has it (it could try to add it to the polled set which some mechanisms don't like). Fixes part a problem reported by Bruno Sutic.
* | Merge branch 'obsd-master'Thomas Adam2015-04-25
|\|
| * Set working directory for run-shell and if-shell.nicm2015-04-24
| |
* | No need for $Id$ now.Nicholas Marriott2014-11-08
| |
* | Merge branch 'obsd-master'Thomas Adam2014-10-21
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
| * Tidy up some includes.nicm2014-10-20
| |