OpenBSD CVS

CVS log for src/usr.bin/tmux/control-notify.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 28 13:00:02 2022 UTC (18 months, 3 weeks ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.30: +15 -2 lines
Diff to previous 1.30 (colored)

Add paste-buffer-deleted notification and fix name of paste-buffer-changed.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 15 09:10:34 2022 UTC (21 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.29: +14 -1 lines
Diff to previous 1.29 (colored)

Notify when a paste buffer is deleted, GitHub issue 3302 from George
Nachman.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Mar 16 09:14:58 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.28: +12 -1 lines
Diff to previous 1.28 (colored)

Add client-detached notification in control mode, from Mohsin Kaleem.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jan 20 07:16:54 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Change so that window_flags escapes # automatically which means configs
will not have to change. A new format window_raw_flags contains the old
unescaped version.

Revision 1.27 / (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.26: +1 -35 lines
Diff to previous 1.26 (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.26 / (download) - annotate - [select for diffs], Mon Mar 16 09:12:44 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

Terminate the output buffer for control mode output - it is now used as
a string. GitHub issue 2114.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Dec 12 11:39:56 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

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.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 10 11:20:10 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)

Add -F to refresh-client to specify flags for control clients - one flag
at the moment, no-output which turns off forwarding pane output. From
Thomas Adam. GitHub issue 1834.

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 7 10:25:15 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.22: +2 -7 lines
Diff to previous 1.22 (colored)

Do not use evbuffer_add_buffer because it is destructive and doesn't
work in newer libevent.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 19 13:35:40 2018 UTC (5 years, 6 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

evbuffer_new and bufferevent_new can both fail (when malloc fails) and
return NULL. GitHub issue 1547.

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 4 07:16:43 2017 UTC (7 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.20: +63 -10 lines
Diff to previous 1.20 (colored)

Some new notifications, mainly for active pane and current window and
session:

    pane-mode-changed
    window-pane-changed
    client-session-changed
    session-window-changed

From Joshua Brot.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 8 13:36:12 2017 UTC (7 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.19: +5 -9 lines
Diff to previous 1.19 (colored)

Add a helper function for the most common format_create/defaults/expand
pattern.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 3 11:57:27 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Add a window or pane id "tag" to each format tree and use it to separate
jobs, this means that if the same job is used for different windows or
panes (for example in pane-border-format), it will be run separately for
each pane.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 16 22:06:40 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 15 00:12:58 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Rename a function for consistency and some spacing nits.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jan 19 15:59:12 2016 UTC (8 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

I no longer use my SourceForge address so replace it.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 11 12:27:36 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 8 08:34:18 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Remove format_create_flags and just pass flags to format_create.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 18 14:27:44 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

Use __unused rather than rolling our own.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 13 10:00:26 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.11: +10 -3 lines
Diff to previous 1.11 (colored)

Add window_visible_layout which ignores zoomed panes and use it for
control mode (which needs to know all panes), from George Nachman.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 24 23:17:11 2015 UTC (9 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.10: +8 -22 lines
Diff to previous 1.10 (colored)

Convert clients list into a TAILQ.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 5 10:29:43 2015 UTC (9 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Wrap all the individual format_* calls in a single format_defaults
functions.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Apr 23 10:14:29 2014 UTC (10 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.8: +16 -3 lines
Diff to previous 1.8 (colored)

Differentiate between linked and unlinked window closes and renames,
like we already do for adds. From Andre Masella.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 26 10:54:48 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.7: +1 -5 lines
Diff to previous 1.7 (colored)

Fix compiler warnings, missing #include. From Thomas Adam.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 25 11:40:54 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.6: +11 -11 lines
Diff to previous 1.6 (colored)

Include prefix on ids, from George Nachman.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 25 11:40:40 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.5: +7 -3 lines
Diff to previous 1.5 (colored)

Write escaped output in control mode rather than hex, from George
Nachman.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 25 11:38:43 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Don't add prefix to %output pane id.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 25 10:11:45 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Rename session idx to session id throughout and add $ prefix to targets
to use it, extended from a diff from George Nachman.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 25 10:04:23 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.2: +3 -12 lines
Diff to previous 1.2 (colored)

Remove some unused/unnecessary control notifications, from George Nachman.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 25 07:41:22 2012 UTC (11 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.1: +30 -1 lines
Diff to previous 1.1 (colored)

Add notification for input from a pane, from George Nachman.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 3 09:32:38 2012 UTC (11 years, 8 months ago) by nicm
Branch: MAIN

Send notifications to control clients. Also don't redraw client when
suspended.

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.