aboutsummaryrefslogtreecommitdiff
path: root/job.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master' into masterThomas Adam2022-02-01
|\
| * Mention that if-shell and #() use /bin/sh.nicm2022-02-01
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-10-25
|\|
| * For open/openat, if the flags parameter does not contain O_CREAT, thederaadt2021-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'obsd-master' into masterThomas Adam2021-10-11
|\|
| * Add -e flag to set environment for popup, from Alexis Hildebrandt innicm2021-10-11
| | | | | | | | GitHub issue 2924.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-14
|\|
| * Fill in some other bits on new panes.nicm2021-08-13
| |
| * Add menu options to convert a popup into a pane.nicm2021-08-13
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-03-02
|\|
| * Drop support for popups where the content is provided directly to tmuxnicm2021-03-02
| | | | | | | | | | | | (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).
* | Merge branch 'obsd-master' into masterThomas Adam2021-02-19
|\|
| * Check return value of chdir() to stop a silly warning with somenicm2021-02-19
| | | | | | | | compilers, GitHub issue 2573.
| * Add 'e' key in buffer mode to open the buffer in an editor.nicm2020-05-16
| |
* | Add 'e' key in buffer mode to open the buffer in an editor.Nicholas Marriott2020-05-01
| |
* | 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
|\|