aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2017-01-11
|\|
| * Add a format for terminal type.nicm2017-01-11
| |
* | Merge branch 'obsd-master'Thomas Adam2017-01-09
|\|
| * Add simple comparisons in formats: #{==:a,b} and #{!=:a,b} ("a" and "b"nicm2017-01-09
| | | | | | | | | | | | | | are expanded so can compare formats). And expand the condition to #{?a,b,c} (the "a" part) if it doesn't work as a simple lookup. Also add FORMAT_NOJOBS flag to disable jobs in a format.
* | Add a format for the version.Nicholas Marriott2017-01-09
| |
* | Merge branch 'obsd-master'Thomas Adam2016-11-17
|\|
| * Key running commands for #() by the unexpanded command, and run themnicm2016-11-17
| | | | | | | | | | again if the expanded form changes (otherwise at most once per second as usual). Fixes issues reported by Gregory Pakosz.
* | Merge branch 'obsd-master'Thomas Adam2016-10-16
|\|
| * Provide a way for hooks to tag formats onto the commands they fire sonicm2016-10-16
| | | | | | | | | | that the user can get at additional information - now used for the "hook" format, more to come.
| * Mass rename struct cmd_q to struct cmdq_item and related.nicm2016-10-16
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-16
|\|
| * 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
| |