Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-12 | Nuke the utf8 and status-utf8 options and make tmux only a UTF-8 | nicm | |
terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on). | |||
2015-11-12 | Remove the mouse_utf8_flag format as well. | nicm | |
2015-10-31 | Because pledge(2) does not allow us to pass directory file descriptors | nicm | |
around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too). | |||
2015-10-28 | Like options, move the environ struct into environ.c. | nicm | |
2015-10-27 | Move struct options into options.c. | nicm | |
2015-10-27 | Count brackets in #{?...} so that nested conditional formats work, from | nicm | |
Daniel De Graaf. | |||
2015-10-27 | The format callback may not always succeed, so we need to check for | nicm | |
NULL. From Patrick Palka. | |||
2015-10-25 | Extend the modifiers allowed before formats: as well as the existing | nicm | |
#{=10:...} length limit, add #{t:...} to convert a time_t format to a string, #{b:...} for basename and #{d:...} for dirname. Remove all the foo_string time formats as they can now be replaced by "t:", for example #{window_activity_string} becomes #{t:window_activity}. | |||
2015-10-25 | Pass output from jobs through format_expand() so they are expanded again | nicm | |
(this was the previous behaviour). | |||
2015-10-23 | Format for scroll position, from Jorge Morante. | nicm | |
2015-09-14 | Make refresh-client force update of jobs, from Sina Siadat. | nicm | |
2015-09-10 | Add session_last_attached time and format, from Sina Siadat. | nicm | |
2015-09-03 | A couple of style nits. | nicm | |
2015-08-29 | Move struct paste_buffer out of tmux.h. | nicm | |
2015-08-28 | Make a few more expensive (ish) formats functions instead of inline. | nicm | |
2015-08-28 | Allow formats to be specified as functions (in the code) so they are | nicm | |
only evaluated on demand rather than each time a format tree is constructed. Use this for expensive formats like pane_current_command. | |||
2015-08-28 | Run status update on a per-client timer at status-interval. | nicm | |
2015-08-28 | Move format job cleanup onto its own timer. | nicm | |
2015-08-28 | Allow environment variables in #{}. | nicm | |
2015-07-13 | Add a format to show if client is a control client. From Bruno Sutic. | nicm | |
2015-06-18 | Use xsnprintf. | nicm | |
2015-06-15 | Add window_activity format, from Thomas Adam based on a diff originally | nicm | |
from propos6 at gmail dot com. | |||
2015-06-14 | Add a format for client PID (client_pid) and server PID (pid). Diff for | nicm | |
client_pid from Thomas Adam. | |||
2015-06-10 | wp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam. | nicm | |
2015-05-29 | Don't use special strings if #() commands fail, just remove the format | nicm | |
(as if the command produced nothing). Makes constructions that can fail like '#(test whatever && echo foo)' work as they did before. | |||
2015-05-29 | Expand formats again inside #(), and free the temporaries. | nicm | |
2015-05-27 | Move the jobs output cache into the formats code so that #() work more | nicm | |
generally (for example, again working in set-titles-string). | |||
2015-05-20 | Return empty string if format is empty rather than attempting to | nicm | |
allocate zero bytes. | |||
2015-05-12 | Add a session_alerts format which is a list of all the alerts in the | nicm | |
current session in symbolic form (something like "0!,4~,5!"). Use this in the default set-titles-string. Prompted by a request from Jan ONDREJ. | |||
2015-05-08 | Move input parser structs into input.c (removing fairly useless | nicm | |
saved_cursor_[xy] formats as a side-effect). | |||
2015-05-06 | Add a format window_linked which is 1 if a window has been linked | nicm | |
multiple times, also remove the default space in window_flags and use a conditional to add it in window-status-format (this means additional flags can be added in the option without extra spaces). From Thomas Adam with tweaks by me. | |||
2015-04-21 | Always format real layout even when zoomed. | nicm | |
2015-04-21 | Put mouse_any_flag back, don't know where it went to (still in man page). | nicm | |
2015-04-20 | Support for multiple key tables to commands to be bound to sequences of | nicm | |
keys. The default key bindings become the "prefix" table and -n the "root" table. Keys may be bound in new tables with bind -T and switch-client -T used to specify the table in which the next key should be looked up. Based on a diff from Keith Amling. | |||
2015-03-31 | Add a helper function to convert time, and add session_activity formats | nicm | |
(the latter from Takatoshi Matsumoto). | |||
2015-03-31 | Fix some format specifier nits, from Ben Boeckel. | nicm | |
2015-02-06 | Add format_expand_time and use it instead of status_replace where | nicm | |
command execution is not needed. | |||
2015-02-05 | Wrap all the individual format_* calls in a single format_defaults | nicm | |
functions. | |||
2015-01-11 | correctly use HOST_NAME_MAX. | deraadt | |
Some notes: POSIX HOST_NAME_MAX doesn't include the NUL. POSIX LOGIN_NAME_MAX and TTY_NAME_MAX do include the NUL. BSD MAXHOSTNAMELEN includes the NUL. Actually, most of the historical BSD MAX* defines did include the NUL, except for the historical mistake of utmp fields without NULs in the string, which directly led to strncpy.. just showing how error prone this kind of accounting is. CSRG did right. Somehow POSIX missed the memo on the concepts of carefulness and consistancy, and we are still paying the price when people trip over this. Of course, glibc is even more amazing (that is a hint to blackhats) ok guenther | |||
2014-12-09 | Add pane_dead_status for exit status of dead panes. | nicm | |
2014-12-02 | Permit option values to be used in formats. | nicm | |
2014-12-01 | Check ZOOMED flag on window. | nicm | |
2014-11-08 | Empty strings should be false too for #{?}, from Marc Finet. | nicm | |
2014-10-25 | Add pane_input_off format, from Anish R Athalye. | nicm | |
2014-10-08 | Add xreallocarray and remove nmemb argument from xrealloc. | nicm | |
2014-09-08 | Add window_last_flag and window_zoomed_flag. From John Morrissey. | nicm | |
2014-08-09 | Remove support for the continuous reporting "any" mouse mode which never | nicm | |
really worked properly and is rarely used. | |||
2014-05-27 | Add some formats for pane bounds. | nicm | |
2014-05-13 | If multiple arguments are given to new-session, new-window, | nicm | |
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-13 | Add support for named buffers. If you don't name a buffer, things work | nicm | |
much as before - buffers are automatically named "buffer0000", "buffer0001" and so on and ordered as a stack. Buffers can be named explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b buffer0000 -n foo"). If buffers are named explicitly, they are not deleted when buffer-limit is reached. Diff from J Raynor. |