summaryrefslogtreecommitdiffstats
path: root/server-client.c
AgeCommit message (Collapse)Author
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
2015-10-26If a mouse event has no key binding, pass it through to the pane itnicm
happened in, not the active pane like normal key presses. Fixes problems seen by Enrico Ghirardi.
2015-10-26Merge branch 'obsd-master'Thomas Adam
2015-10-26Some extra logging of where keys are actually going.nicm
2015-10-25Merge branch 'obsd-master'Thomas Adam
Conflicts: cmd-find.c
2015-10-23Pasting mouse escape sequences is unlikely, so skip them when workingnicm
out whether the user is pasting.
2015-10-22Merge branch 'obsd-master'Thomas Adam
2015-10-22Log identify messages.nicm
2015-10-21Merge branch 'obsd-master'Thomas Adam
2015-10-20Use client pointer not file descriptor in logging.nicm
2015-10-20Merge branch 'obsd-master'Thomas Adam
2015-10-20The table could change when retrying so don't save it at start ofnicm
server_client_handle_key.
2015-10-18Merge branch 'obsd-master'Thomas Adam
2015-10-18Pass current directory as a string rather than a file descriptor becausenicm
pledge doesn't let us pass directory file descriptors.
2015-09-17Merge branch 'obsd-master'Thomas Adam
2015-09-16Rename cmd_q dead flag to a general flags bitmask (will be more flags later).nicm
2015-09-14Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile
2015-09-14Make refresh-client force update of jobs, from Sina Siadat.nicm
2015-09-06Merge branch 'obsd-master'Thomas Adam
Conflicts: cfg.c tmux.c
2015-09-01Tweak some error messages/comments.nicm
2015-08-30Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile format.c
2015-08-30Some style nits and dead assignments.nicm
2015-08-29We already loop over the windows in server_client_loop, so don't do itnicm
again in server_loop just to check names.
2015-08-28Merge branch 'obsd-master'Thomas Adam
2015-08-28Merge branch 'obsd-master'Thomas Adam
2015-08-28Make session_update_activity more useful and use it in more places.nicm
2015-08-28Run status update on a per-client timer at status-interval.nicm
2015-07-29Merge branch 'obsd-master'Thomas Adam
2015-07-29status_out and associated data structures are no longer used.nicm
2015-07-17Merge branch 'obsd-master'Thomas Adam
2015-07-17Initialize client fd to -1 as well, from Bobby Powers.nicm
2015-07-13Merge branch 'obsd-master'Thomas Adam
2015-07-13Fix line endings.nicm
2015-07-13Initialize cwd fd to -1 so that we don't close fd 0 if the client isnicm
destroyed before it is changed. Also allow ttyname() to fail. Fixes problems when running out of file descriptors reported by Bruno Sutic.
2015-06-14Merge branch 'obsd-master'Thomas Adam