Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Code Log


Commit Date  
[20636d] by Nicholas Marriott Nicholas Marriott

Add a command queue to standardize and simplify commands that call other
commands and allow a command to block execution of subsequent
commands. This allows run-shell and if-shell to be synchronous which has
been much requested.

Each client has a default command queue and commands are consumed one at
a time from it. A command may suspend execution from the queue by
returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() -
for example run-shell does this from the callback that is fired after
the job is freed.

When the command queue becomes empty, command clients are automatically
exited (unless attaching). A callback is also fired - this is used for
nested commands in, for example, if-shell which can block execution of
the client's cmdq until a new cmdq becomes empty.

Also merge all the old error/info/print functions together and lose the
old curclient/cmdclient distinction - a cmdq is bound to one client (or
none if in the configuration file), this is a command client if
c->session is NULL otherwise an attached client.

2013-03-24 09:54:10 Tree
[66edb3] by Nicholas Marriott Nicholas Marriott

Expand format variables in the run-shell and if-shell shell commands,
from Thiago Padilha.

2013-03-24 09:33:35 Tree
[86adcd] by Nicholas Marriott Nicholas Marriott

Add pane_tabs format to format_window_pane based on code from George
Nachman.

2013-03-24 09:29:40 Tree
[a60687] by Nicholas Marriott Nicholas Marriott

Handle focus events from the terminal, from Aaron Jensen.

2013-03-24 09:28:59 Tree
[bb8457] by Nicholas Marriott Nicholas Marriott

Fix error reporting for client commands by adding a flag to
cmd_find_client to tell it whether or not to show errors, sometimes it's
needed and sometimes not.

2013-03-24 09:27:19 Tree
[3eae71] by Nicholas Marriott Nicholas Marriott

Do pane resize ioctls once at the end of the server loop rather than
immediately.

2013-03-24 09:25:04 Tree
[8094e8] by Nicholas Marriott Nicholas Marriott

Add option command-prefix which is automatically prepended to any
command (apart from a naked default-shell). The default is "exec ".

2013-03-24 09:21:27 Tree
[1ec435] by Nicholas Marriott Nicholas Marriott

Add support for focus notifications when tmux pane changes, based on
work by Aaron Jensen.

2013-03-24 09:18:16 Tree
[ac1fe8] by Nicholas Marriott Nicholas Marriott

Couple of fixes pointed out by jmc.

2013-03-22 18:45:36 Tree
[702ab8] by Nicholas Marriott Nicholas Marriott

Add a load of miscellaneous pane formats, from George Nachman.

2013-03-22 16:03:35 Tree
[eaaeb2] by Nicholas Marriott Nicholas Marriott

Add session_set_current helper function, extracted from a diff from
Aaron Jensen.

2013-03-22 16:00:26 Tree
[295d86] by Nicholas Marriott Nicholas Marriott

Add -C and -J to capture pane to escape control sequences and to join
wrapped line, based on a diff from George Nachman.

2013-03-22 15:56:11 Tree
[c519f9] by Nicholas Marriott Nicholas Marriott

evbuffer_readline returns allocated storage, don't leak it.

2013-03-22 15:55:22 Tree
[2243cf] by Nicholas Marriott Nicholas Marriott

Need to set clients in context before changing their reference count.

2013-03-22 15:54:29 Tree
[d644e5] by Nicholas Marriott Nicholas Marriott

Fix so capture-pane/save-buffer can work in control clients, from George
Nachman.

2013-03-22 15:53:24 Tree
[589322] by Nicholas Marriott Nicholas Marriott

Add copy-pipe mode command to copy selection and also pipe to a command.

2013-03-22 15:52:40 Tree
[847889] by Nicholas Marriott Nicholas Marriott

Add -e flag to capture-pane to include embedded ANSI SGR escape
sequences, from George Nachman.

2013-03-22 15:51:54 Tree
[8a6fbf] by Nicholas Marriott Nicholas Marriott

Don't use a target-client for stdout, just always cmdclient.

2013-03-22 15:51:15 Tree
[a1722d] by Nicholas Marriott Nicholas Marriott

Remove unnecessary initializers of cmd_ctx.

2013-03-22 15:50:42 Tree
[0ff927] by Nicholas Marriott Nicholas Marriott

load_cfg can actually use the same context now they are reference counted.

2013-03-22 15:50:13 Tree
[d1e6ce] by Nicholas Marriott Nicholas Marriott

Add functions to allocate and free command contexts rather than doing it
all on the stack.

2013-03-22 15:49:55 Tree
[29613f] by Nicholas Marriott Nicholas Marriott

Prevent lock on control clients, not on others.

2013-03-22 10:42:55 Tree
[8c545b] by Nicholas Marriott Nicholas Marriott

Don't try to print unterminated strings when loading configuration file.

2013-03-22 10:41:57 Tree
[f19836] by Nicholas Marriott Nicholas Marriott

Unbreak line wrapping.

2013-03-22 10:41:01 Tree
[79f5fe] by Nicholas Marriott Nicholas Marriott

Use tty_raw on stop, not tty_puts.

2013-03-22 10:40:22 Tree
Older >