Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 |
| | |||
* | set-hook needs CANFAIL like the other set commands. | nicm | 2016-05-12 |
| | |||
* | 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. | ||
* | We cannot do hooks_find and then hooks_remove because it might have come | nicm | 2015-12-11 |
| | | | | | | | from the parent (global) tree, instead make it remove by name like options. While here, also tidy up a few bits of options and hooks handling (use RB_FOREACH_SAFE, and a helper function for the free). | ||
* | Add hooks infrastructure, basic commands (set-hook, show-hooks) and a | nicm | 2015-12-08 |
couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam. |