nicm | 1 Apr 2012 10:39
Picon

SF.net SVN: tmux:[2761] trunk/TODO

Revision: 2761
          http://tmux.svn.sourceforge.net/tmux/?rev=2761&view=rev
Author:   nicm
Date:     2012-04-01 08:39:19 +0000 (Sun, 01 Apr 2012)
Log Message:
-----------
+.

Modified Paths:
--------------
    trunk/TODO

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2012-03-29 21:10:41 UTC (rev 2760)
+++ trunk/TODO	2012-04-01 08:39:19 UTC (rev 2761)
 <at>  <at>  -146,6 +146,7  <at>  <at> 
 - history of layouts and undo/redo flags to selectl
 - way to tag a layout as a number/name
 - optimize pane redraws, 20120318184853.GK10965 <at> yelena.nicm.ath.cx
+- support multibyte key strings
 * We need a tmux terminfo entry to document the extensions we are using in
   upstream terminfo. Must NOT change (only add or remove) anything from
   TERM=screen so we can fallback!

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
This SF email is sponsosred by:
(Continue reading)

tcunha | 10 Apr 2012 11:44
Picon

SF.net SVN: tmux:[2762] trunk/cmd-find-window.c

Revision: 2762
          http://tmux.svn.sourceforge.net/tmux/?rev=2762&view=rev
Author:   tcunha
Date:     2012-04-10 09:44:58 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1081:

Only find each window once no matter how many panes, from Jonathan
Daugherty.

Modified Paths:
--------------
    trunk/cmd-find-window.c

Modified: trunk/cmd-find-window.c
===================================================================
--- trunk/cmd-find-window.c	2012-04-01 08:39:19 UTC (rev 2761)
+++ trunk/cmd-find-window.c	2012-04-10 09:44:58 UTC (rev 2762)
 <at>  <at>  -142,6 +142,7  <at>  <at> 

 			ARRAY_ADD(&list_idx, wm->idx);
 			ARRAY_ADD(&list_ctx, sctx);
+			break;
 		}
 	}
 	xfree(searchstr);

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.
(Continue reading)

tcunha | 10 Apr 2012 11:45
Picon

SF.net SVN: tmux:[2763] trunk/window-copy.c

Revision: 2763
          http://tmux.svn.sourceforge.net/tmux/?rev=2763&view=rev
Author:   tcunha
Date:     2012-04-10 09:45:41 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1082:

Only exit mouse mode on scroll wheel when actually reaching the end of
the history, from James Nylen.

Modified Paths:
--------------
    trunk/window-copy.c

Modified: trunk/window-copy.c
===================================================================
--- trunk/window-copy.c	2012-04-10 09:44:58 UTC (rev 2762)
+++ trunk/window-copy.c	2012-04-10 09:45:41 UTC (rev 2763)
 <at>  <at>  -822,7 +822,7  <at>  <at> 
 {
 	struct window_copy_mode_data	*data = wp->modedata;
 	struct screen			*s = &data->screen;
-	u_int				 i, old_cy;
+	u_int				 i;

 	if (m->x >= screen_size_x(s))
 		return;
 <at>  <at>  -835,10 +835,9  <at>  <at> 
 			for (i = 0; i < 5; i++)
(Continue reading)

tcunha | 10 Apr 2012 11:49
Picon

SF.net SVN: tmux:[2764] trunk

Revision: 2764
          http://tmux.svn.sourceforge.net/tmux/?rev=2764&view=rev
Author:   tcunha
Date:     2012-04-10 09:49:04 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1083:

Add pane_current_path format, suggested by Mikolaj Kucharski.

Modified Paths:
--------------
    trunk/format.c
    trunk/tmux.1

Modified: trunk/format.c
===================================================================
--- trunk/format.c	2012-04-10 09:45:41 UTC (rev 2763)
+++ trunk/format.c	2012-04-10 09:49:04 UTC (rev 2764)
 <at>  <at>  -389,6 +389,7  <at>  <at> 
 		format_add(ft, "pane_start_command", "%s", wp->cmd);
 	if (wp->cwd != NULL)
 		format_add(ft, "pane_start_path", "%s", wp->cwd);
+	format_add(ft, "pane_current_path", "%s", get_proc_cwd(wp->pid));
 	format_add(ft, "pane_pid", "%ld", (long) wp->pid);
 	format_add(ft, "pane_tty", "%s", wp->tty);
 }

Modified: trunk/tmux.1
===================================================================
(Continue reading)

tcunha | 10 Apr 2012 11:50
Picon

SF.net SVN: tmux:[2765] trunk/format.c

Revision: 2765
          http://tmux.svn.sourceforge.net/tmux/?rev=2765&view=rev
Author:   tcunha
Date:     2012-04-10 09:50:32 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Adjust OpenBSD patchset 1083 to the portable version.

Modified Paths:
--------------
    trunk/format.c

Modified: trunk/format.c
===================================================================
--- trunk/format.c	2012-04-10 09:49:04 UTC (rev 2764)
+++ trunk/format.c	2012-04-10 09:50:32 UTC (rev 2765)
 <at>  <at>  -389,7 +389,7  <at>  <at> 
 		format_add(ft, "pane_start_command", "%s", wp->cmd);
 	if (wp->cwd != NULL)
 		format_add(ft, "pane_start_path", "%s", wp->cwd);
-	format_add(ft, "pane_current_path", "%s", get_proc_cwd(wp->pid));
+	format_add(ft, "pane_current_path", "%s", osdep_get_cwd(wp->pid));
 	format_add(ft, "pane_pid", "%ld", (long) wp->pid);
 	format_add(ft, "pane_tty", "%s", wp->tty);
 }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
(Continue reading)

tcunha | 10 Apr 2012 11:52
Picon

SF.net SVN: tmux:[2766] trunk

Revision: 2766
          http://tmux.svn.sourceforge.net/tmux/?rev=2766&view=rev
Author:   tcunha
Date:     2012-04-10 09:52:45 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1084:

Add a layout history which can be stepped through with select-layout -u
and -U commands (bound to 'u' and 'U' by default).

Modified Paths:
--------------
    trunk/cmd-resize-pane.c
    trunk/cmd-select-layout.c
    trunk/key-bindings.c
    trunk/layout.c
    trunk/options-table.c
    trunk/tmux.1
    trunk/tmux.h
    trunk/window.c

Modified: trunk/cmd-resize-pane.c
===================================================================
--- trunk/cmd-resize-pane.c	2012-04-10 09:50:32 UTC (rev 2765)
+++ trunk/cmd-resize-pane.c	2012-04-10 09:52:45 UTC (rev 2766)
 <at>  <at>  -103,6 +103,7  <at>  <at> 
 		}
 	}

(Continue reading)

tcunha | 10 Apr 2012 11:53
Picon

SF.net SVN: tmux:[2767] trunk/layout.c

Revision: 2767
          http://tmux.svn.sourceforge.net/tmux/?rev=2767&view=rev
Author:   tcunha
Date:     2012-04-10 09:53:14 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1085:

Fix option name.

Modified Paths:
--------------
    trunk/layout.c

Modified: trunk/layout.c
===================================================================
--- trunk/layout.c	2012-04-10 09:52:45 UTC (rev 2766)
+++ trunk/layout.c	2012-04-10 09:53:14 UTC (rev 2767)
 <at>  <at>  -772,7 +772,7  <at>  <at> 
 	w->layout_list_size++;
 	w->layout_list_last = ll;

-	limit = options_get_number(&w->options, "layout-history");
+	limit = options_get_number(&w->options, "layout-history-limit");
 	while (w->layout_list_size > limit) {
 		ll = TAILQ_LAST(&w->layout_list, last_layouts);
 		if (ll == w->layout_list_last)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.
(Continue reading)

tcunha | 10 Apr 2012 11:53
Picon

SF.net SVN: tmux:[2768] trunk/cmd-select-layout.c

Revision: 2768
          http://tmux.svn.sourceforge.net/tmux/?rev=2768&view=rev
Author:   tcunha
Date:     2012-04-10 09:53:52 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1086:

Turn some errors down to info.

Modified Paths:
--------------
    trunk/cmd-select-layout.c

Modified: trunk/cmd-select-layout.c
===================================================================
--- trunk/cmd-select-layout.c	2012-04-10 09:53:14 UTC (rev 2767)
+++ trunk/cmd-select-layout.c	2012-04-10 09:53:52 UTC (rev 2768)
 <at>  <at>  -113,13 +113,13  <at>  <at> 
 	layout_list_add(w);
 	if (args_has(self->args, 'U')) {
 		if ((layoutname = layout_list_redo(w)) == NULL) {
-			ctx->error(ctx, "no more layout history");
+			ctx->info(ctx, "no more layout history");
 			return (-1);
 		}
 		goto set_layout;
 	} else if (args_has(self->args, 'u')) {
 		if ((layoutname = layout_list_undo(w)) == NULL) {
-			ctx->error(ctx, "no more layout history");
(Continue reading)

tcunha | 10 Apr 2012 11:54
Picon

SF.net SVN: tmux:[2769] trunk

Revision: 2769
          http://tmux.svn.sourceforge.net/tmux/?rev=2769&view=rev
Author:   tcunha
Date:     2012-04-10 09:54:29 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1087:

Minor style nits - return ().

Modified Paths:
--------------
    trunk/cmd-find-window.c
    trunk/cmd-join-pane.c
    trunk/window-copy.c
    trunk/window.c

Modified: trunk/cmd-find-window.c
===================================================================
--- trunk/cmd-find-window.c	2012-04-10 09:53:52 UTC (rev 2768)
+++ trunk/cmd-find-window.c	2012-04-10 09:54:29 UTC (rev 2769)
 <at>  <at>  -75,7 +75,7  <at>  <at> 
 	if (match_flags == 0)
 		match_flags = CMD_FIND_WINDOW_ALL;

-	return match_flags;
+	return (match_flags);
 }

 int
(Continue reading)

tcunha | 10 Apr 2012 11:55
Picon

SF.net SVN: tmux:[2770] trunk/input-keys.c

Revision: 2770
          http://tmux.svn.sourceforge.net/tmux/?rev=2770&view=rev
Author:   tcunha
Date:     2012-04-10 09:54:59 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1088:

Simplify mouse input function.

Modified Paths:
--------------
    trunk/input-keys.c

Modified: trunk/input-keys.c
===================================================================
--- trunk/input-keys.c	2012-04-10 09:54:29 UTC (rev 2769)
+++ trunk/input-keys.c	2012-04-10 09:54:59 UTC (rev 2770)
 <at>  <at>  -203,7 +203,6  <at>  <at> 
 {
 	char	buf[10];
 	size_t	len;
-	int	value;

 	if (wp->screen->mode & ALL_MOUSE_MODES) {
 		if (wp->screen->mode & MODE_MOUSE_UTF8) {
 <at>  <at>  -220,13 +219,15  <at>  <at> 
 			buf[len++] = m->y + 33;
 		}
 		bufferevent_write(wp->event, buf, len);
(Continue reading)


Gmane