Rivoreo Source Code Repositories
src.rivoreo.one
/
tmux
/
e0929262db947f984964f979a23215c0de75ceb2
/
job.c
900f6fc
Tidy up some includes.
by nicm
· 10 years ago
a47d239
Don't leak socketpair file descriptors if fork fails. Spotted by Balazs Kezes.
by nicm
· 11 years ago
99e3cbc
Use format_get_command() and some spacing tweaks.
by nicm
· 11 years ago
88428cf
%zu format for size_t.
by Nicholas Marriott
· 12 years ago
9fcda95
Set EV_WRITE for jobs or run/if-shell jobs can hang. From Chris Johnsen.
by Nicholas Marriott
· 12 years ago
d28a39d
Extend jobs to support writing and use that for copy-pipe instead of
by Nicholas Marriott
· 12 years ago
8d59b18
No more lint means no more ARGSUSED.
by Nicholas Marriott
· 12 years ago
df912e3
xfree is not particularly helpful, remove it. From Thomas Adam.
by Nicholas Marriott
· 12 years ago
9bbc63e
Call bufferevent_free before closing file descriptor associated with it
by Nicholas Marriott
· 13 years ago
db7a89b
Simplify the way jobs work and drop the persist type, so all jobs are
by Nicholas Marriott
· 14 years ago
4dfb29f
Use LIST_* not SLIST_*.
by Nicholas Marriott
· 14 years ago
b802304
Set $TMUX without the session when background jobs are run.
by Nicholas Marriott
· 14 years ago
69cb1f8
Move all calls to fcntl(...O_NONBLOCK) into a function and clear the
by Nicholas Marriott
· 14 years ago
f56b4ec
Trying to set FD_CLOEXEC on every fd is a lost cause, just use
by Nicholas Marriott
· 14 years ago
e3be9b1
Do not call event_del() for signals after fork(), just use sigaction()
by Nicholas Marriott
· 14 years ago
c4a2fdf
Put this back in with the initialisation in the right order.
by Nicholas Marriott
· 15 years ago
af5e0bd
Revert last change, it appears to be broken somehow.
by Nicholas Marriott
· 15 years ago
ec1d37b
Make signal handler setup/teardown two common functions instead of six,
by Nicholas Marriott
· 15 years ago
b02cd35
Run job commands explicitly in the global enviroment (which can be
by Nicholas Marriott
· 15 years ago
6ac3343
Typo fix from Tim van der Molen.
by Nicholas Marriott
· 15 years ago
15a64b8
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
by Nicholas Marriott
· 15 years ago
4ca857e
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
by Nicholas Marriott
· 15 years ago
abb7286
Add back JOB_PERSIST checks that got lost.
by Nicholas Marriott
· 15 years ago
4d60913
Switch jobs over to use a bufferevent.
by Nicholas Marriott
· 15 years ago
abf3a5d
Initial changes to move tmux to libevent.
by Nicholas Marriott
· 15 years ago
2f813ef
Add a flag for jobs that shouldn't be freed after they've died and use it for
by Nicholas Marriott
· 15 years ago
a22c06a
Remove unused function.
by Nicholas Marriott
· 15 years ago
7825871
Getting the read and write ends of the pipe the right way round is usually
by Nicholas Marriott
· 15 years ago
6f21690
Sort out stdout before stdin/stderr in case the stdout side of the pipe got one
by Nicholas Marriott
· 15 years ago
cebc988
Switch run-shell over to queue the command in the background like #().
by Nicholas Marriott
· 15 years ago
abedfa7
There isn't much point in having a free function if it isn't used.
by Nicholas Marriott
· 15 years ago
ff4b4e6
Collect status from dead jobs and don't invoke the callback until both
by Nicholas Marriott
· 15 years ago
095ecf2
Put all jobs on a global all_jobs list and use that in server.c instead of
by Nicholas Marriott
· 15 years ago
6bca92d
Rather than running status-left, status-right and window title #() with popen
by Nicholas Marriott
· 15 years ago