Commit Graph

  • 66a2720c56 Log the whole new input buffer once rather than each byte. nicm 2015-09-01 19:16:00 +00:00
  • 364a885b0c Pass logging through vis(3). nicm 2015-09-01 19:14:43 +00:00
  • fa3d4fab85 Fix a spelling error, sesson -> session. nicm 2015-09-01 18:50:16 +00:00
  • 69a2d46ee5 Remove dead_clients which is no longer used. nicm 2015-09-01 11:13:39 +00:00
  • 952ba84611 Work out config file when needed not at startup. nicm 2015-09-01 10:10:59 +00:00
  • 83157c02d6 Move initial conf load into cfg.c. nicm 2015-09-01 10:01:56 +00:00
  • 2a836bc306 All the cmd_*_entry declarations do not need to be in tmux.h. nicm 2015-09-01 09:48:34 +00:00
  • 2c6ea705fd Bring back pane_current_path. Nicholas Marriott 2015-08-31 19:57:37 +01:00
  • 6a539c00df Path from $TMUX does not need to be global anymore. nicm 2015-08-30 22:56:36 +00:00
  • c6e9160c67 Login shell can be a client flag, and move the exec code into client.c. nicm 2015-08-30 22:40:25 +00:00
  • dd92b6e83d Event base does not need to be global. nicm 2015-08-30 22:19:07 +00:00
  • 29f2120e5b Linux: get_proc_name() -> osdep_get_name() Thomas Adam 2015-08-30 21:47:50 +01:00
  • cb89f2f2a1 Merge branch 'obsd-master' Thomas Adam 2015-08-30 21:44:01 +01:00
  • b87dc608d9 Some style nits and dead assignments. nicm 2015-08-30 15:43:40 +00:00
  • 5047670693 Remove some old prototypes and unused functions. nicm 2015-08-29 23:55:55 +00:00
  • 52bbac506c struct args_entry can go into arguments.c. nicm 2015-08-29 23:19:52 +00:00
  • 373ef850e0 paste_send_pane can be merged into cmd-paste-buffer.c now. nicm 2015-08-29 09:36:46 +00:00
  • b569585000 Move struct paste_buffer out of tmux.h. nicm 2015-08-29 09:25:00 +00:00
  • b9f0571780 We already loop over the windows in server_client_loop, so don't do it again in server_loop just to check names. nicm 2015-08-29 08:54:41 +00:00
  • b5aaefc727 Move alerts onto events rather than checking every loop. nicm 2015-08-29 08:30:54 +00:00
  • 5267ce8ff4 Treat entering or leaving a mode as pane changed. nicm 2015-08-29 00:39:18 +00:00
  • b7861f34ba Better take on reducing the name timer. Again check for name changes in the main loop after events that may have changed the pane, but do so at most once every 500 millis. If the pane changed too soon, use a timer to ensure that a check happens later. nicm 2015-08-29 00:29:15 +00:00
  • 73bd816076 Microseconds in log time. nicm 2015-08-29 00:24:44 +00:00
  • d9b3133321 Only set default title to hostname on screens that are being used for a window pane, no point in calling gethostname() for temporary screens. nicm 2015-08-28 17:11:12 +00:00
  • 5f122af556 Make a few more expensive (ish) formats functions instead of inline. nicm 2015-08-28 17:01:42 +00:00
  • 983ebb2689 Allow formats to be specified as functions (in the code) so they are only evaluated on demand rather than each time a format tree is constructed. Use this for expensive formats like pane_current_command. nicm 2015-08-28 16:46:40 +00:00
  • 55b8d74561 Revert previous; we do need a timer, until I have a better idea. We can't do the name check every loop, because that is too expensive, and we can't make sure it only happens infrequently because we have no idea when the next change will happen. nicm 2015-08-28 16:10:46 +00:00
  • e2100c5f5f We now only checking for name changes when the active pane has changed, but that can only happen when we have already been woken up by a read event, so there is no need for a timer, we can just check the changed flag on the end of that read event (we already loop over the windows to check for bells etc anyway). nicm 2015-08-28 15:51:48 +00:00
  • 486421ceff Merge branch 'obsd-master' Thomas Adam 2015-08-28 16:01:09 +01:00
  • b0940bdf54 Check changed flag after restarting timer. nicm 2015-08-28 13:26:41 +00:00
  • f957db81d9 Remove unused prototypes. nicm 2015-08-28 13:21:25 +00:00
  • ed2a486f46 Don't leak name when freeing session, from Kuang-che Wu. nicm 2015-08-28 13:16:03 +00:00
  • f6a0f8730e Per-session timers for locking, and remove the global one-second timer. nicm 2015-08-28 13:12:20 +00:00
  • 84eabb2658 Merge branch 'obsd-master' Thomas Adam 2015-08-28 14:01:11 +01:00
  • 57cc4d45d5 Make session_update_activity more useful and use it in more places. nicm 2015-08-28 13:01:03 +00:00
  • 675def0396 Remove the lock-server option which is a bit redundant, it isn't that different without it. nicm 2015-08-28 12:31:55 +00:00
  • 6419f66523 Give clock mode its own timer. nicm 2015-08-28 12:25:42 +00:00
  • 75d10058a4 Run status update on a per-client timer at status-interval. nicm 2015-08-28 12:16:28 +00:00
  • 18d4802a7b Log time with message. nicm 2015-08-28 12:15:54 +00:00
  • b6618b631b Move format job cleanup onto its own timer. nicm 2015-08-28 11:38:27 +00:00
  • 31c027a37a Merge branch 'obsd-master' Thomas Adam 2015-08-28 12:01:07 +01:00
  • ee9f708500 Allow environment variables in #{}. nicm 2015-08-28 10:06:52 +00:00
  • 031d7ce840 Merge branch 'obsd-master' Thomas Adam 2015-08-28 10:01:08 +01:00
  • 25faca41eb Error messages should not have a trailing period. nicm 2015-08-28 07:55:43 +00:00
  • fc58e44f89 Only do the automatic-rename dance if the pane has changed (seen output, or new active pane). nicm 2015-08-28 07:49:24 +00:00
  • ce20572ace Merge branch 'obsd-master' Thomas Adam 2015-08-25 18:01:07 +01:00
  • 2ffbd5b5f0 When searching for tabs, start from screen width, fixes out-of-bounds read found by Kuang-che Wu. nicm 2015-08-25 15:00:05 +00:00
  • 429f86397b Merge branch 'obsd-master' Thomas Adam 2015-08-25 02:01:16 +01:00
  • 3219e0314e In grid_duplicate_lines, if the line is empty (cellsize == 0) then clear the destination celldata pointer rather than leaving a stale copy of the source pointer (which may later be freed). Fixes a crash found by Kuang-che Wu. nicm 2015-08-24 22:49:13 +00:00
  • 65b45c9c32 Merge branch 'obsd-master' Thomas Adam 2015-08-16 12:01:06 +01:00
  • 58b659a26e Come out of copy mode when history is cleared. nicm 2015-08-16 08:57:34 +00:00
  • f5357ed940 Handle \ at EOL from Daniel Hahler. Nicholas Marriott 2015-08-15 09:53:19 +01:00
  • 778612d152 Merge branch 'obsd-master' Thomas Adam 2015-08-13 18:01:07 +01:00
  • 46aa92420a right-up should be right-of, also rename the values too. nicm 2015-08-13 15:02:23 +00:00
  • 6447404cc2 Merge branch 'obsd-master' Thomas Adam 2015-08-12 12:01:09 +01:00
  • 13b7fd82c1 Rename left/right/up/down relative to active pane to add -of suffix (left-of/right-of/etc) to remove conflict with left/right meaning leftmost or rightmost pane. From Ben Boeckel. nicm 2015-08-12 08:55:20 +00:00
  • 3c9b8a28c6 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-08-07 15:08:26 +01:00
  • 736d8350e9 +history-file, from Ben Boeckel. Nicholas Marriott 2015-08-07 15:06:17 +01:00
  • 73b4d098ce Merge branch 'obsd-master' Thomas Adam 2015-07-29 14:01:09 +01:00
  • 5ec3621101 status_out and associated data structures are no longer used. nicm 2015-07-29 11:56:02 +00:00
  • a568aaa0c0 Merge branch 'obsd-master' Thomas Adam 2015-07-28 18:01:08 +01:00
  • b254115acd Tidy up the way terminals are described and move some structs out of tmux.h. nicm 2015-07-28 15:18:10 +00:00
  • ff18787b2c Merge branch 'obsd-master' Thomas Adam 2015-07-27 10:01:08 +01:00
  • d33adc4fd0 Make -q suppress ambiguous option warnings too, from Cam Hutchison. nicm 2015-07-27 08:45:45 +00:00
  • e4cdc9fa0b Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-07-24 09:10:21 +01:00
  • 669059aa19 Fix a warning, from Kosta Zertsekel. Nicholas Marriott 2015-07-24 09:06:15 +01:00
  • 18a64ad52d Merge branch 'obsd-master' Thomas Adam 2015-07-20 18:01:10 +01:00
  • 92af3766ec Add an option (history-file) for a file to save/restore command prompt history, from Olof-Joachim Frahm. nicm 2015-07-20 15:50:04 +00:00
  • dedd9edf7f Merge branch 'obsd-master' Thomas Adam 2015-07-20 12:01:07 +01:00
  • d4ce210713 Correct the tsl/fsl sequence to ]0 not ]2 (from Marcel Korpel). While here, Xr xterm and remove some advice about elinks that is better elsewhere. nicm 2015-07-20 10:34:11 +00:00
  • e6facdcb0c Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-07-19 08:10:07 +01:00
  • 96dcbe217b Update tmux.vim from Ben Boeckel. Nicholas Marriott 2015-07-19 08:07:55 +01:00
  • e45f42db29 Merge branch 'obsd-master' Thomas Adam 2015-07-17 16:01:07 +01:00
  • bad8d0fd20 Do not call window_unzoom from window_destroy because it will try to add a notification which will get confused because the reference count is already zero and end up back in window_destroy and a double free. Instead, just destroy the layouts directly. Noticed by Thomas Adam. nicm 2015-07-17 13:09:07 +00:00
  • b886393042 Merge branch 'obsd-master' Thomas Adam 2015-07-17 10:01:09 +01:00
  • 3192178f15 Initialize client fd to -1 as well, from Bobby Powers. nicm 2015-07-17 06:53:47 +00:00
  • 8c96e2a6d9 Implement osdep_get_name and osdep_get_cwd for AIX, from J Raynor. Nicholas Marriott 2015-07-15 08:46:35 +01:00
  • 5ffb869e1a Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-07-14 08:15:05 +01:00
  • bed3069fd7 Add _LINUX_SOURCE_COMPAT on AIX. Nicholas Marriott 2015-07-14 08:14:35 +01:00
  • dcc28434f4 Merge branch 'obsd-master' Thomas Adam 2015-07-13 20:01:08 +01:00
  • 8dcea2cc14 Reset G0/G1 state when resetting everything else with send-keys -R. nicm 2015-07-13 18:45:18 +00:00
  • 4e637b1b61 Ignore environment variables that are too long to send to the server. nicm 2015-07-13 18:10:26 +00:00
  • 07aef38591 Merge branch 'obsd-master' Thomas Adam 2015-07-13 18:01:09 +01:00
  • e45d624df2 Fix line endings. nicm 2015-07-13 15:51:31 +00:00
  • c7374c31c4 Initialize cwd fd to -1 so that we don't close fd 0 if the client is destroyed before it is changed. Also allow ttyname() to fail. Fixes problems when running out of file descriptors reported by Bruno Sutic. nicm 2015-07-13 15:49:31 +00:00
  • 81069f66f9 Add a format to show if client is a control client. From Bruno Sutic. nicm 2015-07-13 15:37:26 +00:00
  • 38d4d69639 Merge branch 'obsd-master' Thomas Adam 2015-07-13 16:01:09 +01:00
  • 6308c48efd Add a -s flag to show-environment to output Bourne shell commands a la ssh-agent. Mostly from Cam Hutchison with some changes by me. nicm 2015-07-13 13:36:29 +00:00
  • cc768d77ec Revert to marking lines as wrapped on newlines, fixes problems with capturep -J. nicm 2015-07-13 13:28:50 +00:00
  • 73f9f0334c Check for flock in libbsd for AIX, and remove some getopt.h includes. From J Raynor. Nicholas Marriott 2015-07-13 14:19:50 +01:00
  • 28c33f67bc Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-07-12 19:47:47 +01:00
  • 235e0bd65a Update imsg*.[ch] from OpenBSD, including bzero->memset. Nicholas Marriott 2015-07-12 19:46:58 +01:00
  • 9a0ce98c54 Merge branch 'obsd-master' Thomas Adam 2015-07-06 16:01:10 +01:00
  • b298478435 Update environment with -E when attach-session used on an already attached session or switch-client used on the current session. From Cam Hutchison. nicm 2015-07-06 14:24:57 +00:00
  • 78723af99f README: Clarify SYNCING is under the ISC Thomas Adam 2015-06-28 12:01:19 +01:00
  • 8b8a007e8e Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-06-20 08:45:19 +01:00
  • 8abcea18a2 Remove monitor-content options which have been removed, from Guy Hughes. Nicholas Marriott 2015-06-20 08:43:55 +01:00
  • 0ef3e28609 Merge branch 'obsd-master' Thomas Adam 2015-06-19 02:01:10 +01:00
  • f557c7d8ca Use the SRCDST define for usage. nicm 2015-06-18 23:56:01 +00:00
  • b43b13faf9 Use xsnprintf. nicm 2015-06-18 23:55:24 +00:00