aboutsummaryrefslogtreecommitdiff
path: root/server.c
Commit message (Collapse)AuthorAge
...
| * We already loop over the windows in server_client_loop, so don't do itnicm2015-08-29
| | | | | | | | again in server_loop just to check names.
| * Move alerts onto events rather than checking every loop.nicm2015-08-29
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-28
|\|
| * Remove unused prototypes.nicm2015-08-28
| |
| * Per-session timers for locking, and remove the global one-second timer.nicm2015-08-28
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-28
|\|
| * Remove the lock-server option which is a bit redundant, it isn't thatnicm2015-08-28
| | | | | | | | different without it.
| * Give clock mode its own timer.nicm2015-08-28
| |
| * Run status update on a per-client timer at status-interval.nicm2015-08-28
| |
| * Move format job cleanup onto its own timer.nicm2015-08-28
| |
* | Merge branch 'obsd-master'Thomas Adam2015-07-20
|\|
| * Add an option (history-file) for a file to save/restore command promptnicm2015-07-20
| | | | | | | | history, from Olof-Joachim Frahm.
* | Merge branch 'obsd-master'Thomas Adam2015-06-07
|\| | | | | | | | | | | | | Conflicts: client.c tmux.1 tmux.c
| * Similarly, for sessions use a callback to free rather than checkingnicm2015-06-05
| | | | | | | | every loop.
| * Instead of putting dead clients on a list and checking it every loop,nicm2015-06-05
| | | | | | | | | | | | | | use event_once to queue a callback to deal with them. Also dead clients with references would never actually be freed because the wrap-up functions (the callback for stdin, or status_prompt_clear) would never be called. So call them in server_client_lost.
* | Merge branch 'obsd-master'Thomas Adam2015-06-04
|\|
| * Add support for a single "marked pane". There is one marked pane in thenicm2015-06-04
| | | | | | | | | | | | | | | | | | server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
* | Merge branch 'obsd-master'Thomas Adam2015-06-01
|\|
| * Clear signal handlers before event_reinit as apparently it can otherwisenicm2015-06-01
| | | | | | | | cause libevent to go strange.
* | Merge branch 'obsd-master'Thomas Adam2015-06-01
|\|
| * does not need syslog.hderaadt2015-05-31
| |
* | Merge branch 'obsd-master'Thomas Adam2015-05-27
|\|
| * Move the jobs output cache into the formats code so that #() work morenicm2015-05-27
| | | | | | | | generally (for example, again working in set-titles-string).
* | Merge branch 'obsd-master'Thomas Adam2015-04-25
|\|
| * Convert clients list into a TAILQ.nicm2015-04-24
| |
| * Change the windows array into an RB tree and fix some places where wenicm2015-04-22
| | | | | | | | were only looking at the first winlink for a window in a session.
| * window_index is only used in one place (window_destroy) so inline it there.nicm2015-04-22
| |
* | Merge branch 'obsd-master'Thomas Adam2015-04-22
|\|
| * Do not die on USR1 if any of the socket parent directories arenicm2015-04-21
| | | | | | | | missing. Reported by Robin Powell.
* | Merge branch 'obsd-master'Thomas Adam2014-12-19
|\| | | | | | | | | Conflicts: format.c
| * Add pane_dead_status for exit status of dead panes.nicm2014-12-09
| |
* | No need for $Id$ now.Nicholas Marriott2014-11-08
| |
* | Merge branch 'obsd-master'Thomas Adam2014-10-29
|\| | | | | | | | | | | | | Conflicts: Makefile cmd-link-window.c cmd-unlink-window.c
| * Move cfg_causes local into cfg.c and remove struct causelist.nicm2014-10-27
| |
* | Merge branch 'obsd-master'Thomas Adam2014-09-25
|\|
| * Wake up any clients waiting with the wait-for command when the servernicm2014-09-01
| | | | | | | | exits.
* | Merge branch 'obsd-master'Thomas Adam2014-08-09
|\| | | | | | | | | Conflicts: client.c
| * lockf is entirely useless and it was a mistake to change to it, go backnicm2014-07-21
| | | | | | | | | | to using flock which actually works sensibly. Also always retry the lock to fix a potential race, and add some extra logging.
* | Merge branch 'obsd-master'Thomas Adam2014-06-20
|\|
| * Now that cmdlists are reference counted, there is no need for two-stepnicm2014-05-14
| | | | | | | | deletion via the dead_key_bindings tree. From Keith Amling.
* | Merge branch 'obsd-master'Thomas Adam2014-04-24
|\|
| * There is no longer a need for a paste_stack struct or for global_buffersnicm2014-04-24
| | | | | | | | to be global. Move to paste.c.
* | Merge branch 'obsd-master'Thomas Adam2014-04-23
|\| | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c
| * Some more long lines.nicm2014-04-17
| |
* | Merge branch 'obsd-master'Thomas Adam2013-11-14
|\|
| * Do not run any command line command from the client which starts thenicm2013-10-20
| | | | | | | | | | | | 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.
| * Rename global configuration define.Nicholas Marriott2013-04-24
| |
| * Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * No more lint means no more ARGSUSED.Nicholas Marriott2013-03-22
| |
* | Use sysconfdir for the location of global tmux.conf (but default it to /etc),Nicholas Marriott2013-04-24
| | | | | | | | based on changes from Dagobert Michelsen.