Commit Graph

  • 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
  • 78ca1b0265 Always send smkx to the terminal outside, the keys we get from terminfo are the keys when it is on. nicm 2017-03-08 14:34:35 +00:00
  • 3ea36830f3 Merge branch 'obsd-master' Thomas Adam 2017-03-08 14:01:23 +00:00
  • 6b2009ad72 Add a helper function for the most common format_create/defaults/expand pattern. nicm 2017-03-08 13:36:12 +00:00
  • 5d3296c53b Merge branch 'obsd-master' Thomas Adam 2017-03-07 15:32:28 +00:00
  • 1e6e606f54 Need to flush before writing out cells we are not collecting, also add some extra logging. nicm 2017-03-07 13:48:28 +00:00
  • daac28febb If moving cells outside the current used count, update it. nicm 2017-03-07 13:47:56 +00:00
  • 69257bc0aa Merge branch 'obsd-master' Thomas Adam 2017-03-06 10:01:21 +00:00
  • 8684e60f51 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-06 09:26:16 +00:00
  • fa27cbd035 Expand on OS X faffing, based on a diff from Kurtis Rader. Nicholas Marriott 2017-03-06 09:24:41 +00:00
  • dc8fefe902 Collect strings correctly when on terminals that don't support UTF-8. nicm 2017-03-06 09:02:59 +00:00
  • fba9ebcc0c When redrawing a combined UTF-8 characters in its existing position, need to save and restore the cursor so that the next character goes into the right place. nicm 2017-03-06 09:02:36 +00:00
  • 48a3dba6b9 Merge branch 'obsd-master' Thomas Adam 2017-02-27 14:01:20 +00:00
  • 2fa16eee53 Change to vim(1) script by Eric Pruitt. Nicholas Marriott 2017-02-27 13:21:04 +00:00
  • e741a0bcd7 If splitw -b is used, insert the new pane before the current one in the pane list. This means the numbering is in order (for example for display-panes) and fixes a problem with redrawing the active pane borders. nicm 2017-02-27 13:07:57 +00:00
  • 14dc2acc25 Merge branch 'obsd-master' Thomas Adam 2017-02-22 10:01:12 +00:00
  • 0414b1fc78 Minor bits: fix an array size, add comment, make grid_cell_entry static. nicm 2017-02-22 09:01:32 +00:00
  • 4b112c19f1 Merge branch 'obsd-master' Thomas Adam 2017-02-21 18:01:12 +00:00
  • 8a0b279c31 Change pane redraw to collect cells up as well, and simplify it a bit. nicm 2017-02-21 16:25:04 +00:00
  • 6b45464120 Merge branch 'obsd-master' Thomas Adam 2017-02-21 16:01:15 +00:00
  • 27ee34e7fa Don't need is1,is2,is3 so remove them. nicm 2017-02-21 14:18:12 +00:00
  • e9819eef3c Merge branch 'obsd-master' Thomas Adam 2017-02-21 12:01:16 +00:00
  • 9e4c5133c8 Scrolling at least needs to be flushed before sending EL to the terminal (but it is simpler to flush everything, so do that instead). nicm 2017-02-21 10:30:15 +00:00
  • 11e7915195 Reflect OBSD Makefile changes in Makefile.am Thomas Adam 2017-02-21 09:24:53 +00:00
  • 0ad2beae7e Merge branch 'obsd-master' Thomas Adam 2017-02-21 09:23:50 +00:00
  • 55e76edd3c Improve NetBSD KERN_PROC2 bit, mostly from Kamil Rytarowski. Nicholas Marriott 2017-02-19 08:31:05 +00:00
  • f27e1d07fc Add SGR 28 to clear hidden flag. nicm 2017-02-19 07:55:11 +00:00
  • 203d604bf7 Add to TODO. Nicholas Marriott 2017-02-17 10:52:40 +00:00
  • ee7acde149 Update TODO. Nicholas Marriott 2017-02-16 15:06:20 +00:00
  • 82db1fa9e5 There are buggy terminals out there that do not move the cursor to 0,0 after CSR, so invalidate the cursor position rather than assuming 0,0. nicm 2017-02-16 12:56:01 +00:00
  • c948c6b697 Handle insert cells when cursor at edge of screen correctly, and do a full flush before insert. nicm 2017-02-16 12:43:08 +00:00
  • c889e11375 Merge clear-history into capture-pane. nicm 2017-02-16 12:18:38 +00:00
  • f734d81074 Merge branch 'obsd-master' Thomas Adam 2017-02-16 12:01:21 +00:00
  • 8b8d0963da Style nits. nicm 2017-02-16 10:53:25 +00:00
  • c9f2dc5ee5 Merge branch 'obsd-master' Thomas Adam 2017-02-15 12:01:15 +00:00
  • dd25a6cdc2 Do not clear to end of screen unless the pane is at the bottom. nicm 2017-02-15 11:22:13 +00:00
  • 47bc867ab9 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-02-15 10:34:38 +00:00