aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
Commit message (Collapse)AuthorAge
...
| * Rewrite command queue handling. Each client still has a command queue,nicm2016-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but there is also now a global command queue. Instead of command queues being dispatched on demand from wherever the command happens to be added, they are now all dispatched from the top level server loop. Command queues may now also include callbacks as well as commands, and items may be inserted after the current command as well as at the end. This all makes command queues significantly more predictable and easier to use, and avoids the complex multiple nested command queues used by source-file, if-shell and friends. A mass rename of struct cmdq to a better name (cmdq_item probably) is coming.
* | Merge branch 'obsd-master'Thomas Adam2016-10-13
|\| | | | | | | | | Conflicts: paste.c
| * The repeat prompt in both emacs and vi (and the old one in tmux) doesn'tnicm2016-10-12
| | | | | | | | | | | | support line editing and instead executes a command as soon as a non-number key is pressed. Add a -N flag to command-prompt for the same in copy mode. Reported by Theo Buehler.
* | Merge branch 'obsd-master'Thomas Adam2016-10-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Support double and triple clicks (they are cumulative, so double isnicm2016-10-11
| | | | | | | | | | fired then triple), and use for select-word and select-line in copy mode. Inspired by a different solution from Omar Sandoval.
| * Fundamental change to how copy mode key bindings work:nicm2016-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The vi-copy and emacs-copy mode key tables are gone, and instead copy mode commands are bound in one of two normal key tables ("copy-mode" or "copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So: bind -temacs-copy C-Up scroll-up bind -temacs-copy -R5 WheelUpPane scroll-up Becomes: bind -Tcopy-mode C-Up send -X scroll-up bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up This allows the full command parser and command set to be used - for example, we can use the normal command prompt for searching, jumping, and so on instead of a custom one: bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'" command-prompt also gets a -1 option to only require on key press, which is needed for jumping. The plan is to get rid of mode keys entirely, so more to come eventually.
| * Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-09
|\|
| * Make the CLIENT_STATUS flag imply that pane status lines are redrawn ifnicm2016-10-09
| | | | | | | | | | they are enabled and break the actual screen generation code into a separate function. Fixes problems reported by Romain Francoise.
* | Merge branch 'obsd-master'Thomas Adam2016-09-28
|\|
| * Rate limit TIOCSWINSZ on a timer to avoid programs getting hammered withnicm2016-09-28
| | | | | | | | | | SIGWINCH when the size changes rapidly. To help a problem reported by Rui Pinheiro.
* | Merge branch 'obsd-master'Thomas Adam2016-06-16
|\|
| * Allow a command to be specified to display-panes, similar tonicm2016-06-16
| | | | | | | | command-prompt, rather than always just selecting the pane.
* | Merge branch 'obsd-master'Thomas Adam2016-05-01
|\|
| * tty_client_ready can not be internal to tty.c again.nicm2016-04-30
| |
* | Merge branch 'obsd-master'Thomas Adam2016-04-29
|\|
| * Add option to include status text in the pane borders. Ifnicm2016-04-29
| | | | | | | | | | | | | | | | | | pane-border-status is set to "top" or "bottom" (rather than "off"), every pane has a permanent top or bottom border containing the text from pane-border-format. Based on a diff sent long ago by Jonathan Slenders, mostly rewritten and simplified by me.
* | Merge branch 'obsd-master'Thomas Adam2016-04-28
|\|
| * After unlock, Update activity time after recalculate_sizes() so that thenicm2016-04-28
| | | | | | | | session attached flag is correct.
* | Merge branch 'obsd-master'Thomas Adam2016-03-18
|\|
| * Instead of reusing MouseUp at the finish of a drag, add a new keynicm2016-03-18
| | | | | | | | MouseDragEnd. It can be useful to bind them separately in copy mode.
* | Merge branch 'obsd-master'Thomas Adam2016-03-02
|\| | | | | | | | | Conflicts: utf8.c
| * When a mouse drag is finished, fire a MouseUp key press, instead ofnicm2016-03-01
| | | | | | | | doing the drag end in code. From Stephen Coakley.
* | Merge branch 'obsd-master'Thomas Adam2016-01-19
|\|
| * I no longer use my SourceForge address so replace it.nicm2016-01-19
| |
* | No need to set cwd on Cygwin now, from Yuya Adachi.Nicholas Marriott2015-12-20
| |
* | Merge branch 'obsd-master'Thomas Adam2015-12-17
|\|
| * Add infrastructure to work out the best target given a pane or windownicm2015-12-16
| | | | | | | | alone and use it to add pane_died and pane_exited hooks.
* | Merge branch 'obsd-master'Thomas Adam2015-12-15
|\|
| * Some hooks API changes to fire a hook while waiting another cmdq andnicm2015-12-15
| | | | | | | | infrastructure that will be needed soon.
* | Merge branch 'obsd-master'Thomas Adam2015-12-12
|\|
| * Add key-table option to set the default key table for a session, allowsnicm2015-12-12
| | | | | | | | different key bindings for different sessions and a few other things.
| * Allow prefix and prefix2 to be set to None to disable (useful if younicm2015-12-12
| | | | | | | | would rather bind the prefix in the root table).
* | Merge branch 'obsd-master'Thomas Adam2015-12-11
|\|
| * Add cmdq as an argument to format_create and add a format for thenicm2015-12-11
| | | | | | | | command name (will also be used for more later).
* | Merge branch 'obsd-master'Thomas Adam2015-12-08
|\|
| * Remove format_create_flags and just pass flags to format_create.nicm2015-12-08
| |
* | Conflicts:Thomas Adam2015-12-08
|\| | | | | | | Makefile
| * Add hooks infrastructure, basic commands (set-hook, show-hooks) and anicm2015-12-08
| | | | | | | | | | | | couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam.
* | Merge branch 'obsd-master'Thomas Adam2015-12-01
|\|
| * Do not deref wp if window_get_active_at returns NULL which can happen onnicm2015-12-01
| | | | | | | | very large terminals, from Michael Graczyk.
* | Merge branch 'obsd-master'Thomas Adam2015-11-23
|\|
| * Remove support for the UTF-8 mouse extension. This was a briefly used,nicm2015-11-23
| | | | | | | | | | | | | | | | poor idea that was fairly quickly replaced by SGR mouse input (which is now widespread). It is impossible to tell the difference between UTF-8 and non-UTF-8 mouse input; since the mouse-utf8 option was removed tmux has not handled it correctly in any case; and it is ridiculous to have three different forms of mouse input.
* | Merge branch 'obsd-master'Thomas Adam2015-11-21
|\| | | | | | | | | Conflicts: tmux.h
| * Only assume pasting with at least two characters, reduces problems fornicm2015-11-19
| | | | | | | | | | people who can type ^B c very fast, or who are using tmux inside something else that buffers.
* | Merge branch 'obsd-master'Thomas Adam2015-11-18
|\|
| * Use __unused rather than rolling our own.nicm2015-11-18
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-14
|\| | | | | | | | | | | Conflicts: server.c tmux.c
| * Push stdout and stderr to clients more aggressively, and add an event tonicm2015-11-14
| | | | | | | | continue if the send fails.
* | Merge branch 'obsd-master'Thomas Adam2015-11-12
|\|