Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'obsd-master' into master | Thomas Adam | 2021-08-27 |
|\ | |||
| * | Replace %% in command lists (by copying them) for template arguments , | nicm | 2021-08-27 |
| | | | | | | | | | | this means they can be used with {} as well. Also make argument processing from an existing vector preserve commands. GitHub issue 2858. | ||
* | | Merge branch 'obsd-master' into master | Thomas Adam | 2021-02-17 |
|\| | |||
| * | Move the call to setupterm() into the client and have it pass the | nicm | 2021-02-17 |
| | | | | | | | | | | | | results to the server over imsg, means the server does not need to enter ncurses or read terminfo db. Old clients will not work with a new server. | ||
* | | Merge branch 'obsd-master' into master | Thomas Adam | 2021-02-17 |
|\| | |||
| * | Do not care about the server socket closing if exiting anyway. | nicm | 2021-02-12 |
| | | |||
| * | Add a couple of helper functions, and flush imsgs on exit. | nicm | 2021-02-11 |
| | | |||
| * | Move file handling protocol stuff all into file.c so it can be reused | nicm | 2021-02-11 |
| | | | | | | | | more easily. | ||
* | | Merge branch 'obsd-master' into master | Thomas Adam | 2021-01-17 |
|\| | |||
| * | Add -N flag to never start server even if command would normally do so, | nicm | 2021-01-17 |
| | | | | | | | | GitHub issue 2523. | ||
* | | Look for libevent2 differently from libevent for platforms with both. | Nicholas Marriott | 2021-01-17 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-10-30 |
|\| | |||
| * | With csh, a tmux client gets SIGTERM before SIGCONT when killed with | nicm | 2020-10-30 |
| | | | | | | | | | | | | | | "kill %%", so when the client tells the server it got SIGCONT, don't use bits that may already have been freed when it got SIGTERM. Also don't print anything on exit if we get SIGTERM while suspended. Reported by Theo. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-09-22 |
|\| | |||
| * | Fix warnings on some platforms with %llx and add a new message to handle | nicm | 2020-09-22 |
| | | | | | | | | 64-bit client flags. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-06-18 |
|\| | |||
| * | Add a flag to make a client wait for an empty line before exiting in | nicm | 2020-06-18 |
| | | | | | | | | control mode to avoid stray commands ending up in the shell. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-06-10 |
|\| | |||
| * | Instead of a buffer size limit on each pane, set a limit of 300 seconds | nicm | 2020-06-10 |
| | | | | | | | | of data for each client in control mode. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-06-01 |
|\| | |||
| * | Instead of sending all data to control mode clients as fast as possible, | nicm | 2020-06-01 |
| | | | | | | | | | | | | add a limit of how much data will be sent to the client and try to use it for panes with some degree of fairness. GitHub issue 2217, with George Nachman. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-05-26 |
|\| | |||
| * | Pass the stdout file descriptor from the client as well as stdin and use | nicm | 2020-05-26 |
| | | | | | | | | | | them for control clients directly instead of passing everything via the client. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-05-13 |
|\| | |||
| * | imsg.h needs uio.h, pointed out by deraadt | nicm | 2020-05-08 |
| | | |||
| * | Do not close the stdout file descriptor in control mode as it will be | nicm | 2020-04-27 |
| | | | | | | | | | | needed for printing the exit messages. Fixes a bug when detaching with iTerm2. | ||
* | | Do not close stdout file descriptor in control mode since it will be needed for | Nicholas Marriott | 2020-04-27 |
| | | | | | | | | printing the exit messages. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-04-20 |
|\| | |||
| * | Tidy up the terminal detection and feature code and add named sets of | nicm | 2020-04-20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminal features, each of which are defined in one place and map to a builtin set of terminfo(5) capabilities. Features can be specified based on TERM with a new terminal-features option or with the -T flag when running tmux. tmux will also detect a few common terminals from the DA and DSR responses. This is intended to make it easier to configure tmux's use of terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5) databases or for features which do not yet have a terminfo(5) entry. Instead of having to grok terminfo(5) capability names and what they should be set to in the terminal-overrides option, the user can hopefully just give tmux a feature name and let it do the right thing. The terminal-overrides option remains both for backwards compatibility and to allow tweaks of individual capabilities. tmux already did much of this already, this makes it tidier and simpler to configure. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-04-13 |
|\| | |||
| * | Make struct cmd local to cmd.c and move it out of tmux.h. | nicm | 2020-04-13 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-04-09 |
|\| | |||
| * | Some unnecessary assignments and unused variables. | nicm | 2020-04-09 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-03-30 |
|\| | |||
| * | Add to rather than replace flags with -c. | nicm | 2020-03-30 |
| | | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-03-12 |
|\| | |||
| * | When the server socket is given by the user with -S, create it with | nicm | 2020-03-12 |
| | | | | | | | | | | | | 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. | ||
* | | Merge branch 'obsd-master' | Thomas Adam | 2020-01-29 |
|\| | |||
| * | Warn if a message type that is no longer used is received. | nicm | 2020-01-29 |
| | | |||
* | | 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 |
|\| |