aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2020-09-22
|\|
| * Fix warnings on some platforms with %llx and add a new message to handlenicm2020-09-22
| | | | | | | | 64-bit client flags.
* | Merge branch 'obsd-master'Thomas Adam2020-08-05
|\|
| * Change searching to behave more like emacs and so that regex searchingnicm2020-08-05
| | | | | | | | doesn't overlap when searching forwards.
* | Merge branch 'obsd-master'Thomas Adam2020-07-06
|\|
| * Add a way for control mode clients to subscribe to a format and benicm2020-07-06
| | | | | | | | notified of changes rather than having to poll. GitHub issue 2242.
* | Merge branch 'obsd-master'Thomas Adam2020-06-18
|\|
| * Add a flag to make a client wait for an empty line before exiting innicm2020-06-18
| | | | | | | | control mode to avoid stray commands ending up in the shell.
* | Merge branch 'obsd-master'Thomas Adam2020-06-10
|\|
| * Instead of a buffer size limit on each pane, set a limit of 300 secondsnicm2020-06-10
| | | | | | | | of data for each client in control mode.
* | Merge branch 'obsd-master'Thomas Adam2020-06-05
|\|
| * Change how panes are resized so that the code is clearer and if the panenicm2020-06-05
| | | | | | | | | | | | is resized multiple times during one event loop, it is forced to resize at the end. Also don't zoom/unzoom in switch-client if the pane hasn't changed. GitHub issue 2260.
* | Merge branch 'obsd-master'Thomas Adam2020-06-05
|\|
| * Add support for pausing a pane when the output buffered for a controlnicm2020-06-05
| | | | | | | | | | | | mode client gets too far behind. The pause-after flag with a time is set on the pane with refresh-client -f and a paused pane may be resumed with refresh-client -A. GitHub issue 2217.
* | Merge branch 'obsd-master'Thomas Adam2020-06-02
|\|
| * Use CLOCK_MONOTONIC for timer measurement and add a timestamp to controlnicm2020-06-02
| | | | | | | | mode %output blocks.
| * Check the right thing for maximum client buffer size.nicm2020-06-01
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-01
|\|
| * Instead of sending all data to control mode clients as fast as possible,nicm2020-06-01
| | | | | | | | | | | | add a limit of how much data will be sent to the client and try to use it for panes with some degree of fairness. GitHub issue 2217, with George Nachman.
* | Merge branch 'obsd-master'Thomas Adam2020-05-26
|\|
| * Pass the stdout file descriptor from the client as well as stdin and usenicm2020-05-26
| | | | | | | | | | them for control clients directly instead of passing everything via the client.
* | Merge branch 'obsd-master'Thomas Adam2020-05-24
|\|
| * Remove leftover call to control_free_offsets and do not use fornicm2020-05-24
| | | | | | | | non-control clients.
* | Merge branch 'obsd-master'Thomas Adam2020-05-24
|\|
| * Give control code its own state struct.nicm2020-05-24
| |
| * Now the tty has a pointer back to the client there is no point (and anicm2020-05-24
| | | | | | | | bit confusing) in it keeping a copy of the fd as well. Remove it.
* | Merge branch 'obsd-master'Thomas Adam2020-05-22
|\|
| * FocusIn keys can also update the latest client, like normal keys.nicm2020-05-22
| |
* | Merge branch 'obsd-master'Thomas Adam2020-05-22
|\|
| * Move client offset stuff into control.c since only control clients willnicm2020-05-22
| | | | | | | | need it.
* | Merge branch 'obsd-master'Thomas Adam2020-05-21
|\|
| * Support code for control mode flow control: allow clients to havenicm2020-05-21
| | | | | | | | | | | | separate offsets (used and acknowleged) into the pane buffers; turn off reading from panes when no clients can accept the data; and add a -A flag to refresh-client to let clients turn receiving a pane on and off.
| * Move lazy resize from the pane to the window, there is no point innicm2020-05-16
| | | | | | | | | | | | resizing the window unless it is the current window, and if we do and don't resize the pane until later there are problems if the size changes from A to B then back to A.
| * Add a client flag 'active-pane' which stores the active pane in thenicm2020-05-16
| | | | | | | | | | | | | | | | | | client and allows it to be changed independently from the real active pane stored in the window. This is can be used with session groups which allow an independent current window (although it would be nice to have a flag for this too and remove session groups). The client active pane is only really useful interactively, many things (hooks, window-style, zooming) still use the window active pane.
| * Expand target from client and use it to expand the prompt.nicm2020-05-16
| |
| * Add a -D flag to ask tmux not to daemonize, useful both for running anicm2020-05-16
| | | | | | | | | | debugger (lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
| * Change message log to be per server rather than per client and includenicm2020-05-16
| | | | | | | | every command that is run.
| * Change the existing client flags for control mode to apply for anynicm2020-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client, use the same mechanism for the read-only flag and add an ignore-size flag. refresh-client -F has become -f (-F stays for backwards compatibility) and attach-session and switch-client now have -f flags also. A new format "client_flags" lists the flags and is shown by list-clients by default. This separates the read-only flag from "ignore size" behaviour (new ignore-size) flag - both behaviours are useful in different circumstances. attach -r and switchc -r remain and set or toggle both flags together.
| * Do not hoke into struct window_pane from the tty code and instead setnicm2020-05-16
| | | | | | | | | | | | | | everything up in tty_ctx. Provide a way to initialize the tty_ctx from a callback and use it to let popups draw directly through input_parse in the same way as panes do, rather than forcing a full redraw on every change.
| * Improve command prompt completion:nicm2020-05-16
| | | | | | | | | | | | | | | | | | | | | | - Show a menu with completions if there are multiple. - Don't complete argument stuff (options, layouts) at start of text. - For -t and -s, if there is no : then complete sessions but if there is a :, show a menu of all windows in the session rather than trying to complete the window name which is a bit useless if there are duplicates.
| * Do not redraw or update mode if nothing has changed.nicm2020-05-16
| |
* | Move lazy resize from the pane to the window, there is no point in resizing theNicholas Marriott2020-05-16
| | | | | | | | | | window unless it is the current window, and if we do and don't resize the pane until later there are problems if the size changes from A to B then back to A.
* | Separate key flags and modifiers, log key flags, make the "xterm" flag moreNicholas Marriott2020-05-15
| | | | | | | | explicit and fix M- keys with a leading escape.
* | Rename KEYC_ESCAPE to KEYC_META.Nicholas Marriott2020-05-15
| |
* | Add a client flag 'active-pane' which stores the active pane in the client andNicholas Marriott2020-05-14
| | | | | | | | | | | | | | | | | | allows it to be changed independently from the real active pane stored in the window. This is can be used with session groups which allow an independent current window (although it would be nice to have a flag for this too and remove session groups). The client active pane is only really useful interactively, many things (hooks, window-style, zooming) still use the window active pane.
* | Use safe loop for freeing client files.Nicholas Marriott2020-05-13
| |
* | Fix comparison of tty name.Nicholas Marriott2020-05-10
| |
* | Add a -D flag to ask tmux not to daemonize, useful both for running a debuggerNicholas Marriott2020-05-10
| | | | | | | | | | (lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
* | Change message log to be per server rather than per client and include everyNicholas Marriott2020-05-06
| | | | | | | | command that is run.
* | Change the existing client flags for control mode to apply for any client, useNicholas Marriott2020-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | the same mechanism for the read-only flag and add an ignore-size flag. refresh-client -F has become -f (-F stays for backwards compatibility) and attach-session and switch-client now have -f flags also. A new format "client_flags" lists the flags and is shown by list-clients by default. This separates the read-only flag from "ignore size" behaviour (new ignore-size) flag - both behaviours are useful in different circumstances. attach -r and switchc -r remain and set or toggle both flags together.