5893 Commits

Author SHA1 Message Date
Thomas
aa4920fea3 choose-tree: Reset top when toggling items
When choose-tree is told to expand/collapse items (especially when first
rendering collapsed to just show sessions), ensure that in addition to
setting the selected item, that the item itself appears on the bottom of the
screen, rather than off screen.

This was causing rendering glitches when a very small tmux window tried to
render a list of items in choose-tree much larger than itself, and the
selected item appeared off screen, and didn't show the selection until the
selection had wrapped around to the top of the screen.
2013-08-20 00:05:28 +01:00
Thomas Adam
5532766b19 Renumber windows: Lookup lastw via window not index
When calling 'movew -r' on a session to reorder the winlinks, ensure when
adding back in the information for the lastw stack that we look up the
winlink based on the window and not its index.

Using the index doesn't make sense here because when comparing it to the old
set, it will never match since the winlink has been renumbered.

Bug reported by Ben Boeckel.
2013-08-20 00:04:07 +01:00
Thomas
5dbf3cb036 Assign mouse x/y coords before checking them
When receiving mouse inputs, we should set the x/y coordinates earlier than
we currently do, so that we aren't off-by-one in the case when the statusbar
is at the top of the screen.
2013-08-20 00:02:38 +01:00
Nicholas Marriott
ddf929390e Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff from Hayaki
Saito.
2013-08-19 22:31:38 +01:00
Nicholas Marriott
23519fc0b4 Add automatic-rename-format option allowing automatic rename to use something
other than pane_current_command.
2013-08-19 22:16:11 +01:00
Nicholas Marriott
04288fcd4c Allow nested format expansion. 2013-08-19 22:14:55 +01:00
Nicolas Viennot
8a87170c8a Remove GSSAPI support in libssh 2013-08-16 18:31:20 -04:00
Nicolas Viennot
604c43bfab Updated to 1.8.8 1.8.8 2013-08-16 13:32:38 -04:00
Nicolas Viennot
246bec30bc Updated libssh 2013-08-16 13:32:26 -04:00
Nicolas Viennot
aab28e3796 Update version to 1.8.7 1.8.7 2013-08-13 15:43:43 -04:00
Nicolas Viennot
31326220fa [server lost] bug fix: The DNS resolver must not be freed on MacOSX 2013-08-13 15:43:43 -04:00
Nicholas Marriott
84c22d053b Add length limit operator for formats. 2013-08-03 21:06:38 +01:00
Nicholas Marriott
7581762c8e + to TODO. 2013-08-02 13:53:17 +01:00
Nicholas Marriott
7673732c0f Handle input mouse positions <33 (we already can generate them). 2013-08-02 08:51:57 +01:00
Nicholas Marriott
2dfd3fbd71 Only include actual trailing spaces not unused cells with capturep -J, from
George Nachman.
2013-08-01 23:47:45 +01:00
Nicholas Marriott
3a13e066ba Allow the file descriptor received from the client to be -1 - it can be on
Cygwin when stdin is not a terminal. Reported by A Young, SF bug 52.
2013-08-01 23:42:39 +01:00
Nicholas Marriott
bcd9bcae2a Add formats for window flags. 2013-08-01 23:41:39 +01:00
Nicholas Marriott
939f796f08 Don't leak formats if they are added multiple times. 2013-08-01 23:40:44 +01:00
Nicholas Marriott
27364345bf Don't add client formats when they are NULL. 2013-08-01 23:39:09 +01:00
Nicholas Marriott
35c19ffc28 Missing space in refresh-client synopsis. 2013-08-01 23:38:53 +01:00
Nicholas Marriott
b0b5cad496 Grouped sessions were being leaked on destroy, correctly free them. 2013-08-01 23:38:35 +01:00
Nicholas Marriott
965edf8a5c Make recalculate_sizes() handle an empty window with no active pane. This can
happen when a window is in two sessions - it isn't destroyed immediately when
the pane goes away but is left until the last session is destroyed. Fixes
problems with grouped sessions reported by Daniel Ralston.
2013-08-01 23:37:45 +01:00
Nicholas Marriott
1c271852fc Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd can be
NULL. Avoids crash when a command in a command client can't be parsed.
2013-08-01 23:35:03 +01:00
Nicolas Viennot
089a594a68 Better stack traces 2013-07-29 09:51:37 -04:00
Nicholas Marriott
7ea560261c Add destroy entry to TODO. 2013-07-27 19:57:21 +01:00
Nicolas Viennot
13d3439933 SSH key passphrase support
Closes #6
1.8.6
2013-07-23 16:55:06 -04:00
Nicolas Viennot
b97568cac2 Fix status bar timeout when the client is not yet connected to the session 2013-07-23 16:22:51 -04:00
Nicolas Viennot
ebc4e5ecdf User can specify his SSH identity with the tmate-identity global option 2013-07-22 18:05:44 -04:00
Nicolas Viennot
36bfa71b78 Support for multiple IP on DNS 2013-07-22 17:24:08 -04:00
schwarze
304ea079d2 use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ 2013-07-16 00:07:52 +00:00
Thomas Adam
c190c73240 Merge branch 'obsd-master' 2013-07-13 16:57:51 +01:00
Nicholas Marriott
e8567098a4 Add support for Cgywin, apparently it is enough just to open the tty again in
the server and fd passing is not necessary. Needs some ifdefs unfortunately but
no way around that and some of them can go next time we're willing to do a
protocol bump. Patch from J Raynor jxraynor at gmail dot com.
2013-07-12 22:21:42 +01:00
Nicholas Marriott
a9ebb62d54 Make next-word-end work properly with vi(1) keys, reported by patrick
keshishian.
2013-07-12 09:52:36 +00:00
Nicolas Viennot
2e3661a0f6 Update libssh 2013-07-11 19:40:23 -04:00
Nicolas Viennot
7be65e79db localhost localhost -> 127.0.0.1 for dev mode (ipv6) 2013-07-11 19:40:23 -04:00
Thomas Adam
bdea2f9eda Merge branch 'obsd-master' 2013-07-06 11:18:49 +01:00
Nicholas Marriott
f5b041e394 Add pane_synchronized format, from Romain Francoise. 2013-07-05 15:27:14 +00:00
Nicholas Marriott
e496a548d7 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code 2013-07-05 16:24:13 +01:00
Nicholas Marriott
3d39b18e31 Section on clipboard, from Thomas Adam. 2013-07-05 16:23:33 +01:00
Nicholas Marriott
a96a8a1aab Clarify error messages when setting options, from Thomas Adam. 2013-07-05 15:10:38 +00:00
Nicholas Marriott
064124cc5f When the session option renumber-window is used, ensure we iterate over
all sessions in that group when the winlinks are reordered, otherwise
the winlink lists are out of sync with one another. From Thomas Adam.
2013-07-05 14:52:33 +00:00
Nicholas Marriott
7af5fec038 Whitespace nits, from Ben Boeckel. 2013-07-05 14:44:06 +00:00
Nicholas Marriott
f884fff869 Implement s, S, C mode switch commands in vi(1) mode, from Ben Boeckel. 2013-07-05 14:38:23 +00:00
Nicholas Marriott
c7a121cfc0 Focus events can cause trouble if left on and they can't be turned off
during idle periods (like the other states are) because we'd miss
events. So add a server option to control them. Defaults to off.
2013-06-28 20:55:16 +01:00
Nicholas Marriott
777be296ee Always push a focus event when the application turns it on, prompted by
discussion with Hayaki Saito a while ago.
2013-06-28 20:55:16 +01:00
Nicholas Marriott
a0172a6ae5 Mark control commands specially so the client can identify them, based
on a diff from George Nachman a while back.
2013-06-28 20:55:16 +01:00
Nicolas Viennot
c9a6e2560a Synchronize the list binding pane (bind-key + ?) 1.8.5 2013-06-26 02:05:13 -04:00
Nicolas Viennot
59cab76dd8 Fix copy mode when the buffer size is smaller than 2000 2013-06-26 00:54:27 -04:00
Nicholas Marriott
1099442c0a +strings.h in compat/. 2013-06-25 09:57:49 +01:00
Nicholas Marriott
18989cd430 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code 2013-06-25 09:49:14 +01:00