Go to file
nicm ddc4512d2e Rewrite command queue handling. Each client still has a command queue,
but there is also now a global command queue. Instead of command queues
being dispatched on demand from wherever the command happens to be
added, they are now all dispatched from the top level server
loop. Command queues may now also include callbacks as well as commands,
and items may be inserted after the current command as well as at the end.

This all makes command queues significantly more predictable and easier
to use, and avoids the complex multiple nested command queues used by
source-file, if-shell and friends.

A mass rename of struct cmdq to a better name (cmdq_item probably) is
coming.
2016-10-16 17:55:14 +00:00
Makefile Add hooks infrastructure, basic commands (set-hook, show-hooks) and a 2015-12-08 01:10:31 +00:00
alerts.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
arguments.c Add static in window-*.c and move some internal functions out of tmux.h. 2016-10-11 13:21:59 +00:00
attributes.c Use snprintf for constructing attribute string, from Tim Ruehsen. 2012-03-17 21:45:25 +00:00
cfg.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
client.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
cmd-attach-session.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-bind-key.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-break-pane.c Give window_create and window_create1 better names. 2016-10-15 09:27:52 +00:00
cmd-capture-pane.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-choose-buffer.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-choose-client.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-choose-tree.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-clear-history.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-command-prompt.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-confirm-before.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-copy-mode.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-detach-client.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-display-message.c Trying to do hooks generically is way too complicated and unreliable and 2016-10-13 22:48:51 +00:00
cmd-display-panes.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-find-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-find.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-has-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-if-shell.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-join-pane.c Trying to do hooks generically is way too complicated and unreliable and 2016-10-13 22:48:51 +00:00
cmd-kill-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-kill-server.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-kill-session.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-kill-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-list-buffers.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-list-clients.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-list-keys.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-list-panes.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-list-sessions.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-list-windows.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-list.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
cmd-load-buffer.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-lock-server.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-move-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-new-session.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-new-window.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-paste-buffer.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-pipe-pane.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-queue.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-refresh-client.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-rename-session.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-rename-window.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-resize-pane.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-respawn-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-respawn-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-rotate-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-run-shell.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-save-buffer.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-select-layout.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-select-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-select-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-send-keys.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-send-prefix.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-set-buffer.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-set-environment.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-set-hook.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-set-option.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-show-buffer.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-show-environment.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-show-messages.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-show-options.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-source-file.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-split-window.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd-string.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-swap-pane.c Trying to do hooks generically is way too complicated and unreliable and 2016-10-13 22:48:51 +00:00
cmd-swap-window.c Trying to do hooks generically is way too complicated and unreliable and 2016-10-13 22:48:51 +00:00
cmd-switch-client.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-unbind-key.c Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. 2016-10-14 22:14:22 +00:00
cmd-wait-for.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
cmd.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
colour.c Instead of representing colours in several different forms with various 2016-07-15 00:42:56 +00:00
control-notify.c Rename a function for consistency and some spacing nits. 2016-10-15 00:12:58 +00:00
control.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
environ.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
format.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
grid-view.c Add support for BCE (background colour erase). This makes various escape 2016-10-13 20:27:27 +00:00
grid.c Add support for BCE (background colour erase). This makes various escape 2016-10-13 20:27:27 +00:00
hooks.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
input-keys.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
input.c Add support for BCE (background colour erase). This makes various escape 2016-10-13 20:27:27 +00:00
job.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
key-bindings.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
key-string.c Support double and triple clicks (they are cumulative, so double is 2016-10-11 09:30:36 +00:00
layout-custom.c Fix minimum size when pane status line is enabled, reported by Y Petremann. 2016-08-03 09:07:02 +00:00
layout-set.c Some other stuff that can be local to one file. 2016-10-11 13:45:47 +00:00
layout.c Do not allow the opposite pane to resize when dragging with the mouse 2016-10-10 17:28:30 +00:00
log.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
mode-key.c Drop the edit mode key tables and just use fixed key bindings for the 2016-10-12 14:50:14 +00:00
names.c Add static in window-*.c and move some internal functions out of tmux.h. 2016-10-11 13:21:59 +00:00
notify.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
options-table.c Remove the set-remain-on-exit option, it was always a hack and can now 2016-10-13 21:37:03 +00:00
options.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
paste.c Unused variable and missing time.h. 2016-10-12 09:07:58 +00:00
proc.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
procname.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
resize.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
screen-redraw.c Add support for BCE (background colour erase). This makes various escape 2016-10-13 20:27:27 +00:00
screen-write.c Add support for BCE (background colour erase). This makes various escape 2016-10-13 20:27:27 +00:00
screen.c Add support for BCE (background colour erase). This makes various escape 2016-10-13 20:27:27 +00:00
server-client.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
server-fn.c Add static in window-*.c and move some internal functions out of tmux.h. 2016-10-11 13:21:59 +00:00
server.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
session.c Give window_create and window_create1 better names. 2016-10-15 09:27:52 +00:00
signal.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
status.c Drop the edit mode key tables and just use fixed key bindings for the 2016-10-12 14:50:14 +00:00
style.c Instead of representing colours in several different forms with various 2016-07-15 00:42:56 +00:00
tmux.1 Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
tmux.c Add static in window-*.c and move some internal functions out of tmux.h. 2016-10-11 13:21:59 +00:00
tmux.h Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
tty-acs.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
tty-keys.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
tty-term.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
tty.c Don't make assumptions about line wrap on !xenl terminals, means that 2016-10-14 21:48:00 +00:00
utf8.c Support UTF-8 entry into the command prompt. 2016-10-11 07:11:40 +00:00
window-choose.c Rewrite command queue handling. Each client still has a command queue, 2016-10-16 17:55:14 +00:00
window-clock.c Add support for BCE (background colour erase). This makes various escape 2016-10-13 20:27:27 +00:00
window-copy.c Add support for BCE (background colour erase). This makes various escape 2016-10-13 20:27:27 +00:00
window.c Give window_create and window_create1 better names. 2016-10-15 09:27:52 +00:00
xmalloc.c fatalx() not fatal(). 2016-04-04 16:19:43 +00:00
xmalloc.h Sync the entire xmalloc.[ch] with the other users, but with the addition 2015-11-18 13:06:54 +00:00
xterm-keys.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00