Commit Graph

  • 92f187d1c2 Need to use pkg-config --static when doing a static build. Nicholas Marriott 2015-12-12 22:04:25 +00:00
  • 845a664bb2 Merge branch 'obsd-master' Thomas Adam 2015-12-12 20:01:15 +00:00
  • 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 +00:00
  • 6a50cf89b4 Return after changing key table. nicm 2015-12-12 18:28:47 +00:00
  • 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 +00:00
  • 5a5db02b85 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-12-11 19:59:08 +00:00
  • 38cc1a1843 Look for ncurses with PKG_CONFIG, and remove libtinfo because it just causes confusion. Nicholas Marriott 2015-12-11 19:58:09 +00:00
  • 2a6b215328 Merge branch 'obsd-master' Thomas Adam 2015-12-11 18:01:11 +00:00
  • 88bc8f3528 Style nits and line wrapping of function declarations. nicm 2015-12-11 16:37:21 +00:00
  • f2be3ad46f Mention {src,dst}-{window,pane} where we define target-{window,pane}. nicm 2015-12-11 16:27:01 +00:00
  • 2a3456cd3b Merge branch 'obsd-master' Thomas Adam 2015-12-11 16:01:16 +00:00
  • 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 +00:00
  • 4909a70174 Merge branch 'obsd-master' Thomas Adam 2015-12-11 13:24:45 +00:00
  • d7e11d0af7 Check alerts when session changes, from Patrick Palka. nicm 2015-12-11 12:39:47 +00:00
  • 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 +00:00
  • af8134a6ff Merge branch 'obsd-master' Thomas Adam 2015-12-08 10:01:16 +00:00
  • a988c36ccb Add to .mailmap, and sort. Nicholas Marriott 2015-12-08 08:46:06 +00:00
  • e0f26dcda3 Remove format_create_flags and just pass flags to format_create. nicm 2015-12-08 08:34:18 +00:00
  • 8f671d3eef Spacing nits. nicm 2015-12-08 08:14:04 +00:00
  • 3182728b70 Merge branch 'obsd-master' Thomas Adam 2015-12-08 07:12:13 +00:00
  • 5862f59ed7 Conflicts: Makefile Thomas Adam 2015-12-08 07:11:09 +00:00
  • 1f94274b92 Ed was meant to be El; jmc 2015-12-08 06:42:07 +00:00
  • 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 +00:00
  • dbfce2a4d8 Use ^= instead of a verbose alternative. ok nicm@ mmcc 2015-12-08 00:51:17 +00:00
  • 98994a8bb1 termios(4) Nicholas Marriott 2015-12-08 00:49:10 +00:00
  • b580a55191 pty(7) -> pty(4) Nicholas Marriott 2015-12-08 00:48:22 +00:00
  • ff16836d1d pty is in section 4 Nicholas Marriott 2015-12-08 00:47:27 +00:00
  • 5411033f66 Update tmux.vim from Teubel Gyorgy. Nicholas Marriott 2015-12-07 12:54:34 +00:00
  • 8383409e88 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-12-07 12:51:20 +00:00
  • d20a3ef57c Update .mailmap file. Nicholas Marriott 2015-12-07 12:51:06 +00:00
  • bac8c72381 Merge branch 'obsd-master' Thomas Adam 2015-12-07 10:01:09 +00:00
  • b9563340b7 Fix bell indicators across detach, reported by Torbjorn Lonnemark, diff from Thomas Adam. nicm 2015-12-07 09:47:41 +00:00
  • 8ae9329aa8 Merge branch 'obsd-master' Thomas Adam 2015-12-05 14:01:09 +00:00
  • 0417f1f2be EAGAIN handling for imsg_read. OK henning@ benno@ claudio 2015-12-05 13:18:24 +00:00
  • 4d5cab4085 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-12-03 14:43:33 +00:00
  • 3cdb2f0bb7 Add to TODO. Nicholas Marriott 2015-12-03 14:43:24 +00:00
  • 66bad2e979 Merge branch 'obsd-master' Thomas Adam 2015-12-03 00:01:08 +00:00
  • 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 +00:00
  • eb5ee80c74 Merge branch 'obsd-master' Thomas Adam 2015-12-01 10:01:13 +00:00
  • 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 +00:00
  • 742976893e Merge branch 'obsd-master' Thomas Adam 2015-11-29 18:01:08 +00:00
  • 1d331c7e62 Delete a duplicated line guenther 2015-11-29 17:06:59 +00:00
  • 9fe8b28746 Merge branch 'obsd-master' Thomas Adam 2015-11-27 15:41:28 +00:00
  • 6a2ca34216 Do not set a limit on the length of commands when printing them. nicm 2015-11-27 15:06:43 +00:00
  • 3b83bda29c Add to TODO. Nicholas Marriott 2015-11-25 23:35:24 +00:00
  • a1bc339340 log_open() isn't conditional on proctitle Thomas Adam 2015-11-25 16:51:17 +00:00
  • 260de2cb5e Remove logfile() Thomas Adam 2015-11-25 16:48:47 +00:00
  • 890d8da2e3 Merge branch 'obsd-master' Thomas Adam 2015-11-25 16:37:30 +00:00
  • ac8678aefe Don't print error if none to print. nicm 2015-11-25 07:58:55 +00:00
  • 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 +00:00
  • 3ff46b2e43 Shell command from -c doesn't have to be global, pass it as an argument. nicm 2015-11-24 23:22:51 +00:00
  • 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 +00:00
  • 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 +00:00
  • c18fbefe93 Document socket_path format. nicm 2015-11-24 22:27:59 +00:00
  • 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 +00:00
  • 8976dac9e0 Remove malloc_options DEBUG bit. nicm 2015-11-24 22:09:53 +00:00
  • bef217b241 Switch a fprintf to a fatal, and wrap some long lines. nicm 2015-11-24 22:04:36 +00:00
  • 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 +00:00
  • 9fd3318dd8 All kill-session -C to clear alerts in all windows, suggested by Aaron U'Ren. nicm 2015-11-24 21:50:06 +00:00
  • 4e3015a892 Log some system and libevent information at startup. nicm 2015-11-24 21:32:36 +00:00
  • bdbbd9711c Show libevent version in showmsgs -I. nicm 2015-11-24 21:23:44 +00:00
  • 9cccb8c115 Make the log stuff a bit tidier with some helper functions. nicm 2015-11-24 21:19:46 +00:00
  • 4ec61bef46 Fix usage of detach-client. nicm 2015-11-24 20:40:51 +00:00
  • 0a2ef2b932 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-24 18:50:24 +00:00
  • 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 +00:00
  • 534f9e3ab1 Merge branch 'obsd-master' Thomas Adam 2015-11-24 10:01:13 +00:00
  • b32ce34cf2 Don't allow options in table without scope set. nicm 2015-11-24 09:34:55 +00:00
  • 3f47ff6ecd Merge branch 'obsd-master' Thomas Adam 2015-11-24 00:01:16 +00:00
  • 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 +00:00
  • b642b3c8e3 Merge branch 'obsd-master' Thomas Adam 2015-11-23 21:21:12 +00:00
  • d63de1e407 Merge branch 'obsd-master' Thomas Adam 2015-11-23 21:20:54 +00:00
  • 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 +00:00
  • 28e72ae34d Don't leak extddata, memset after freeing it, not before. From Patrick Palka. nicm 2015-11-22 19:42:57 +00:00
  • 01a2ddf3f8 Add getpw to pledge, makes tmux work in YP environments, discovered by matthieu, ok deraadt nicm 2015-11-22 19:41:19 +00:00
  • 4fcc02ee9d If display-time is set to 0, show status messages until a key is pressed; OK nicm@ tim 2015-11-22 18:28:01 +00:00
  • 78a00c845c Merge branch 'obsd-master' Thomas Adam 2015-11-21 14:24:33 +00:00
  • 2c482939fd Move tmux.h below system includes. Nicholas Marriott 2015-11-21 08:03:18 +00:00
  • 933929cd62 Memory leaks and an uninitialized part of utf8_data, from Patrick Palka. nicm 2015-11-20 22:02:54 +00:00
  • 40fefe2cbc The alerts callback should be fired for bells even if bell-action is none because it also affects the status line bell indicator (and bell-action does not). Fixes a problem reported by tim@. nicm 2015-11-20 16:33:46 +00:00
  • fce56c56ef Instead of separate tables for different types of options, give each option a scope type (server, session, window) in one table. nicm 2015-11-20 12:01:19 +00:00
  • 374e273df5 Only assume pasting with at least two characters, reduces problems for people who can type ^B c very fast, or who are using tmux inside something else that buffers. nicm 2015-11-19 22:46:46 +00:00
  • cf688db4b5 Merge branch 'obsd-master' Thomas Adam 2015-11-19 16:01:12 +00:00
  • 98967c5ec9 The activity flag could already be set, so queue the callback always (if not already queued) rather than only if the flag is being added. Fixes a problem reported by tim@ nicm 2015-11-19 14:55:25 +00:00
  • 45b4e337cb Merge branch 'obsd-master' Thomas Adam 2015-11-18 18:01:13 +00:00
  • 82760a9960 Use format_expand_time for display-message. nicm 2015-11-18 16:49:13 +00:00
  • c15487318b unused -> __unused. Nicholas Marriott 2015-11-18 16:45:44 +00:00
  • a58eaec540 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-18 16:42:25 +00:00
  • 7fe8edc396 Merge branch 'obsd-master' Thomas Adam 2015-11-18 16:01:23 +00:00
  • 8b4b3ff4fc Add __unused, will be needed shortly. Nicholas Marriott 2015-11-18 14:37:08 +00:00
  • 577c0e3e5a Use __unused rather than rolling our own. nicm 2015-11-18 14:27:44 +00:00
  • 5a5b950e8b Add s/foo/bar/: prefix for formats to substitute bar for foo. nicm 2015-11-18 14:13:55 +00:00
  • f8a1f8843c Add -Wno-attributes. Nicholas Marriott 2015-11-18 14:10:48 +00:00
  • 9bba26f8c5 Add reallocarray prototype. Nicholas Marriott 2015-11-18 14:09:17 +00:00
  • 8fa822b521 Merge branch 'obsd-master' Thomas Adam 2015-11-18 14:01:12 +00:00
  • 64571368dc Sync the entire xmalloc.[ch] with the other users, but with the addition of xrealloc, xvasprintf, xvsnprintf. nicm 2015-11-18 13:06:54 +00:00
  • 93742ed5df Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-11-18 12:55:22 +00:00
  • a77960c540 Add reallocarray to compat. Nicholas Marriott 2015-11-18 12:54:29 +00:00
  • 4b703d3049 Merge branch 'obsd-master' Thomas Adam 2015-11-18 10:01:11 +00:00
  • ca5e6bf5f2 Don't update activity time twice for new sessions, and add some logging. nicm 2015-11-18 09:22:29 +00:00
  • 44cad8f4ed Merge branch 'obsd-master' Thomas Adam 2015-11-17 20:01:12 +00:00