Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'obsd-master' | Thomas Adam | 2019-12-16 |
|\ | |||
| * | Need to include message size in the maximum buffer calculation. | nicm | 2019-12-16 |
| | | |||
| * | Instead of using large buffers in imsgs, add the data or path onto the end. | nicm | 2019-12-16 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2019-12-13 |
|\| | |||
| * | Need to check in the error callback also. | nicm | 2019-12-13 |
| | | |||
| * | Do not spin waiting for exit, instead check in the write callback. | nicm | 2019-12-13 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2019-12-12 |
|\| | |||
| * | Rewrite the code for reading and writing files. Now, if the client is | nicm | 2019-12-12 |
| | | | | | | | | | | | | | | | | | | not attached, the server process asks it to open the file, similar to how works for stdin, stdout, stderr. This makes special files like /dev/fd/X work (used by some shells). stdin, stdout and stderr and control mode are now just special cases of the same mechanism. This will also make it easier to use for other commands that read files such as source-file. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2019-07-26 |
|\| | |||
| * | Change "lost server" message to "server exited unexpectedly", from Neal | nicm | 2019-07-26 |
| | | | | | | | | McBurnett in GitHub issue 1857. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2019-06-28 |
|\| | |||
| * | When system calls indicate an error they return -1, not some arbitrary | deraadt | 2019-06-28 |
| | | | | | | | | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2019-05-25 |
|\| | |||
| * | Merge cmd_list_parse into cmd-parse.y so it can use the new alias | nicm | 2019-05-25 |
| | | | | | | | | processing code. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2018-11-22 |
|\| | |||
| * | Do not use PWD unless it actually matches the real working directory. | nicm | 2018-11-22 |
| | | |||
* | | Linux: include sys/file.h for flock() | Thomas Adam | 2018-06-07 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2018-04-26 |
|\| | |||
| * | 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@ | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2018-01-01 |
|\| | |||
| * | Prefer PWD for current directory if present in client, from Wei Zhao in | nicm | 2018-01-01 |
| | | | | | | | | GitHub issue 1183. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-12-19 |
|\| | |||
| * | Report better error from server when socket create fails, GitHub issue | nicm | 2017-12-19 |
| | | | | | | | | 1201. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-12-19 |
|\| | |||
| * | 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. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-07-14 |
|\| | |||
| * | 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). | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-07-12 |
|\| | | | | | | | | | | | | | | | Conflicts: cmd-pipe-pane.c proc.c tmux.c window.c | ||
| * | 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. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-01-24 |
|\| | |||
| * | 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. | ||
* | | Define away pledge() on !OpenBSD. | Nicholas Marriott | 2017-01-23 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-01-23 |
|\| | | | | | | | | | | | Conflicts: Makefile tmux.c | ||
| * | Open /dev/ptm before pledge() and save it to be used for PTMGET later | nicm | 2017-01-23 |
| | | | | | | | | | | | | (this means inlining forkpty()). ok deraadt | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-01-20 |
|\| | |||
| * | 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 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2017-01-13 |
|\| | |||
| * | 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. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-10-04 |
|\| | |||
| * | Remove some dead code in cmd-move-window.c and make a load of local | nicm | 2016-10-03 |
| | | | | | | | | functions static. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-01-19 |
|\| | |||
| * | I no longer use my SourceForge address so replace it. | nicm | 2016-01-19 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-25 |
|\| | | | | | | | | | | | | | Conflicts: log.c proc.c tmux.c | ||
| * | 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. |