Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'obsd-master' | Thomas Adam | 2015-12-18 |
|\ | |||
| * | As well as setting up the state, actually use it in cmd_find_target. | nicm | 2015-12-17 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-17 |
|\| | |||
| * | send-keys -R should reset the input parser to ground state (so it can be | nicm | 2015-12-16 |
| | | | | | | | | used to escape from, for example, printf '\033]2;'). | ||
| * | Add infrastructure to work out the best target given a pane or window | nicm | 2015-12-16 |
| | | | | | | | | alone and use it to add pane_died and pane_exited hooks. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-16 |
|\| | |||
| * | showenv and setenv need to be CANFAIL. | nicm | 2015-12-16 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-15 |
|\| | |||
| * | Copy state directly rather than dereferencing wl (which could be NULL). | nicm | 2015-12-15 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-15 |
|\| | |||
| * | Some hooks API changes to fire a hook while waiting another cmdq and | nicm | 2015-12-15 |
| | | | | | | | | infrastructure that will be needed soon. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-15 |
|\| | |||
| * | Allow list-keys and list-commands to be run without a running server. | nicm | 2015-12-15 |
| | | |||
| * | We changed somewhat recently to us the pty when tmux was run inside | nicm | 2015-12-15 |
| | | | | | | | | | | | | | | | | | | | | itself to work out the current pane. This is confusing in many cases (particularly notable is that "tmux neww\; splitw" would not split the new window), and the few advantages do not make up for the confusion. So drop this behaviour and return to using the current window and pane; keep the pty check but only use it to limit the list of possible current sessions. | ||
| * | Don't copy marked pane when can just point to it. | nicm | 2015-12-15 |
| | | |||
| * | Make the marked pane a cmd_find_state. | nicm | 2015-12-15 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-15 |
|\| | |||
| * | Use cmd_find_clear_state instead of an extra function doing the same. | nicm | 2015-12-14 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-14 |
|\| | |||
| * | Remove some stray debug code. | nicm | 2015-12-14 |
| | | |||
| * | Instead of combined flags for -c, -s, -t, split into different sets | nicm | 2015-12-14 |
| | | | | | | | | using an enum and simplify the parsing code. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-13 |
|\| | |||
| * | Use member names in cmd_entry definitions so I stop getting confused | nicm | 2015-12-13 |
| | | | | | | | | about the order. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-13 |
|\| | |||
| * | Actually I thought cmd_get_state_client was unnecessary but it will be | nicm | 2015-12-13 |
| | | | | | | | | needed. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-13 |
|\| | |||
| * | -c needs to be able for fail for display-message. | nicm | 2015-12-13 |
| | | |||
| * | Remove an unnecessary function. | nicm | 2015-12-13 |
| | | |||
| * | show-options and environment need CANFAIL flag. | nicm | 2015-12-13 |
| | | |||
| * | Don't log an error when doing the first check for move-window. | nicm | 2015-12-13 |
| | | |||
| * | Use struct cmd_find_state directly and remove cmd_state_flag, also | nicm | 2015-12-13 |
| | | | | | | | | change so that winlink is set even if an index is too. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-13 |
|\| | |||
| * | Change cmd_find_target to use a state struct from the caller. | nicm | 2015-12-13 |
| | | |||
| * | If command returns error, report it. | nicm | 2015-12-13 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-13 |
|\| | |||
| * | Remove the cmd_find_{session,window,pane,index} functions (which are | nicm | 2015-12-13 |
| | | | | | | | | | | just wrappers around cmd_find_target) and just use cmd_find_target directly. | ||
| * | Move logging into cmd_find_target rather than each function. | nicm | 2015-12-13 |
| | | |||
| * | 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. | ||
* | | Need to use pkg-config --static when doing a static build. | Nicholas Marriott | 2015-12-12 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-12 |
|\| | |||
| * | 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. | ||
| * | Return after changing key table. | nicm | 2015-12-12 |
| | | |||
| * | 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). | ||
* | | Merge branch 'master' of github.com:tmux/tmux | Nicholas Marriott | 2015-12-11 |
|\ \ | |||
| * | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-11 |
| |\| | |||
| | * | Style nits and line wrapping of function declarations. | nicm | 2015-12-11 |
| | | | |||
| | * | Mention {src,dst}-{window,pane} where we define target-{window,pane}. | nicm | 2015-12-11 |
| | | | |||
* | | | Look for ncurses with PKG_CONFIG, and remove libtinfo because it just causes | Nicholas Marriott | 2015-12-11 |
|/ / | | | | | | | confusion. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-12-11 |
|\| | |||
| * | 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). |