aboutsummaryrefslogtreecommitdiff
path: root/cmd-wait-for.c
Commit message (Collapse)AuthorAge
* Add args parsing callback for some future work, currently unused.nicm2021-08-21
|
* Hide struct args behind a couple of accessor functions.nicm2021-08-20
|
* Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm2020-04-13
| | | | use more clearly defined and preparation for some future work).
* Make struct cmd local to cmd.c and move it out of tmux.h.nicm2020-04-13
|
* Add a cmdq_continue function rather than twiddling the flag directly.nicm2019-06-18
|
* There is no reason wait-for has to be restricted to outside tmux.nicm2018-11-07
|
* Mass rename struct cmd_q to struct cmdq_item and related.nicm2016-10-16
|
* Rewrite command queue handling. Each client still has a command queue,nicm2016-10-16
| | | | | | | | | | | | | | | 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.
* Add static in cmd-* and fix a few other nits.nicm2016-10-10
|
* I no longer use my SourceForge address so replace it.nicm2016-01-19
|
* Use member names in cmd_entry definitions so I stop getting confusednicm2015-12-13
| | | | about the order.
* Use __unused rather than rolling our own.nicm2015-11-18
|
* Use client pointer not file descriptor in logging.nicm2015-10-20
|
* Set woken flag when flushing so that the channel is freed, while herenicm2015-09-13
| | | | use the same loop construct for both loops.
* Change wait-for to work when the signal comes before the wait, also usenicm2015-09-04
| | | | some helper functions and add some logging.
* Instead of setting up the default keys by building the key structnicm2014-10-20
| | | | | | | | | 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.
* Wake up any clients waiting with the wait-for command when the servernicm2014-09-01
| | | | exits.
* Various minor style and spacing nits.nicm2014-09-01
|
* Mark flags as optional and mutually exclusive. From Tiago Cunha.nicm2013-10-10
|
* Add wait-for -L and -U for lock and unlock, from Thiago Padilha.Nicholas Marriott2013-03-25