Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/tmux/dist CHANGED FROM 3.1b TO 3.1c



details:   https://anonhg.NetBSD.org/src/rev/693c5f41efae
branches:  trunk
changeset: 941906:693c5f41efae
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 01 14:52:00 2020 +0000

description:
CHANGED FROM 3.1b TO 3.1c

* Do not write after the end of the array and overwrite the stack when
  colon-separated SGR sequences contain empty arguments.

CHANGES FROM 3.1a TO 3.1b

* Fix build on systems without sys/queue.h.

* Fix crash when allow-rename is on and an empty name is set.

CHANGES FROM 3.1 TO 3.1a

* Do not close stdout prematurely in control mode since it is needed to print
  exit messages. Prevents hanging when detaching with iTerm2.

CHANGES FROM 3.0a TO 3.1

* Only search the visible part of the history when marking (highlighting)
  search terms. This is much faster than searching the whole history and solves
  problems with large histories. The count of matches shown is now the visible
  matches rather than all matches.

* Search using regular expressions in copy mode. search-forward and
  search-backward use regular expressions by default; the incremental versions
  do not.

* Turn off mouse mode 1003 as well as the rest when exiting.

* Add selection_active format for when the selection is present but not moving
  with the cursor.

* Fix dragging with modifier keys, so binding keys such as C-MouseDrag1Pane and
  C-MouseDragEnd1Pane now work.

* Add -a to list-keys to also list keys without notes with -N.

* Do not jump to next word end if already on a word end when selecting a word;
  fixes select-word with single character words and vi(1) keys.

* Fix top and bottom pane calculation with pane border status enabled.

* Add support for adding a note to a key binding (with bind-key -N) and use
  this to add descriptions to the default key bindings. A new -N flag to
  list-keys shows key bindings with notes. Change the default ? binding to use
  this to show a readable summary of keys. Also extend command-prompt to return
  the name of the key pressed and add a default binding (/) to show the note
  for the next key pressed.

* Add support for the iTerm2 DSR 1337 sequence to get the terminal version.

* Treat plausible but invalid keys (like C-BSpace) as literal like any other
  unrecognised string passed to send-keys.

* Detect iTerm2 and enable use of DECSLRM (much faster with horizontally split
  windows).

* Add -Z to default switch-client command in tree mode.

* Add ~ to quoted characters for %%%.

* Document client exit messages in the manual page.

* Do not let read-only clients limit the size, unless all clients are
  read-only.

* Add a number of new formats to inspect what sessions and clients a window is
  present or active in.

* Change file reading and writing to go through the client if necessary. This
  fixes commands like "tmux loadb /dev/fd/X". Also modify source-file to
  support "-" for standard input, like load-buffer and save-buffer.

* Add ~/.config/tmux/tmux.conf to the default search path for configuration
  files.

* Bump the escape sequence timeout to five seconds to allow for longer
  legitimate sequences.

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

* Add push-default to status-left and status-right in status-format[0].

* Do not clear search marks on cursor movement with vi(1) keys.

* Add p format modifier for padding to width and allow multiple substitutions
  in a single format.

* Add -f for full size to join-pane (like split-window).

* Do not use bright when emulating 256 colours on an 8 colour terminal because
  it is also bold on some terminals.

* Make select-pane -P set window-active-style also to match previous behaviour.

* Do not truncate list-keys output.

* Turn automatic-rename back on if the \033k rename escape sequence is used
  with an empty name.

* Add support for percentage sizes for resize-pane ("-x 10%"). Also change
  split-window and join-pane -l to accept similar percentages and deprecate the
  -p flag.

* Add -F flag to send-keys to expand formats in search-backward and forward
  copy mode commands and copy_cursor_word and copy_cursor_line formats for word
  and line at cursor in copy mode. Use for default # and * binding with vi(1)
  keys.

* Add formats for word and line at cursor position in copy mode.

* Add formats for cursor and selection position in copy mode.

* Support all the forms of RGB colour strings in OSC sequences rather than
  requiring two digits.

* Limit lazy resize to panes in attached sessions only.

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

* Change new-session -A without a session name (that is, no -s option also) to
  attach to the best existing session like attach-session rather than a new
  one.

* Add a "latest" window-size option which tries to size windows based on the
  most recently used client. This is now the default.

* Add simple support for OSC 7 (result is available in the pane_path format).

* Add push-default and pop-default for styles which change the colours and
  attributes used for #[default]. These are used in status-format to restore
  the behaviour of window-status-style being the default for
  window-status-format.

* Add window_marked_flag.

* Add cursor-down-and-cancel in copy mode.

* Default to previous search string for search-forward and search-backward.

* Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
  preserve zoomed state.

* Add -N to capture-pane to preserve trailing spaces.

* Add reverse sorting in tree, client and buffer modes.

diffstat:

 external/bsd/tmux/dist/CHANGES              |  160 ++++++++++-
 external/bsd/tmux/dist/Makefile.am          |    8 +-
 external/bsd/tmux/dist/Makefile.in          |   36 +-
 external/bsd/tmux/dist/arguments.c          |    2 +
 external/bsd/tmux/dist/attributes.c         |    4 +-
 external/bsd/tmux/dist/cfg.c                |  111 ++++++-
 external/bsd/tmux/dist/cmd-bind-key.c       |   12 +-
 external/bsd/tmux/dist/cmd-break-pane.c     |    3 +-
 external/bsd/tmux/dist/cmd-choose-tree.c    |   12 +-
 external/bsd/tmux/dist/cmd-command-prompt.c |    6 +-
 external/bsd/tmux/dist/cmd-copy-mode.c      |    9 +-
 external/bsd/tmux/dist/cmd-join-pane.c      |   52 ++-
 external/bsd/tmux/dist/cmd-kill-pane.c      |    2 +-
 external/bsd/tmux/dist/cmd-list-keys.c      |  169 ++++++++++-
 external/bsd/tmux/dist/cmd-refresh-client.c |    2 +-
 external/bsd/tmux/dist/cmd-resize-pane.c    |   69 +++-
 external/bsd/tmux/dist/cmd-resize-window.c  |   14 +-
 external/bsd/tmux/dist/cmd-respawn-window.c |    1 +
 external/bsd/tmux/dist/cmd-rotate-window.c  |   17 +-
 external/bsd/tmux/dist/cmd-save-buffer.c    |   98 +----
 external/bsd/tmux/dist/cmd-select-pane.c    |   34 +-
 external/bsd/tmux/dist/cmd-source-file.c    |  159 ++++++++--
 external/bsd/tmux/dist/cmd-swap-pane.c      |   26 +-
 external/bsd/tmux/dist/cmd-switch-client.c  |   22 +-
 external/bsd/tmux/dist/cmd.c                |    2 +-
 external/bsd/tmux/dist/compat.h             |   40 ++-
 external/bsd/tmux/dist/configure            |  149 ++-------
 external/bsd/tmux/dist/configure.ac         |   42 +--
 external/bsd/tmux/dist/control-notify.c     |    3 +-
 external/bsd/tmux/dist/control.c            |   36 +-
 external/bsd/tmux/dist/file.c               |  413 ++++++++++++++++++++++++++++
 external/bsd/tmux/dist/format-draw.c        |   32 +-
 external/bsd/tmux/dist/key-string.c         |  135 +++++---
 external/bsd/tmux/dist/layout-custom.c      |    2 +-
 external/bsd/tmux/dist/layout-set.c         |    8 +-
 external/bsd/tmux/dist/mdoc2man.awk         |    2 +-
 external/bsd/tmux/dist/options-table.c      |   24 +-
 external/bsd/tmux/dist/resize.c             |  334 ++++++++++++++++------
 external/bsd/tmux/dist/xmalloc.c            |   14 +
 39 files changed, 1668 insertions(+), 596 deletions(-)

diffs (truncated from 3566 to 300 lines):

diff -r 91bc562fcb7a -r 693c5f41efae external/bsd/tmux/dist/CHANGES
--- a/external/bsd/tmux/dist/CHANGES    Sun Nov 01 14:42:05 2020 +0000
+++ b/external/bsd/tmux/dist/CHANGES    Sun Nov 01 14:52:00 2020 +0000
@@ -1,4 +1,152 @@
-CHANGES FROM 3.0 to 3.0a
+CHANGED FROM 3.1b TO 3.1c
+
+* Fix a stack overflow on colon-separated CSI parsing.
+
+CHANGES FROM 3.1a TO 3.1b
+
+* Fix build on systems without sys/queue.h.
+
+* Fix crash when allow-rename is on and an empty name is set.
+
+CHANGES FROM 3.1 TO 3.1a
+
+* Do not close stdout prematurely in control mode since it is needed to print
+  exit messages. Prevents hanging when detaching with iTerm2.
+
+CHANGES FROM 3.0a TO 3.1
+
+* Only search the visible part of the history when marking (highlighting)
+  search terms. This is much faster than searching the whole history and solves
+  problems with large histories. The count of matches shown is now the visible
+  matches rather than all matches.
+
+* Search using regular expressions in copy mode. search-forward and
+  search-backward use regular expressions by default; the incremental versions
+  do not.
+
+* Turn off mouse mode 1003 as well as the rest when exiting.
+
+* Add selection_active format for when the selection is present but not moving
+  with the cursor.
+
+* Fix dragging with modifier keys, so binding keys such as C-MouseDrag1Pane and
+  C-MouseDragEnd1Pane now work.
+
+* Add -a to list-keys to also list keys without notes with -N.
+
+* Do not jump to next word end if already on a word end when selecting a word;
+  fixes select-word with single character words and vi(1) keys.
+
+* Fix top and bottom pane calculation with pane border status enabled.
+
+* Add support for adding a note to a key binding (with bind-key -N) and use
+  this to add descriptions to the default key bindings. A new -N flag to
+  list-keys shows key bindings with notes. Change the default ? binding to use
+  this to show a readable summary of keys. Also extend command-prompt to return
+  the name of the key pressed and add a default binding (/) to show the note
+  for the next key pressed.
+
+* Add support for the iTerm2 DSR 1337 sequence to get the terminal version.
+
+* Treat plausible but invalid keys (like C-BSpace) as literal like any other
+  unrecognised string passed to send-keys.
+
+* Detect iTerm2 and enable use of DECSLRM (much faster with horizontally split
+  windows).
+
+* Add -Z to default switch-client command in tree mode.
+
+* Add ~ to quoted characters for %%%.
+
+* Document client exit messages in the manual page.
+
+* Do not let read-only clients limit the size, unless all clients are
+  read-only.
+
+* Add a number of new formats to inspect what sessions and clients a window is
+  present or active in.
+
+* Change file reading and writing to go through the client if necessary. This
+  fixes commands like "tmux loadb /dev/fd/X". Also modify source-file to
+  support "-" for standard input, like load-buffer and save-buffer.
+
+* Add ~/.config/tmux/tmux.conf to the default search path for configuration
+  files.
+
+* Bump the escape sequence timeout to five seconds to allow for longer
+  legitimate sequences.
+
+* Make a best effort to set xpixel and ypixel for each pane and add formats for
+  them.
+
+* Add push-default to status-left and status-right in status-format[0].
+
+* Do not clear search marks on cursor movement with vi(1) keys.
+
+* Add p format modifier for padding to width and allow multiple substitutions
+  in a single format.
+
+* Add -f for full size to join-pane (like split-window).
+
+* Do not use bright when emulating 256 colours on an 8 colour terminal because
+  it is also bold on some terminals.
+
+* Make select-pane -P set window-active-style also to match previous behaviour.
+
+* Do not truncate list-keys output.
+
+* Turn automatic-rename back on if the \033k rename escape sequence is used
+  with an empty name.
+
+* Add support for percentage sizes for resize-pane ("-x 10%"). Also change
+  split-window and join-pane -l to accept similar percentages and deprecate the
+  -p flag.
+
+* Add -F flag to send-keys to expand formats in search-backward and forward
+  copy mode commands and copy_cursor_word and copy_cursor_line formats for word
+  and line at cursor in copy mode. Use for default # and * binding with vi(1)
+  keys.
+
+* Add formats for word and line at cursor position in copy mode.
+
+* Add formats for cursor and selection position in copy mode.
+
+* Support all the forms of RGB colour strings in OSC sequences rather than
+  requiring two digits.
+
+* Limit lazy resize to panes in attached sessions only.
+
+* Add an option to set the key sent by backspace for those whose system uses ^H
+  rather than ^?.
+
+* Change new-session -A without a session name (that is, no -s option also) to
+  attach to the best existing session like attach-session rather than a new
+  one.
+
+* Add a "latest" window-size option which tries to size windows based on the
+  most recently used client. This is now the default.
+
+* Add simple support for OSC 7 (result is available in the pane_path format).
+
+* Add push-default and pop-default for styles which change the colours and
+  attributes used for #[default]. These are used in status-format to restore
+  the behaviour of window-status-style being the default for
+  window-status-format.
+
+* Add window_marked_flag.
+
+* Add cursor-down-and-cancel in copy mode.
+
+* Default to previous search string for search-forward and search-backward.
+
+* Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
+  preserve zoomed state.
+
+* Add -N to capture-pane to preserve trailing spaces.
+
+* Add reverse sorting in tree, client and buffer modes.
+
+CHANGES FROM 3.0 TO 3.0a
 
 * Do not require REG_STARTEND.
 
@@ -12,7 +160,7 @@
 
 * Do not crash when restoring a layout with only one pane.
 
-CHANGES FROM 2.9 to 3.0
+CHANGES FROM 2.9 TO 3.0
 
 * Workaround invalid layout strings generated by older tmux versions and add
   some additional sanity checks
@@ -102,7 +250,7 @@
 * Add the ability to create simple menus. Introduces new command
   display-menu. Default menus are bound to MouseDown3 on the status line;
   MouseDown3 or M-MouseDown3 on panes; MouseDown3 in tree, client and
-  buffer modes; and C-b C-m and C-b M-m.
+  buffer modes; and C-b < and >.
 
 * Allow panes to be empty (no command). They can be created either by piping to
   split-window -I, or by passing an empty command ('') to split-window. Output
@@ -137,11 +285,11 @@
 * Add the ability to infer an option type (server, session, window) from its
   name to show-options (it was already present in set-option).
 
-CHANGES FROM 2.9 to 2.9a
+CHANGES FROM 2.9 TO 2.9a
 
 * Fix bugs in select-pane and the main-horizontal and main-vertical layouts.
 
-CHANGES FROM 2.8 to 2.9
+CHANGES FROM 2.8 TO 2.9
 
 * Attempt to preserve horizontal cursor position as well as vertical with
   reflow.
@@ -266,7 +414,7 @@
   moves up, down, left or right and -c returns to automatic cursor
   tracking. The position is reset when the current window is changed.
 
-CHANGES FROM 2.7 to 2.8
+CHANGES FROM 2.7 TO 2.8
 
 * Make display-panes block the client until a pane is chosen or it
   times out.
diff -r 91bc562fcb7a -r 693c5f41efae external/bsd/tmux/dist/Makefile.am
--- a/external/bsd/tmux/dist/Makefile.am        Sun Nov 01 14:42:05 2020 +0000
+++ b/external/bsd/tmux/dist/Makefile.am        Sun Nov 01 14:52:00 2020 +0000
@@ -6,11 +6,14 @@
 
 # Distribution tarball options.
 EXTRA_DIST = \
-       CHANGES README README.ja COPYING example_tmux.conf compat/*.[ch] \
+       CHANGES README README.ja COPYING example_tmux.conf \
        osdep-*.c mdoc2man.awk tmux.1
+dist_EXTRA_tmux_SOURCES = compat/*.[ch]
 
 # Preprocessor flags.
-AM_CPPFLAGS += @XOPEN_DEFINES@ -DTMUX_CONF="\"$(sysconfdir)/tmux.conf\""
+AM_CPPFLAGS += @XOPEN_DEFINES@ \
+       -DTMUX_VERSION="\"@VERSION@\"" \
+       -DTMUX_CONF="\"$(sysconfdir)/tmux.conf:~/.tmux.conf:~/.config/tmux/tmux.conf\""
 
 # Additional object files.
 LDADD = $(LIBOBJS)
@@ -130,6 +133,7 @@
        control-notify.c \
        control.c \
        environ.c \
+       file.c \
        format.c \
        format-draw.c \
        grid-view.c \
diff -r 91bc562fcb7a -r 693c5f41efae external/bsd/tmux/dist/Makefile.in
--- a/external/bsd/tmux/dist/Makefile.in        Sun Nov 01 14:42:05 2020 +0000
+++ b/external/bsd/tmux/dist/Makefile.in        Sun Nov 01 14:52:00 2020 +0000
@@ -175,15 +175,15 @@
        cmd-swap-window.$(OBJEXT) cmd-switch-client.$(OBJEXT) \
        cmd-unbind-key.$(OBJEXT) cmd-wait-for.$(OBJEXT) cmd.$(OBJEXT) \
        colour.$(OBJEXT) control-notify.$(OBJEXT) control.$(OBJEXT) \
-       environ.$(OBJEXT) format.$(OBJEXT) format-draw.$(OBJEXT) \
-       grid-view.$(OBJEXT) grid.$(OBJEXT) input-keys.$(OBJEXT) \
-       input.$(OBJEXT) job.$(OBJEXT) key-bindings.$(OBJEXT) \
-       key-string.$(OBJEXT) layout-custom.$(OBJEXT) \
-       layout-set.$(OBJEXT) layout.$(OBJEXT) log.$(OBJEXT) \
-       menu.$(OBJEXT) mode-tree.$(OBJEXT) names.$(OBJEXT) \
-       notify.$(OBJEXT) options-table.$(OBJEXT) options.$(OBJEXT) \
-       paste.$(OBJEXT) proc.$(OBJEXT) regsub.$(OBJEXT) \
-       resize.$(OBJEXT) screen-redraw.$(OBJEXT) \
+       environ.$(OBJEXT) file.$(OBJEXT) format.$(OBJEXT) \
+       format-draw.$(OBJEXT) grid-view.$(OBJEXT) grid.$(OBJEXT) \
+       input-keys.$(OBJEXT) input.$(OBJEXT) job.$(OBJEXT) \
+       key-bindings.$(OBJEXT) key-string.$(OBJEXT) \
+       layout-custom.$(OBJEXT) layout-set.$(OBJEXT) layout.$(OBJEXT) \
+       log.$(OBJEXT) menu.$(OBJEXT) mode-tree.$(OBJEXT) \
+       names.$(OBJEXT) notify.$(OBJEXT) options-table.$(OBJEXT) \
+       options.$(OBJEXT) paste.$(OBJEXT) proc.$(OBJEXT) \
+       regsub.$(OBJEXT) resize.$(OBJEXT) screen-redraw.$(OBJEXT) \
        screen-write.$(OBJEXT) screen.$(OBJEXT) \
        server-client.$(OBJEXT) server-fn.$(OBJEXT) server.$(OBJEXT) \
        session.$(OBJEXT) spawn.$(OBJEXT) status.$(OBJEXT) \
@@ -238,8 +238,9 @@
 am__v_YACC_0 = @echo "  YACC    " $@;
 am__v_YACC_1 = 
 YLWRAP = $(top_srcdir)/etc/ylwrap
-SOURCES = $(dist_tmux_SOURCES) $(nodist_tmux_SOURCES)
-DIST_SOURCES = $(dist_tmux_SOURCES)
+SOURCES = $(dist_tmux_SOURCES) $(nodist_tmux_SOURCES) \
+       $(dist_EXTRA_tmux_SOURCES)
+DIST_SOURCES = $(dist_tmux_SOURCES) $(dist_EXTRA_tmux_SOURCES)
 am__can_run_installinfo = \
   case $$AM_UPDATE_INFO_DIR in \
     n|no|NO) false;; \
@@ -319,9 +320,10 @@
 
 # Preprocessor flags.
 AM_CPPFLAGS = @AM_CPPFLAGS@ @XOPEN_DEFINES@ \
-       -DTMUX_CONF="\"$(sysconfdir)/tmux.conf\"" $(am__append_3) \
-       $(am__append_4) $(am__append_5) $(am__append_6) \
-       $(am__append_8) $(am__append_9)
+       -DTMUX_VERSION="\"@VERSION@\"" \
+       -DTMUX_CONF="\"$(sysconfdir)/tmux.conf:~/.tmux.conf:~/.config/tmux/tmux.conf\"" \
+       $(am__append_3) $(am__append_4) $(am__append_5) \
+       $(am__append_6) $(am__append_8) $(am__append_9)
 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
 AM_LDFLAGS = @AM_LDFLAGS@
 AUTOCONF = @AUTOCONF@
@@ -422,6 +424,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -434,9 +437,10 @@
 
 # Distribution tarball options.
 EXTRA_DIST = \
-       CHANGES README README.ja COPYING example_tmux.conf compat/*.[ch] \
+       CHANGES README README.ja COPYING example_tmux.conf \
        osdep-*.c mdoc2man.awk tmux.1
 
+dist_EXTRA_tmux_SOURCES = compat/*.[ch]
 
 # Additional object files.
 LDADD = $(LIBOBJS)



Home | Main Index | Thread Index | Old Index