nicm
871b83cbab
Remove a leftover prototype and fix some spacing.
2014-04-16 21:16:19 +00:00
nicm
14a96df9ee
Remove the choose-list command to prepare for some later choose-* work.
2014-04-16 21:02:41 +00:00
nicm
e5d85c6c3c
Because we pass the file descriptor from client to server, tmux can't
...
usefully work if stdin is /dev/tty. Complain about it more clearly.
2014-04-16 08:02:31 +00:00
Nicholas Marriott
4abc8f717a
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2014-04-15 00:33:56 +01:00
Nicholas Marriott
8e1cef4040
+.
2014-04-15 00:31:45 +01:00
nicm
a47d2397df
Don't leak socketpair file descriptors if fork fails. Spotted by Balazs
...
Kezes.
2014-04-14 22:27:30 +00:00
nicm
b8bda67f30
Don't blindly increase offsets by the return value of snprintf, if there
...
wasn't enough space this will go off the end. Instead clamp to the
available space. Fixes crash reported by Julien Rebetez.
2014-04-11 19:35:54 +00:00
nicm
73c5a487c1
save-buffer needs to use O_TRUNC.
2014-04-07 10:32:16 +00:00
Thomas Adam
57c514d2f8
Remove <vis.h>; not used on Linux.
2014-04-05 12:40:19 +01:00
Thomas Adam
0c99c7dbff
Merge branch 'obsd-master'
...
Conflicts:
Makefile
tty-keys.c
2014-04-05 12:36:14 +01:00
nicm
acef311fe3
Work out mouse scroll wheel effect when the mouse is first detected and
...
store it in struct mouse_event, reduce the scroll size the 3 but allow
shift to reduce it to 1 and meta and ctrl to multiply by 3 if the
terminal supports them, also support wheel in choose mode. From Marcel
Partap.
2014-04-03 08:20:29 +00:00
nicm
8824dae6f7
A couple of trivial mouse-related style nits.
2014-04-03 08:15:17 +00:00
nicm
252a7373d6
Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also make
...
buffer_sample bigger to let it trim at window right edge.
2014-04-02 18:12:18 +00:00
nicm
82f3e0e9e6
Use the same logic for bell with and without visual-bell, from Filip
...
Moc.
2014-04-02 17:14:24 +00:00
nicm
8880bdb67c
Do not replace ## with # in status_replace1 because it'll be done later
...
by the format code.
2014-04-02 17:08:23 +00:00
Nicholas Marriott
806d5dcb17
Remove LocalWords.
2014-04-02 18:02:25 +01:00
nicm
b52b40b2bc
pane_start_path has gone away.
2014-04-02 07:55:09 +00:00
deraadt
d9960b2d4d
missed commit matching log.c
2014-04-01 05:50:30 +00:00
nicm
3c06bec03f
Don't crash with a zero-length argument to setb, from J Raynor.
2014-03-31 21:43:55 +00:00
nicm
ee19d304ff
In four byte UTF-8 sequences, only three bits of the first byte should
...
be used. Fix from Koga Osamu.
2014-03-31 21:43:35 +00:00
nicm
48478ea0a9
Remove log_debug2 as well and simplify log.c.
2014-03-31 21:42:45 +00:00
nicm
7bdb675469
GRID_DEBUG is no longer needed.
2014-03-31 21:42:27 +00:00
nicm
f155316be7
Remove unused log functions.
2014-03-31 21:42:05 +00:00
nicm
dca7d1c0fd
Make message-limit a server option.
2014-03-31 21:41:35 +00:00
nicm
1704d4a6b7
Don't segfaut when the parent of the layout cell is NULL, from Thomas Adam.
2014-03-31 21:41:07 +00:00
nicm
46593e7aa2
Add names for mouse button bits rather than using magic numbers, from
...
Marcel Partap.
2014-03-31 21:40:21 +00:00
nicm
fcdae6925a
Use hex constants rather than shifts for mouse events and flags, pointed
...
out by Marcel Partap.
2014-03-31 21:39:59 +00:00
nicm
0e4d1d8493
Add setb -a to append and a copy mode append command, from J Raynor with
...
minor changes.
2014-03-31 21:39:31 +00:00
nicm
b11de5adc7
Make session_attached a count and add session_many_attached flag.
2014-03-31 21:37:55 +00:00
nicm
9368914ee7
Add start-of-list, end-of-list, top-line and bottom-line in choice mode,
...
from madmaverick9 at roxxmail dot eu, similar diff a few days later from
Marcel Partap.
2014-03-31 21:36:43 +00:00
nicm
175f215187
Having three *clock* files is ridiculous, remove clock.c.
2014-03-31 21:34:08 +00:00
nicm
18cb135218
Don't write into buffer if no arguments, reported by Filipe Rosset.
2014-03-31 21:32:31 +00:00
nicm
04f469a324
Change secondary device attributes response to \033[>84;0;0c which is
...
unique for tmux.
2014-03-31 21:32:00 +00:00
Nicholas Marriott
26c42ad1e4
Don't crash with a zero-length argument to setb, from J Raynor.
2014-03-24 12:00:15 +00:00
Nicholas Marriott
77603c4f2d
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2014-03-08 16:28:56 +00:00
Nicholas Marriott
7019f77c05
In four byte UTF-8 sequences, only three bits of the first byte should be
...
used. Fix from Koga Osamu.
2014-03-08 16:27:45 +00:00
Nicholas Marriott
9880114aff
Make -a append to top buffer if -b is not specified.
2014-03-08 08:53:48 +00:00
Nicholas Marriott
3625bcba24
Add osdep-cgywin.c as a copy of osdep-linux.c, from J Raynor.
2014-03-08 08:44:24 +00:00
Nicholas Marriott
b1a87b2ee4
Remove log_debug2 as well and simplify log.c.
2014-03-07 16:05:29 +00:00
Nicholas Marriott
c5a30513ed
GRID_DEBUG is no longer needed.
2014-03-07 15:51:27 +00:00
Nicholas Marriott
ebe7bd7c8b
Remove unused log functions.
2014-03-07 15:49:09 +00:00
Nicholas Marriott
683ca270d4
Make message-limit a server option.
2014-03-07 15:37:01 +00:00
Nicholas Marriott
78e783e786
Don't segfaut when the parent of the layout cell is NULL, from Thomas Adam.
2014-03-06 13:01:51 +00:00
Nicholas Marriott
cbd360b7dd
Spaces to tabs.
2014-03-06 12:46:03 +00:00
Nicholas Marriott
23e944c91d
Add names for mouse button bits rather than using magic numbers, from Marcel
...
Partap.
2014-03-06 12:00:30 +00:00
Nicholas Marriott
f15fcb6a1d
Use hex constants rather than shifts for mouse events and flags, pointed out by
...
Marcel Partap.
2014-03-06 11:53:46 +00:00
Nicholas Marriott
8c0edcbfa3
Add setb -a to append and a copy mode append command, from J Raynor with minor
...
changes.
2014-03-06 11:50:07 +00:00
Nicholas Marriott
b7f6356053
Make session_attached a count and add session_many_attached flag.
2014-03-06 11:25:27 +00:00
Nicholas Marriott
b65c72c45c
Restore SunOS fix, noticed by Greg Onufer.
2014-03-05 23:28:32 +00:00
Nicholas Marriott
19c534e325
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2014-03-05 23:27:04 +00:00