Commit Graph

  • 79f52825b5 Tidy up mode-mouse check. nicm 2014-11-05 23:25:02 +00:00
  • d24c9d7d3e Do not put a space between status-left/status-right and the window list, instead move the space into the defaults for the options (so status-left now defaults to "[#S] ". From Balazs Kezes. nicm 2014-11-05 23:15:11 +00:00
  • 35ffd093d7 Merge branch 'obsd-master' Thomas Adam 2014-10-29 12:50:05 +00:00
  • 10a9440055 Merge linkw and movew which are virtually identical. nicm 2014-10-27 22:40:29 +00:00
  • b496b1fe11 Move cfg_causes local into cfg.c and remove struct causelist. nicm 2014-10-27 22:23:47 +00:00
  • 428b51e031 Add pane_input_off format, from Anish R Athalye. nicm 2014-10-25 08:47:04 +00:00
  • abfb9656ef Fix some spacing nits. nicm 2014-10-22 23:18:53 +00:00
  • 68cb1c0e6b Merge unlink-window into kill-window. nicm 2014-10-22 23:11:41 +00:00
  • a02c2e55c0 Only redraw pane when it has actually changed. nicm 2014-10-21 22:22:04 +00:00
  • 85671a5bed Save next item after firing command in case it has added to the queue. nicm 2014-10-21 22:06:46 +00:00
  • 201036ad80 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-10-21 12:35:58 +01:00
  • 65257b8e9b OS X lacks HOST_NAME_MAX, reported by Christian Ebert. Nicholas Marriott 2014-10-21 11:00:16 +01:00
  • 696b5a628f Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Thomas Adam 2014-10-21 07:12:18 +01:00
  • 562af864bd Merge branch 'obsd-master' Thomas Adam 2014-10-21 07:11:44 +01:00
  • 0a1a88d63c Better format for printf format attributes. nicm 2014-10-20 23:57:13 +00:00
  • 4c42381410 Move template defines back into .c files. nicm 2014-10-20 23:35:28 +00:00
  • 900f6fc17e Tidy up some includes. nicm 2014-10-20 23:27:14 +00:00
  • 30bacf6f30 Move suspend-client code into detach-client. nicm 2014-10-20 23:01:51 +00:00
  • 8a5ceac3a9 Argh, meant to remove this file... nicm 2014-10-20 22:45:37 +00:00
  • f5bc85591a Move list-commands into list-keys. nicm 2014-10-20 22:44:30 +00:00
  • 7afe417a60 Missed a couple of cmd_entry struct members from previous. nicm 2014-10-20 22:34:31 +00:00
  • 45dfc5a074 Instead of setting up the default keys by building the key struct directly with a helper function in the cmd_entry, include a table of bind-key commands and pass them through the command parser and a temporary cmd_q. nicm 2014-10-20 22:29:25 +00:00
  • f0b69c7711 Fix description of Ss and Se. nicm 2014-10-18 20:28:19 +00:00
  • e44bdcce4c Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Thomas Adam 2014-10-16 16:52:49 +01:00
  • 2e8f6805eb OSdep: Update for xrealloc() change Thomas Adam 2014-10-16 16:50:23 +01:00
  • a77355b6bf Merge branch 'obsd-master' Thomas Adam 2014-10-16 16:46:31 +01:00
  • a27ba6e380 Add xreallocarray and remove nmemb argument from xrealloc. nicm 2014-10-08 17:35:58 +00:00
  • 77efcf8bdd Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflow check. nicm 2014-10-08 17:14:04 +00:00
  • 6610e89689 Top function key is F12 now. nicm 2014-10-02 14:21:06 +00:00
  • d306bbe11e Take account of window-status-separator when checking window position, based on diff from Balazs Kezes. nicm 2014-10-02 10:39:43 +00:00
  • c011446e78 Update status when pane selected with mouse, from Balazs Kezes. nicm 2014-10-02 09:31:30 +00:00
  • b6aef2490f Ignore ENXIO on Solaris as well, from Peter Schow. Nicholas Marriott 2014-10-02 09:47:00 +01:00
  • 2f19df09b1 Copy ACS characters as UTF-8, from Balazs Kezes. nicm 2014-10-02 08:36:26 +00:00
  • 931c17ed4f Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-10-02 09:29:48 +01:00
  • 24d9dc518d Fix osdep_get_cwd on Solaris 11, from J Raynor. Nicholas Marriott 2014-10-02 09:25:15 +01:00
  • 045d0c3b9f Call waitpid on SIGCHLD even if client not attached, it is possible (on very slow platforms) for the first daemon() child to still be running when client_attached is set so we end up with a zombie. From J Raynor. nicm 2014-10-01 23:23:19 +00:00
  • a54b0055f6 Support using pane id as part of session or window specifier (so %1 means session-of-%1 or window-of-%1) and window id as part of session (so @1 means session-of-@1). nicm 2014-09-25 12:51:40 +00:00
  • 304f86cdbb Support ! for last pane. nicm 2014-09-25 12:45:35 +00:00
  • 2874a431c0 Merge branch 'obsd-master' Thomas Adam 2014-09-25 11:29:54 +01:00
  • 5e7f1b9f0a Don't close random file descriptor on error, from J Raynor. Nicholas Marriott 2014-09-25 10:53:29 +01:00
  • 16670410ca I broke last change, fix so it works, from J Raynor. Nicholas Marriott 2014-09-23 10:50:11 +01:00
  • 054a825ee2 cdefs.h -> types.h. Nicholas Marriott 2014-09-23 10:46:46 +01:00
  • b2224947fa Solaris doesn't have flock and fcntl is useless so make a no-op flock. Reported by Dagobert Michelsen. Nicholas Marriott 2014-09-23 10:44:45 +01:00
  • 4d53fd98a6 Synchronize forkpty master and child to avoid hang on AIX with fast exiting child and output left in the queue, from J Raynor. Nicholas Marriott 2014-09-22 14:07:00 +01:00
  • 21062d74d5 Fix some comments (c -> colour) and join unnecessary line splits. nicm 2014-09-17 15:31:38 +00:00
  • 938d91d2c3 Tweak www and add RELEASE variable for current release version so we don't need to turn it back and forth when updating. Nicholas Marriott 2014-09-16 04:33:34 +01:00
  • 93fe1b8659 Stupid comment. Nicholas Marriott 2014-09-08 23:33:41 +01:00
  • 9bda7e881a Add window_last_flag and window_zoomed_flag. From John Morrissey. nicm 2014-09-08 14:29:05 +00:00
  • 8a473b5757 Fix typo (paneas -> panes). nicm 2014-09-01 22:00:42 +00:00
  • 733cea8847 Wake up any clients waiting with the wait-for command when the server exits. nicm 2014-09-01 21:58:41 +00:00
  • 4e956d545a Various minor style and spacing nits. nicm 2014-09-01 21:50:18 +00:00
  • e075198049 Don't allow pasting into input-disabled panes, from Anish R Athalye. nicm 2014-08-25 13:13:19 +00:00
  • 2b79d36652 No need to repeat other-end more than once, from Juho Pohjala. Also add it to the commands list while here. nicm 2014-08-11 22:39:57 +00:00
  • 29d20a55b6 Fix two copy mode problems: nicm 2014-08-11 22:18:16 +00:00
  • f518a077b1 Add flags to selectp to enable and disable input to a pane, from Anish Athalye. nicm 2014-08-11 22:14:30 +00:00
  • 72797074f3 Add compat/fparseln.c Thomas Adam 2014-08-09 21:16:21 +01:00
  • fab8ca0737 SYNCING: Make a note about libutils Thomas Adam 2014-08-09 20:22:54 +01:00
  • 0e23ab4cce Sync libutil from OpenBSD (imsg) Thomas Adam 2014-08-09 20:17:26 +01:00
  • 92997b781a Add compat/fparseln() for non-BSD systems Thomas Adam 2014-07-24 21:31:07 +01:00
  • a131b82e95 Merge branch 'obsd-master' Thomas Adam 2014-08-09 20:31:36 +01:00
  • 1ac96200a7 Remove support for the continuous reporting "any" mouse mode which never really worked properly and is rarely used. nicm 2014-08-09 07:33:37 +00:00
  • fd3b7f3572 FAQ: Mention Git before filing bug reports Thomas Adam 2014-08-08 01:28:22 +01:00
  • b8b00aad5d Revert the up/down wheel emulation for now, there will be a better way to do this along later for those who want it. nicm 2014-07-21 20:45:35 +00:00
  • 8e4ae12b4d lockf is entirely useless and it was a mistake to change to it, go back to using flock which actually works sensibly. Also always retry the lock to fix a potential race, and add some extra logging. nicm 2014-07-21 10:52:48 +00:00
  • 2056a9ef9e Drop explicit support for F13-F20 and change to match the xterm terminfo entry: nicm 2014-07-21 10:25:48 +00:00
  • c5253ad8f7 Show an error if cmd_find_session can't find the current session, like the other functions. nicm 2014-07-13 20:57:46 +00:00
  • 2b67907176 An EOF is a good reason to close a connection. krw 2014-07-13 20:51:08 +00:00
  • f117c7d94a If a client is killed while suspended with ^Z so has gone through the MSG_EXITED dance, don't try to resume it since a) it's pointless and b) the tty structures have been cleaned up and tmux will crash. nicm 2014-07-13 20:23:10 +00:00
  • d1f939cede Track whether a process is a zombie or not yet fully built via flags PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data. This eliminates the need for the thread-level SDEAD state. guenther 2014-07-04 05:58:31 +00:00
  • 1aae53596d Handle escaped back slashes and missing new lines at end of line by using fparseln instead of reimplementing it on our own. tobias 2014-06-25 19:17:27 +00:00
  • 54782af616 Allow keys and send-keys to invisible panes, from saggy-kun at users dot sf dot net. nicm 2014-06-23 10:27:05 +00:00
  • 61605c6883 Count mouse clicks correctly, from Balazs Kezes. nicm 2014-06-23 09:52:56 +00:00
  • f8481f93c5 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-06-21 19:48:03 +01:00
  • cddf50b715 Notes for better mouse support. Nicholas Marriott 2014-06-21 19:45:52 +01:00
  • 0c5ed177c4 We have utmp with utempter now and that's the best we're going to get. Nicholas Marriott 2014-06-20 13:17:28 +01:00
  • 814e40522c Merge branch 'obsd-master' Thomas Adam 2014-06-20 12:59:43 +01:00
  • 1544c688e6 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-06-20 12:20:29 +01:00
  • 8049baf0bd Remove some done, tweak some others. Nicholas Marriott 2014-06-20 12:19:51 +01:00
  • 8d0819bff1 Comment style nits. nicm 2014-06-20 11:00:19 +00:00
  • c8efffb4db Make -S- and -E- mean the start and end to capture-pane to avoid having to faff around with huge numbers to get everything. nicm 2014-06-20 10:46:59 +00:00
  • 19cb0a1a92 Might as well still allow autoconf 2.59. Nicholas Marriott 2014-06-19 23:15:06 +01:00
  • 00ac1af43f Copy newline when at EOL in vi(1) mode, from Balazs Kezes. nicm 2014-06-19 07:37:59 +00:00
  • fd9a53b4a4 Reset the buttons when the wheel is used, from Balazs Kezes. nicm 2014-06-19 07:32:12 +00:00
  • a94696defa Some terminals send spurious releases for mouse wheel in SGR mouse mode, this causes confusion when tmux uses SGR outside but the application inside tmux is using conventional xterm mouse reporting. So suppress obviously bad input. From Timothy Allen, SF bug 128. nicm 2014-06-19 07:26:43 +00:00
  • 77f582ff13 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-06-18 09:31:07 +01:00
  • f5973b7776 Build DEBUG with -O2 as well. Nicholas Marriott 2014-06-18 08:21:08 +01:00
  • 21ade85f24 Properly track switching G0 and G1 modes between US-ASCII and VT100 line drawing rather than just treating them as SO and SI. nicm 2014-06-06 13:21:41 +00:00
  • 74becbfd6f Reset properly when c0-change-trigger is increased from zero so panes don't get stuck. nicm 2014-06-05 22:14:29 +00:00
  • 193b6bcf36 Handle the top bit of xterm(1)-style modifier keys, based on a diff from Balazs Kezes. nicm 2014-05-27 13:04:42 +00:00
  • 7160b8c2d5 Add some formats for pane bounds. nicm 2014-05-27 12:49:36 +00:00
  • 191f695bad Change key-table to mode-table to allow for some future work. From Keith Amling. nicm 2014-05-14 06:45:35 +00:00
  • 58c97695c9 Simplify copy lines, from Keith Amling. nicm 2014-05-14 06:39:58 +00:00
  • 53cbae544f Now that cmdlists are reference counted, there is no need for two-step deletion via the dead_key_bindings tree. From Keith Amling. nicm 2014-05-14 06:21:19 +00:00
  • b2e791b574 Don't allow multiple buffers with the same name, from Thomas Adam. nicm 2014-05-13 22:54:18 +00:00
  • 92af7f5901 Linux: Add <time.h> to log.c Thomas Adam 2014-05-13 22:01:03 +01:00
  • bae95844d7 Merge branch 'obsd-master' Thomas Adam 2014-05-13 21:58:48 +01:00
  • b3e8d440ed If multiple arguments are given to new-session, new-window, split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor. nicm 2014-05-13 08:08:32 +00:00
  • b1a06ef22e Add a copy mode key binding to copy to a named buffer. From J Raynor. nicm 2014-05-13 07:54:20 +00:00
  • 3dbacbb62b Add support for named buffers. If you don't name a buffer, things work much as before - buffers are automatically named "buffer0000", "buffer0001" and so on and ordered as a stack. Buffers can be named explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b buffer0000 -n foo"). If buffers are named explicitly, they are not deleted when buffer-limit is reached. Diff from J Raynor. nicm 2014-05-13 07:34:35 +00:00
  • f4ffaf5a7f Just use char ** for argv like normal people, not char *const *. nicm 2014-05-09 09:11:24 +00:00