Commit graph

  • 5083e93957 Merge branch 'obsd-master' Thomas Adam 2015-12-21 10:01:08 +0000
  • f2ec911b8a Detach the right session with -d. nicm 2015-12-21 09:20:13 +0000
  • c83d6ee0b1 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-12-20 11:26:12 +0000
  • 83c96d2685 No need to set cwd on Cygwin now, from Yuya Adachi. Nicholas Marriott 2015-12-20 11:25:13 +0000
  • 58b3d66229 Merge branch 'obsd-master' Thomas Adam 2015-12-19 10:01:08 +0000
  • bdbec099cc Make input off flag (selectp -d) apply to synchronize-panes too. nicm 2015-12-19 08:43:04 +0000
  • 2ad9caad3f Merge branch 'obsd-master' Thomas Adam 2015-12-18 00:01:08 +0000
  • a337403868 As well as setting up the state, actually use it in cmd_find_target. nicm 2015-12-17 23:08:22 +0000
  • e0cae08c04 Merge branch 'obsd-master' Thomas Adam 2015-12-17 00:01:08 +0000
  • 99e9a4c786 send-keys -R should reset the input parser to ground state (so it can be used to escape from, for example, printf '\033]2;'). nicm 2015-12-16 22:05:35 +0000
  • 7c94dae702 Merge branch 'obsd-master' Thomas Adam 2015-12-16 22:01:08 +0000
  • 021c64310d Add infrastructure to work out the best target given a pane or window alone and use it to add pane_died and pane_exited hooks. nicm 2015-12-16 21:50:37 +0000
  • 8eb1a7d5dc showenv and setenv need to be CANFAIL. nicm 2015-12-16 21:47:00 +0000
  • f7a6482e6b Merge branch 'obsd-master' Thomas Adam 2015-12-15 16:01:12 +0000
  • 909b737289 Copy state directly rather than dereferencing wl (which could be NULL). nicm 2015-12-15 14:32:55 +0000
  • e5caf64815 Merge branch 'obsd-master' Thomas Adam 2015-12-15 14:01:12 +0000
  • ac9778395f Some hooks API changes to fire a hook while waiting another cmdq and infrastructure that will be needed soon. nicm 2015-12-15 13:43:07 +0000
  • 1a33ea9671 Merge branch 'obsd-master' Thomas Adam 2015-12-15 02:01:14 +0000
  • 9d88d82d5e Allow list-keys and list-commands to be run without a running server. nicm 2015-12-15 00:52:17 +0000
  • 6f417ec943 We changed somewhat recently to us the pty when tmux was run inside itself to work out the current pane. This is confusing in many cases (particularly notable is that "tmux neww\; splitw" would not split the new window), and the few advantages do not make up for the confusion. nicm 2015-12-15 00:45:02 +0000
  • 56d097cfe0 Don't copy marked pane when can just point to it. nicm 2015-12-15 00:11:24 +0000
  • 6ab17e3e15 Merge branch 'obsd-master' Thomas Adam 2015-12-15 00:01:08 +0000
  • 12da13c9d1 Make the marked pane a cmd_find_state. nicm 2015-12-15 00:00:01 +0000
  • d5999f8b5c Use cmd_find_clear_state instead of an extra function doing the same. nicm 2015-12-14 23:30:58 +0000
  • bc6137f9e4 Merge branch 'obsd-master' Thomas Adam 2015-12-14 01:30:15 +0000
  • a585a1b81a Remove some stray debug code. nicm 2015-12-14 00:32:19 +0000
  • a3129fd4e8 Instead of combined flags for -c, -s, -t, split into different sets using an enum and simplify the parsing code. nicm 2015-12-14 00:31:54 +0000
  • 5caec3020d Merge branch 'obsd-master' Thomas Adam 2015-12-13 23:46:58 +0000
  • f4adcfa0e2 Merge branch 'obsd-master' Thomas Adam 2015-12-13 22:01:08 +0000
  • ecfeee2e82 Use member names in cmd_entry definitions so I stop getting confused about the order. nicm 2015-12-13 21:53:57 +0000
  • 899bee0056 Actually I thought cmd_get_state_client was unnecessary but it will be needed. nicm 2015-12-13 21:17:37 +0000
  • 00da99f2c4 Merge branch 'obsd-master' Thomas Adam 2015-12-13 20:01:09 +0000
  • 72948d9f1d -c needs to be able for fail for display-message. nicm 2015-12-13 18:31:47 +0000
  • 66d1193a00 Remove an unnecessary function. nicm 2015-12-13 18:27:47 +0000
  • fd47084224 show-options and environment need CANFAIL flag. nicm 2015-12-13 18:15:13 +0000
  • d37a580085 Merge branch 'obsd-master' Thomas Adam 2015-12-13 18:01:11 +0000
  • 50f8ead4e6 Don't log an error when doing the first check for move-window. nicm 2015-12-13 17:58:26 +0000
  • 9f5aca62a9 Use struct cmd_find_state directly and remove cmd_state_flag, also change so that winlink is set even if an index is too. nicm 2015-12-13 17:55:14 +0000
  • 9b7697db62 Change cmd_find_target to use a state struct from the caller. nicm 2015-12-13 16:44:35 +0000
  • 208e2dad1e If command returns error, report it. nicm 2015-12-13 16:11:42 +0000
  • ae5ddfdc1a Merge branch 'obsd-master' Thomas Adam 2015-12-13 16:01:13 +0000
  • ff599f4004 Remove the cmd_find_{session,window,pane,index} functions (which are just wrappers around cmd_find_target) and just use cmd_find_target directly. nicm 2015-12-13 15:32:12 +0000
  • 9d191a6093 Move logging into cmd_find_target rather than each function. nicm 2015-12-13 15:00:37 +0000
  • 4a4daf1303 Instead of every command resolving the target (-t or -s) itself, prepare the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell the prepare step what it is expecting. nicm 2015-12-13 14:32:38 +0000
  • 92f187d1c2 Need to use pkg-config --static when doing a static build. Nicholas Marriott 2015-12-12 22:04:25 +0000
  • 845a664bb2 Merge branch 'obsd-master' Thomas Adam 2015-12-12 20:01:15 +0000
  • 5ed17e84fa Add key-table option to set the default key table for a session, allows different key bindings for different sessions and a few other things. nicm 2015-12-12 18:32:24 +0000
  • 6a50cf89b4 Return after changing key table. nicm 2015-12-12 18:28:47 +0000
  • 39cf9c9d31 Allow prefix and prefix2 to be set to None to disable (useful if you would rather bind the prefix in the root table). nicm 2015-12-12 18:19:00 +0000
  • 5a5db02b85 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-12-11 19:59:08 +0000
  • 38cc1a1843 Look for ncurses with PKG_CONFIG, and remove libtinfo because it just causes confusion. Nicholas Marriott 2015-12-11 19:58:09 +0000
  • 2a6b215328 Merge branch 'obsd-master' Thomas Adam 2015-12-11 18:01:11 +0000
  • 88bc8f3528 Style nits and line wrapping of function declarations. nicm 2015-12-11 16:37:21 +0000
  • f2be3ad46f Mention {src,dst}-{window,pane} where we define target-{window,pane}. nicm 2015-12-11 16:27:01 +0000
  • 2a3456cd3b Merge branch 'obsd-master' Thomas Adam 2015-12-11 16:01:16 +0000
  • bd5918760e We cannot do hooks_find and then hooks_remove because it might have come from the parent (global) tree, instead make it remove by name like options. nicm 2015-12-11 15:46:57 +0000
  • 4909a70174 Merge branch 'obsd-master' Thomas Adam 2015-12-11 13:24:45 +0000
  • d7e11d0af7 Check alerts when session changes, from Patrick Palka. nicm 2015-12-11 12:39:47 +0000
  • 01831da5f5 Add cmdq as an argument to format_create and add a format for the command name (will also be used for more later). nicm 2015-12-11 12:27:36 +0000
  • af8134a6ff Merge branch 'obsd-master' Thomas Adam 2015-12-08 10:01:16 +0000
  • a988c36ccb Add to .mailmap, and sort. Nicholas Marriott 2015-12-08 08:46:06 +0000
  • e0f26dcda3 Remove format_create_flags and just pass flags to format_create. nicm 2015-12-08 08:34:18 +0000
  • 8f671d3eef Spacing nits. nicm 2015-12-08 08:14:04 +0000
  • 3182728b70 Merge branch 'obsd-master' Thomas Adam 2015-12-08 07:12:13 +0000
  • 5862f59ed7 Conflicts: Makefile Thomas Adam 2015-12-08 07:11:09 +0000
  • 1f94274b92 Ed was meant to be El; jmc 2015-12-08 06:42:07 +0000
  • d2fb0efcd1 Add hooks infrastructure, basic commands (set-hook, show-hooks) and a couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam. nicm 2015-12-08 01:10:31 +0000
  • dbfce2a4d8 Use ^= instead of a verbose alternative. ok nicm@ mmcc 2015-12-08 00:51:17 +0000
  • 98994a8bb1 termios(4) Nicholas Marriott 2015-12-08 00:49:10 +0000
  • b580a55191 pty(7) -> pty(4) Nicholas Marriott 2015-12-08 00:48:22 +0000
  • ff16836d1d pty is in section 4 Nicholas Marriott 2015-12-08 00:47:27 +0000
  • 5411033f66 Update tmux.vim from Teubel Gyorgy. Nicholas Marriott 2015-12-07 12:54:34 +0000
  • 8383409e88 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-12-07 12:51:20 +0000
  • d20a3ef57c Update .mailmap file. Nicholas Marriott 2015-12-07 12:51:06 +0000
  • bac8c72381 Merge branch 'obsd-master' Thomas Adam 2015-12-07 10:01:09 +0000
  • b9563340b7 Fix bell indicators across detach, reported by Torbjorn Lonnemark, diff from Thomas Adam. nicm 2015-12-07 09:47:41 +0000
  • 8ae9329aa8 Merge branch 'obsd-master' Thomas Adam 2015-12-05 14:01:09 +0000
  • 0417f1f2be EAGAIN handling for imsg_read. OK henning@ benno@ claudio 2015-12-05 13:18:24 +0000
  • 4d5cab4085 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-12-03 14:43:33 +0000
  • 3cdb2f0bb7 Add to TODO. Nicholas Marriott 2015-12-03 14:43:24 +0000
  • 66bad2e979 Merge branch 'obsd-master' Thomas Adam 2015-12-03 00:01:08 +0000
  • 7236838dea Mark new active pane changed after pane lost in window, and after break-pane. Reported by tim@. nicm 2015-12-02 23:09:22 +0000
  • eb5ee80c74 Merge branch 'obsd-master' Thomas Adam 2015-12-01 10:01:13 +0000
  • a785a7f700 Do not deref wp if window_get_active_at returns NULL which can happen on very large terminals, from Michael Graczyk. nicm 2015-12-01 09:41:03 +0000
  • 742976893e Merge branch 'obsd-master' Thomas Adam 2015-11-29 18:01:08 +0000
  • 1d331c7e62 Delete a duplicated line guenther 2015-11-29 17:06:59 +0000
  • 9fe8b28746 Merge branch 'obsd-master' Thomas Adam 2015-11-27 15:41:28 +0000
  • 6a2ca34216 Do not set a limit on the length of commands when printing them. nicm 2015-11-27 15:06:43 +0000
  • 3b83bda29c Add to TODO. Nicholas Marriott 2015-11-25 23:35:24 +0000
  • a1bc339340 log_open() isn't conditional on proctitle Thomas Adam 2015-11-25 16:51:17 +0000
  • 260de2cb5e Remove logfile() Thomas Adam 2015-11-25 16:48:47 +0000
  • 890d8da2e3 Merge branch 'obsd-master' Thomas Adam 2015-11-25 16:37:30 +0000
  • ac8678aefe Don't print error if none to print. nicm 2015-11-25 07:58:55 +0000
  • 62d3af17f9 Make environ_set va_args and use it to tidy up some calls. Also add a missing word in manpage (from jmc). nicm 2015-11-24 23:46:15 +0000
  • 3ff46b2e43 Shell command from -c doesn't have to be global, pass it as an argument. nicm 2015-11-24 23:22:51 +0000
  • dca93c56e0 Do lock failures slightly better, return a special value so we don't unlink the wrong thing. nicm 2015-11-24 23:01:51 +0000
  • 73e30cbda8 Actually show something (even if it not that helpful) if the server fails to start (for example if it can't create the socket), rather than hanging or showing nothing. nicm 2015-11-24 22:45:44 +0000
  • c18fbefe93 Document socket_path format. nicm 2015-11-24 22:27:59 +0000
  • c913fb99b6 Tidy the code that works out the socket path, and just use the full path in the global socket_path rather than copying it. nicm 2015-11-24 22:27:22 +0000
  • 8976dac9e0 Remove malloc_options DEBUG bit. nicm 2015-11-24 22:09:53 +0000