Up to [cvs.NetBSD.org] / src / external / bsd / tmux / usr.bin / tmux
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
tmux: update for 3.5a release
Explain HAVE_VIS situation in a comment
add generated tmux.1 to CLEANDIRFILES so it gets removed too
notify.c is now sign-compare-safe
Adapt build for tmux 3.4.
tmux: perform substitution(s) in the man page
tmux: also set HAVE_REALLOCARRAY
update build system for tmux 3.3a
bsd.own.mk: rename GCC_NO_* to CC_WNO_* Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
merge changes between tmux-3.2 and tmux-3.2a
merge our changes between tmux-3.1c and tmux-3.2
apply some -Wno- to ignore several new warnings with GCC 10. ntp: ignore truncation beyond api sizes, and ignore wrongly guessed underflow tmux: ignore maybe uninitialised warning for impossible case libbfd: signed/unsigned variables assigned in the same statement dri/gallium: -Wno-builtin-declaration-mismatch for u_atomic.c as it implements backend functions with different in-C-machine but same-in-real-machine types libXfont/libXfont2: signed/unsigned variables assigned in the same statement i915drm: ignore impossible maybe uninitialised warnings sysinst: ignore an invalid string truncation issue
Pull up the following, requested by christos in ticket #1619: external/bsd/tmux/dist/compat/daemon-darwin.c up to 1.1.1.1 external/bsd/tmux/dist/compat/fdforkpty.c up to 1.1.1.1 external/bsd/tmux/dist/compat/memmem.c up to 1.1.1.1 external/bsd/tmux/dist/menu.c up to 1.2 external/bsd/tmux/dist/window-tree.c up to 1.7 external/bsd/tmux/dist/mode-tree.c up to 1.6 external/bsd/tmux/dist/etc/ylwrap up to 1.1.1.1 external/bsd/tmux/dist/cmd-resize-window.c up to 1.2 external/bsd/tmux/dist/regsub.c up to 1.3 external/bsd/tmux/dist/cmd-parse.y up to 1.3 external/bsd/tmux/dist/window-buffer.c up to 1.6 external/bsd/tmux/dist/spawn.c up to 1.3 external/bsd/tmux/dist/README.ja up to 1.1.1.1 external/bsd/tmux/dist/window-client.c up to 1.6 external/bsd/tmux/dist/file.c up to 1.1.1.1 external/bsd/tmux/dist/format-draw.c up to 1.1.1.3 external/bsd/tmux/dist/cmd-display-menu.c up to 1.1.1.1 external/bsd/tmux/dist/compat/fparseln.c delete external/bsd/tmux/dist/FAQ delete external/bsd/tmux/dist/TODO delete external/bsd/tmux/dist/cmd-choose-buffer.c delete external/bsd/tmux/dist/cmd-choose-client.c delete external/bsd/tmux/dist/cmd-list.c delete external/bsd/tmux/dist/cmd-set-hook.c delete external/bsd/tmux/dist/cmd-string.c delete external/bsd/tmux/dist/hooks.c delete external/bsd/tmux/dist/pty.c delete external/bsd/tmux/dist/signal.c delete external/bsd/tmux/dist/window-choose.c delete external/bsd/tmux/dist/CHANGES up to 1.1.1.6 external/bsd/tmux/dist/COPYING up to 1.1.1.2 external/bsd/tmux/dist/Makefile.am up to 1.1.1.6 external/bsd/tmux/dist/Makefile.in up to 1.1.1.6 external/bsd/tmux/dist/README up to 1.1.1.4 external/bsd/tmux/dist/aclocal.m4 up to 1.1.1.4 external/bsd/tmux/dist/alerts.c up to 1.1.1.5 external/bsd/tmux/dist/arguments.c up to 1.1.1.9 external/bsd/tmux/dist/attributes.c up to 1.1.1.9 external/bsd/tmux/dist/cfg.c up to 1.1.1.12 external/bsd/tmux/dist/client.c up to 1.10 external/bsd/tmux/dist/cmd-attach-session.c up to 1.8 external/bsd/tmux/dist/cmd-bind-key.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-break-pane.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-capture-pane.c up to 1.8 external/bsd/tmux/dist/cmd-choose-tree.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-command-prompt.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-confirm-before.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-copy-mode.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-detach-client.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-display-message.c up to 1.10 external/bsd/tmux/dist/cmd-display-panes.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-find-window.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-find.c up to 1.1.1.7 external/bsd/tmux/dist/cmd-if-shell.c up to 1.10 external/bsd/tmux/dist/cmd-join-pane.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-kill-pane.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-kill-session.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-kill-window.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-list-buffers.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-list-clients.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-list-keys.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-list-panes.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-list-sessions.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-list-windows.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-load-buffer.c up to 1.9 external/bsd/tmux/dist/cmd-lock-server.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-move-window.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-new-session.c up to 1.8 external/bsd/tmux/dist/cmd-new-window.c up to 1.8 external/bsd/tmux/dist/cmd-paste-buffer.c up to 1.8 external/bsd/tmux/dist/cmd-pipe-pane.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-queue.c up to 1.6 external/bsd/tmux/dist/cmd-refresh-client.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-rename-session.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-rename-window.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-resize-pane.c up to 1.1.1.12 external/bsd/tmux/dist/cmd-respawn-pane.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-respawn-window.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-rotate-window.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-run-shell.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-save-buffer.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-select-layout.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-select-pane.c up to 1.1.1.12 external/bsd/tmux/dist/cmd-select-window.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-send-keys.c up to 1.10 external/bsd/tmux/dist/cmd-set-environment.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-set-option.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-show-environment.c up to 1.1.1.8 external/bsd/tmux/dist/cmd-show-messages.c up to 1.7 external/bsd/tmux/dist/cmd-show-options.c up to 1.3 external/bsd/tmux/dist/cmd-source-file.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-split-window.c up to 1.9 external/bsd/tmux/dist/cmd-swap-pane.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-swap-window.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-switch-client.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-wait-for.c up to 1.7 external/bsd/tmux/dist/cmd.c up to 1.1.1.12 external/bsd/tmux/dist/colour.c up to 1.9 external/bsd/tmux/dist/compat.h up to 1.2 external/bsd/tmux/dist/configure up to 1.1.1.6 external/bsd/tmux/dist/configure.ac up to 1.1.1.6 external/bsd/tmux/dist/control-notify.c up to 1.1.1.8 external/bsd/tmux/dist/control.c up to 1.1.1.7 external/bsd/tmux/dist/environ.c up to 1.10 external/bsd/tmux/dist/example_tmux.conf up to 1.1.1.4 external/bsd/tmux/dist/format.c up to 1.11 external/bsd/tmux/dist/grid-view.c up to 1.1.1.9 external/bsd/tmux/dist/grid.c up to 1.10 external/bsd/tmux/dist/input-keys.c up to 1.10 external/bsd/tmux/dist/input.c up to 1.14 external/bsd/tmux/dist/job.c up to 1.11 external/bsd/tmux/dist/key-bindings.c up to 1.9 external/bsd/tmux/dist/key-string.c up to 1.1.1.12 external/bsd/tmux/dist/layout-custom.c up to 1.1.1.10 external/bsd/tmux/dist/layout-set.c up to 1.1.1.12 external/bsd/tmux/dist/layout.c up to 1.1.1.10 external/bsd/tmux/dist/log.c up to 1.14 external/bsd/tmux/dist/mdoc2man.awk up to 1.1.1.3 external/bsd/tmux/dist/names.c up to 1.1.1.8 external/bsd/tmux/dist/notify.c up to 1.6 external/bsd/tmux/dist/options-table.c up to 1.1.1.11 external/bsd/tmux/dist/options.c up to 1.11 external/bsd/tmux/dist/osdep-darwin.c up to 1.1.1.9 external/bsd/tmux/dist/osdep-freebsd.c up to 1.1.1.8 external/bsd/tmux/dist/osdep-linux.c up to 1.1.1.7 external/bsd/tmux/dist/osdep-netbsd.c up to 1.1.1.9 external/bsd/tmux/dist/paste.c up to 1.5 external/bsd/tmux/dist/proc.c up to 1.5 external/bsd/tmux/dist/resize.c up to 1.2 external/bsd/tmux/dist/screen-redraw.c up to 1.1.1.11 external/bsd/tmux/dist/screen-write.c up to 1.12 external/bsd/tmux/dist/screen.c up to 1.11 external/bsd/tmux/dist/server-client.c up to 1.8 external/bsd/tmux/dist/server-fn.c up to 1.12 external/bsd/tmux/dist/server.c up to 1.1.1.11 external/bsd/tmux/dist/session.c up to 1.12 external/bsd/tmux/dist/status.c up to 1.10 external/bsd/tmux/dist/style.c up to 1.4 external/bsd/tmux/dist/tmux.1 up to 1.13 external/bsd/tmux/dist/tmux.c up to 1.11 external/bsd/tmux/dist/tmux.h up to 1.16 external/bsd/tmux/dist/tty-acs.c up to 1.9 external/bsd/tmux/dist/tty-keys.c up to 1.14 external/bsd/tmux/dist/tty-term.c up to 1.13 external/bsd/tmux/dist/tty.c up to 1.7 external/bsd/tmux/dist/utf8.c up to 1.7 external/bsd/tmux/dist/window-clock.c up to 1.1.1.9 external/bsd/tmux/dist/window-copy.c up to 1.12 external/bsd/tmux/dist/window.c up to 1.13 external/bsd/tmux/dist/xmalloc.c up to 1.1.1.9 external/bsd/tmux/dist/xmalloc.h up to 1.5 external/bsd/tmux/dist/xterm-keys.c up to 1.1.1.8 external/bsd/tmux/dist/compat/getdtablecount.c up to 1.1.1.2 external/bsd/tmux/dist/compat/imsg-buffer.c up to 1.9 external/bsd/tmux/dist/compat/imsg.c up to 1.9 external/bsd/tmux/dist/etc/compile up to 1.1.1.2 external/bsd/tmux/dist/etc/config.guess up to 1.1.1.3 external/bsd/tmux/dist/etc/config.sub up to 1.1.1.3 external/bsd/tmux/dist/etc/depcomp up to 1.1.1.2 external/bsd/tmux/dist/etc/install-sh up to 1.1.1.3 external/bsd/tmux/dist/etc/missing up to 1.1.1.2 external/bsd/tmux/usr.bin/tmux/Makefile up to 1.25 doc/3RDPARTY (manually modified) Update tmux to 3.1c
Pull up the following external/bsd/tmux/dist/menu.c up to 1.2 external/bsd/tmux/dist/etc/ylwrap up to 1.1.1.1 external/bsd/tmux/dist/cmd-resize-window.c up to 1.2 external/bsd/tmux/dist/regsub.c up to 1.3 external/bsd/tmux/dist/cmd-parse.y up to 1.3 external/bsd/tmux/dist/spawn.c up to 1.3 external/bsd/tmux/dist/file.c up to 1.1.1.1 external/bsd/tmux/dist/format-draw.c up to 1.1.1.3 external/bsd/tmux/dist/cmd-display-menu.c up to 1.1.1.1 external/bsd/tmux/dist/compat/fparseln.c delete external/bsd/tmux/dist/TODO delete external/bsd/tmux/dist/cmd-list.c delete external/bsd/tmux/dist/cmd-set-hook.c delete external/bsd/tmux/dist/cmd-string.c delete external/bsd/tmux/dist/hooks.c delete external/bsd/tmux/dist/CHANGES up to 1.1.1.6 external/bsd/tmux/dist/COPYING up to 1.1.1.2 external/bsd/tmux/dist/Makefile.am up to 1.1.1.6 external/bsd/tmux/dist/Makefile.in up to 1.1.1.6 external/bsd/tmux/dist/README up to 1.1.1.4 external/bsd/tmux/dist/aclocal.m4 up to 1.1.1.4 external/bsd/tmux/dist/arguments.c up to 1.1.1.9 external/bsd/tmux/dist/attributes.c up to 1.1.1.9 external/bsd/tmux/dist/cfg.c up to 1.1.1.12 external/bsd/tmux/dist/client.c up to 1.10 external/bsd/tmux/dist/cmd-attach-session.c up to 1.8 external/bsd/tmux/dist/cmd-bind-key.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-break-pane.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-capture-pane.c up to 1.8 external/bsd/tmux/dist/cmd-choose-tree.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-command-prompt.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-confirm-before.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-copy-mode.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-display-message.c up to 1.10 external/bsd/tmux/dist/cmd-display-panes.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-find-window.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-find.c up to 1.1.1.7 external/bsd/tmux/dist/cmd-if-shell.c up to 1.10 external/bsd/tmux/dist/cmd-join-pane.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-kill-pane.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-kill-session.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-list-keys.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-list-sessions.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-load-buffer.c up to 1.9 external/bsd/tmux/dist/cmd-new-session.c up to 1.8 external/bsd/tmux/dist/cmd-new-window.c up to 1.8 external/bsd/tmux/dist/cmd-pipe-pane.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-queue.c up to 1.6 external/bsd/tmux/dist/cmd-refresh-client.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-resize-pane.c up to 1.1.1.12 external/bsd/tmux/dist/cmd-respawn-pane.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-respawn-window.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-rotate-window.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-run-shell.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-save-buffer.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-select-layout.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-select-pane.c up to 1.1.1.12 external/bsd/tmux/dist/cmd-select-window.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-send-keys.c up to 1.10 external/bsd/tmux/dist/cmd-set-option.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-show-messages.c up to 1.7 external/bsd/tmux/dist/cmd-show-options.c up to 1.3 external/bsd/tmux/dist/cmd-source-file.c up to 1.1.1.10 external/bsd/tmux/dist/cmd-split-window.c up to 1.9 external/bsd/tmux/dist/cmd-swap-pane.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-swap-window.c up to 1.1.1.9 external/bsd/tmux/dist/cmd-switch-client.c up to 1.1.1.11 external/bsd/tmux/dist/cmd-wait-for.c up to 1.7 external/bsd/tmux/dist/cmd.c up to 1.1.1.12 external/bsd/tmux/dist/colour.c up to 1.9 external/bsd/tmux/dist/compat.h up to 1.2 external/bsd/tmux/dist/configure up to 1.1.1.6 external/bsd/tmux/dist/configure.ac up to 1.1.1.6 external/bsd/tmux/dist/control-notify.c up to 1.1.1.8 external/bsd/tmux/dist/control.c up to 1.1.1.7 external/bsd/tmux/dist/environ.c up to 1.10 external/bsd/tmux/dist/example_tmux.conf up to 1.1.1.4 external/bsd/tmux/dist/format.c up to 1.11 external/bsd/tmux/dist/grid.c up to 1.10 external/bsd/tmux/dist/input-keys.c up to 1.10 external/bsd/tmux/dist/input.c up to 1.14 external/bsd/tmux/dist/job.c up to 1.11 external/bsd/tmux/dist/key-bindings.c up to 1.9 external/bsd/tmux/dist/key-string.c up to 1.1.1.12 external/bsd/tmux/dist/layout-custom.c up to 1.1.1.10 external/bsd/tmux/dist/layout-set.c up to 1.1.1.12 external/bsd/tmux/dist/layout.c up to 1.1.1.10 external/bsd/tmux/dist/log.c up to 1.14 external/bsd/tmux/dist/mdoc2man.awk up to 1.1.1.3 external/bsd/tmux/dist/mode-tree.c up to 1.6 external/bsd/tmux/dist/notify.c up to 1.6 external/bsd/tmux/dist/options-table.c up to 1.1.1.11 external/bsd/tmux/dist/options.c up to 1.11 external/bsd/tmux/dist/osdep-darwin.c up to 1.1.1.9 external/bsd/tmux/dist/osdep-freebsd.c up to 1.1.1.8 external/bsd/tmux/dist/osdep-netbsd.c up to 1.1.1.9 external/bsd/tmux/dist/paste.c up to 1.5 external/bsd/tmux/dist/proc.c up to 1.5 external/bsd/tmux/dist/resize.c up to 1.2 external/bsd/tmux/dist/screen-redraw.c up to 1.1.1.11 external/bsd/tmux/dist/screen-write.c up to 1.12 external/bsd/tmux/dist/screen.c up to 1.11 external/bsd/tmux/dist/server-client.c up to 1.8 external/bsd/tmux/dist/server-fn.c up to 1.12 external/bsd/tmux/dist/server.c up to 1.1.1.11 external/bsd/tmux/dist/session.c up to 1.12 external/bsd/tmux/dist/status.c up to 1.10 external/bsd/tmux/dist/style.c up to 1.4 external/bsd/tmux/dist/tmux.1 up to 1.13 external/bsd/tmux/dist/tmux.c up to 1.11 external/bsd/tmux/dist/tmux.h up to 1.16 external/bsd/tmux/dist/tty-acs.c up to 1.9 external/bsd/tmux/dist/tty-keys.c up to 1.14 external/bsd/tmux/dist/tty-term.c up to 1.13 external/bsd/tmux/dist/tty.c up to 1.7 external/bsd/tmux/dist/utf8.c up to 1.7 external/bsd/tmux/dist/window-buffer.c up to 1.6 external/bsd/tmux/dist/window-client.c up to 1.6 external/bsd/tmux/dist/window-clock.c up to 1.1.1.9 external/bsd/tmux/dist/window-copy.c up to 1.12 external/bsd/tmux/dist/window-tree.c up to 1.7 external/bsd/tmux/dist/window.c up to 1.13 external/bsd/tmux/dist/xmalloc.c up to 1.1.1.9 external/bsd/tmux/dist/xmalloc.h up to 1.5 external/bsd/tmux/usr.bin/tmux/Makefile up to 1.25 doc/3RDPARTY (manually adjusted) Update tmux to 3.1c
merge conflicts
Mostly merge changes from HEAD upto 20200411
merge conflicts
new files and bump version
introduce some common variables for use in GCC warning disables: GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
Sync with HEAD
Synch with HEAD
resolve conflicts
merge conflicts
Sync with HEAD
Add our utempter since it now everything works.
merge conflicts XXX: Does not work; core-dumps!
merge conflicts
merge conflicts.
do it like the others
Use the libc version of strtonum.c (Kamil Rytarowski)
kill another copy of strtonum
Rebase to HEAD as of a few days ago.
Rebase.
remove ssp commented out lines, they don't see to be needed anymore.
merge conflicts, fix build.
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Provide the correct feature macros, so that we get to include our own files not the compat copies.
Add utmp support.
document/fix non-literal format strings.
Disable a few stack protector warnings to fix the build with USE_SSP. This actually recovers something that was in the Makefile before but that I removed during the update thinking they were not needed any more. (I had assumed ssp was the default.) Build problem reported by bch at methodlogic.net in current-users.
Reenable all warning checks and fix fallover.
Adjust reachover Makefiles after tmux 1.5 import. The new code has quite a bit of warnings to be fixed. I did not realize until merge-resolving time that christos@ had fixed such warnings in our copy of tmux 1.4 and assumed these warnings were new and thus could just be disabled. Therefore, I'm disabling some global warning checks as a temporary measure to bring the tree back to a buildable state. I will take a look at these warnings afterwards.
- document non-literal format - no need for WARNS = 0 here
Disable SSP warnings for a few files to make this build with "USE_SSP=yes".
- use our vis (maybe I'll implement strnvis soon, but not now) - WARNS=4
Add reachover Makefiles for the build of tmux.