Commit Graph

  • 9b2f02efbd Update CHANGES file Thomas Adam 2017-04-20 10:39:16 +01:00
  • 0f25ad3ca3 There is no real need for window_printable_flags to allocate, make it return a buffer from the stack. nicm 2017-04-20 09:39:07 +00:00
  • f9c7c50a93 Update TODO. Nicholas Marriott 2017-04-20 10:20:42 +01:00
  • 0b44ad99b5 If a #() command doesn't exit, use its most recent line of output (it must be a full line). Don't let it redraw the status line more than once a second. nicm 2017-04-20 09:20:22 +00:00
  • 78d707dc83 Add to TODO. Nicholas Marriott 2017-04-20 08:53:03 +01:00
  • b087483538 load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi. nicm 2017-04-19 16:59:54 +00:00
  • 3385159c94 Merge branch 'obsd-master' Thomas Adam 2017-04-19 20:01:11 +01:00
  • f184c6f06c load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi. nicm 2017-04-19 16:59:54 +00:00
  • 5a551ac57f Merge branch 'obsd-master' Thomas Adam 2017-04-19 16:01:14 +01:00
  • 53fde21bb8 Add a suspend helper function, and do not allow detaching or suspending while already doing so. nicm 2017-04-19 14:00:28 +00:00
  • b946bf43f5 Version 2.4. Nicholas Marriott 2017-04-19 13:51:49 +01:00
  • d64a815e8d Missed freezero. Nicholas Marriott 2017-04-19 07:58:45 +01:00
  • 689f4bfac2 Style nits and a missing cast. nicm 2017-04-19 12:44:29 +00:00
  • 85af9c9c9d Merge branch 'obsd-master' Thomas Adam 2017-04-19 10:01:12 +01:00
  • 95c38087db Missed freezero. Nicholas Marriott 2017-04-19 07:58:45 +01:00
  • fa6deb5866 When the data we have buffered to write to a terminal grows beyond a reasonable amount (currently width * height * 8 bytes), discard all output to the terminal and start trying to redraw periodically instead. Continue with this until the amount of data we are trying to write falls to a low level again. nicm 2017-04-19 06:52:27 +00:00
  • a71c262d5f Merge branch 'obsd-master' Thomas Adam 2017-04-19 00:01:15 +01:00
  • f731ae4a2d Revert use of DECSLRM on iTerm2, it doesn't help as much as we throught, and there are some question marks about it's support. nicm 2017-04-18 21:41:42 +00:00
  • 8c8ce08d79 On terminals without DECSLRM, when a pane that is less than the full with of the terminal scrolls, tmux needs to redraw the entire pane. This results in a large amount of output data which can cause slow terminals to struggle, particularly when many lines are scrolled together quickly. nicm 2017-04-18 20:37:49 +00:00
  • de4f817bd6 Merge branch 'obsd-master' Thomas Adam 2017-04-18 20:01:12 +01:00
  • 623e35f594 Detect iTerm2 and use DECSLRM for it as well. nicm 2017-04-18 18:21:37 +00:00
  • a54309147d Merge branch 'obsd-master' Thomas Adam 2017-04-18 18:01:17 +01:00
  • fb3c5efa50 Add a format for number of bytes writtent to client, useful for debugging. nicm 2017-04-18 15:44:17 +00:00
  • aace1ead1e Do not check for BCE for a background colour that isn't needed, use colour 8 instead. nicm 2017-04-18 15:27:47 +00:00
  • 0aa959d7a3 Merge branch 'obsd-master' Thomas Adam 2017-04-18 16:01:18 +01:00
  • 83ff1e9bd3 Include client name in key logging. nicm 2017-04-18 13:34:04 +00:00
  • 28833efb48 Merge branch 'obsd-master' Thomas Adam 2017-04-17 10:01:13 +01:00
  • 175d1854d4 Don't bother moving the cursor for empty lines. nicm 2017-04-17 08:10:44 +00:00
  • 7461c165b5 Remove a couple of redraw flags that no longer have any effect. nicm 2017-04-17 06:40:32 +00:00
  • d912687be7 Merge branch 'obsd-master' Thomas Adam 2017-04-16 22:01:19 +01:00
  • d566c780e5 Memory leak, from David CARLIER. nicm 2017-04-16 20:33:46 +00:00
  • 54bcaab70e Use EL1 to clear lines when redrawing the leftmost pane, rather than spaces. nicm 2017-04-16 20:32:14 +00:00
  • 9583878a7b Accept NULL pointer. Nicholas Marriott 2017-04-12 07:41:11 +01:00
  • d720a1487b Update imsg*.c from OpenBSD. Nicholas Marriott 2017-04-11 11:51:25 +01:00
  • 5f662d91db Merge branch 'obsd-master' Thomas Adam 2017-04-06 11:10:17 +01:00
  • 94b71bcb64 Add Home and End for copy mode. nicm 2017-04-05 12:14:18 +00:00
  • 36882ec789 Try again to resolve problems with mistaking sessions for windows: now do not look up windows as sessions (and panes as windows) when they are qualified with a ':' or a '.'. So 'foo' as a window target will look for windows and sessions called 'foo', but ':foo' will only look for windows, and 'foo:' only for sessions. This means the common case of using an unadorned session as a window target (send -tfoo) should continue to work, but an explicit window will not get confused with a session (send -t:foo). nicm 2017-04-05 11:04:48 +00:00
  • 9b28200578 Give each client a name. This defaults to the tty name as before but falls back to an alternative if the tty name is not available. This is clearer than overloading the client ttyname member and allows us to remove the path stored in the tty struct, it should always be the same as the client. nicm 2017-04-05 10:49:46 +00:00
  • ab4a4b2ad0 cfg_file can be static. nicm 2017-04-05 10:45:39 +00:00
  • 05c97d7fe9 Merge branch 'obsd-master' Thomas Adam 2017-03-25 14:01:12 +00:00
  • b9a4beb6e7 Write raw strings in one go rather than character at a time. nicm 2017-03-24 14:45:00 +00:00
  • 2d84ee9001 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-24 10:06:22 +00:00
  • 2e5664d2df Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some bits it doesn't. Nicholas Marriott 2017-03-24 10:05:53 +00:00
  • 1384525dc1 Merge branch 'obsd-master' Thomas Adam 2017-03-24 08:01:13 +00:00
  • 591b26e46f Show count of search results in copy mode. nicm 2017-03-24 07:14:27 +00:00
  • e87d808594 Remove coverage and profile flags. Nicholas Marriott 2017-03-22 21:59:43 +00:00
  • 1cb8145dc5 Tweak some comments. Nicholas Marriott 2017-03-22 21:29:07 +00:00
  • c57039bc3d Can shorten these by using LIBOBJ. Nicholas Marriott 2017-03-22 19:22:32 +00:00
  • 9c0520f2c5 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-22 08:46:12 +00:00
  • c3dbbdaadf Bump automake and autoconf versions. Nicholas Marriott 2017-03-22 08:45:53 +00:00
  • 843e605b89 Merge branch 'obsd-master' Thomas Adam 2017-03-22 08:01:17 +00:00
  • 643813c6ed DEFS -> AM_CPPFLAGS. Nicholas Marriott 2017-03-22 07:54:30 +00:00
  • 223ed4a989 Should not need -D_POSIX_PTHREAD_SEMANTICS. Nicholas Marriott 2017-03-22 07:49:27 +00:00
  • 080080fa23 Use AC_USE_SYSTEM_EXTENSIONS and explicitly check for daemon() in headers. Nicholas Marriott 2017-03-22 07:42:45 +00:00
  • df3ab87964 Add support for the strikethrough attribute (SGR 9), using the new smxx terminfo capability. This means there are now nine attribute bits, so anything above 0xff uses an extended cell. nicm 2017-03-22 07:16:54 +00:00
  • 3cc2486106 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-21 21:38:03 +00:00
  • 57cb6ef3a2 Add to TODO. Nicholas Marriott 2017-03-21 21:28:37 +00:00
  • 02ddd4ce70 Merge branch 'obsd-master' Thomas Adam 2017-03-21 20:01:16 +00:00
  • b008a07ebb Do not test for term.h since we don't use the result. Nicholas Marriott 2017-03-21 19:41:25 +00:00
  • 04e17a7e11 Use uid_t for UID not u_int. nicm 2017-03-21 19:28:03 +00:00
  • cd7550cdf1 Some __unused. Nicholas Marriott 2017-03-21 19:27:18 +00:00
  • c2b53598ad Bad merge. Nicholas Marriott 2017-03-21 14:48:44 +00:00
  • 57b4d3d593 Merge branch 'obsd-master' Thomas Adam 2017-03-21 12:01:14 +00:00
  • cdaa758340 Fix movement after select-line, from Omar Sandoval. nicm 2017-03-21 09:51:00 +00:00
  • c916feaf29 Fix pane movement by direction (up, down, left, right) when pane-border-status is set, from KOIE Hidetaka. nicm 2017-03-21 09:49:10 +00:00
  • 31ae09efa0 Merge branch 'obsd-master' Thomas Adam 2017-03-20 13:45:18 +00:00
  • 066575fd5a Add to TODO. Nicholas Marriott 2017-03-20 11:50:54 +00:00
  • 792455ce87 Tweak test for program_invocation_short_name. Nicholas Marriott 2017-03-18 14:37:37 +00:00
  • 4eec3270ec Clarify that release instructions will install. Nicholas Marriott 2017-03-18 08:33:15 +00:00
  • 640666fb36 Fix some warnings. Nicholas Marriott 2017-03-17 14:55:33 +00:00
  • 67d2335130 Fix a couple of argument types. nicm 2017-03-17 14:51:41 +00:00
  • 481e48d119 Add h and l for collapse and expand in choose mode with vi(1) keys, from Gregory Pakosz. nicm 2017-03-17 14:41:54 +00:00
  • 1ea19245b3 Merge branch 'obsd-master' Thomas Adam 2017-03-16 22:01:18 +00:00
  • b69efbdd30 Redraw after killp -a. nicm 2017-03-16 20:05:14 +00:00
  • 0dd694f5fd Merge branch 'obsd-master' Thomas Adam 2017-03-15 16:01:13 +00:00
  • 2a9d697771 Invalidate the cursor when we think we should have wrapped. nicm 2017-03-15 15:22:14 +00:00
  • 4e809a3130 Merge branch 'obsd-master' Thomas Adam 2017-03-15 10:01:11 +00:00
  • 3c3c08b6d9 Try to avoid moving the cursor to the start of the next line when printing cells if it is already at the very end of the line and the terminal will wrap it to the next line itself, this means terminals still see it as a wrapped line for the purposes of their own mouse selection. Reported by millert@. nicm 2017-03-15 09:21:21 +00:00
  • cc6c6edb6f Merge branch 'obsd-master' Thomas Adam 2017-03-13 18:01:13 +00:00
  • 8e9b10062b Log where panes are created. nicm 2017-03-13 17:20:11 +00:00
  • 12c6c723a9 Merge branch 'obsd-master' Thomas Adam 2017-03-13 12:01:13 +00:00
  • fd65210139 Revert previous, breaks normal short targets, reported by Theo Buehler. nicm 2017-03-13 10:53:32 +00:00
  • 266e662fae Merge branch 'obsd-master' Thomas Adam 2017-03-11 16:01:12 +00:00
  • d455da45eb Fix calculation of size for full size splits. nicm 2017-03-11 15:16:35 +00:00
  • 0fe3b739a1 Only look for window and pane parts of target as a sesson and window if they look like an ID. nicm 2017-03-11 15:16:08 +00:00
  • 392253f032 Merge branch 'obsd-master' Thomas Adam 2017-03-10 00:01:16 +00:00
  • 385a361bf8 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-09 22:21:29 +00:00
  • a24cf4a5e1 Can only check for one with AC_CHECK_LIB. Nicholas Marriott 2017-03-09 22:21:12 +00:00
  • 55e73e3612 Clear the bracket paste mode when in the command prompt. nicm 2017-03-09 22:00:46 +00:00
  • c5bdae466e Merge branch 'obsd-master' Thomas Adam 2017-03-09 18:01:16 +00:00
  • bce1dee034 Move the client identify (display-panes) code into server-client.c. nicm 2017-03-09 17:06:35 +00:00
  • dbfee6a468 Move server_fill_environ into environ.c and move some other common code into it. nicm 2017-03-09 17:02:38 +00:00
  • fd96ccfd80 No extra : for errx and warnx. Nicholas Marriott 2017-03-09 16:49:37 +00:00
  • b79df1dc29 Compat code for strndup and strnlen. Nicholas Marriott 2017-03-09 15:43:08 +00:00
  • 180ebf0208 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-09 15:39:36 +00:00
  • 514a723f74 Solaris fixes, mostly from Dagobert Michelsen. Nicholas Marriott 2017-03-09 15:39:13 +00:00
  • 92434b0afd Merge branch 'obsd-master' Thomas Adam 2017-03-08 22:01:19 +00:00
  • e8f2609ca4 Skip over padding cells when moving the cursor left or right. nicm 2017-03-08 20:05:25 +00:00
  • 41a01fc629 Merge branch 'obsd-master' Thomas Adam 2017-03-08 16:01:15 +00:00
  • 41b31fe240 Handle empty options correctly. nicm 2017-03-08 14:43:40 +00:00