aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
...
* | | Don't add client formats when they are NULL.Nicholas Marriott2013-08-01
|/ /
* | Merge branch 'obsd-master'Thomas Adam2013-07-06
|\|
| * Add pane_synchronized format, from Romain Francoise.Nicholas Marriott2013-07-05
| |
* | Merge branch 'obsd-master'Thomas Adam2013-05-31
|\|
| * Add host_short format, from Tiago Cunha.Nicholas Marriott2013-05-31
| |
* | Merge branch 'obsd-master'Thomas Adam2013-04-23
|\| | | | | | | Sync from OpenBSD.
| * (long long) and %lld for time_t outputTheo Deraadt2013-04-17
| | | | | | | | ok nicm
| * Include prefix on ids, from George Nachman.Nicholas Marriott2013-03-25
| |
| * Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott2013-03-25
| | | | | | | | to use it, extended from a diff from George Nachman.
| * Do not leak command in formats, from Romain Francoise.Nicholas Marriott2013-03-25
| |
| * Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
| * Add pane_tabs format to format_window_pane based on code from GeorgeNicholas Marriott2013-03-24
| | | | | | | | Nachman.
| * Add a load of miscellaneous pane formats, from George Nachman.Nicholas Marriott2013-03-22
| |
| * Add client_session and client_last_session formats.Nicholas Marriott2013-03-22
| |
| * Add a format client_prefix which is 1 if prefix key has beenNicholas Marriott2013-03-21
| | | | | | | | | | pressed, used for example #{?client_prefix,X,Y}. Also a few extra server_client_status needed.
* | Include prefix on ids, from George Nachman.Nicholas Marriott2013-03-13
| |
* | Rename session idx to session id throughout and add $ prefix to targets to useNicholas Marriott2013-03-07
| | | | | | | | it, extended from a diff from George Nachman.
* | Do not leak command in formats, from Romain Francoise.Nicholas Marriott2013-03-05
| |
* | Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
* | Add pane_tags format to format_window_pane based on code from George Nachman.Nicholas Marriott2013-02-23
| |
* | Add pane_current_command format.Nicholas Marriott2013-02-22
| |
* | Add a load of miscellaneous pane formats, from George Nachman.Nicholas Marriott2013-02-21
| |
* | Add client_session and client_last_session formats.Nicholas Marriott2013-02-18
| |
* | Add a format client_prefix which is 1 if prefix key has been pressed, used forNicholas Marriott2013-02-10
| | | | | | | | example #{?client_prefix,X,Y}. Also a few extra server_client_status needed.
* | Allow formats in status options.Nicholas Marriott2013-02-10
| |
* | Use osdep_get_cwd() for format changeThomas Adam2013-02-07
| |
* | Merge branch 'obsd-master'Thomas Adam2013-02-07
|\|
| * Don't set some string formats if the string is NULL.Nicholas Marriott2013-02-05
| |
* | Merge branch 'obsd-master'Thomas Adam2013-01-30
|\| | | | | | | | | | | Conflicts: Makefile grid-utf8.c
| * Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott2013-01-18
| | | | | | | | | | UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
| * Use pgrp of pty fd not pid of immediate child when recovering currentNicholas Marriott2012-09-24
| | | | | | | | working directory (like current process). From Marcel Partap.
| * xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
| |
| * Switch all of the various choose- and list- commands over to the formatNicholas Marriott2012-05-22
| | | | | | | | infrastructure, from Thomas Adam.
| * Add pane_current_path format, suggested by Mikolaj Kucharski.Nicholas Marriott2012-04-01
| |
| * Get client_width and client_height the right way round, from StephenNicholas Marriott2012-02-02
| | | | | | | | Thirlwall.
| * Give each window a unique id, like panes but prefixed with @. Based onNicholas Marriott2012-01-30
| | | | | | | | work from George Nachman.
| * Add a pane_index format string and use it, from Ben Boeckel.Nicholas Marriott2011-11-15
| |
| * Add client formats, from Ben Boeckel.Nicholas Marriott2011-10-23
| |
| * Add a few more formats for panes (tty, pid, start cmd/cwd).Nicholas Marriott2011-10-02
| |
| * Add initial framework for more powerful formatting of command output andNicholas Marriott2011-08-26
| | | | | | | | use it for list-{panes,windows,sessions}. This allows more descriptive replacements (such as #{session_name}) and conditionals. Later this will be used for status_replace and list-keys and other places.
* Use pgrp of pty fd not pid of immediate child when recovering current workingNicholas Marriott2012-09-24
| | | | directory (like current process). From Marcel Partap.
* Sync OpenBSD patchset 1150:Tiago Cunha2012-07-11
| | | | | xfree is not particularly helpful, remove it. From Thomas Adam.
* Sync OpenBSD patchset 1119:Tiago Cunha2012-05-22
| | | | | | Switch all of the various choose- and list- commands over to the format infrastructure, from Thomas Adam.
* Adjust OpenBSD patchset 1083 to the portable version.Tiago Cunha2012-04-10
|
* Sync OpenBSD patchset 1083:Tiago Cunha2012-04-10
| | | | | Add pane_current_path format, suggested by Mikolaj Kucharski.
* Sync OpenBSD patchset 1022:Tiago Cunha2012-02-02
| | | | | | Get client_width and client_height the right way round, from Stephen Thirlwall.
* Sync OpenBSD patchset 1017:Tiago Cunha2012-01-31
| | | | | | Give each window a unique id, like panes but prefixed with @. Based on work from George Nachman.
* Sync OpenBSD patchset 980:Tiago Cunha2011-11-25
| | | | | Add a pane_index format string and use it, from Ben Boeckel.
* Sync OpenBSD patchset 965:Tiago Cunha2011-10-23
| | | | | Add client formats, from Ben Boeckel.
* Sync OpenBSD patchset 962:Tiago Cunha2011-10-02
| | | | | Add a few more formats for panes (tty, pid, start cmd/cwd).