#
68e0a7f2 |
| 16-Oct-2016 |
nicm <nicm@openbsd.org> |
Mass rename struct cmd_q to struct cmdq_item and related.
|
#
765b9a58 |
| 16-Oct-2016 |
nicm <nicm@openbsd.org> |
Rewrite command queue handling. Each client still has a command queue, but there is also now a global command queue. Instead of command queues being dispatched on demand from wherever the command hap
Rewrite command queue handling. Each client still has a command queue, 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.
show more ...
|
#
dc1f0f5f |
| 10-Oct-2016 |
nicm <nicm@openbsd.org> |
Add static in cmd-* and fix a few other nits.
|
#
98ca8272 |
| 19-Jan-2016 |
nicm <nicm@openbsd.org> |
I no longer use my SourceForge address so replace it.
|
#
8828ab40 |
| 21-Dec-2015 |
nicm <nicm@openbsd.org> |
Detach the right session with -d.
|
#
4fc586aa |
| 16-Dec-2015 |
nicm <nicm@openbsd.org> |
Add infrastructure to work out the best target given a pane or window alone and use it to add pane_died and pane_exited hooks.
|
#
da81c598 |
| 15-Dec-2015 |
nicm <nicm@openbsd.org> |
Some hooks API changes to fire a hook while waiting another cmdq and infrastructure that will be needed soon.
|
#
8d471e80 |
| 14-Dec-2015 |
nicm <nicm@openbsd.org> |
Instead of combined flags for -c, -s, -t, split into different sets using an enum and simplify the parsing code.
|
#
c057646b |
| 13-Dec-2015 |
nicm <nicm@openbsd.org> |
Use member names in cmd_entry definitions so I stop getting confused about the order.
|
#
3447b427 |
| 13-Dec-2015 |
nicm <nicm@openbsd.org> |
Instead of every command resolving the target (-t or -s) itself, prepare the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell t
Instead of every command resolving the target (-t or -s) itself, prepare 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.
show more ...
|
#
6c6caa14 |
| 12-Dec-2015 |
nicm <nicm@openbsd.org> |
Add key-table option to set the default key table for a session, allows different key bindings for different sessions and a few other things.
|
#
229bdecf |
| 11-Dec-2015 |
nicm <nicm@openbsd.org> |
Add cmdq as an argument to format_create and add a format for the command name (will also be used for more later).
|
#
81a38890 |
| 08-Dec-2015 |
nicm <nicm@openbsd.org> |
Remove format_create_flags and just pass flags to format_create.
|
#
1443aefc |
| 08-Dec-2015 |
nicm <nicm@openbsd.org> |
Add hooks infrastructure, basic commands (set-hook, show-hooks) and a couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint wo
Add hooks infrastructure, basic commands (set-hook, show-hooks) and a 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.
show more ...
|
#
705f6e28 |
| 07-Dec-2015 |
nicm <nicm@openbsd.org> |
Fix bell indicators across detach, reported by Torbjorn Lonnemark, diff from Thomas Adam.
|
#
bc2f7d38 |
| 05-Nov-2015 |
nicm <nicm@openbsd.org> |
Same bug as last commit, but in the other copy of the loop in this file...
|
#
278b4bd8 |
| 03-Nov-2015 |
nicm <nicm@openbsd.org> |
Detach the client we are looping over, from Thomas Adam.
|
#
a5083c88 |
| 31-Oct-2015 |
nicm <nicm@openbsd.org> |
Fall back silently to ~ or / rather than checking -c with access(), this was the old behaviour.
|
#
3baa4a0c |
| 31-Oct-2015 |
nicm <nicm@openbsd.org> |
Because pledge(2) does not allow us to pass directory file descriptors around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to
Because pledge(2) does not allow us to pass directory file descriptors around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
show more ...
|
#
fb46cb3d |
| 28-Oct-2015 |
nicm <nicm@openbsd.org> |
Like options, move the environ struct into environ.c.
|
#
d89252e5 |
| 27-Oct-2015 |
nicm <nicm@openbsd.org> |
Move struct options into options.c.
|
#
5b8ac713 |
| 27-Oct-2015 |
nicm <nicm@openbsd.org> |
Break the common process set up, event loop and imsg dispatch code between server and client out into a separate internal API. This will make it easier to add another process.
|
#
85e274df |
| 16-Sep-2015 |
nicm <nicm@openbsd.org> |
Hoist some common code out of both branches of an if/else.
|
#
e77c256d |
| 10-Sep-2015 |
nicm <nicm@openbsd.org> |
Add session_last_attached time and format, from Sina Siadat.
|
#
09082c68 |
| 28-Aug-2015 |
nicm <nicm@openbsd.org> |
Make session_update_activity more useful and use it in more places.
|