OpenBSD CVS

CVS log for src/usr.bin/tmux/spawn.c


[BACK] Up to [local] / src / usr.bin / tmux

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Mon Jul 10 09:24:53 2023 UTC (10 months, 1 week ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Use a stack for last panes line windows, from Thomas Bertschinger in
GitHub issue 3588.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jul 9 22:54:52 2023 UTC (10 months, 1 week ago) by nicm
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Call closefrom after removing signals because newer libevent doesn't
like its signal fd being closed Azat Khuzhin.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Aug 10 14:03:59 2022 UTC (21 months, 1 week ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Fix check of home directory (&& not ||), from Markus F X J Oberhumer,
GitHub issue 3297.

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 30 13:06:41 2022 UTC (23 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.29: +18 -9 lines
Diff to previous 1.29 (colored)

Set PWD so shells have a hint about the real path (this was done before
but lost in a merge). GitHub issue 3186.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Aug 23 11:04:21 2021 UTC (2 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Fix a few memory leaks.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Mar 11 06:31:05 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.27: +5 -2 lines
Diff to previous 1.27 (colored)

Add split-window -Z to start the pane zoomed, GitHub issue 2591.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 2 11:00:38 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Do not use NULL active window; also do not leak window name. GitHub
issue 2590 from Chester Liu.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 2 10:56:45 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

Drop support for popups where the content is provided directly to tmux
(which does not have many practical uses) and only support running a
program in the popup. display-popup is now simpler and can accept
multiple arguments to avoid escaping problems (like the other commands).

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 19 09:09:16 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Check return value of chdir() to stop a silly warning with some
compilers, GitHub issue 2573.

Revision 1.24 / (download) - annotate - [select for diffs], Thu May 21 07:24:13 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

Support code for control mode flow control: allow clients to have
separate offsets (used and acknowleged) into the pane buffers; turn off
reading from panes when no clients can accept the data; and add a -A
flag to refresh-client to let clients turn receiving a pane on and off.

Revision 1.23 / (download) - annotate - [select for diffs], Sat May 16 16:20:59 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Add a client flag 'active-pane' which stores the active pane in the
client and allows it to be changed independently from the real active
pane stored in the window. This is can be used with session groups which
allow an independent current window (although it would be nice to have a
flag for this too and remove session groups). The client active pane is
only really useful interactively, many things (hooks, window-style,
zooming) still use the window active pane.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 23 05:48:42 2020 UTC (4 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.21: +4 -1 lines
Diff to previous 1.21 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 13 20:51:57 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

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.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 13 10:59:59 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.19: +9 -12 lines
Diff to previous 1.19 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 31 17:14:40 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

Add a way to mark environment variables as "hidden" so they can be used
by tmux but are not passed into the environment of new panes.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 31 06:35:38 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Detach reply escape sequences from the pane so they work in popups.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 19 14:03:49 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

Change input path so it doesn't require a pane.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 17 11:10:12 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Ignore default-shell (and use /bin/sh) if it invalid not just if it is
tmux itself, also refuse to set the option to something invalid in the
first place. GitHub issue 2120.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 2 08:30:30 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Use current session for cwd of new sessions, not the new session which
doesn't have one yet. GitHub issue 2091.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 28 10:21:21 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.13: +19 -18 lines
Diff to previous 1.13 (colored)

Set up working directory before killing the existing pane on respawn.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 1 21:51:33 2020 UTC (4 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)

Fix format expansion in window names, reported by Suraj N Kurapati.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 28 09:45:16 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.11: +7 -4 lines
Diff to previous 1.11 (colored)

Make a best effort to set xpixel and ypixel for each pane and add
formats for them.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 14 07:55:01 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.10: +8 -3 lines
Diff to previous 1.10 (colored)

Add an option to set the key sent by backspace for those whose system
uses ^H rather than ^?. GitHub issue 1969.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 7 07:14:07 2019 UTC (4 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Fix respawn-pane/window if default-command is set, reported by Janos Barbero.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 23 15:41:11 2019 UTC (4 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Use the correct size for new windows when window-size is latest,
reported by Vamsi Krishna Avula in GitHub issue 1917.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 19 09:02:30 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Add a "latest" window-size option which tries to size windows based on
the most recently used client. From Tommie Gannert in GitHub issue 1869
based on earlier changes from me.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Sep 18 11:37:58 2019 UTC (4 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.6: +9 -9 lines
Diff to previous 1.6 (colored)

Do not set uninitialized signal mask when creating an empty pane.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 30 19:21:53 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.5: +2 -4 lines
Diff to previous 1.5 (colored)

Do not double free window if pane fails to start.

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 27 12:48:52 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

Fix crash when killing the current window, reported by Jesus Rafael
Sanchez in GitHub issue 1760.

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 25 06:58:10 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Make cmd_log_argv take a printf-like format for the prefix.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 3 20:44:24 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.2: +30 -20 lines
Diff to previous 1.2 (colored)

Allow panes to be empty (no command), output can be piped to them with
split-window or display-message -I.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 28 20:05:50 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Support multiple occurances of the same argument. Use this for a new
flag -e to new-window, split-window, respawn-window, respawn-pane to
pass environment variables into the newly created process. From Steffen
Christgau in GitHub issue 1697.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 17 14:37:48 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN

Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.