aboutsummaryrefslogtreecommitdiff
path: root/server.c
Commit message (Collapse)AuthorAge
* Look for libevent2 differently from libevent for platforms with both.Nicholas Marriott2021-01-17
|
* Merge branch 'obsd-master'Thomas Adam2020-09-16
|\
| * Fix some warnings, GitHub issue 2382.nicm2020-09-16
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-18
|\|
| * Add a flag to make a client wait for an empty line before exiting innicm2020-06-18
| | | | | | | | control mode to avoid stray commands ending up in the shell.
* | Merge branch 'obsd-master'Thomas Adam2020-06-01
|\|
| * Instead of sending all data to control mode clients as fast as possible,nicm2020-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.
| * Add a -D flag to ask tmux not to daemonize, useful both for running anicm2020-05-16
| | | | | | | | | | debugger (lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
| * Change message log to be per server rather than per client and includenicm2020-05-16
| | | | | | | | every command that is run.
| * Add 'e' key in buffer mode to open the buffer in an editor.nicm2020-05-16
| |
* | xterm-keys has been on by default for 5 years and all other modern terminalsNicholas Marriott2020-05-15
| | | | | | | | | | | | use these key sequences by default. Merge the code into the main tty and input tree processing (convering the latter to use a tree rather than a table at the same time) and make the option a no-op.
* | Add a -D flag to ask tmux not to daemonize, useful both for running a debuggerNicholas Marriott2020-05-10
| | | | | | | | | | (lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
* | Change message log to be per server rather than per client and include everyNicholas Marriott2020-05-06
| | | | | | | | command that is run.
* | Add 'e' key in buffer mode to open the buffer in an editor.Nicholas Marriott2020-05-01
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-12
|\|
| * When the server socket is given by the user with -S, create it withnicm2020-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 Adam2019-06-20
|\|
| * Expand command formats in %if and move the config file loading later (tonicm2019-06-20
| | | | | | | | | | when the first client has identified) so all the client formats are available, fixes problems reported by Thomas Sattler.
* | Merge branch 'obsd-master'Thomas Adam2019-06-07
|\|
| * Do not load the config file if the server is exiting because it failednicm2019-06-07
| | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2019-05-20
|\|
| * Replace the various identical error callbacks with a single one in cmd-queue.c.nicm2019-05-20
| |
| * Break new window and pane creation common code from various commands andnicm2019-04-17
| | | | | | | | window.c into a separate file spawn.c.
* | Break new window and pane creation common code from various commands andNicholas Marriott2019-04-07
| | | | | | | | window.c into a separate file spawn.c.
* | Merge branch 'obsd-master'Thomas Adam2018-08-23
|\|
| * Move job struct into job.c.nicm2018-08-23
| |
* | Merge branch 'obsd-master'Thomas Adam2018-08-18
|\|
| * SESSION_UNATTACHED flag is no longer necessary now we have an attachednicm2018-08-18
| | | | | | | | count instead.
* | Merge branch 'obsd-master'Thomas Adam2018-08-02
|\|
| * session_groups can be static also.nicm2018-08-02
| |
* | Merge branch 'obsd-master'Thomas Adam2018-03-08
|\|
| * Add a missing client-detached hook when the server shuts down, and donicm2018-03-08
| | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2018-02-22
|\|
| * Add exit-empty option to exit server if no sessions (defaults to on).nicm2018-02-22
| |
* | Merge branch 'obsd-master'Thomas Adam2017-12-19
|\|
| * Report better error from server when socket create fails, GitHub issuenicm2017-12-19
| | | | | | | | 1201.
* | Merge branch 'obsd-master'Thomas Adam2017-10-20
|\| | | | | | | | | Conflicts: server-fn.c
| * Show exit status and time in the remain-on-exit pane text, mostly fromnicm2017-10-12
| | | | | | | | Timo Boettcher in GitHub issue 1103.
* | Merge branch 'obsd-master'Thomas Adam2017-07-14
|\|
| * Because ignore SIGCHLD early, letting signal_del restore it doesn't worknicm2017-07-14
| | | | | | | | | | correctly, so set it explicitly back to default (and the others for good measure).
* | Merge branch 'obsd-master'Thomas Adam2017-07-12
|\| | | | | | | | | | | | | | | Conflicts: cmd-pipe-pane.c proc.c tmux.c window.c
| * Block signals between forking and clearing signal handlers (or callingnicm2017-07-12
| | | | | | | | | | | | 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.
| * Move signal code into proc.c.nicm2017-07-12
| |
* | Merge branch 'obsd-master'Thomas Adam2017-07-10
|\|
| * Some extra logging to show why tmux might exit.nicm2017-07-09
| |
* | Merge branch 'obsd-master'Thomas Adam2017-07-03
|\|
| * Do not close panes until process has exited and any outstanding datanicm2017-07-03
| | | | | | | | has been written to the pipe-pane event if there is one. GitHub issue 991.
* | Merge branch 'obsd-master'Thomas Adam2017-06-05
|\| | | | | | | | | | | Conflicts: tmux.1 window.c
| * Support SIGUSR2 to stop and start logging for an existing server. Alsonicm2017-06-04
| | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2017-04-22
|\|