Commit Graph

5891 Commits

Author SHA1 Message Date
Nicolas Viennot
27169b7c07 Add missing incldues for FreeBSD 2016-06-05 12:54:25 -04:00
Nicolas Viennot
fe81322cc4 Keep alive the socket to make reconnections work properly 2016-04-21 16:20:27 -04:00
Nicolas Viennot
d433fe6956 nits 2016-03-29 01:42:07 -04:00
Nicolas Viennot
e840ff7582 Version Bump 2016-03-28 23:30:07 -04:00
Nicolas Viennot
c9813a8c42 Provide better reconnection error message 2016-03-28 23:30:07 -04:00
Nicolas Viennot
46a29037d4 strip static builds
Fixes #79
2016-03-28 23:30:07 -04:00
Nicolas Viennot
d41b06dea2 sync tmate-protocol.h 2016-03-28 16:28:11 -04:00
Nicolas Viennot
71d31e60e6 Be less strict over msgpack message size 2016-03-28 16:27:09 -04:00
Nicolas Viennot
02694d2a96 Send commands with their arguments in an array 2016-03-28 02:18:09 -04:00
Nicolas Viennot
c88870b0a3 Revert "Escape sent commands"
This reverts commit 37c71cfe15.
2016-03-28 01:22:48 -04:00
Nicolas Viennot
78305a7077 Cleanup socket 2016-03-27 13:09:04 -04:00
Nicolas Viennot
1ade196fb2 Default tmate messages to 15s 2016-03-27 13:09:04 -04:00
Nicolas Viennot
9b5bb8390c better error message 2016-03-27 02:29:43 -04:00
Nicolas Viennot
b88f66192f Merge remote-tracking branch 'tmux/master' 2016-03-27 02:15:29 -04:00
Nicolas Viennot
37c71cfe15 Escape sent commands 2016-03-27 02:06:56 -04:00
Nicolas Viennot
474487c33e Replay commands 2016-03-27 01:10:23 -04:00
Nicolas Viennot
a7c5507464 snapshot 2016-03-27 00:30:20 -04:00
Nicolas Viennot
cdfb6d7ef1 Reconnect wip 2016-03-26 19:00:16 -04:00
Nicholas Marriott
5658b628b9 Look for utempter_add_record to be sure we have the new utempter API, the old
utempter API was also using utempter.h.
2016-03-26 20:17:17 +00:00
Nicholas Marriott
b429a00cce Add to TODO. 2016-03-20 08:14:14 +00:00
Thomas Adam
410ccce4a3 Merge branch 'obsd-master' 2016-03-18 16:01:15 +00:00
nicm
312a7a1e62 Make scrolling behaviour more sensible and maintain cursor position, as
if the same had been done line-by-line. From Michal Mazurek.
2016-03-18 14:27:24 +00:00
Thomas Adam
ed598e9fe1 Merge branch 'obsd-master' 2016-03-18 08:01:18 +00:00
nicm
fa97b0a95b Instead of reusing MouseUp at the finish of a drag, add a new key
MouseDragEnd. It can be useful to bind them separately in copy mode.
2016-03-18 07:28:27 +00:00
Nicholas Marriott
3dfc79fb09 Tweak a comment. 2016-03-17 15:11:40 +00:00
Nicolas Viennot
cc20e826e0 Add webhook options 2016-03-11 14:11:48 -05:00
Nicolas Viennot
9742aeaf9b Send a ready packet when initialization is done 2016-03-11 14:11:28 -05:00
Nicolas Viennot
0d4aaa6def Fix compile warning 2016-03-11 13:28:49 -05:00
Nicolas Viennot
87794a3adb Merge remote-tracking branch 'tmux/master' 2016-03-11 13:26:22 -05:00
Thomas Adam
5fc5c03dad Merge branch 'obsd-master'
Conflicts:
	tmux.c
2016-03-05 17:58:12 +00:00
nicm
0d6de44a37 If setlocale("en_US.UTF-8") succeeds, then don't do the check for UTF-8
locale since if it isn't UTF-8 the system is broken anyway. If it fails,
try "" and check for UTF-8 with nl_langinfo(CODESET) rather than
wcwidth(). Based on a diff from schwarze@, nl_langinfo also suggested by
stsp@.
2016-03-05 16:08:38 +00:00
Thomas Adam
81f78f0da7 Merge branch 'obsd-master' 2016-03-05 10:01:09 +00:00
nicm
c38e0a4bbc Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel. 2016-03-05 07:47:52 +00:00
nicm
1f0b317088 Although we always have en_US.UTF-8 on OpenBSD, some platforms do not,
so fall back to setlocale(LC_CTYPE, ""). tmux requires a UTF-8 locale,
so check with wcwidth() on a UTF-8 character after setlocale().
2016-03-05 07:44:31 +00:00
Thomas Adam
6c35d17800 Merge branch 'obsd-master' 2016-03-03 16:01:11 +00:00
nicm
df0983af39 show-* and set-* need to handle a missing target. 2016-03-03 14:15:22 +00:00
nicm
fa81d838da Accept clients as sessions in cmd_find_get_session. 2016-03-03 14:14:46 +00:00
Thomas Adam
45d62482da Merge branch 'obsd-master' 2016-03-03 14:01:10 +00:00
nicm
bcb41a09b3 RGB colours shouldn't be mixed up with aixterm colours, return before
that happens when working out if they are supported.
2016-03-03 12:58:15 +00:00
Nicholas Marriott
9e2fbb31ec +wchar.h 2016-03-02 18:19:13 +00:00
Nicholas Marriott
985504ff2c Merge branch 'next' 2016-03-02 18:16:51 +00:00
Thomas Adam
e304673c65 Merge branch 'obsd-master'
Conflicts:
	utf8.c
2016-03-02 18:10:51 +00:00
nicm
b8a102d26f Handle wcwidth() and mbtowc() failures in better style and drop
characters where we can't find the width (wcwidth() fails) on input, the
same as we drop invalid UTF-8. Suggested by schwarze@.
2016-03-02 15:36:02 +00:00
nicm
d980d965dd Limit x, y and b to 0x7ff for UTF-8 mouse input, suggested by schwarze@. 2016-03-02 15:33:36 +00:00
nicm
f0239a8fe9 Remove some more unused variables, and use RB_FOREACH_SAFE in
key_bindings_unref_table.
2016-03-01 12:06:07 +00:00
nicm
2e4503ad4e Redraw status on mode entry and exit. 2016-03-01 12:05:15 +00:00
nicm
54ea8f74ae When a mouse drag is finished, fire a MouseUp key press, instead of
doing the drag end in code. From Stephen Coakley.
2016-03-01 12:04:43 +00:00
nicm
e647eeb0c9 Remove unused variables, from Michal Mazurek. 2016-03-01 12:02:54 +00:00
nicm
26945d7956 Use system wcwidth() instead of carrying around UTF-8 width tables. 2016-03-01 12:02:08 +00:00
nicm
c7851e0ee7 Fix break-pane synopsis and some other tmux.1 bits. 2016-03-01 11:58:45 +00:00