Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'obsd-master' into master | Thomas Adam | 2021-08-12 |
|\ | |||
| * | Do not dereference pane when it is NULL, fixes a crash when creating a | nicm | 2021-08-12 |
| | | | | | | | | hook from the config, GitHub issue 2820. | ||
| * | Move hook format setup earlier and add a hook_client, GitHub issue 2809. | nicm | 2021-08-12 |
| | | |||
* | | Merge branch 'obsd-master' into master | Thomas Adam | 2021-03-16 |
|\| | |||
| * | Add client-detached notification in control mode, from Mohsin Kaleem. | nicm | 2021-03-16 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-05-21 |
|\| | |||
| * | Support code for control mode flow control: allow clients to have | nicm | 2020-05-21 |
| | | | | | | | | | | | | separate offsets (used and acknowleged) into the pane buffers; turn off reading from panes when no clients can accept the data; and add a -A flag to refresh-client to let clients turn receiving a pane on and off. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-04-14 |
|\| | |||
| * | Provide an accessor for the running queue item and use it to not let | nicm | 2020-04-14 |
| | | | | | | | | hooks recurse. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-04-13 |
|\| | |||
| * | When adding a list of commands to the queue, instead of automatically | nicm | 2020-04-13 |
| | | | | | | | | | | | | | | creating a new state for each group of commands, require the caller to create one and use it for all the commands in the list. This means the current target works even with list with multiple groups (which can happen if they are defined with newlines). | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-04-13 |
|\| | |||
| * | Rename cmdq_shared to cmdq_state which will better reflect what it is | nicm | 2020-04-13 |
| | | | | | | | | (going to be) used for. | ||
| * | Move the NOHOOKS flag into the shared flags. | nicm | 2020-04-13 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-04-13 |
|\| | |||
| * | Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its | nicm | 2020-04-13 |
| | | | | | | | | use more clearly defined and preparation for some future work). | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-04-13 |
|\| | |||
| * | Change so that the appropriate hooks for windows and panes belong to | nicm | 2020-04-13 |
| | | | | | | | | | | | | pane/window options rather than all being session options. This is useful for example to create a pane that is automatically closed on some condition. From Anindya Mukherjee. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2019-12-19 |
|\| | |||
| * | When adding a list with multiple commands to the queue, the next item to | nicm | 2019-12-19 |
| | | | | | | | | | | insert after needs to be the last one added, not the first. Reported by Jason Kim in GitHub issue 2023. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2019-05-07 |
|\| | |||
| * | Do not use evbuffer_add_buffer because it is destructive and doesn't | nicm | 2019-05-07 |
| | | | | | | | | work in newer libevent. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2019-04-27 |
|\| | |||
| * | Merge hooks into options and make each one an array option. This allows | nicm | 2019-04-26 |
| | | | | | | | | | | | | | | multiple commands to be easily bound to one hook. set-hook and show-hooks remain but they are now variants of set-option and show-options. show-options now has a -H flag to show hooks (by default they are not shown). | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2018-07-04 |
|\| | |||
| * | Add set-hook -R to run a hook immediately (useful to set multiple hooks | nicm | 2018-07-04 |
| | | | | | | | | to the same thing). | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-08-30 |
|\| | |||
| * | Pass flags into cmd_find_from_* to fix prefer-unattached, reported by | nicm | 2017-08-30 |
| | | | | | | | | Thomas Sattler. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-05-04 |
|\| | |||
| * | Some new notifications, mainly for active pane and current window and | nicm | 2017-05-04 |
| | | | | | | | | | | | | | | | | | | | | | | session: pane-mode-changed window-pane-changed client-session-changed session-window-changed From Joshua Brot. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-04-28 |
|\| | |||
| * | Log what is happening with window and session reference counts much more | nicm | 2017-04-28 |
| | | | | | | | | obviously. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-04-21 |
|\| | |||
| * | Make the cmd_find_* functions more obvious when looking for a client, | nicm | 2017-04-21 |
| | | | | | | | | | | rather than having it inside other functions. Should be no change to the way targets are resolved just yet. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-04-21 |
|\| | |||
| * | More unnecessary arguments now winlink points back to session. | nicm | 2017-04-21 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-01-11 |
|\| | |||
| * | Some tidying and tweaks to options code. | nicm | 2017-01-11 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-10-17 |
|\| | |||
| * | Use notifys for alerts too. | nicm | 2016-10-16 |
| | | |||
| * | Use the notify name string instead of going via an enum and change | nicm | 2016-10-16 |
| | | | | | | | | existing hooks to use notifys instead. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-10-16 |
|\| | |||
| * | Add hook_session and hook_window formats to get information on the | nicm | 2016-10-16 |
| | | | | | | | | | | affected session or window when a hook fires. Enable session-created and session-closed hooks now that that is available. | ||
| * | Provide a way for hooks to tag formats onto the commands they fire so | nicm | 2016-10-16 |
| | | | | | | | | | | that the user can get at additional information - now used for the "hook" format, more to come. | ||
| * | Notifys can go via the command queue instead of using their own queue. | nicm | 2016-10-16 |
| | | |||
| * | Mass rename struct cmd_q to struct cmdq_item and related. | nicm | 2016-10-16 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-10-16 |
|\| | |||
| * | Rewrite command queue handling. Each client still has a command queue, | nicm | 2016-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. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-10-15 |
|\| | |||
| * | Rename a function for consistency and some spacing nits. | nicm | 2016-10-15 |
| | |