Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Allow ispunct() as well as isalnum() when parsing initial window names. | nicm | 2017-07-21 |
| | |||
* | In order that people can use formats like #D in #() in the status line | nicm | 2017-05-01 |
| | | | | | | | | | | | | | | and not have to wait for an update when they change pane, we allow commands to run more than once a second if the expanded form changes. Unfortunately this can mean them being run far too often (pretty much continually) when multiple clients exist, because some formats (including #D) will always differ between clients. To avoid this, give each client its own tree of jobs which means that the same command will be different instances for each client - similar to how we have the tag to separate commands for different panes. GitHub issue 889; test case reported by Paul Johnson. | ||
* | Add a window or pane id "tag" to each format tree and use it to separate | nicm | 2017-02-03 |
| | | | | | | jobs, this means that if the same job is used for different windows or panes (for example in pane-border-format), it will be run separately for each pane. | ||
* | Make options_get_string return const string. | nicm | 2017-01-13 |
| | |||
* | Add static in window-*.c and move some internal functions out of tmux.h. | nicm | 2016-10-11 |
| | |||
* | Loads more static, except for cmd-*.c and window-*.c. | nicm | 2016-10-10 |
| | |||
* | Wrap some long lines and apply some static. | nicm | 2016-07-15 |
| | |||
* | I no longer use my SourceForge address so replace it. | nicm | 2016-01-19 |
| | |||
* | Add cmdq as an argument to format_create and add a format for the | nicm | 2015-12-11 |
| | | | | command name (will also be used for more later). | ||
* | Remove format_create_flags and just pass flags to format_create. | nicm | 2015-12-08 |
| | |||
* | Use __unused rather than rolling our own. | nicm | 2015-11-18 |
| | |||
* | Move struct options into options.c. | nicm | 2015-10-27 |
| | |||
* | Better take on reducing the name timer. Again check for name changes in | nicm | 2015-08-29 |
| | | | | | | the main loop after events that may have changed the pane, but do so at most once every 500 millis. If the pane changed too soon, use a timer to ensure that a check happens later. | ||
* | Revert previous; we do need a timer, until I have a better idea. We | nicm | 2015-08-28 |
| | | | | | | can't do the name check every loop, because that is too expensive, and we can't make sure it only happens infrequently because we have no idea when the next change will happen. | ||
* | We now only checking for name changes when the active pane has changed, | nicm | 2015-08-28 |
| | | | | | | | but that can only happen when we have already been woken up by a read event, so there is no need for a timer, we can just check the changed flag on the end of that read event (we already loop over the windows to check for bells etc anyway). | ||
* | Check changed flag after restarting timer. | nicm | 2015-08-28 |
| | |||
* | Only do the automatic-rename dance if the pane has changed (seen output, | nicm | 2015-08-28 |
| | | | | or new active pane). | ||
* | Wrap all the individual format_* calls in a single format_defaults | nicm | 2015-02-05 |
| | | | | functions. | ||
* | If multiple arguments are given to new-session, new-window, | nicm | 2014-05-13 |
| | | | | | | 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. | ||
* | Add automatic-rename-format option allowing automatic rename to use | nicm | 2013-10-10 |
| | | | | something other than pane_current_command. | ||
* | Revert the command-prefix change which breaks sequences of commands. | Nicholas Marriott | 2013-03-25 |
| | |||
* | Add option command-prefix which is automatically prepended to any | Nicholas Marriott | 2013-03-24 |
| | | | | command (apart from a naked default-shell). The default is "exec ". | ||
* | No more lint means no more ARGSUSED. | Nicholas Marriott | 2013-03-22 |
| | |||
* | Fix session choice so that preferring unattached sessions actually | Nicholas Marriott | 2012-11-27 |
| | | | | works, reported by Drew Frank. | ||
* | Fix up window reference counting and don't crash if the rename timer | Nicholas Marriott | 2012-08-21 |
| | | | | | fires while the window is dead but still referenced. Fixes problem reported by Michael Scholz. | ||
* | xfree is not particularly helpful, remove it. From Thomas Adam. | Nicholas Marriott | 2012-07-10 |
| | |||
* | Turn automatic-rename off properly if turned off by renaming a | Nicholas Marriott | 2012-04-11 |
| | | | | window. Reported by Romain Francoise. | ||
* | Do not fire name timer when automatic-rename is off, from Tim Ruehsen a | Nicholas Marriott | 2012-04-08 |
| | | | | while ago. | ||
* | Check event_initialized before event_del if event may not have been set | Nicholas Marriott | 2012-03-17 |
| | | | | up; libevent2 complains about this. Reported by Moriyoshi Koizumi. | ||
* | Add a missing call to window_set_name, from George Nachman. | Nicholas Marriott | 2012-03-09 |
| | |||
* | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last | Nicholas Marriott | 2009-12-03 |
| | | | | | time now I've configured emacs to make them displayed in really annoying colours... | ||
* | Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to | Nicholas Marriott | 2009-11-26 |
| | | | | the rest to reduce lint output. | ||
* | Change window name change to use a timer event rather than a gettimeofday() | Nicholas Marriott | 2009-11-04 |
| | | | | check every loop. | ||
* | When a window is zombified and automatic-rename is on, append [dead] to the | Nicholas Marriott | 2009-10-10 |
| | | | | name. | ||
* | Regularise some fatal messages. | Nicholas Marriott | 2009-09-20 |
| | |||
* | When using tmux as a login shell, there is currently no way to specify a shell | Nicholas Marriott | 2009-09-01 |
| | | | | | | | | | | | | to be used as a login shell inside tmux, so add a default-shell session option. This sets the shell invoked as a login shell when the default-command option is empty. The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell or /bin/sh is valid first. Based on a diff from martynas@, changed by me to be a session option rather than a window option. | ||
* | Move another expensive options test to after a cheaper timer check/update. | Nicholas Marriott | 2009-08-18 |
| | |||
* | Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX, | Nicholas Marriott | 2009-07-08 |
| | | | | | | | | | and some people may use shells which do not support it. Instead, make an empty default-command option mean a login shell, and fork it with a - in argv[0] which is the method used by login(1). Also fix the automatic-rename code to handle this correctly and to strip a leading - if present. | ||
* | Remove trailing newlines, spaces, and tabs. | Ray Lai | 2009-06-05 |
| | | | | No binary change. | ||
* | Cast char to u_char before passing to isalnum(). | Ray Lai | 2009-06-03 |
| | | | | OK nicm@ | ||
* | Import tmux, a terminal multiplexor allowing (among other things) a single | Nicholas Marriott | 2009-06-01 |
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti |