History log of /openbsd-src/usr.bin/tmux/cmd-wait-for.c (Results 1 – 22 of 22)
Revision Date Author Comments
# a51dead1 21-Aug-2021 nicm <nicm@openbsd.org>

Add args parsing callback for some future work, currently unused.


# 1693b10b 20-Aug-2021 nicm <nicm@openbsd.org>

Hide struct args behind a couple of accessor functions.


# 040343ae 13-Apr-2020 nicm <nicm@openbsd.org>

Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its
use more clearly defined and preparation for some future work).


# 90d7ba38 13-Apr-2020 nicm <nicm@openbsd.org>

Make struct cmd local to cmd.c and move it out of tmux.h.


# 780ca620 18-Jun-2019 nicm <nicm@openbsd.org>

Add a cmdq_continue function rather than twiddling the flag directly.


# a9adeebd 07-Nov-2018 nicm <nicm@openbsd.org>

There is no reason wait-for has to be restricted to outside tmux.


# 68e0a7f2 16-Oct-2016 nicm <nicm@openbsd.org>

Mass rename struct cmd_q to struct cmdq_item and related.


# 765b9a58 16-Oct-2016 nicm <nicm@openbsd.org>

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 hap

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.

show more ...


# dc1f0f5f 10-Oct-2016 nicm <nicm@openbsd.org>

Add static in cmd-* and fix a few other nits.


# 98ca8272 19-Jan-2016 nicm <nicm@openbsd.org>

I no longer use my SourceForge address so replace it.


# c057646b 13-Dec-2015 nicm <nicm@openbsd.org>

Use member names in cmd_entry definitions so I stop getting confused
about the order.


# d0e2e7f1 18-Nov-2015 nicm <nicm@openbsd.org>

Use __unused rather than rolling our own.


# 7ad4d2cc 20-Oct-2015 nicm <nicm@openbsd.org>

Use client pointer not file descriptor in logging.


# 523072a5 13-Sep-2015 nicm <nicm@openbsd.org>

Set woken flag when flushing so that the channel is freed, while here
use the same loop construct for both loops.


# e2e43c59 04-Sep-2015 nicm <nicm@openbsd.org>

Change wait-for to work when the signal comes before the wait, also use
some helper functions and add some logging.


# f0dcb22a 20-Oct-2014 nicm <nicm@openbsd.org>

Instead of setting up the default keys by building the key struct
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

Instead of setting up the default keys by building the key struct
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.

show more ...


# 7d5939e2 01-Sep-2014 nicm <nicm@openbsd.org>

Wake up any clients waiting with the wait-for command when the server
exits.


# c6cf1eff 01-Sep-2014 nicm <nicm@openbsd.org>

Various minor style and spacing nits.


# 24dc4ab4 10-Oct-2013 nicm <nicm@openbsd.org>

Mark flags as optional and mutually exclusive. From Tiago Cunha.


# 1fe07f53 10-Oct-2013 nicm <nicm@openbsd.org>

Remove the barely-used and unnecessary command check() function.


# 6afca3b0 25-Mar-2013 nicm <nicm@openbsd.org>

Add wait-for -L and -U for lock and unlock, from Thiago Padilha.


# 8d127fbb 25-Mar-2013 nicm <nicm@openbsd.org>

Add a wait-for command which blocks a client on a named channel until it
is woken up again (with wait-for -S). From Thiago Padilha.