summaryrefslogtreecommitdiffstats
path: root/server.c
AgeCommit message (Collapse)Author
2015-06-01Merge branch 'obsd-master'Thomas Adam
2015-06-01Clear signal handlers before event_reinit as apparently it can otherwisenicm
cause libevent to go strange.
2015-06-01Merge branch 'obsd-master'Thomas Adam
2015-05-31does not need syslog.hderaadt
2015-05-27Merge branch 'obsd-master'Thomas Adam
2015-05-27Move the jobs output cache into the formats code so that #() work morenicm
generally (for example, again working in set-titles-string).
2015-04-25Merge branch 'obsd-master'Thomas Adam
2015-04-24Convert clients list into a TAILQ.nicm
2015-04-22Change the windows array into an RB tree and fix some places where wenicm
were only looking at the first winlink for a window in a session.
2015-04-22window_index is only used in one place (window_destroy) so inline it there.nicm
2015-04-22Merge branch 'obsd-master'Thomas Adam
2015-04-21Do not die on USR1 if any of the socket parent directories arenicm
missing. Reported by Robin Powell.
2014-12-19Merge branch 'obsd-master'Thomas Adam
Conflicts: format.c
2014-12-09Add pane_dead_status for exit status of dead panes.nicm
2014-11-08No need for $Id$ now.Nicholas Marriott
2014-10-29Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile cmd-link-window.c cmd-unlink-window.c
2014-10-27Move cfg_causes local into cfg.c and remove struct causelist.nicm
2014-09-25Merge branch 'obsd-master'Thomas Adam
2014-09-01Wake up any clients waiting with the wait-for command when the servernicm
exits.
2014-08-09Merge branch 'obsd-master'Thomas Adam
Conflicts: client.c
2014-07-21lockf is entirely useless and it was a mistake to change to it, go backnicm
to using flock which actually works sensibly. Also always retry the lock to fix a potential race, and add some extra logging.
2014-06-20Merge branch 'obsd-master'Thomas Adam
2014-05-14Now that cmdlists are reference counted, there is no need for two-stepnicm
deletion via the dead_key_bindings tree. From Keith Amling.
2014-04-24Merge branch 'obsd-master'Thomas Adam
2014-04-24There is no longer a need for a paste_stack struct or for global_buffersnicm
to be global. Move to paste.c.
2014-04-23Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile tmux.1 window.c
2014-04-17Some more long lines.nicm
2013-11-14Merge branch 'obsd-master'Thomas Adam
2013-10-20Do not run any command line command from the client which starts thenicm
server until after the configuration file completes. This prevents it racing against run-shell or if-shell in .tmux.conf that run in the background.
2013-04-24Rename global configuration define.Nicholas Marriott
2013-04-24Use sysconfdir for the location of global tmux.conf (but default it to /etc),Nicholas Marriott
based on changes from Dagobert Michelsen.
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
2013-03-22No more lint means no more ARGSUSED.Nicholas Marriott
2013-02-23Add a command queue to standardize and simplify commands that call otherNicholas Marriott
commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
2013-02-17No more lint means no more ARGSUSED.Nicholas Marriott
2012-12-08Merge branch 'obsd-master'Thomas Adam
Sync from OpenBSD.
2012-12-06Fix argument order in a log statement.Nicholas Marriott
2012-11-22Merge branch 'obsd-master'Thomas Adam
Sync from OpenBSD. * obsd-master: Add halfpage commands to mode command string table (missed by accident), from Thomas Adam. Clarify some points about config files, notably that they are only read at server start. From Thomas Adam. Use a utility function for common code to show errors in config file, from Thomas Adam.
2012-11-19Use a utility function for common code to show errors in config file,Nicholas Marriott
from Thomas Adam.
2012-07-11Sync OpenBSD patchset 1150:Tiago Cunha
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-04-12Sync OpenBSD patchset 1092:Tiago Cunha
Stop accepting new clients for 1 second on EMFILE/ENFILE. Based on ongoing fixes to other daemons by Theo.
2012-04-11Stop accepting new clients for 1 second on EMFILE/ENFILE. Based onNicholas Marriott
ongoing fixes to other daemons by Theo.
2012-03-18Sync OpenBSD patchset 1043:Tiago Cunha
Use a lock file and flock() to serialize server start, avoids problems when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen.
2012-03-09Use a lock file and flock() to serialize server start, avoids problemsNicholas Marriott
when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen.
2011-07-09Expand the Id keyword. Tiago Cunha
2011-04-06PatchSet 870Nicholas Marriott
Date: 2011/03/27 21:27:26 Author: nicm Branch: HEAD Tag: (none) Log: Give each pane created in a tmux server a unique id (starting from 0), put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel.
2011-03-27Give each pane created in a tmux server a unique id (starting from 0),Nicholas Marriott
put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel.
2011-02-15Sync OpenBSD patchset 854:Tiago Cunha
Use LIST_* not SLIST_*.
2011-01-26Use LIST_* not SLIST_*.Nicholas Marriott