Commit Graph

  • 2bf2f5d58e Allow nested format expansion. nicm 2013-10-10 11:50:36 +00:00
  • 40811eb8d4 Add length limit operator for formats. nicm 2013-10-10 11:50:20 +00:00
  • 2756d12750 Handle input mouse positions <33 (we already can generate them). nicm 2013-10-10 11:49:42 +00:00
  • 7839993fe7 Only include actual trailing spaces not unused cells with capturep -J, from George Nachman. nicm 2013-10-10 11:49:29 +00:00
  • 47a4a9992c Allow the file descriptor received from the client to be -1. nicm 2013-10-10 11:49:07 +00:00
  • d75dd2ab1c Add formats for window flags. nicm 2013-10-10 11:47:52 +00:00
  • 6e665708fc Missing space in refresh-client synopsis. nicm 2013-10-10 11:46:47 +00:00
  • d3830e622f Grouped sessions were being leaked on destroy, correctly free them. nicm 2013-10-10 11:46:28 +00:00
  • 0538676aa3 Make recalculate_sizes() handle an empty window with no active pane. This can happen when a window is in two sessions - it isn't destroyed immediately when the pane goes away but is left until the last session is destroyed. Fixes problems with grouped sessions reported by Daniel Ralston. nicm 2013-10-10 11:46:00 +00:00
  • 4c9f41f1ad Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd can be NULL. Avoids crash when a command in a command client can't be parsed. nicm 2013-10-10 11:45:28 +00:00
  • e588ddb5d6 Add openat() to compat. Nicholas Marriott 2013-10-10 10:27:23 +01:00
  • f3ec8693e3 Pass -1 for cwd now not NULL. Nicholas Marriott 2013-10-06 22:44:24 +01:00
  • e9b09faab2 We accidentally haven't been using $TMUX to work out the session for a while and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ. Nicholas Marriott 2013-10-06 22:38:33 +01:00
  • 5ea6148362 Remove now unused cmd_get_default_path. Nicholas Marriott 2013-10-06 21:35:44 +01:00
  • 9e0d7bddc0 Don't boke when figuring out working directory from configuration file. Nicholas Marriott 2013-10-06 21:31:55 +01:00
  • aa0a57fd56 Show session name in detached message. Requested by somebody a few months ago who didn't bother testing it. But it works for me anyway. Nicholas Marriott 2013-10-06 21:21:52 +01:00
  • d86c70af96 Don't look at string[length - 1] if length == 0. Nicholas Marriott 2013-10-06 21:20:11 +01:00
  • 4538c269d0 Alter how tmux handles the working directory to internally use file descriptors rather than strings. Nicholas Marriott 2013-10-06 21:02:23 +01:00
  • 446eb11cde Make tilde expansion in command strings work even if it isn't terminated by /. Nicholas Marriott 2013-10-06 09:06:07 +01:00
  • fa1375c09f Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048. Nicholas Marriott 2013-10-06 00:48:24 +01:00
  • f141e9b37a Instead of fixed size buffers for some messages, send only the string length. Nicholas Marriott 2013-10-06 00:28:35 +01:00
  • 3fba377ddd retcode -> retval for exit message. Nicholas Marriott 2013-10-06 00:18:00 +01:00
  • 01a4752503 Merge IDENTIFY_* flags with CLIENT_* flags. Nicholas Marriott 2013-10-06 00:10:40 +01:00
  • d66cbf20f7 Bump protocol version and add new message types. Nicholas Marriott 2013-10-06 00:06:01 +01:00
  • 7e4314eccb Remove CMD_SENDENVIRON. Nicholas Marriott 2013-10-06 00:02:52 +01:00
  • 7c71c3e27d Change the default for the default-path option to ~. This is a quick change to turn off the KERN_PROC_CWD code which is unpredictable. Later it will go away and there may be other changes to how this works. nicm 2013-10-05 13:56:48 +00:00
  • 5eeee39cc1 Ignore .dirstamp files Thomas Adam 2013-10-05 12:45:24 +01:00
  • 796974ddf6 Check setupterm() in libtinfo also Thomas Adam 2013-10-03 16:56:12 +01:00
  • 75f5b3dab6 Add subdir-objects to shut automake up Thomas Adam 2013-10-03 22:31:26 +01:00
  • 9f330897a8 Fix previous not to leak fd on failure, whoops. nicm 2013-10-05 10:40:49 +00:00
  • 710eeb2a33 Fix previous not to lead fd on failure. Nicholas Marriott 2013-10-05 11:40:47 +01:00
  • 3493b7dac7 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-10-05 09:14:35 +01:00
  • d51b4f92d7 Use open(".")/fchdir() to save and restore current directory rather than getcwd()/chdir(). Nicholas Marriott 2013-10-05 09:14:11 +01:00
  • 3d8a8ea0c6 Use open(".")/fchdir() to save and restore current directory rather than getcwd()/chdir(). nicm 2013-10-05 08:12:39 +00:00
  • 2057812c8f mouse-resize-pane: Only resize on border select Thomas Adam 2013-08-24 22:37:42 +01:00
  • 13360ad541 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-10-01 23:50:24 +01:00
  • 9389cfbec9 Support -c for new-session, based on code from J Raynor. Nicholas Marriott 2013-10-01 23:48:03 +01:00
  • 7be152412e Make cmdq->client_exit a tristate (-1 means "not set") so that if explicitly set it can be copied from child to parent cmdq by if-shell and source-file. This fixes using attach or new. From Chris Johnsen. Nicholas Marriott 2013-10-01 23:31:09 +01:00
  • d0fa48db1e Restore missing key binding for %, from Chris Johnsen. Nicholas Marriott 2013-10-01 23:27:36 +01:00
  • 884a21d0f5 First period not last for host_short, from Michael Scholz. Nicholas Marriott 2013-10-01 23:24:39 +01:00
  • 21bca549d3 layout-resize-pane-mouse: Consider visible panes only Thomas 2013-09-10 13:17:39 +01:00
  • bda970b3b1 Don't treat TMUX_TMPDIR as a potential file Thomas 2013-09-26 12:00:48 +01:00
  • 75ec17f0b5 Mark flags as optional and mutually exclusive. Tiago Cunha 2013-08-31 11:16:47 +01:00
  • d62121e7bb Add entry about smaller clients based on text from Thomas Adam. Nicholas Marriott 2013-08-31 10:42:09 +01:00
  • 06d101657f No space in lsw -a targets. Nicholas Marriott 2013-08-28 12:59:13 +01:00
  • 2f7ffab0e8 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-08-23 15:58:46 +01:00
  • 3ed5e56a39 Set EVENT_NOEPOLL on Linux again. Nicholas Marriott 2013-08-23 15:25:05 +01:00
  • a0802dd486 A couple of manpage fixes from Tiago Cunha. Nicholas Marriott 2013-08-22 00:32:55 +01:00
  • f2675cdf04 Trivial style and spacing nits. Nicholas Marriott 2013-08-21 18:35:01 +01:00
  • e3864c383f Remove from TODO. Nicholas Marriott 2013-08-21 18:33:34 +01:00
  • 25c0dc5e6e ++ to TODO. Nicholas Marriott 2013-08-21 18:30:27 +01:00
  • 8954d01f96 + to TODO. Nicholas Marriott 2013-08-21 18:28:31 +01:00
  • b2fe9bff3f Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-08-21 18:03:07 +01:00
  • a36da3a878 Remove the barely-used and unnecessary command check() function. Nicholas Marriott 2013-08-21 18:01:40 +01:00
  • c103f2fbcb Clear window->flags when clearing winlinks Thomas 2013-08-20 10:37:55 +01:00
  • aa4920fea3 choose-tree: Reset top when toggling items Thomas 2013-08-09 10:37:46 +01:00
  • 5532766b19 Renumber windows: Lookup lastw via window not index Thomas Adam 2013-08-13 21:56:41 +01:00
  • 5dbf3cb036 Assign mouse x/y coords before checking them Thomas 2013-08-16 11:58:32 +01:00
  • ddf929390e Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff from Hayaki Saito. Nicholas Marriott 2013-08-19 22:31:38 +01:00
  • 23519fc0b4 Add automatic-rename-format option allowing automatic rename to use something other than pane_current_command. Nicholas Marriott 2013-08-19 22:16:11 +01:00
  • 04288fcd4c Allow nested format expansion. Nicholas Marriott 2013-08-19 22:14:55 +01:00
  • 84c22d053b Add length limit operator for formats. Nicholas Marriott 2013-08-03 21:06:38 +01:00
  • 7581762c8e + to TODO. Nicholas Marriott 2013-08-02 13:53:17 +01:00
  • 7673732c0f Handle input mouse positions <33 (we already can generate them). Nicholas Marriott 2013-08-02 08:51:57 +01:00
  • 2dfd3fbd71 Only include actual trailing spaces not unused cells with capturep -J, from George Nachman. Nicholas Marriott 2013-08-01 23:47:45 +01:00
  • 3a13e066ba Allow the file descriptor received from the client to be -1 - it can be on Cygwin when stdin is not a terminal. Reported by A Young, SF bug 52. Nicholas Marriott 2013-08-01 23:42:39 +01:00
  • bcd9bcae2a Add formats for window flags. Nicholas Marriott 2013-08-01 23:41:39 +01:00
  • 939f796f08 Don't leak formats if they are added multiple times. Nicholas Marriott 2013-08-01 23:40:44 +01:00
  • 27364345bf Don't add client formats when they are NULL. Nicholas Marriott 2013-08-01 23:39:09 +01:00
  • 35c19ffc28 Missing space in refresh-client synopsis. Nicholas Marriott 2013-08-01 23:38:53 +01:00
  • b0b5cad496 Grouped sessions were being leaked on destroy, correctly free them. Nicholas Marriott 2013-08-01 23:38:35 +01:00
  • 965edf8a5c Make recalculate_sizes() handle an empty window with no active pane. This can happen when a window is in two sessions - it isn't destroyed immediately when the pane goes away but is left until the last session is destroyed. Fixes problems with grouped sessions reported by Daniel Ralston. Nicholas Marriott 2013-08-01 23:37:45 +01:00
  • 1c271852fc Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd can be NULL. Avoids crash when a command in a command client can't be parsed. Nicholas Marriott 2013-08-01 23:35:03 +01:00
  • 7ea560261c Add destroy entry to TODO. Nicholas Marriott 2013-07-27 19:57:21 +01:00
  • 304ea079d2 use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ schwarze 2013-07-16 00:07:52 +00:00
  • c190c73240 Merge branch 'obsd-master' Thomas Adam 2013-07-13 16:57:51 +01:00
  • e8567098a4 Add support for Cgywin, apparently it is enough just to open the tty again in the server and fd passing is not necessary. Needs some ifdefs unfortunately but no way around that and some of them can go next time we're willing to do a protocol bump. Patch from J Raynor jxraynor at gmail dot com. Nicholas Marriott 2013-07-12 22:21:42 +01:00
  • a9ebb62d54 Make next-word-end work properly with vi(1) keys, reported by patrick keshishian. Nicholas Marriott 2013-07-12 09:52:36 +00:00
  • bdea2f9eda Merge branch 'obsd-master' Thomas Adam 2013-07-06 11:18:49 +01:00
  • f5b041e394 Add pane_synchronized format, from Romain Francoise. Nicholas Marriott 2013-07-05 15:27:14 +00:00
  • e496a548d7 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-07-05 16:24:13 +01:00
  • 3d39b18e31 Section on clipboard, from Thomas Adam. Nicholas Marriott 2013-07-05 16:23:33 +01:00
  • a96a8a1aab Clarify error messages when setting options, from Thomas Adam. Nicholas Marriott 2013-07-05 15:10:38 +00:00
  • 064124cc5f When the session option renumber-window is used, ensure we iterate over all sessions in that group when the winlinks are reordered, otherwise the winlink lists are out of sync with one another. From Thomas Adam. Nicholas Marriott 2013-07-05 14:52:33 +00:00
  • 7af5fec038 Whitespace nits, from Ben Boeckel. Nicholas Marriott 2013-07-05 14:44:06 +00:00
  • f884fff869 Implement s, S, C mode switch commands in vi(1) mode, from Ben Boeckel. Nicholas Marriott 2013-07-05 14:38:23 +00:00
  • c7a121cfc0 Focus events can cause trouble if left on and they can't be turned off during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off. Nicholas Marriott 2013-06-23 13:10:46 +00:00
  • 777be296ee Always push a focus event when the application turns it on, prompted by discussion with Hayaki Saito a while ago. Nicholas Marriott 2013-06-23 12:51:28 +00:00
  • a0172a6ae5 Mark control commands specially so the client can identify them, based on a diff from George Nachman a while back. Nicholas Marriott 2013-06-23 12:41:54 +00:00
  • 1099442c0a +strings.h in compat/. Nicholas Marriott 2013-06-25 09:57:49 +01:00
  • 18989cd430 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-06-25 09:49:14 +01:00
  • 828145456c Don't set TMUX_CONF in tmux.h. Nicholas Marriott 2013-06-25 09:48:09 +01:00
  • 097a046e4a Use _XPG6 on Solaris with GCC because the headers are insane and don't like GCC with -std=gnu99 and _XPG4_2. We should not really be using _XPG* at all but there doesn't seem to be a magic define that says "give me the latest standard", and things are further confused by the CMSG_DATA check in configure.ac which sets _XOPEN_SOURCE _XOPEN_SOURCE_EXTENDED. Nicholas Marriott 2013-06-25 09:35:42 +01:00
  • 3977dba761 Focus events can cause trouble if left on and they can't be turned off during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off. Nicholas Marriott 2013-06-23 13:10:46 +00:00
  • a41cd8d75b Always push a focus event when the application turns it on, prompted by discussion with Hayaki Saito a while ago. Nicholas Marriott 2013-06-23 12:51:28 +00:00
  • 662d471215 Mark control commands specially so the client can identify them, based on a diff from George Nachman a while back. Nicholas Marriott 2013-06-23 12:41:54 +00:00
  • 06b5805479 Merge branch 'obsd-master' Thomas Adam 2013-06-13 18:12:49 +01:00
  • d6debc21c7 revert r1.156 "Add support for focus notifications when tmux pane changes" beck@ found annoying beeps if a machine was shutdown while tmux is running and you then focus in/out of an xterm; kettenis tracked it down to 1.156. Stuart Henderson 2013-06-11 19:18:02 +00:00
  • ddb52a2b15 escape "Ss", becuase groff thinks it has found a macro; Jason McIntyre 2013-06-02 14:40:17 +00:00
  • 13441e8cb8 The actual terminfo entries we ended up with for cursor changes are Cs, Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead of the ones we were using earlier. Nicholas Marriott 2013-06-02 07:52:15 +00:00