aboutsummaryrefslogtreecommitdiff
path: root/server.c
Commit message (Collapse)AuthorAge
* 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
|\|
| * Memory leaks, from David CARLIER.nicm2017-04-22
| |
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\|
| * Make the cmd_find_* functions more obvious when looking for a client,nicm2017-04-21
| | | | | | | | | | rather than having it inside other functions. Should be no change to the way targets are resolved just yet.
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\|
| * History needs to be loaded after config parsing is done - now thatnicm2017-04-21
| | | | | | | | commands are queued, that's in cfg_done not after start_cfg finishes.
* | Merge branch 'obsd-master'Thomas Adam2017-04-20
|\|
| * If a #() command doesn't exit, use its most recent line of output (itnicm2017-04-20
| | | | | | | | | | | | | | 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...
* | Merge branch 'obsd-master'Thomas Adam2017-02-14
|\| | | | | | | | | Conflicts: server.c
| * Instead of numbering session groups, give them a name which may be givennicm2017-02-09
| | | | | | | | | | to -t instead of a target session. Also allow them to contain only one session.
* | -paths.h.Nicholas Marriott2017-01-25
| |
* | Bad merge.Nicholas Marriott2017-01-25
| |
* | Define away pledge() on !OpenBSD.Nicholas Marriott2017-01-23
| |
* | Merge branch 'obsd-master'Thomas Adam2016-11-12
|\|
| * Do not execute commands for a client until it has identified, fixesnicm2016-11-12
| | | | | | | | problem reported by Frank Terbeck.