summaryrefslogtreecommitdiffstats
path: root/server-client.c
AgeCommit message (Collapse)Author
2016-05-01Merge branch 'obsd-master'Thomas Adam
2016-04-30tty_client_ready can not be internal to tty.c again.nicm
2016-04-29Merge branch 'obsd-master'Thomas Adam
2016-04-29Add option to include status text in the pane borders. Ifnicm
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.
2016-04-28Merge branch 'obsd-master'Thomas Adam
2016-04-28After unlock, Update activity time after recalculate_sizes() so that thenicm
session attached flag is correct.
2016-03-18Merge branch 'obsd-master'Thomas Adam
2016-03-18Instead of reusing MouseUp at the finish of a drag, add a new keynicm
MouseDragEnd. It can be useful to bind them separately in copy mode.
2016-03-02Merge branch 'obsd-master'Thomas Adam
Conflicts: utf8.c
2016-03-01When a mouse drag is finished, fire a MouseUp key press, instead ofnicm
doing the drag end in code. From Stephen Coakley.
2016-01-19Merge branch 'obsd-master'Thomas Adam
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-12-20No need to set cwd on Cygwin now, from Yuya Adachi.Nicholas Marriott
2015-12-17Merge branch 'obsd-master'Thomas Adam
2015-12-16Add infrastructure to work out the best target given a pane or windownicm
alone and use it to add pane_died and pane_exited hooks.
2015-12-15Merge branch 'obsd-master'Thomas Adam
2015-12-15Some hooks API changes to fire a hook while waiting another cmdq andnicm
infrastructure that will be needed soon.
2015-12-12Merge branch 'obsd-master'Thomas Adam
2015-12-12Add key-table option to set the default key table for a session, allowsnicm
different key bindings for different sessions and a few other things.
2015-12-12Allow prefix and prefix2 to be set to None to disable (useful if younicm
would rather bind the prefix in the root table).
2015-12-11Merge branch 'obsd-master'Thomas Adam
2015-12-11Add cmdq as an argument to format_create and add a format for thenicm
command name (will also be used for more later).
2015-12-08Merge branch 'obsd-master'Thomas Adam
2015-12-08Remove format_create_flags and just pass flags to format_create.nicm
2015-12-08Conflicts:Thomas Adam
Makefile
2015-12-08Add hooks infrastructure, basic commands (set-hook, show-hooks) and anicm
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.
2015-12-01Merge branch 'obsd-master'Thomas Adam
2015-12-01Do not deref wp if window_get_active_at returns NULL which can happen onnicm
very large terminals, from Michael Graczyk.
2015-11-23Merge branch 'obsd-master'Thomas Adam
2015-11-23Remove support for the UTF-8 mouse extension. This was a briefly used,nicm
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.
2015-11-21Merge branch 'obsd-master'Thomas Adam
Conflicts: tmux.h
2015-11-19Only assume pasting with at least two characters, reduces problems fornicm
people who can type ^B c very fast, or who are using tmux inside something else that buffers.
2015-11-18Merge branch 'obsd-master'Thomas Adam
2015-11-18Use __unused rather than rolling our own.nicm
2015-11-14Merge branch 'obsd-master'Thomas Adam
Conflicts: server.c tmux.c
2015-11-14Push stdout and stderr to clients more aggressively, and add an event tonicm
continue if the send fails.
2015-11-12Merge branch 'obsd-master'Thomas Adam
2015-11-12Support UTF-8 key bindings by expanding the key type from int tonicm
uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.)
2015-11-12Merge branch 'obsd-master'Thomas Adam
2015-11-11Drop mouse-utf8 option and always turn on UTF-8 mouse if the client saysnicm
it supports UTF-8.
2015-10-31Merge branch 'obsd-master'Thomas Adam
Conflicts: server.c
2015-10-31The output log is only useful once and it means creating a file, so opennicm
it once at startup instead of in every call to tty_open.
2015-10-31Merge branch 'obsd-master'Thomas Adam
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsnicm
around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
2015-10-28Merge branch 'obsd-master'Thomas Adam
2015-10-28Like options, move the environ struct into environ.c.nicm
2015-10-27Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
2015-10-27Move struct options into options.c.nicm
2015-10-27Break the common process set up, event loop and imsg dispatch codenicm
between server and client out into a separate internal API. This will make it easier to add another process.
2015-10-27Merge branch 'obsd-master'Thomas Adam