summaryrefslogtreecommitdiffstats
path: root/cmd-wait-for.c
AgeCommit message (Collapse)Author
2021-08-21Add args parsing callback for some future work, currently unused.nicm
2021-08-20Hide struct args behind a couple of accessor functions.nicm
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm
use more clearly defined and preparation for some future work).
2020-04-13Make struct cmd local to cmd.c and move it out of tmux.h.nicm
2019-06-18Add a cmdq_continue function rather than twiddling the flag directly.nicm
2018-11-07There is no reason wait-for has to be restricted to outside tmux.nicm
2016-10-16Mass rename struct cmd_q to struct cmdq_item and related.nicm
2016-10-16Rewrite command queue handling. Each client still has a command queue,nicm
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-10Add static in cmd-* and fix a few other nits.nicm
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-12-13Use member names in cmd_entry definitions so I stop getting confusednicm
about the order.
2015-11-18Use __unused rather than rolling our own.nicm
2015-10-20Use client pointer not file descriptor in logging.nicm
2015-09-13Set woken flag when flushing so that the channel is freed, while herenicm
use the same loop construct for both loops.
2015-09-04Change wait-for to work when the signal comes before the wait, also usenicm
some helper functions and add some logging.
2014-10-20Instead of setting up the default keys by building the key structnicm
directly with a helper function in the cmd_entry, include a table of bind-key commands and pass them through the command parser and a temporary cmd_q. As well as being smaller, this will allow default bindings to be command sequences which will probably be needed soon.
2014-09-01Wake up any clients waiting with the wait-for command when the servernicm
exits.
2014-09-01Various minor style and spacing nits.nicm
2013-10-10Mark flags as optional and mutually exclusive. From Tiago Cunha.nicm
2013-03-25Add wait-for -L and -U for lock and unlock, from Thiago Padilha.Nicholas Marriott