aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
Commit message (Collapse)AuthorAge
...
| * Remove two unused arguments from status_replace.nicm2015-02-01
| |
* | 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
| * Fix some spacing nits.nicm2014-10-22
| |
* | Merge branch 'obsd-master'Thomas Adam2014-10-21
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
| * Update status when pane selected with mouse, from Balazs Kezes.nicm2014-10-02
| |
* | Ignore ENXIO on Solaris as well, from Peter Schow.Nicholas Marriott2014-10-02
| |
* | Merge branch 'obsd-master'Thomas Adam2014-09-25
|\|
| * Various minor style and spacing nits.nicm2014-09-01
| |
* | Merge branch 'obsd-master'Thomas Adam2014-08-09
|\| | | | | | | | | Conflicts: client.c
| * Remove support for the continuous reporting "any" mouse mode which nevernicm2014-08-09
| | | | | | | | really worked properly and is rarely used.
| * An EOF is a good reason to close a connection.krw2014-07-13
| | | | | | | | ok nicm@
| * If a client is killed while suspended with ^Z so has gone through thenicm2014-07-13
| | | | | | | | | | MSG_EXITED dance, don't try to resume it since a) it's pointless and b) the tty structures have been cleaned up and tmux will crash.
* | Merge branch 'obsd-master'Thomas Adam2014-04-23
|\| | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c
| * Because we pass the file descriptor from client to server, tmux can'tnicm2014-04-16
| | | | | | | | usefully work if stdin is /dev/tty. Complain about it more clearly.
* | Merge branch 'obsd-master'Thomas Adam2014-04-05
|\| | | | | | | | | | | Conflicts: Makefile tty-keys.c
| * Change terminal-overrides to a server option (now that we have them), itnicm2014-02-23
| | | | | | | | doesn't make much sense as a session option.
* | Spaces to tabs.Nicholas Marriott2014-03-06
| |
* | Restore SunOS fix, noticed by Greg Onufer.Nicholas Marriott2014-03-05
| |
* | Merge branch 'obsd-master'Thomas Adam2014-02-19
|\|
| * Be consistent and allow only mouse down and mouse wheel for any panenicm2014-02-17
| | | | | | | | | | with mouse-select-pane rather than just in copy mode, reported by Balazs Kezes.
* | Merge branch 'obsd-master'Thomas Adam2014-02-16
|\| | | | | | | | | | | Conflicts: tmux.1 tmux.c
| * Make status-interval of zero work as indented.nicm2014-02-14
| |
| * Style nit - no space between function name and bracket.nicm2014-02-14
| |
* | Merge branch 'obsd-master'Thomas Adam2014-01-31
|\| | | | | | | | | | | | | Conflicts: Makefile cmd-server-info.c cmd-start-server.c
| * Break up and simplify screen_redraw_screen.nicm2014-01-31
| |
* | Merge branch 'obsd-master'Thomas Adam2013-11-14
|\|
| * from nicm: : handle msgbuf_write() returning EAGAINbenno2013-11-13
| |
| * 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.
* | Merge branch 'obsd-master' into mtempThomas2013-10-11
|\|
| * Don't leak file descriptors in the rare MSG_VERSION case. From Chrisnicm2013-10-11
| | | | | | | | Johnsen.
| * We accidentally haven't been using $TMUX to work out the session for anicm2013-10-10
| | | | | | | | | | | | while and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ.
| * Don't look at string[length - 1] if length == 0.nicm2013-10-10
| |
| * Alter how tmux handles the working directory to internally use filenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | descriptors rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '~', do: bind c neww -c ~ This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
| * Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048.nicm2013-10-10
| |
| * Allow the file descriptor received from the client to be -1.nicm2013-10-10
| |
| * Focus events can cause trouble if left on and they can't be turned offNicholas Marriott2013-06-23
| | | | | | | | | | during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
* | Add support for Cgywin, apparently it is enough just to open the tty again inNicholas Marriott2013-07-12
| | | | | | | | | | | | the server and fd passing is not necessary. Needs some ifdefs unfortunately but no way around that and some of them can go next time we're willing to do a protocol bump. Patch from J Raynor jxraynor at gmail dot com.
* | Focus events can cause trouble if left on and they can't be turned offNicholas Marriott2013-06-28
| | | | | | | | | | during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
* | Merge branch 'obsd-master'Thomas Adam2013-04-23
|\| | | | | | | Sync from OpenBSD.
| * Don't let server_client_check_focus use a dead bufferevent, from RomainNicholas Marriott2013-04-21
| | | | | | | | Francoise.
* | Merge branch 'obsd-master'Thomas Adam2013-04-13
|\| | | | | | | | | Conflicts: tmux.c
| * Remove some code not needed on OpenBSD.Nicholas Marriott2013-04-10
| |
| * Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott2013-03-27
| | | | | | | | few and unnecessary.
| * Sort includes and fix spaces.Nicholas Marriott2013-03-25
| |
| * Use single stdout and stderr for control clients.Nicholas Marriott2013-03-25
| |
| * Send DSC 1000p at the beginning of a -CC client's lifetime and ST andNicholas Marriott2013-03-25
| | | | | | | | the end, from George Nachman.
| * Add resize-pane -Z to temporary zoom the active pane to occupy the fullNicholas Marriott2013-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | window or unzoom (restored to the normal layout) if it already zoomed, bound to C-b z by default. The pane is unzoomed on pretty much any excuse whatsoever. We considered making this a new layout but the requirements are quite different from layouts so decided it is better as a special case. Each current layout cell is saved, a temporary one-cell layout generated and all except the active pane set to NULL. Prompted by suggestions and scripts from several. Thanks to Aaron Jensen and Thiago Padilha for testing an earlier version.
| * 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.
| * Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott2013-03-24
| |