Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge cmd_list_parse into cmd-parse.y so it can use the new alias | nicm | 2019-05-25 |
| | | | | processing code. | ||
* | Do not use PWD unless it actually matches the real working directory. | nicm | 2018-11-22 |
| | |||
* | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | guenther | 2018-04-26 |
| | | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | ||
* | Prefer PWD for current directory if present in client, from Wei Zhao in | nicm | 2018-01-01 |
| | | | | GitHub issue 1183. | ||
* | Report better error from server when socket create fails, GitHub issue | nicm | 2017-12-19 |
| | | | | 1201. | ||
* | Do not try to put more in command message than will fit when sending | nicm | 2017-12-18 |
| | | | | (the server will treat as a fatal error). GitHub issue 1200. | ||
* | Because ignore SIGCHLD early, letting signal_del restore it doesn't work | nicm | 2017-07-14 |
| | | | | | correctly, so set it explicitly back to default (and the others for good measure). | ||
* | Move signal code into proc.c. | nicm | 2017-07-12 |
| | |||
* | Make shell_command a global like other stuff rather than making it an | nicm | 2017-07-12 |
| | | | | exception and using callback argument. | ||
* | Add support for custom command aliases, this is an array option which | nicm | 2017-01-24 |
| | | | | | contains items of the form "alias=command". This is consulted when an unknown command is parsed. | ||
* | Open /dev/ptm before pledge() and save it to be used for PTMGET later | nicm | 2017-01-23 |
| | | | | | | (this means inlining forkpty()). ok deraadt | ||
* | Print error rather than fatal() if tcgetattr() fails, which is much more | nicm | 2017-01-20 |
| | | | | useful to user. | ||
* | Revert WIP parts of previous I didn't mean to commit yet. | nicm | 2017-01-16 |
| | |||
* | getopt() has a struct option so just return to using options_entry. | nicm | 2017-01-16 |
| | |||
* | Add -E to detach-client to exec a command to replace the client instead | nicm | 2017-01-13 |
| | | | | of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius. | ||
* | Remove some dead code in cmd-move-window.c and make a load of local | nicm | 2016-10-03 |
| | | | | functions static. | ||
* | I no longer use my SourceForge address so replace it. | nicm | 2016-01-19 |
| | |||
* | Don't print error if none to print. | nicm | 2015-11-25 |
| | |||
* | Shell command from -c doesn't have to be global, pass it as an argument. | nicm | 2015-11-24 |
| | |||
* | Do lock failures slightly better, return a special value so we don't | nicm | 2015-11-24 |
| | | | | unlink the wrong thing. | ||
* | Actually show something (even if it not that helpful) if the server | nicm | 2015-11-24 |
| | | | | | fails to start (for example if it can't create the socket), rather than hanging or showing nothing. | ||
* | Tidy the code that works out the socket path, and just use the full path | nicm | 2015-11-24 |
| | | | | in the global socket_path rather than copying it. | ||
* | Switch a fprintf to a fatal, and wrap some long lines. | nicm | 2015-11-24 |
| | |||
* | Use __unused rather than rolling our own. | nicm | 2015-11-18 |
| | |||
* | Accidentally turned off pledge, turn it back on. | nicm | 2015-11-15 |
| | |||
* | Push stdout and stderr to clients more aggressively, and add an event to | nicm | 2015-11-14 |
| | | | | continue if the send fails. | ||
* | Don't shift version out of peerid, it is needed later. | nicm | 2015-10-31 |
| | |||
* | Because pledge(2) does not allow us to pass directory file descriptors | nicm | 2015-10-31 |
| | | | | | | | | | 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). | ||
* | Like options, move the environ struct into environ.c. | nicm | 2015-10-28 |
| | |||
* | Move struct options into options.c. | nicm | 2015-10-27 |
| | |||
* | Break the common process set up, event loop and imsg dispatch code | nicm | 2015-10-27 |
| | | | | | between server and client out into a separate internal API. This will make it easier to add another process. | ||
* | Pass current directory as a string rather than a file descriptor because | nicm | 2015-10-18 |
| | | | | pledge doesn't let us pass directory file descriptors. | ||
* | Add pledge "stdio unix sendfd proc exec tty" to tmux client process, | nicm | 2015-10-17 |
| | | | | "sendfd" is dropped after first message from the server. | ||
* | Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept | guenther | 2015-10-11 |
| | | | | | | sizeof(struct sockaddr_un), so do the simple, portable thing ok beck@ deraadt@ | ||
* | Don't leak fd and path on failure. | nicm | 2015-09-24 |
| | |||
* | No need to keep global options around for client which doesn't use them. | nicm | 2015-09-09 |
| | |||
* | Login shell can be a client flag, and move the exec code into client.c. | nicm | 2015-08-30 |
| | |||
* | Event base does not need to be global. | nicm | 2015-08-30 |
| | |||
* | Ignore environment variables that are too long to send to the server. | nicm | 2015-07-13 |
| | |||
* | Add a format for client PID (client_pid) and server PID (pid). Diff for | nicm | 2015-06-14 |
| | | | | client_pid from Thomas Adam. | ||
* | Move the nested check from client to server and compare the client tty | nicm | 2015-06-04 |
| | | | | | name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX. | ||
* | Set up signal handler earlier so that we don't get zombies, reported by | nicm | 2015-04-24 |
| | | | | sobrado@. | ||
* | Simplify error messages when socket connect fails, suggested by "Karthik K". | nicm | 2015-04-21 |
| | |||
* | Fix some format specifier nits, from Ben Boeckel. | nicm | 2015-03-31 |
| | |||
* | Tidy up some includes. | nicm | 2014-10-20 |
| | |||
* | Call waitpid on SIGCHLD even if client not attached, it is possible (on | nicm | 2014-10-01 |
| | | | | | very slow platforms) for the first daemon() child to still be running when client_attached is set so we end up with a zombie. From J Raynor. | ||
* | Various minor style and spacing nits. | nicm | 2014-09-01 |
| | |||
* | lockf is entirely useless and it was a mistake to change to it, go back | nicm | 2014-07-21 |
| | | | | | to using flock which actually works sensibly. Also always retry the lock to fix a potential race, and add some extra logging. | ||
* | An EOF is a good reason to close a connection. | krw | 2014-07-13 |
| | | | | ok nicm@ | ||
* | fcntl.h is still needed here. | nicm | 2014-04-29 |
| |