Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Do not try to set the CHANGED flag on windows with no active pane, fixes | nicm | 2016-11-04 |
| | | | | problem reported by Nelo-T Wallus. | ||
* | Mass rename struct cmd_q to struct cmdq_item and related. | nicm | 2016-10-16 |
| | |||
* | Add CMD_AFTERHOOK flag to the easy commands that don't need any special ↵ | nicm | 2016-10-14 |
| | | | | handling. | ||
* | Add static in cmd-* and fix a few other nits. | nicm | 2016-10-10 |
| | |||
* | Handle NULL window or session for user options. | nicm | 2016-10-09 |
| | |||
* | Support set -a (append) with user options, suggested by Xandor Schiefer. | nicm | 2016-09-26 |
| | |||
* | Cache the window styles and do not look up the window-style options | nicm | 2016-05-30 |
| | | | | unless they have changed. | ||
* | Add option to include status text in the pane borders. If | nicm | 2016-04-29 |
| | | | | | | | | | pane-border-status is set to "top" or "bottom" (rather than "off"), every pane has a permanent top or bottom border containing the text from pane-border-format. Based on a diff sent long ago by Jonathan Slenders, mostly rewritten and simplified by me. | ||
* | show-* and set-* need to handle a missing target. | nicm | 2016-03-03 |
| | |||
* | I no longer use my SourceForge address so replace it. | nicm | 2016-01-19 |
| | |||
* | Instead of combined flags for -c, -s, -t, split into different sets | nicm | 2015-12-14 |
| | | | | using an enum and simplify the parsing code. | ||
* | Use member names in cmd_entry definitions so I stop getting confused | nicm | 2015-12-13 |
| | | | | about the order. | ||
* | Instead of every command resolving the target (-t or -s) itself, prepare | nicm | 2015-12-13 |
| | | | | | | | | | | | | | | | | the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell the prepare step what it is expecting. This is a requirement for having hooks on commands (for example, if you hook "select-window -t1:2", the hook command should to operate on window 1:2 not whatever it thinks is the current window), and should allow some other target improvements. The old cmd_find_* functions remain for the moment but that layer will be dropped later. Joint work with Thomas Adam. | ||
* | Add key-table option to set the default key table for a session, allows | nicm | 2015-12-12 |
| | | | | different key bindings for different sessions and a few other things. | ||
* | Allow prefix and prefix2 to be set to None to disable (useful if you | nicm | 2015-12-12 |
| | | | | would rather bind the prefix in the root table). | ||
* | Instead of separate tables for different types of options, give each | nicm | 2015-11-20 |
| | | | | option a scope type (server, session, window) in one table. | ||
* | Use __unused rather than rolling our own. | nicm | 2015-11-18 |
| | |||
* | Support UTF-8 key bindings by expanding the key type from int to | nicm | 2015-11-12 |
| | | | | | | uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.) | ||
* | Move struct options into options.c. | nicm | 2015-10-27 |
| | |||
* | Remove some extra blank lines. | nicm | 2015-09-14 |
| | |||
* | Move alerts onto events rather than checking every loop. | nicm | 2015-08-29 |
| | |||
* | Better take on reducing the name timer. Again check for name changes in | nicm | 2015-08-29 |
| | | | | | | the main loop after events that may have changed the pane, but do so at most once every 500 millis. If the pane changed too soon, use a timer to ensure that a check happens later. | ||
* | Revert previous; we do need a timer, until I have a better idea. We | nicm | 2015-08-28 |
| | | | | | | can't do the name check every loop, because that is too expensive, and we can't make sure it only happens infrequently because we have no idea when the next change will happen. | ||
* | We now only checking for name changes when the active pane has changed, | nicm | 2015-08-28 |
| | | | | | | | but that can only happen when we have already been woken up by a read event, so there is no need for a timer, we can just check the changed flag on the end of that read event (we already loop over the windows to check for bells etc anyway). | ||
* | Per-session timers for locking, and remove the global one-second timer. | nicm | 2015-08-28 |
| | |||
* | Run status update on a per-client timer at status-interval. | nicm | 2015-08-28 |
| | |||
* | Make -q suppress ambiguous option warnings too, from Cam Hutchison. | nicm | 2015-07-27 |
| | |||
* | Make unsetting a global option restore it to the default. Diff lying | nicm | 2015-06-04 |
| | | | | around for a while, I have forgotten who suggested it :-/. | ||
* | Convert clients list into a TAILQ. | nicm | 2015-04-24 |
| | |||
* | Allow choice options (multiple states) to be toggled between states 0 | nicm | 2015-04-24 |
| | | | | and 1. | ||
* | Change the windows array into an RB tree and fix some places where we | nicm | 2015-04-22 |
| | | | | were only looking at the first winlink for a window in a session. | ||
* | Instead of setting up the default keys by building the key struct | nicm | 2014-10-20 |
| | | | | | | | | | directly with a helper function in the cmd_entry, include a table of bind-key commands and pass them through the command parser and a temporary cmd_q. As well as being smaller, this will allow default bindings to be command sequences which will probably be needed soon. | ||
* | Various minor style and spacing nits. | nicm | 2014-09-01 |
| | |||
* | Some more long lines. | nicm | 2014-04-17 |
| | |||
* | Remove the "info" message mechanism, this was only used for about five | nicm | 2014-04-17 |
| | | | | | | mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now. | ||
* | Extend the -q flag to set-option to suppress errors about unknown | nicm | 2014-04-17 |
| | | | | options - this will allow options to be removed more easily. | ||
* | Don't crash when given a invalid colour, reported by Felix Rosencrantz, | nicm | 2014-02-17 |
| | | | | fix from Thomas Adam. | ||
* | Style nit - no space between function name and bracket. | nicm | 2014-02-14 |
| | |||
* | Allow replacing each of the many sets of separate foo-{fg,bg,attr} | nicm | 2014-01-28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | options with a single foo-style option. For example: set -g status-fg yellow set -g status-bg red set -g status-attr blink Becomes: set -g status-style fg=yellow,bg=red,blink The -a flag to set can be used to add to rather than replace a style. So: set -g status-bg red Becomes: set -ag status-style bg=red Currently this is fully backwards compatible (all *-{fg,bg,attr} options remain) but the plan is to deprecate them over time. From Tiago Cunha. | ||
* | Remove the barely-used and unnecessary command check() function. | nicm | 2013-10-10 |
| | |||
* | Clarify error messages when setting options, from Thomas Adam. | Nicholas Marriott | 2013-07-05 |
| | |||
* | Add a -o option to set-option to prevent setting an option already set, | Nicholas Marriott | 2013-03-24 |
| | | | | from Thiago Padilha. | ||
* | Add user options, prefixed with @. May be set to any arbitrary string. | Nicholas Marriott | 2013-03-21 |
| | |||
* | Make command exec functions return an enum rather than -1/0/1 values and | Nicholas Marriott | 2012-07-11 |
| | | | | | | add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531. | ||
* | xfree is not particularly helpful, remove it. From Thomas Adam. | Nicholas Marriott | 2012-07-10 |
| | |||
* | Do not fire name timer when automatic-rename is off, from Tim Ruehsen a | Nicholas Marriott | 2012-04-08 |
| | | | | while ago. | ||
* | Add -q option to set-option to turn off info message, from marcel partap. | Nicholas Marriott | 2012-03-17 |
| | |||
* | Allow a single option to be specified to show-options to show just that | Nicholas Marriott | 2012-02-25 |
| | | | | option. | ||
* | Drop the ability to have a list of keys in the prefix in favour of two | Nicholas Marriott | 2012-01-21 |
| | | | | | | | | | | separate options, prefix and prefix2. This simplifies the code and gets rid the data options type which was only used for this one option. Also add a -2 flag to send-prefix to send the secondary prefix key, fixing a cause of minor irritation. People who want three prefix keys are out of luck :-). | ||
* | Add a flag to cmd_find_session so that attach-session can prefer | Nicholas Marriott | 2011-04-05 |
| | | | | | unattached sessions when choosing the most recently used (if -t is not given). Suggested by claudio@. |