Commit Graph

  • 3034a71488 Let's see if anyone screams about not being able to specify $TMPDIR for their tmux sockets. deraadt 2015-10-25 07:48:16 +00:00
  • 2e2b8a95bd Pasting mouse escape sequences is unlikely, so skip them when working out whether the user is pasting. nicm 2015-10-23 23:46:36 +00:00
  • 26a55ddcf9 Remove some unnecessary checks before free(). nicm 2015-10-23 16:30:15 +00:00
  • 1a4ddfa8a7 If $TMUX is set, and we are unsure about the session, use it. nicm 2015-10-23 16:29:07 +00:00
  • 5383b047d1 tmux can call pledge() in main with large set and then reduce it slightly in the server to "stdio rpath wpath cpath fattr unix recvfd proc exec tty ps". nicm 2015-10-23 16:07:29 +00:00
  • 14da999408 Format for scroll position, from Jorge Morante. nicm 2015-10-23 16:02:21 +00:00
  • 63a3fd3c0f Use tty_term_flag not _has for XT, and make -2 force direct use of 256-colour escape sequences (so setaf/setab can be bypassed if needed). nicm 2015-10-23 15:52:54 +00:00
  • 8c39813665 Merge branch 'obsd-master' Thomas Adam 2015-10-22 14:01:12 +01:00
  • 3ebcf25149 If the pane is still on all_window_panes but not actually connected to window or session (which can happen if it is killed during a command sequence and something else has a reference), fall back to the best effort. Fixes "tmux killw\; detach" for Rudis Muiznieks. nicm 2015-10-22 11:23:00 +00:00
  • a05c27a7e1 Unzoom before -LRUD, reported by Andy Weidenbaum. nicm 2015-10-22 11:19:31 +00:00
  • 6bc3902f5d Merge branch 'obsd-master' Thomas Adam 2015-10-22 12:01:09 +01:00
  • c2c2d44c72 Log identify messages. nicm 2015-10-22 11:00:51 +00:00
  • 515dfea4b7 This should not be changed. nicm 2015-10-22 10:48:30 +00:00
  • 31fd071faa Rename shutdown to exit. nicm 2015-10-22 10:46:24 +00:00
  • 0bfa615997 Merge branch 'obsd-master' Thomas Adam 2015-10-21 16:01:08 +01:00
  • 60ca29df64 client_key_table was missing. nicm 2015-10-21 13:14:36 +00:00
  • 35f582583a Merge branch 'obsd-master' Thomas Adam 2015-10-21 14:01:09 +01:00
  • ddbc4a0f6c By popular demand add a default binding for mouse wheel up to scroll into history (if the mouse is, on of course). nicm 2015-10-21 11:13:47 +00:00
  • 1f4a5b5dfe Merge branch 'obsd-master' Thomas Adam 2015-10-21 00:01:19 +01:00
  • 076034345a Use client pointer not file descriptor in logging. nicm 2015-10-20 21:12:08 +00:00
  • af2d48f4d2 Merge branch 'obsd-master' Thomas Adam 2015-10-20 16:01:11 +01:00
  • 8c8cddbe02 The table could change when retrying so don't save it at start of server_client_handle_key. nicm 2015-10-20 14:19:27 +00:00
  • bbdc08780c Merge branch 'obsd-master' Thomas Adam 2015-10-18 22:01:08 +01:00
  • 174a2ad731 Pass current directory as a string rather than a file descriptor because pledge doesn't let us pass directory file descriptors. nicm 2015-10-18 20:42:42 +00:00
  • 7c78b2b756 Start working on tmux 2.2 Thomas Adam 2015-10-18 18:19:08 +01:00
  • 310f0a960c Update for 2.1 release. 2.1 Thomas Adam 2015-10-18 18:10:43 +01:00
  • 6c3ade76df __OpenBSD__ around pledge(). Nicholas Marriott 2015-10-17 20:16:12 +01:00
  • 487285b325 Merge branch 'obsd-master' Thomas Adam 2015-10-17 20:01:08 +01:00
  • 9c601ebde8 Add pledge "stdio unix sendfd proc exec tty" to tmux client process, "sendfd" is dropped after first message from the server. nicm 2015-10-17 18:30:43 +00:00
  • 0273d809d0 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-10-17 18:48:45 +01:00
  • e0527d7731 time.h is not needed now tzset() is not in log.c. Nicholas Marriott 2015-10-17 18:48:22 +01:00
  • a204595e4c Merge branch 'obsd-master' Thomas Adam 2015-10-16 10:01:09 +01:00
  • cf89abb013 Don't free after calling paste_set but do after evbuffer_add, from Theo Buehler. nicm 2015-10-16 07:43:29 +00:00
  • c06c14fb29 Some header fixes. Nicholas Marriott 2015-10-15 21:42:17 +01:00
  • 716550021e Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-10-15 09:25:21 +01:00
  • f199fb6a2b Fix available_fds when there is no AF_INET, reported by Mathieu Arnold. Nicholas Marriott 2015-10-15 09:24:25 +01:00
  • f69e09a67e Merge branch 'obsd-master' Thomas Adam 2015-10-11 02:01:14 +01:00
  • 241fd72f75 Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept sizeof(struct sockaddr_un), so do the simple, portable thing guenther 2015-10-11 00:26:23 +00:00
  • 5b13dafbab Merge branch 'obsd-master' Thomas Adam 2015-10-07 12:01:21 +01:00
  • 7340d5adfd Couple of memory leaks in error paths, from Frederik Vanderstraeten. nicm 2015-10-07 09:52:58 +00:00
  • 7120ab2f16 Merge branch 'obsd-master' Thomas Adam 2015-09-26 02:01:16 +01:00
  • 695a591f8e Adding colors=256 to *256color* was always pretty stupid and now it won't work (without adding setaf@:setab@ too). nicm 2015-09-25 23:30:24 +00:00
  • 03d7dba5d8 If the terminal has colors=256, only try to use setaf/setab if they exist, reported by Filipe Brandenburger. nicm 2015-09-25 23:30:12 +00:00
  • 20c3adca41 Merge branch 'obsd-master' Thomas Adam 2015-09-25 18:01:09 +01:00
  • 28f23f18e9 Free the history when it is cleared, based on a diff from Carlo Cannas. nicm 2015-09-25 15:53:07 +00:00
  • b0372840e7 Merge branch 'obsd-master' Thomas Adam 2015-09-24 14:01:10 +01:00
  • 2a62917444 Don't leak fd and path on failure. nicm 2015-09-24 12:06:20 +00:00
  • 69ea6b9373 Do not leak log file descriptor. nicm 2015-09-24 12:03:58 +00:00
  • ed17760a52 Merge branch 'obsd-master' Thomas Adam 2015-09-24 10:01:09 +01:00
  • ddb2d1221b Assign flag not number for flag types (we got away with it so far because that are a union). From Filipe Brandenburger. nicm 2015-09-24 07:02:18 +00:00
  • 06d4553a15 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-09-23 14:27:11 +01:00
  • 1caebaa49a Add to TODO. Nicholas Marriott 2015-09-23 14:26:53 +01:00
  • 7e9b87f396 Merge branch 'obsd-master' Thomas Adam 2015-09-23 00:01:09 +01:00
  • dc66795e35 Don't update last session when the session is unchanged, from Sina Siadat. nicm 2015-09-22 21:56:16 +00:00
  • d6d05883ad Merge branch 'obsd-master' Thomas Adam 2015-09-21 12:01:11 +01:00
  • d5f223a3fe Reset the alerts timer always on activity, from Thomas Adam. nicm 2015-09-21 09:34:52 +00:00
  • 983357603a Merge branch 'obsd-master' Thomas Adam 2015-09-18 12:01:07 +01:00
  • 6b709e655e -l should apply to the new not the old pane with -b, from "MadMaverick9" on GitHub. nicm 2015-09-18 09:55:22 +00:00
  • c624382929 Merge branch 'obsd-master' Thomas Adam 2015-09-17 16:01:08 +01:00
  • 8b5d5dca9f Redraw both src and dst sessions in break-pane. nicm 2015-09-17 14:11:55 +00:00
  • a3bce7a322 Merge branch 'obsd-master' Thomas Adam 2015-09-17 00:01:08 +01:00
  • c1d0b6a6ee Log when cmdq_continue is called. nicm 2015-09-16 22:41:00 +00:00
  • 232a0ffc34 Give some variables less silly names. nicm 2015-09-16 22:40:27 +00:00
  • ecb257f0ef A few minor style nits. nicm 2015-09-16 22:40:05 +00:00
  • d1b73be6e1 Hoist some common code out of both branches of an if/else. nicm 2015-09-16 22:29:30 +00:00
  • a4b4b29987 Rename cmd_q dead flag to a general flags bitmask (will be more flags later). nicm 2015-09-16 22:24:54 +00:00
  • 57ad1f6ddf Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-09-15 13:57:57 +01:00
  • 54bd761286 Add BCE to TODO. Nicholas Marriott 2015-09-15 13:57:46 +01:00
  • b5d789a531 Merge branch 'obsd-master' Thomas Adam 2015-09-14 16:01:08 +01:00
  • 166aa97f75 No more $Id$. Nicholas Marriott 2015-09-14 15:59:21 +01:00
  • d47789620b Add missing <time.h> Thomas Adam 2015-09-14 14:39:51 +01:00
  • 16ee4de5df Remove some extra blank lines. nicm 2015-09-14 13:22:02 +00:00
  • 4afe26fa82 Merge branch 'obsd-master' Thomas Adam 2015-09-14 14:01:09 +01:00
  • 62bb6e37e0 Should add buffer if no -b. nicm 2015-09-14 12:52:22 +00:00
  • 216ddf3da5 Move tzset() from log_open to main. nicm 2015-09-14 12:12:24 +00:00
  • 8da6de3e66 Style nit, int for flags not u_int. nicm 2015-09-14 11:57:22 +00:00
  • 74b958ecbe Merge branch 'obsd-master' Thomas Adam 2015-09-14 12:42:19 +01:00
  • af16ce6ad9 When the active pane changes, redraw panes if the style has changed. From Cam Hutchison. nicm 2015-09-14 11:34:50 +00:00
  • 16efa84838 Make refresh-client force update of jobs, from Sina Siadat. nicm 2015-09-14 10:25:52 +00:00
  • 901c2eb20a Add copy-mode -e to exit copy mode when scrolling off the bottom, useful for quick view of history, from Cam Hutchison. nicm 2015-09-13 13:31:40 +00:00
  • ede0f2f633 Set woken flag when flushing so that the channel is freed, while here use the same loop construct for both loops. nicm 2015-09-13 10:45:55 +00:00
  • a3de5dbab1 Merge delete-buffer into cmd-set-buffer.c and change the paste buffer API so it has one paste_free() rather than free_top and free_name (everywhere that uses it already has the right pointer). nicm 2015-09-11 14:41:50 +00:00
  • ef35c9f765 Add --enable-coverage for gcov. Nicholas Marriott 2015-09-11 13:16:35 +01:00
  • 66c4ed98d6 Fix bad merge. Nicholas Marriott 2015-09-10 14:59:16 +01:00
  • eb1084754c Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-09-10 12:42:25 +01:00
  • 79e5b62907 osdep_event_init not event_init. Nicholas Marriott 2015-09-10 12:41:49 +01:00
  • 1fd756066c Merge branch 'obsd-master' Thomas Adam 2015-09-10 12:01:08 +01:00
  • cfabe30bec Add session_last_attached time and format, from Sina Siadat. nicm 2015-09-10 08:58:14 +00:00
  • 5af2f68a2c Merge branch 'obsd-master' Thomas Adam 2015-09-09 14:01:08 +01:00
  • 67ee995cc1 No need to keep global options around for client which doesn't use them. nicm 2015-09-09 12:09:21 +00:00
  • fe536457cc Fix includes Thomas Adam 2015-09-06 21:29:36 +01:00
  • 76688d2040 Merge branch 'obsd-master' Thomas Adam 2015-09-06 20:47:50 +01:00
  • aceae73b9a Change wait-for to work when the signal comes before the wait, also use some helper functions and add some logging. nicm 2015-09-04 12:02:44 +00:00
  • 82326dcbe2 A couple of style nits. nicm 2015-09-03 14:30:23 +00:00
  • 6c10fc659a Log pane which received input data. nicm 2015-09-02 17:52:57 +00:00
  • 38e3baab2a A one line helper function is a little silly. nicm 2015-09-02 17:43:25 +00:00
  • 8121127606 We no longer need the terminal service class, so don't bother asking for it. nicm 2015-09-02 17:37:54 +00:00
  • a45164f2e0 Fix indentation of grid_string_cells_fg. nicm 2015-09-02 17:12:07 +00:00
  • 2ebef95994 Sync up vis.* for stravis(). Nicholas Marriott 2015-09-01 21:08:19 +01:00
  • 93b946ee50 Tweak some error messages/comments. nicm 2015-09-01 19:50:09 +00:00