aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2015-10-27
|\|
| * Count brackets in #{?...} so that nested conditional formats work, fromnicm2015-10-27
| | | | | | | | Daniel De Graaf.
| * The format callback may not always succeed, so we need to check fornicm2015-10-27
| | | | | | | | NULL. From Patrick Palka.
* | Merge branch 'obsd-master'Thomas Adam2015-10-26
|\|
| * Extend the modifiers allowed before formats: as well as the existingnicm2015-10-25
| | | | | | | | | | | | | | #{=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}.
* | Merge branch 'obsd-master'Thomas Adam2015-10-25
|\|
| * Pass output from jobs through format_expand() so they are expanded againnicm2015-10-25
| | | | | | | | (this was the previous behaviour).
* | Merge branch 'obsd-master'Thomas Adam2015-10-25
|\| | | | | | | | | Conflicts: cmd-find.c
| * Format for scroll position, from Jorge Morante.nicm2015-10-23
| |
* | Merge branch 'obsd-master'Thomas Adam2015-09-14
|\| | | | | | | | | Conflicts: Makefile
| * Make refresh-client force update of jobs, from Sina Siadat.nicm2015-09-14
| |
* | 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
|\|