Commit Graph

  • 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
  • 6af03a6b2c Merge 3e263641e2 into 3be116bb6e Alexander Bergmann 2015-11-29 09:42:11 +0000
  • 3e263641e2 Remove libssh and msgpack package forks and use system libraries. Alexander Bergmann 2015-11-29 09:33:24 +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
  • 8e246f6f98 Add a session-exit notification wait-exit Nicolas Viennot 2015-11-25 08:17:42 -0500
  • 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
  • bef217b241 Switch a fprintf to a fatal, and wrap some long lines. nicm 2015-11-24 22:04:36 +0000
  • 1e2df2d464 Remove the -I part of show-messages which isn't really that useful; the server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}') nicm 2015-11-24 21:52:06 +0000
  • 9fd3318dd8 All kill-session -C to clear alerts in all windows, suggested by Aaron U'Ren. nicm 2015-11-24 21:50:06 +0000
  • 4e3015a892 Log some system and libevent information at startup. nicm 2015-11-24 21:32:36 +0000
  • bdbbd9711c Show libevent version in showmsgs -I. nicm 2015-11-24 21:23:44 +0000
  • 9cccb8c115 Make the log stuff a bit tidier with some helper functions. nicm 2015-11-24 21:19:46 +0000
  • 4ec61bef46 Fix usage of detach-client. nicm 2015-11-24 20:40:51 +0000
  • 0a2ef2b932 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-24 18:50:24 +0000
  • 7b085136a7 -sys/queue.h in proc.c, and nuke the unnecessary C++ header guards stuff and sys/cdefs.h in vis.h (it causes problems on some platforms). Reported by someone on GitHub, issue 212. Nicholas Marriott 2015-11-24 18:46:50 +0000
  • 534f9e3ab1 Merge branch 'obsd-master' Thomas Adam 2015-11-24 10:01:13 +0000
  • b32ce34cf2 Don't allow options in table without scope set. nicm 2015-11-24 09:34:55 +0000
  • 3f47ff6ecd Merge branch 'obsd-master' Thomas Adam 2015-11-24 00:01:16 +0000
  • 2adf3f42ee Partly revert previous, it is harmless to keep support for UTF-8 mouse mode inside tmux, just no longer support it for tmux itself. nicm 2015-11-23 23:47:57 +0000
  • b642b3c8e3 Merge branch 'obsd-master' Thomas Adam 2015-11-23 21:21:12 +0000
  • d63de1e407 Merge branch 'obsd-master' Thomas Adam 2015-11-23 21:20:54 +0000
  • 32e510bd70 Remove support for the UTF-8 mouse extension. This was a briefly used, poor idea that was fairly quickly replaced by SGR mouse input (which is now widespread). It is impossible to tell the difference between UTF-8 and non-UTF-8 mouse input; since the mouse-utf8 option was removed tmux has not handled it correctly in any case; and it is ridiculous to have three different forms of mouse input. nicm 2015-11-23 20:53:09 +0000