Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-27 | Rewrite of the target resolution internals to be simpler and more | Nicholas Marriott | |
consistent but with much less duplication, but keeping the same internal API. Also adds more readable aliases for some of the special tokens used in targets (eg "{start}" instead of "^"). Some behaviours may have changed, for example prefix matches now happen before fnmatch. | |||
2015-04-25 | Make message log a TAILQ. | Nicholas Marriott | |
2015-04-25 | Move the functions to convert ids from strings into session.c and window.c. | Nicholas Marriott | |
2015-04-24 | Convert clients list into a TAILQ. | Nicholas Marriott | |
2015-04-21 | Look up indexes as number before name, makes more sense if windows are | Nicholas Marriott | |
named starting with numbers. From Thomas Adam. | |||
2015-04-19 | Rewrite of tmux mouse support which was a mess. Instead of having | Nicholas Marriott | |
options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files. | |||
2014-10-08 | Add xreallocarray and remove nmemb argument from xrealloc. | Nicholas Marriott | |
2014-09-25 | Support using pane id as part of session or window specifier (so %1 | Nicholas Marriott | |
means session-of-%1 or window-of-%1) and window id as part of session (so @1 means session-of-@1). | |||
2014-09-25 | Support ! for last pane. | Nicholas Marriott | |
2014-07-13 | Show an error if cmd_find_session can't find the current session, like | Nicholas Marriott | |
the other functions. | |||
2014-05-13 | If multiple arguments are given to new-session, new-window, | Nicholas Marriott | |
split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor. | |||
2014-05-09 | Just use char ** for argv like normal people, not char *const *. | Nicholas Marriott | |
2014-04-16 | Remove the choose-list command to prepare for some later choose-* work. | Nicholas Marriott | |
2014-03-31 | Don't write into buffer if no arguments, reported by Filipe Rosset. | Nicholas Marriott | |
2014-01-09 | Allow attach-session -t to accept a window and pane to select them on | Nicholas Marriott | |
attach. Based on a diff from J Raynor. | |||
2013-10-10 | We accidentally haven't been using $TMUX to work out the session for a | Nicholas Marriott | |
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. | |||
2013-10-10 | Remove now unused cmd_get_default_path. | Nicholas Marriott | |
2013-10-10 | Support -c for new-session, based on code from J Raynor. | Nicholas Marriott | |
2013-10-10 | Remove the barely-used and unnecessary command check() function. | Nicholas Marriott | |
2013-05-15 | Reserve space for \0 in cmd_print, from George Nachman. | Nicholas Marriott | |
2013-03-25 | Sort includes and fix spaces. | Nicholas Marriott | |
2013-03-25 | Rename session idx to session id throughout and add $ prefix to targets | Nicholas Marriott | |
to use it, extended from a diff from George Nachman. | |||
2013-03-25 | Add a wait-for command which blocks a client on a named channel until it | Nicholas Marriott | |
is woken up again (with wait-for -S). From Thiago Padilha. | |||
2013-03-25 | tty.path can be NULL, don't dereference it. From George Nachman. | Nicholas Marriott | |
2013-03-24 | Add a command queue to standardize and simplify commands that call other | Nicholas Marriott | |
commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client. | |||
2013-03-24 | Fix error reporting for client commands by adding a flag to | Nicholas Marriott | |
cmd_find_client to tell it whether or not to show errors, sometimes it's needed and sometimes not. | |||
2013-03-22 | Need to set clients in context before changing their reference count. | Nicholas Marriott | |
2013-03-22 | Add functions to allocate and free command contexts rather than doing it | Nicholas Marriott | |
all on the stack. | |||
2013-03-21 | Do not crash when calling choose-tree with a command that changes the mode. | Nicholas Marriott | |
2013-03-21 | Fix constness of cmd_template_replace, window_choose_add_item and | Nicholas Marriott | |
window_choose_add_window. | |||
2013-01-18 | Style nits - return (x) not return x. | Nicholas Marriott | |
2012-12-24 | Add ^ and $ special command targets to select lowest and highest | Nicholas Marriott | |
numbered windows, from Raghavendra D Prabhu. | |||
2012-11-27 | Fix session choice so that preferring unattached sessions actually | Nicholas Marriott | |
works, reported by Drew Frank. | |||
2012-09-24 | Use pgrp of pty fd not pid of immediate child when recovering current | Nicholas Marriott | |
working directory (like current process). From Marcel Partap. | |||
2012-09-03 | add cmd-choose-list to allow arbitrary options to be selected. From | Nicholas Marriott | |
Thomas Adam. | |||
2012-07-11 | Make command exec functions return an enum rather than -1/0/1 values and | Nicholas Marriott | |
add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531. | |||
2012-07-10 | xfree is not particularly helpful, remove it. From Thomas Adam. | Nicholas Marriott | |
2012-07-08 | Add choose-tree command to show windows and sessions in the same | Nicholas Marriott | |
list. Change choose-window and -session to use the same code. From Thomas Adam. | |||
2012-06-18 | Do not crash when the current session has no window, fixes a bug | Nicholas Marriott | |
reported by Giorgio Lando. Fix from Thomas Adam. | |||
2012-04-23 | Do not return a buffer on the stack, mentioned by jsg a while ago. | Nicholas Marriott | |
2012-04-22 | Fix printing commands with no arguments, from Benjamin Poirier. | Nicholas Marriott | |
2012-03-03 | Add move-pane command (like join-pane but allows the same window). Also | Nicholas Marriott | |
-b flag to join-pane and move-pane to place the pane to the left or above. From George Nachman. | |||
2012-02-06 | Don't die if fail to get root directory, from Ben Boeckel. | Nicholas Marriott | |
2012-01-31 | Provide defined ways to set the various default-path possibilities: ~ | Nicholas Marriott | |
for home directory, . for server start directory, - for session start directory and empty for the pane's working directory (the default). All can also be used as part of a relative path (eg -/foo). Also provide -c flags to neww and splitw to override default-path setting. Based on a diff from sthen. ok sthen | |||
2012-01-30 | Give each window a unique id, like panes but prefixed with @. Based on | Nicholas Marriott | |
work from George Nachman. | |||
2012-01-20 | Add some const and fix a warning. | Nicholas Marriott | |
2011-12-27 | Allow $HOME as default-path in tmux.conf so the same config file can be used | Stefan Sperling | |
on different machines regardless of where the user's home directory is. ok nicm | |||
2011-12-09 | Change the way the working directory for new processes is discovered. If | Nicholas Marriott | |
default-path isn't empty, it is used. Otherwise: 1) If tmux neww is run from the command line, the working directory of the client is used. 2) Otherwise sysctl KERN_PROC_CWD is used to retrieve the current working directory of the process in the active pane. 3) If that fails, the directory where the session was created is used. Support code by Romain Francois, OpenBSD specific bits by me. Note this requires a recent userland and kernel with KERN_PROC_CWD. | |||
2011-06-05 | Add a respawn-pane command, from Marcel Partap. | Nicholas Marriott | |
2011-06-05 | Get rid of the layout string code which tries to walk through the layout | Nicholas Marriott | |
hierarchy and instead just look at what panes are actually in the window. |