aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
...
| * Rewrite command queue handling. Each client still has a command queue,nicm2016-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but there is also now a global command queue. Instead of command queues being dispatched on demand from wherever the command happens to be added, they are now all dispatched from the top level server loop. Command queues may now also include callbacks as well as commands, and items may be inserted after the current command as well as at the end. This all makes command queues significantly more predictable and easier to use, and avoids the complex multiple nested command queues used by source-file, if-shell and friends. A mass rename of struct cmdq to a better name (cmdq_item probably) is coming.
* | Add missing function protypeThomas Adam2016-10-12
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Some other stuff that can be local to one file.nicm2016-10-11
| |
| * Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
| |
* | Merge branch 'obsd-master'Thomas Adam2016-05-24
|\|
| * Use a fixed buffer for strftime() because there is no portable way tonicm2016-05-23
| | | | | | | | | | tell if the buffer is too small, and an expanding buffer is overkill anyway.
* | Merge branch 'obsd-master'Thomas Adam2016-04-29
|\|
| * Final parts of command hooks, add before- and after- hooks to each command.nicm2016-04-29
| |
* | Merge branch 'obsd-master'Thomas Adam2016-01-31
|\|
| * Support negative trim values (#{=-10:pane_title}) to trim from the end,nicm2016-01-31
| | | | | | | | suggested by Kevin Brubeck Unhammer.
* | Merge branch 'obsd-master'Thomas Adam2016-01-19
|\|
| * I no longer use my SourceForge address so replace it.nicm2016-01-19
| |
* | Merge branch 'obsd-master'Thomas Adam2015-12-12
|\|
| * Add key-table option to set the default key table for a session, allowsnicm2015-12-12
| | | | | | | | different key bindings for different sessions and a few other things.
* | Merge branch 'obsd-master'Thomas Adam2015-12-11
|\|
| * Add cmdq as an argument to format_create and add a format for thenicm2015-12-11
| | | | | | | | command name (will also be used for more later).
* | Merge branch 'obsd-master'Thomas Adam2015-12-08
|\|
| * Remove format_create_flags and just pass flags to format_create.nicm2015-12-08
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-25
|\| | | | | | | | | | | | | Conflicts: log.c proc.c tmux.c
| * Remove the -I part of show-messages which isn't really that useful; thenicm2015-11-24
| | | | | | | | | | server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}')
* | Merge branch 'obsd-master'Thomas Adam2015-11-18
|\|
| * Use __unused rather than rolling our own.nicm2015-11-18
| |
| * Add s/foo/bar/: prefix for formats to substitute bar for foo.nicm2015-11-18
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-13
|\|
| * Two spacing and spelling nits.nicm2015-11-13
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-13
|\|
| * Add window_visible_layout which ignores zoomed panes and use it fornicm2015-11-13
| | | | | | | | control mode (which needs to know all panes), from George Nachman.
* | Merge branch 'obsd-master'Thomas Adam2015-11-13
|\| | | | | | | | | Conflicts: Makefile
| * Long overdue change to the way we store cells in the grid: now, insteadnicm2015-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of storing a full grid_cell with UTF-8 data and everything, store a new type grid_cell_entry. This can either be the cell itself (for ASCII cells), or an offset into an extended array (per line) for UTF-8 data. This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the majority for most users) without the complexity of the shadow array we had before. Grid memory without any UTF-8 is about half. The disadvantage that cells can no longer be modified in place and need to be copied out of the grid and back but it turned out to be lot less complicated than I expected.
* | Merge branch 'obsd-master'Thomas Adam2015-11-12
|\|
| * Nuke the utf8 and status-utf8 options and make tmux only a UTF-8nicm2015-11-12
| | | | | | | | | | 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).
| * Remove the mouse_utf8_flag format as well.nicm2015-11-12
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-31
|\|
| * Because pledge(2) does not allow us to pass directory file descriptorsnicm2015-10-31
| | | | | | | | | | | | | | | | | | 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).
* | Merge branch 'obsd-master'Thomas Adam2015-10-28
|\|
| * Like options, move the environ struct into environ.c.nicm2015-10-28
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-27
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
| * Move struct options into options.c.nicm2015-10-27
| |
* | 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
| |