Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-12 | When the server socket is given by the user with -S, create it with | nicm | |
umask 177 instead of 117 because it may not be in a safe directory like the default directory in /tmp. The user can chmod it more open after it is created if they want. | |||
2019-06-20 | Expand command formats in %if and move the config file loading later (to | nicm | |
when the first client has identified) so all the client formats are available, fixes problems reported by Thomas Sattler. | |||
2019-06-07 | Do not load the config file if the server is exiting because it failed | nicm | |
to start, otherwise commands like lsk which start the server again can end up looping infinitely. Also make the first client exit correctly. Problem reported by Wael M Nasreddine. | |||
2019-05-20 | Replace the various identical error callbacks with a single one in cmd-queue.c. | nicm | |
2019-04-17 | Break new window and pane creation common code from various commands and | nicm | |
window.c into a separate file spawn.c. | |||
2018-08-23 | Move job struct into job.c. | nicm | |
2018-08-18 | SESSION_UNATTACHED flag is no longer necessary now we have an attached | nicm | |
count instead. | |||
2018-08-02 | session_groups can be static also. | nicm | |
2018-03-08 | Add a missing client-detached hook when the server shuts down, and do | nicm | |
not exit until jobs started from run-shell/if-shell have finished (add a job flags member and a flag to indicate other jobs). GitHub issue 1245. | |||
2018-02-22 | Add exit-empty option to exit server if no sessions (defaults to on). | nicm | |
2017-12-19 | Report better error from server when socket create fails, GitHub issue | nicm | |
1201. | |||
2017-10-12 | Show exit status and time in the remain-on-exit pane text, mostly from | nicm | |
Timo Boettcher in GitHub issue 1103. | |||
2017-07-14 | Because ignore SIGCHLD early, letting signal_del restore it doesn't work | nicm | |
correctly, so set it explicitly back to default (and the others for good measure). | |||
2017-07-12 | Block signals between forking and clearing signal handlers (or calling | nicm | |
event_reinit) - if the child gets a signal and fires the libevent signal handler during this period it could write a signal into the parent's signal pipe. GitHub issue 1001 from Aaron van Geffen. | |||
2017-07-12 | Move signal code into proc.c. | nicm | |
2017-07-09 | Some extra logging to show why tmux might exit. | nicm | |
2017-07-03 | Do not close panes until process has exited and any outstanding data | nicm | |
has been written to the pipe-pane event if there is one. GitHub issue 991. | |||
2017-06-04 | Support SIGUSR2 to stop and start logging for an existing server. Also | nicm | |
we currently only have two log levels so just use -v and -vv rather than -v and -vvvv, and clarify the man page entry for -v. | |||
2017-04-22 | Memory leaks, from David CARLIER. | nicm | |
2017-04-21 | Make the cmd_find_* functions more obvious when looking for a client, | nicm | |
rather than having it inside other functions. Should be no change to the way targets are resolved just yet. | |||
2017-04-21 | History needs to be loaded after config parsing is done - now that | nicm | |
commands are queued, that's in cfg_done not after start_cfg finishes. | |||
2017-04-20 | If a #() command doesn't exit, use its most recent line of output (it | nicm | |
must be a full line). Don't let it redraw the status line more than once a second. Requested by someone about 10 years ago... | |||
2017-02-09 | Instead of numbering session groups, give them a name which may be given | nicm | |
to -t instead of a target session. Also allow them to contain only one session. | |||
2016-11-12 | Do not execute commands for a client until it has identified, fixes | nicm | |
problem reported by Frank Terbeck. | |||
2016-10-16 | Notifys can go via the command queue instead of using their own queue. | nicm | |
2016-10-16 | Rewrite command queue handling. Each client still has a command queue, | nicm | |
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. | |||
2016-10-15 | Drain notifys once at the end of the server loop instead of doing it | nicm | |
from the end of every command queue (which could be nested). | |||
2016-10-10 | Loads more static, except for cmd-*.c and window-*.c. | nicm | |
2016-07-07 | tmux: only consider ACCESSPERMS for setting mode on socket_path. | semarie | |
it explicitly removes any S_ISUID|S_ISGID|S_ISTXT bits, instead of letting pledge(2) silenciously remove them. ok nicm@ beck@ deraadt@ | |||
2016-03-30 | Bump the listen() backlog up, some people have scripts that run up a lot | nicm | |
of clients quickly. | |||
2016-01-19 | I no longer use my SourceForge address so replace it. | nicm | |
2015-12-16 | Add infrastructure to work out the best target given a pane or window | nicm | |
alone and use it to add pane_died and pane_exited hooks. | |||
2015-12-15 | Make the marked pane a cmd_find_state. | nicm | |
2015-11-24 | Do lock failures slightly better, return a special value so we don't | nicm | |
unlink the wrong thing. | |||
2015-11-24 | Remove the -I part of show-messages which isn't really that useful; the | nicm | |
server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}') | |||
2015-11-24 | Make the log stuff a bit tidier with some helper functions. | nicm | |
2015-11-22 | Add getpw to pledge, makes tmux work in YP environments, discovered by | nicm | |
matthieu, ok deraadt | |||
2015-11-18 | Use __unused rather than rolling our own. | nicm | |
2015-11-15 | Accidentally turned off pledge, turn it back on. | nicm | |
2015-11-14 | Push stdout and stderr to clients more aggressively, and add an event to | nicm | |
continue if the send fails. | |||
2015-11-12 | Tidy utf8.c a little: build table on first use, and make utf8_width take | nicm | |
a u_int rather than splitting and then combining again in utf8_split. | |||
2015-10-31 | The output log is only useful once and it means creating a file, so open | nicm | |
it once at startup instead of in every call to tty_open. | |||
2015-10-27 | Move struct options into options.c. | nicm | |
2015-10-27 | Break the common process set up, event loop and imsg dispatch code | nicm | |
between server and client out into a separate internal API. This will make it easier to add another process. | |||
2015-10-23 | tmux can call pledge() in main with large set and then reduce it | nicm | |
slightly in the server to "stdio rpath wpath cpath fattr unix recvfd proc exec tty ps". | |||
2015-10-22 | This should not be changed. | nicm | |
2015-10-22 | Rename shutdown to exit. | nicm | |
2015-10-11 | Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept | guenther | |
sizeof(struct sockaddr_un), so do the simple, portable thing ok beck@ deraadt@ | |||
2015-09-01 | Move initial conf load into cfg.c. | nicm | |
2015-08-30 | Event base does not need to be global. | nicm | |