Hello community, here is the log from the commit of package tmux for openSUSE:Factory checked in at 2019-08-30 14:42:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tmux (Old) and /work/SRC/openSUSE:Factory/.tmux.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tmux" Fri Aug 30 14:42:49 2019 rev:46 rq:727173 version:2.9a Changes: -------- --- /work/SRC/openSUSE:Factory/tmux/tmux.changes 2019-06-05 11:46:25.166991956 +0200 +++ /work/SRC/openSUSE:Factory/.tmux.new.7948/tmux.changes 2019-08-30 14:43:04.237410688 +0200 @@ -1,0 +2,6 @@ +Fri Aug 23 13:06:07 UTC 2019 - Paolo Stivanin <i...@paolostivanin.com> + +- Update to v2.9a + - Fix bugs in select-pane and the main-horizontal and main-vertical layouts. + +------------------------------------------------------------------- Old: ---- tmux-2.9.tar.gz New: ---- tmux-2.9a.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tmux.spec ++++++ --- /var/tmp/diff_new_pack.mrgWpZ/_old 2019-08-30 14:43:05.017410607 +0200 +++ /var/tmp/diff_new_pack.mrgWpZ/_new 2019-08-30 14:43:05.021410607 +0200 @@ -17,7 +17,7 @@ Name: tmux -Version: 2.9 +Version: 2.9a Release: 0 Summary: Terminal multiplexer License: ISC AND BSD-3-Clause AND BSD-2-Clause ++++++ tmux-2.9.tar.gz -> tmux-2.9a.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tmux-2.9/CHANGES new/tmux-2.9a/CHANGES --- old/tmux-2.9/CHANGES 2019-04-24 23:34:56.000000000 +0200 +++ new/tmux-2.9a/CHANGES 2019-05-01 08:16:17.000000000 +0200 @@ -1,3 +1,7 @@ +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 * Attempt to preserve horizontal cursor position as well as vertical with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tmux-2.9/cmd-select-pane.c new/tmux-2.9a/cmd-select-pane.c --- old/tmux-2.9/cmd-select-pane.c 2019-04-24 23:34:48.000000000 +0200 +++ new/tmux-2.9a/cmd-select-pane.c 2019-05-01 08:08:04.000000000 +0200 @@ -66,7 +66,7 @@ */ TAILQ_FOREACH(c, &clients, entry) { - if (c->session == NULL) + if (c->session == NULL || (c->flags & CLIENT_CONTROL)) continue; if (c->session->curw->window == w && tty_window_bigger(&c->tty)) server_redraw_client(c); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tmux-2.9/configure new/tmux-2.9a/configure --- old/tmux-2.9/configure 2019-04-24 23:36:55.000000000 +0200 +++ new/tmux-2.9a/configure 2019-05-01 08:12:24.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for tmux 2.9. +# Generated by GNU Autoconf 2.69 for tmux 2.9a. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='tmux' PACKAGE_TARNAME='tmux' -PACKAGE_VERSION='2.9' -PACKAGE_STRING='tmux 2.9' +PACKAGE_VERSION='2.9a' +PACKAGE_STRING='tmux 2.9a' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1329,7 +1329,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures tmux 2.9 to adapt to many kinds of systems. +\`configure' configures tmux 2.9a to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1399,7 +1399,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of tmux 2.9:";; + short | recursive ) echo "Configuration of tmux 2.9a:";; esac cat <<\_ACEOF @@ -1514,7 +1514,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -tmux configure 2.9 +tmux configure 2.9a generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1925,7 +1925,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by tmux $as_me 2.9, which was +It was created by tmux $as_me 2.9a, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2791,7 +2791,7 @@ # Define the identity of the package. PACKAGE='tmux' - VERSION='2.9' + VERSION='2.9a' cat >>confdefs.h <<_ACEOF @@ -7917,7 +7917,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by tmux $as_me 2.9, which was +This file was extended by tmux $as_me 2.9a, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7974,7 +7974,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -tmux config.status 2.9 +tmux config.status 2.9a configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tmux-2.9/configure.ac new/tmux-2.9a/configure.ac --- old/tmux-2.9/configure.ac 2019-04-24 23:35:12.000000000 +0200 +++ new/tmux-2.9a/configure.ac 2019-05-01 08:08:33.000000000 +0200 @@ -1,6 +1,6 @@ # configure.ac -AC_INIT([tmux], 2.9) +AC_INIT([tmux], 2.9a) AC_PREREQ([2.60]) AC_CONFIG_AUX_DIR(etc) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tmux-2.9/layout-set.c new/tmux-2.9a/layout-set.c --- old/tmux-2.9/layout-set.c 2019-04-24 23:34:56.000000000 +0200 +++ new/tmux-2.9a/layout-set.c 2019-05-01 08:07:51.000000000 +0200 @@ -213,7 +213,7 @@ mainh = w->sy - otherh; } - /* Work out what height is needed. */ + /* Work out what width is needed. */ sx = (n * (PANE_MINIMUM + 1)) - 1; if (sx < w->sx) sx = w->sx; @@ -221,7 +221,7 @@ /* Free old tree and create a new root. */ layout_free(w); lc = w->layout_root = layout_create_cell(NULL); - layout_set_size(lc, sx, mainh + otherh + 1, 0, 0); + layout_set_size(lc, sx, mainh + otherh, 0, 0); layout_make_node(lc, LAYOUT_TOPBOTTOM); /* Create the main pane. */ @@ -233,19 +233,25 @@ /* Create the other pane. */ lcother = layout_create_cell(lc); layout_set_size(lcother, sx, otherh, 0, 0); - layout_make_node(lcother, LAYOUT_LEFTRIGHT); - TAILQ_INSERT_TAIL(&lc->cells, lcother, entry); + if (n == 1) { + wp = TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry); + layout_make_leaf(lcother, wp); + TAILQ_INSERT_TAIL(&lc->cells, lcother, entry); + } else { + layout_make_node(lcother, LAYOUT_LEFTRIGHT); + TAILQ_INSERT_TAIL(&lc->cells, lcother, entry); - /* Add the remaining panes as children. */ - TAILQ_FOREACH(wp, &w->panes, entry) { - if (wp == TAILQ_FIRST(&w->panes)) - continue; - lcchild = layout_create_cell(lc); - layout_set_size(lcchild, PANE_MINIMUM, otherh, 0, 0); - layout_make_leaf(lcchild, wp); - TAILQ_INSERT_TAIL(&lcother->cells, lcchild, entry); + /* Add the remaining panes as children. */ + TAILQ_FOREACH(wp, &w->panes, entry) { + if (wp == TAILQ_FIRST(&w->panes)) + continue; + lcchild = layout_create_cell(lcother); + layout_set_size(lcchild, PANE_MINIMUM, otherh, 0, 0); + layout_make_leaf(lcchild, wp); + TAILQ_INSERT_TAIL(&lcother->cells, lcchild, entry); + } + layout_spread_cell(w, lcother); } - layout_spread_cell(w, lcother); /* Fix cell offsets. */ layout_fix_offsets(lc); @@ -299,7 +305,7 @@ /* Free old tree and create a new root. */ layout_free(w); lc = w->layout_root = layout_create_cell(NULL); - layout_set_size(lc, mainw + otherw + 1, sy, 0, 0); + layout_set_size(lc, mainw + otherw, sy, 0, 0); layout_make_node(lc, LAYOUT_LEFTRIGHT); /* Create the main pane. */ @@ -311,19 +317,25 @@ /* Create the other pane. */ lcother = layout_create_cell(lc); layout_set_size(lcother, otherw, sy, 0, 0); - layout_make_node(lcother, LAYOUT_TOPBOTTOM); - TAILQ_INSERT_TAIL(&lc->cells, lcother, entry); + if (n == 1) { + wp = TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry); + layout_make_leaf(lcother, wp); + TAILQ_INSERT_TAIL(&lc->cells, lcother, entry); + } else { + layout_make_node(lcother, LAYOUT_TOPBOTTOM); + TAILQ_INSERT_TAIL(&lc->cells, lcother, entry); - /* Add the remaining panes as children. */ - TAILQ_FOREACH(wp, &w->panes, entry) { - if (wp == TAILQ_FIRST(&w->panes)) - continue; - lcchild = layout_create_cell(lc); - layout_set_size(lcchild, otherw, PANE_MINIMUM, 0, 0); - layout_make_leaf(lcchild, wp); - TAILQ_INSERT_TAIL(&lcother->cells, lcchild, entry); + /* Add the remaining panes as children. */ + TAILQ_FOREACH(wp, &w->panes, entry) { + if (wp == TAILQ_FIRST(&w->panes)) + continue; + lcchild = layout_create_cell(lcother); + layout_set_size(lcchild, otherw, PANE_MINIMUM, 0, 0); + layout_make_leaf(lcchild, wp); + TAILQ_INSERT_TAIL(&lcother->cells, lcchild, entry); + } + layout_spread_cell(w, lcother); } - layout_spread_cell(w, lcother); /* Fix cell offsets. */ layout_fix_offsets(lc);