Commit Graph

  • c68ceca8cd Clear shared state if not filling it in. nicm 2017-04-21 20:34:05 +00:00
  • efaf4c16cf Make the cmd_find_* functions more obvious when looking for a client, rather than having it inside other functions. Should be no change to the way targets are resolved just yet. nicm 2017-04-21 20:26:34 +00:00
  • 2ad09ab5af Key needs to be initialized to zero now it has flags in it. nicm 2017-04-21 19:33:07 +00:00
  • 1f209ed030 Merge branch 'obsd-master' Thomas Adam 2017-04-21 20:01:18 +01:00
  • 3c876235cc Style nits and an unused struct. nicm 2017-04-21 18:18:17 +00:00
  • afa4e3ed9c Add cmd_find_from_winlink_pane and use it in a couple of places, and make functions that can't fail void. nicm 2017-04-21 17:22:20 +00:00
  • c376c5a817 Merge branch 'obsd-master' Thomas Adam 2017-04-21 18:01:11 +01:00
  • 92a77e7654 It is annoying that the copy mode key table (or any other key table) will suppress root key table bindings. So change to always check the root table if no binding is found in the current table (whether it be the prefix table from pressing the prefix or the copy mode table from a pane). nicm 2017-04-21 16:04:18 +00:00
  • 4612419c14 Merge branch 'obsd-master' Thomas Adam 2017-04-21 16:01:18 +01:00
  • c799425069 More unnecessary arguments now winlink points back to session. nicm 2017-04-21 14:09:44 +00:00
  • 428be9803c History needs to be loaded after config parsing is done - now that commands are queued, that's in cfg_done not after start_cfg finishes. nicm 2017-04-21 14:04:54 +00:00
  • bba588752f Store state shared between multiple commands in the queue in a shared structure. nicm 2017-04-21 14:01:19 +00:00
  • 311dad8c28 Do not run the config file in the context of the first client, instead use no client like we did before. This means commands like new-session won't try to attach if they are in the config file. nicm 2017-04-21 13:15:43 +00:00
  • 93062ad099 Fix after merge Thomas Adam 2017-04-21 09:29:22 +01:00
  • 22e594fcea Merge branch 'obsd-master' Thomas Adam 2017-04-21 09:25:07 +01:00
  • 02580ac134 Typo; Daniel Hahler. Nicholas Marriott 2017-04-21 06:49:38 +01:00
  • b723f50e65 Do not need getopt.h for getopt, from Eric N Vander Weele. Nicholas Marriott 2017-04-20 20:35:11 +01:00
  • 4a2e75fc8c Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-04-20 19:09:36 +01:00
  • 9420758127 getptmfd() and fdforkpty() compat. Nicholas Marriott 2017-04-20 19:09:07 +01:00
  • 87997efe8d Use fdforkpty() instead of our own unwrapped versions. nicm 2017-04-20 17:49:26 +00:00
  • 69e0f28333 Merge branch 'obsd-master' Thomas Adam 2017-04-20 18:01:12 +01:00
  • 51a0dbb172 Only set up a current target for mouse key bindings. Fixes: nicm 2017-04-20 15:16:20 +00:00
  • 7934e7a6b5 Notes on target resolution. Nicholas Marriott 2017-04-20 15:40:28 +01:00
  • aebbb15fe2 Turn on debug if $VERSION is master rather than commenting and uncommenting. Nicholas Marriott 2017-04-20 12:06:39 +01:00
  • 48371216df Merge branch 'obsd-master' Thomas Adam 2017-04-20 12:01:14 +01:00
  • e30f9dc1fa Merge tag '2.4' Nicholas Marriott 2017-04-20 11:59:07 +01:00
  • f21cb71fbe Enter date of release. 2.4 Nicholas Marriott 2017-04-20 11:52:16 +01:00
  • 990218739a Missing :. Nicholas Marriott 2017-04-20 11:03:23 +01:00
  • e7c2f53f2a Changes to CHANGES. Nicholas Marriott 2017-04-20 11:00:15 +01:00
  • 21993105e5 Now that struct winlink has a session pointer, can remove some arguments. nicm 2017-04-20 09:43:45 +00:00
  • 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