Commit Graph

  • 7fa55b0419 Key to swap to other end of selection (bound to o with vi keys), from J Raynor. nicm 2013-10-23 11:31:03 +00:00
  • bf35441608 Do not run any command line command from the client which starts the server until after the configuration file completes. This prevents it racing against run-shell or if-shell in .tmux.conf that run in the background. nicm 2013-10-20 17:28:43 +00:00
  • f52eac6225 Don't turn on modifyOtherKeys by default, it is annoying if tmux is killed and it's left on and we can't turn it on and off like we do for attributes. It's not hard to enable in .Xresources or .Xdefaults anyway. nicm 2013-10-20 09:37:50 +00:00
  • 2c08a3a559 Merge branch 'obsd-master' Thomas Adam 2013-10-15 08:06:56 +01:00
  • 2eb6d6e31b Fix detach -a by skipping clients where the session is NULL. nicm 2013-10-15 00:15:11 +00:00
  • 334c28afe7 Fix previous Thomas Adam 2013-10-11 19:41:43 +01:00
  • 5944230c50 Fix up missing cwd definition Thomas Adam 2013-10-11 19:38:40 +01:00
  • 8bcdd8fc21 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-10-11 16:52:39 +01:00
  • d518067be6 Forward-declarations for osdep-linux Thomas 2013-10-11 14:55:57 +01:00
  • f703a30dfe Fixup osdep-* specific code Thomas 2013-10-11 14:39:22 +01:00
  • 1a0951959f Add destroy entry to TODO. Nicholas Marriott 2013-07-27 19:57:21 +01:00
  • b347a994fd + to TODO. Nicholas Marriott 2013-08-02 13:53:17 +01:00
  • 6126fa0995 + to TODO. Nicholas Marriott 2013-08-21 18:28:31 +01:00
  • 85df418728 ++ to TODO. Nicholas Marriott 2013-08-21 18:30:27 +01:00
  • 558e5639d0 Remove from TODO. Nicholas Marriott 2013-08-21 18:33:34 +01:00
  • d8d746b4b8 Set EVENT_NOEPOLL on Linux again. Nicholas Marriott 2013-08-23 15:25:05 +01:00
  • 570028e9c0 Add entry about smaller clients based on text from Thomas Adam. Nicholas Marriott 2013-08-31 10:42:09 +01:00
  • 7c3e7d6535 Add subdir-objects to shut automake up Thomas Adam 2013-10-03 22:31:26 +01:00
  • 5b065e93b3 Check setupterm() in libtinfo also Thomas Adam 2013-10-03 16:56:12 +01:00
  • d3f37566e2 Ignore .dirstamp files Thomas Adam 2013-10-05 12:45:24 +01:00
  • b8b31ad53e Add openat() to compat. Nicholas Marriott 2013-10-10 10:27:23 +01:00
  • 7f479ffdce Merge branch 'obsd-master' into mtemp Thomas 2013-10-11 14:33:29 +01:00
  • 4901d9ddc8 Don't leak file descriptors in the rare MSG_VERSION case. From Chris Johnsen. nicm 2013-10-11 08:07:12 +00:00
  • ffba21a60c Remove stray return, from Chris Johnsen. nicm 2013-10-11 08:06:03 +00:00
  • 98b81e9834 And get it right this time... don't leak if it is an empty string either. nicm 2013-10-11 08:03:43 +00:00
  • 17ec688ced Bracket in the wrong place in description of c0-change-trigger. nicm 2013-10-10 23:31:28 +00:00
  • 0b77d17b35 Fix leak in format_get_command. nicm 2013-10-10 23:31:03 +00:00
  • d0566a474a Remove the KERN_PROC_CWD the proc_current_path format (which is the only thing that uses it now). nicm 2013-10-10 12:39:24 +00:00
  • 99e3cbc526 Use format_get_command() and some spacing tweaks. nicm 2013-10-10 12:35:30 +00:00
  • b85de1ddb3 Pass -1 for cwd now not NULL. nicm 2013-10-10 12:29:53 +00:00
  • c1ccefc62d 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. nicm 2013-10-10 12:29:35 +00:00
  • 6ac7abe8f0 Remove now unused cmd_get_default_path. nicm 2013-10-10 12:28:56 +00:00
  • 909e1c1a86 Don't boke when figuring out working directory from configuration file. nicm 2013-10-10 12:28:38 +00:00
  • 7936ce3874 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. nicm 2013-10-10 12:28:08 +00:00
  • b8b85fbb0c Don't look at string[length - 1] if length == 0. nicm 2013-10-10 12:27:38 +00:00
  • 282c5f9644 Alter how tmux handles the working directory to internally use file descriptors rather than strings. nicm 2013-10-10 12:26:34 +00:00
  • 165aa59760 Make tilde expansion in command strings work even if it isn't terminated by /. nicm 2013-10-10 12:14:09 +00:00
  • 10c38436aa Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048. nicm 2013-10-10 12:13:56 +00:00
  • a0404b6902 retcode -> retval for exit message. nicm 2013-10-10 12:12:54 +00:00
  • eb26dbd072 Merge IDENTIFY_* flags with CLIENT_* flags. nicm 2013-10-10 12:12:08 +00:00
  • 6c093010e0 Remove CMD_SENDENVIRON. nicm 2013-10-10 12:09:34 +00:00
  • d2160e3f83 mouse-resize-pane: Only resize on border select nicm 2013-10-10 12:08:14 +00:00
  • b822d24b15 Support -c for new-session, based on code from J Raynor. nicm 2013-10-10 12:07:36 +00:00
  • fc54bfe6b0 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. nicm 2013-10-10 12:04:38 +00:00
  • 1a49ebaa9f First period not last for host_short, from Michael Scholz. nicm 2013-10-10 12:04:01 +00:00
  • e4dc1568ce Don't treat TMUX_TMPDIR as a potential file nicm 2013-10-10 12:03:22 +00:00
  • 1bd0851ee8 Mark flags as optional and mutually exclusive. From Tiago Cunha. nicm 2013-10-10 12:02:55 +00:00
  • 1b7c2dd056 Trivial style and spacing nits. nicm 2013-10-10 12:01:14 +00:00
  • d45c12b6c9 Remove the barely-used and unnecessary command check() function. nicm 2013-10-10 12:00:18 +00:00
  • 90ae7682ed Clear window->flags when clearing winlinks nicm 2013-10-10 11:59:23 +00:00
  • e6af0ad23e choose-tree: Reset top when toggling items nicm 2013-10-10 11:58:52 +00:00
  • 34674bb180 Renumber windows: Lookup lastw via window not index nicm 2013-10-10 11:58:24 +00:00
  • 784b711393 Assign mouse x/y coords before checking them. When receiving mouse inputs, we should set the x/y coordinates earlier than we currently do, so that we aren't off-by-one in the case when the statusbar is at the top of the screen. By Thomas Adam. nicm 2013-10-10 11:57:52 +00:00
  • 81a548bcc4 Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff from Hayaki Saito. nicm 2013-10-10 11:57:14 +00:00
  • fd1750af49 Add automatic-rename-format option allowing automatic rename to use something other than pane_current_command. nicm 2013-10-10 11:56:50 +00:00
  • 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