History log of /openbsd-src/usr.bin/tmux/cmd-queue.c (Results 26 – 50 of 118)
Revision Date Author Comments
# 0687354c 16-May-2020 nicm <nicm@openbsd.org>

Change message log to be per server rather than per client and include
every command that is run.


# ef07bfa2 16-May-2020 nicm <nicm@openbsd.org>

Add formats for after hook command arguments.


# 928e56dc 23-Apr-2020 nicm <nicm@openbsd.org>

Fix a couple of memory leaks, one when creating a new pane and one when
adding formats onto the queue item.


# 5c72fbec 14-Apr-2020 nicm <nicm@openbsd.org>

Provide an accessor for the running queue item and use it to not let
hooks recurse.


# 035dc73d 13-Apr-2020 nicm <nicm@openbsd.org>

Make client -c and -t handling common in cmd-queue.c and try to be
clearer about whether the client is the target client (must have a
session) or not.


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

When adding a list of commands to the queue, instead of automatically
creating a new state for each group of commands, require the caller to
create one and use it for all the commands in the list. Th

When adding a list of commands to the queue, instead of automatically
creating a new state for each group of commands, require the caller to
create one and use it for all the commands in the list. This means the
current target works even with list with multiple groups (which can
happen if they are defined with newlines).

show more ...


# 823b6d6d 13-Apr-2020 nicm <nicm@openbsd.org>

Move cmdq_state into cmd-queue.c.


# 054f42ac 13-Apr-2020 nicm <nicm@openbsd.org>

Rename cmdq_shared to cmdq_state which will better reflect what it is
(going to be) used for.


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

Store a key event not a mouse event in the shared data.


# 9b123ae5 13-Apr-2020 nicm <nicm@openbsd.org>

Move the NOHOOKS flag into the shared flags.


# 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.


# cdfe74ad 10-Apr-2020 nicm <nicm@openbsd.org>

Now that copy mode copies the pane content rather than keeping a
reference to it, it isn't necessary that the pane in copy mode is the
same as the one copying from. Add a -s flag to copy-mode to spec

Now that copy mode copies the pane content rather than keeping a
reference to it, it isn't necessary that the pane in copy mode is the
same as the one copying from. Add a -s flag to copy-mode to specify a
different pane for the source content. This means it is possible to view
two places in a pane's history at the same time in different panes, or
copy from a pane's history into an editor or shell in the same pane.

From Anindya Mukherjee.

show more ...


# 7af35667 03-Apr-2020 nicm <nicm@openbsd.org>

Stop logging the entire command queue every time we add something,
spotted by tb & sthen.


# 37b4450b 05-Jan-2020 nicm <nicm@openbsd.org>

Send errors to stdout in control mode so they don't get reordered with
other output, reported by George Nachman in GitHub issue 2048.


# 95cd24f8 19-Dec-2019 nicm <nicm@openbsd.org>

When adding a list with multiple commands to the queue, the next item to
insert after needs to be the last one added, not the first. Reported by
Jason Kim in GitHub issue 2023.


# 09279b25 17-Dec-2019 nicm <nicm@openbsd.org>

Use the message that has already been built rather than the va_list.


# f4bc7c7a 12-Dec-2019 nicm <nicm@openbsd.org>

Rewrite the code for reading and writing files. Now, if the client is
not attached, the server process asks it to open the file, similar to
how works for stdin, stdout, stderr. This makes special fil

Rewrite the code for reading and writing files. Now, if the client is
not attached, the server process asks it to open the file, similar to
how works for stdin, stdout, stderr. This makes special files like
/dev/fd/X work (used by some shells). stdin, stdout and stderr and
control mode are now just special cases of the same mechanism. This will
also make it easier to use for other commands that read files such as
source-file.

show more ...


# a267b926 10-Sep-2019 nicm <nicm@openbsd.org>

Set up format tree for %if, GitHub issue 1896.


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

Add a cmdq_continue function rather than twiddling the flag directly.


# 337db085 31-May-2019 nicm <nicm@openbsd.org>

Fix warnings, from Ben Boeckel.


# 47394861 29-May-2019 nicm <nicm@openbsd.org>

The line number needs to be updated only after the \n is processed by
the parser, so store a flag and update it next time around. Also each
new line needs its own shared data.


# 9a3a0de7 25-May-2019 nicm <nicm@openbsd.org>

Client name can actually be NULL, so use address in that case.


# 6b2831af 25-May-2019 nicm <nicm@openbsd.org>

Use client name when logging command queue.


# d8804b0b 23-May-2019 nicm <nicm@openbsd.org>

Don't remove group items for group 0 (no group).


12345