summaryrefslogtreecommitdiffstats
path: root/server.c
AgeCommit message (Collapse)Author
2019-06-20Merge branch 'obsd-master'Thomas Adam
2019-06-20Expand command formats in %if and move the config file loading later (tonicm
when the first client has identified) so all the client formats are available, fixes problems reported by Thomas Sattler.
2019-06-07Merge branch 'obsd-master'Thomas Adam
2019-06-07Do not load the config file if the server is exiting because it failednicm
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.
2019-05-20Merge branch 'obsd-master'Thomas Adam
2019-05-20Replace the various identical error callbacks with a single one in cmd-queue.c.nicm
2019-04-17Break new window and pane creation common code from various commands andnicm
window.c into a separate file spawn.c.
2019-04-07Break new window and pane creation common code from various commands andNicholas Marriott
window.c into a separate file spawn.c.
2018-08-23Merge branch 'obsd-master'Thomas Adam
2018-08-23Move job struct into job.c.nicm
2018-08-18Merge branch 'obsd-master'Thomas Adam
2018-08-18SESSION_UNATTACHED flag is no longer necessary now we have an attachednicm
count instead.
2018-08-02Merge branch 'obsd-master'Thomas Adam
2018-08-02session_groups can be static also.nicm
2018-03-08Merge branch 'obsd-master'Thomas Adam
2018-03-08Add a missing client-detached hook when the server shuts down, and donicm
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.
2018-02-22Merge branch 'obsd-master'Thomas Adam
2018-02-22Add exit-empty option to exit server if no sessions (defaults to on).nicm
2017-12-19Merge branch 'obsd-master'Thomas Adam
2017-12-19Report better error from server when socket create fails, GitHub issuenicm
1201.
2017-10-20Merge branch 'obsd-master'Thomas Adam
Conflicts: server-fn.c
2017-10-12Show exit status and time in the remain-on-exit pane text, mostly fromnicm
Timo Boettcher in GitHub issue 1103.
2017-07-14Merge branch 'obsd-master'Thomas Adam
2017-07-14Because ignore SIGCHLD early, letting signal_del restore it doesn't worknicm
correctly, so set it explicitly back to default (and the others for good measure).
2017-07-12Merge branch 'obsd-master'Thomas Adam
Conflicts: cmd-pipe-pane.c proc.c tmux.c window.c
2017-07-12Block signals between forking and clearing signal handlers (or callingnicm
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.
2017-07-12Move signal code into proc.c.nicm
2017-07-10Merge branch 'obsd-master'Thomas Adam
2017-07-09Some extra logging to show why tmux might exit.nicm
2017-07-03Merge branch 'obsd-master'Thomas Adam
2017-07-03Do not close panes until process has exited and any outstanding datanicm
has been written to the pipe-pane event if there is one. GitHub issue 991.
2017-06-05Merge branch 'obsd-master'Thomas Adam
Conflicts: tmux.1 window.c
2017-06-04Support SIGUSR2 to stop and start logging for an existing server. Alsonicm
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.
2017-04-22Merge branch 'obsd-master'Thomas Adam
2017-04-22Memory leaks, from David CARLIER.nicm
2017-04-21Merge branch 'obsd-master'Thomas Adam
2017-04-21Make the cmd_find_* functions more obvious when looking for a client,nicm
rather than having it inside other functions. Should be no change to the way targets are resolved just yet.
2017-04-21Merge branch 'obsd-master'Thomas Adam
2017-04-21History needs to be loaded after config parsing is done - now thatnicm
commands are queued, that's in cfg_done not after start_cfg finishes.
2017-04-20Merge branch 'obsd-master'Thomas Adam
2017-04-20If a #() command doesn't exit, use its most recent line of output (itnicm
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...
2017-02-14Merge branch 'obsd-master'Thomas Adam
Conflicts: server.c
2017-02-09Instead of numbering session groups, give them a name which may be givennicm
to -t instead of a target session. Also allow them to contain only one session.
2017-01-25-paths.h.Nicholas Marriott
2017-01-25Bad merge.Nicholas Marriott
2017-01-23Define away pledge() on !OpenBSD.Nicholas Marriott
2016-11-12Merge branch 'obsd-master'Thomas Adam
2016-11-12Do not execute commands for a client until it has identified, fixesnicm
problem reported by Frank Terbeck.
2016-10-16Merge branch 'obsd-master'Thomas Adam
2016-10-16Notifys can go via the command queue instead of using their own queue.nicm