aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2015-09-10
|\|
| * Add session_last_attached time and format, from Sina Siadat.nicm2015-09-10
| |
* | Merge branch 'obsd-master'Thomas Adam2015-09-06
|\| | | | | | | | | | | Conflicts: cfg.c tmux.c
| * A couple of style nits.nicm2015-09-03
| |
* | Bring back pane_current_path.Nicholas Marriott2015-08-31
| |
* | Linux: get_proc_name() -> osdep_get_name()Thomas Adam2015-08-30
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-30
|\| | | | | | | | | | | Conflicts: Makefile format.c
| * Move struct paste_buffer out of tmux.h.nicm2015-08-29
| |
| * Make a few more expensive (ish) formats functions instead of inline.nicm2015-08-28
| |
| * Allow formats to be specified as functions (in the code) so they arenicm2015-08-28
| | | | | | | | | | only evaluated on demand rather than each time a format tree is constructed. Use this for expensive formats like pane_current_command.
* | Merge branch 'obsd-master'Thomas Adam2015-08-28
|\|
| * Run status update on a per-client timer at status-interval.nicm2015-08-28
| |
| * Move format job cleanup onto its own timer.nicm2015-08-28
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-28
|\|
| * Allow environment variables in #{}.nicm2015-08-28
| |
* | Merge branch 'obsd-master'Thomas Adam2015-07-13
|\|
| * Add a format to show if client is a control client. From Bruno Sutic.nicm2015-07-13
| |
* | Merge branch 'obsd-master'Thomas Adam2015-06-19
|\|
| * Use xsnprintf.nicm2015-06-18
| |
* | Merge branch 'obsd-master'Thomas Adam2015-06-15
|\|
| * Add window_activity format, from Thomas Adam based on a diff originallynicm2015-06-15
| | | | | | | | from propos6 at gmail dot com.
* | Merge branch 'obsd-master'Thomas Adam2015-06-14
|\|
| * Add a format for client PID (client_pid) and server PID (pid). Diff fornicm2015-06-14
| | | | | | | | client_pid from Thomas Adam.
* | Merge branch 'obsd-master'Thomas Adam2015-06-10
|\|
| * wp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam.nicm2015-06-10
| |
* | Merge branch 'obsd-master'Thomas Adam2015-05-30
|\|
| * Don't use special strings if #() commands fail, just remove the formatnicm2015-05-29
| | | | | | | | | | (as if the command produced nothing). Makes constructions that can fail like '#(test whatever && echo foo)' work as they did before.
| * Expand formats again inside #(), and free the temporaries.nicm2015-05-29
| |
* | Merge branch 'obsd-master'Thomas Adam2015-05-27
|\|
| * Move the jobs output cache into the formats code so that #() work morenicm2015-05-27
| | | | | | | | generally (for example, again working in set-titles-string).
* | Merge branch 'obsd-master'Thomas Adam2015-05-20
|\|
| * Return empty string if format is empty rather than attempting tonicm2015-05-20
| | | | | | | | allocate zero bytes.
* | Merge branch 'obsd-master'Thomas Adam2015-05-13
|\|
| * Add a session_alerts format which is a list of all the alerts in thenicm2015-05-12
| | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2015-05-09
|\| | | | | | | | | Conflicts: tmux.h
| * Move input parser structs into input.c (removing fairly uselessnicm2015-05-08
| | | | | | | | saved_cursor_[xy] formats as a side-effect).
* | Merge branch 'obsd-master'Thomas Adam2015-05-06
|\|
| * Add a format window_linked which is 1 if a window has been linkednicm2015-05-06
| | | | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2015-04-22
|\|
| * Always format real layout even when zoomed.nicm2015-04-21
| |
| * Put mouse_any_flag back, don't know where it went to (still in man page).nicm2015-04-21
| |
| * Support for multiple key tables to commands to be bound to sequences ofnicm2015-04-20
| | | | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2015-04-19
|\|
| * Add a helper function to convert time, and add session_activity formatsnicm2015-03-31
| | | | | | | | (the latter from Takatoshi Matsumoto).
| * Fix some format specifier nits, from Ben Boeckel.nicm2015-03-31
| |
* | Merge branch 'obsd-master'Thomas Adam2015-02-06
|\| | | | | | | | | Conflicts: cmd-pipe-pane.c
| * Add format_expand_time and use it instead of status_replace wherenicm2015-02-06
| | | | | | | | command execution is not needed.
| * Wrap all the individual format_* calls in a single format_defaultsnicm2015-02-05
| | | | | | | | functions.
* | Merge branch 'obsd-master'Thomas Adam2015-01-16
|\|
| * correctly use HOST_NAME_MAX.deraadt2015-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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