summaryrefslogtreecommitdiffstats
path: root/job.c
AgeCommit message (Collapse)Author
2022-02-01Merge branch 'obsd-master' into masterThomas Adam
2022-02-01Mention that if-shell and #() use /bin/sh.nicm
2021-10-25Merge branch 'obsd-master' into masterThomas Adam
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, thederaadt
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
2021-10-11Merge branch 'obsd-master' into masterThomas Adam
2021-10-11Add -e flag to set environment for popup, from Alexis Hildebrandt innicm
GitHub issue 2924.
2021-08-14Merge branch 'obsd-master' into masterThomas Adam
2021-08-13Fill in some other bits on new panes.nicm
2021-08-13Add menu options to convert a popup into a pane.nicm
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