5f483499f3
Merge branch 'obsd-master'
2015-11-12 12:01:17 +00:00
69e0b8326a
Support UTF-8 key bindings by expanding the key type from int to
...
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-12 11:05:34 +00:00
f2e4aa8d1c
Merge branch 'obsd-master'
2015-11-12 00:01:10 +00:00
00c34df186
Drop mouse-utf8 option and always turn on UTF-8 mouse if the client says
...
it supports UTF-8.
2015-11-11 23:23:33 +00:00
c975de2e07
Merge branch 'obsd-master'
...
Conflicts:
server.c
2015-10-31 23:56:35 +00:00
abb4e9e2fa
The output log is only useful once and it means creating a file, so open
...
it once at startup instead of in every call to tty_open.
2015-10-31 13:12:03 +00:00
17f6c3be8e
Merge branch 'obsd-master'
2015-10-31 10:01:12 +00:00
01defc9f49
Because pledge(2) does not allow us to pass directory file descriptors
...
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-31 08:13:58 +00:00
a5e4d3a2d8
Merge branch 'obsd-master'
2015-10-28 12:01:11 +00:00
bf9c933cae
Like options, move the environ struct into environ.c.
2015-10-28 09:51:55 +00:00
da1f6fc2c8
Merge branch 'obsd-master'
...
Conflicts:
Makefile
client.c
server-client.c
server.c
tmux.c
tmux.h
2015-10-27 23:27:26 +00:00
44657bf932
Move struct options into options.c.
2015-10-27 15:58:42 +00:00
07b0ea03c3
Break the common process set up, event loop and imsg dispatch code
...
between server and client out into a separate internal API. This will
make it easier to add another process.
2015-10-27 13:23:24 +00:00
9c69a79f9a
Merge branch 'obsd-master'
2015-10-27 00:01:09 +00:00
640c6fdd5f
If a mouse event has no key binding, pass it through to the pane it
...
happened in, not the active pane like normal key presses. Fixes problems
seen by Enrico Ghirardi.
2015-10-26 23:16:18 +00:00
54a3ed751e
Merge branch 'obsd-master'
2015-10-26 18:01:12 +00:00
a22fe33aa0
Some extra logging of where keys are actually going.
2015-10-26 17:17:06 +00:00
4acc8d0ff5
Merge branch 'obsd-master'
...
Conflicts:
cmd-find.c
2015-10-25 09:21:37 +00:00
2e2b8a95bd
Pasting mouse escape sequences is unlikely, so skip them when working
...
out whether the user is pasting.
2015-10-23 23:46:36 +00:00
8c39813665
Merge branch 'obsd-master'
2015-10-22 14:01:12 +01:00
c2c2d44c72
Log identify messages.
2015-10-22 11:00:51 +00:00
1f4a5b5dfe
Merge branch 'obsd-master'
2015-10-21 00:01:19 +01:00
076034345a
Use client pointer not file descriptor in logging.
2015-10-20 21:12:08 +00:00
af2d48f4d2
Merge branch 'obsd-master'
2015-10-20 16:01:11 +01:00
8c8cddbe02
The table could change when retrying so don't save it at start of
...
server_client_handle_key.
2015-10-20 14:19:27 +00:00
bbdc08780c
Merge branch 'obsd-master'
2015-10-18 22:01:08 +01:00
174a2ad731
Pass current directory as a string rather than a file descriptor because
...
pledge doesn't let us pass directory file descriptors.
2015-10-18 20:42:42 +00:00
a3bce7a322
Merge branch 'obsd-master'
2015-09-17 00:01:08 +01:00
a4b4b29987
Rename cmd_q dead flag to a general flags bitmask (will be more flags later).
2015-09-16 22:24:54 +00:00
74b958ecbe
Merge branch 'obsd-master'
...
Conflicts:
Makefile
2015-09-14 12:42:19 +01:00
16efa84838
Make refresh-client force update of jobs, from Sina Siadat.
2015-09-14 10:25:52 +00:00
76688d2040
Merge branch 'obsd-master'
...
Conflicts:
cfg.c
tmux.c
2015-09-06 20:47:50 +01:00
93b946ee50
Tweak some error messages/comments.
2015-09-01 19:50:09 +00:00
cb89f2f2a1
Merge branch 'obsd-master'
...
Conflicts:
Makefile
format.c
2015-08-30 21:44:01 +01:00
b87dc608d9
Some style nits and dead assignments.
2015-08-30 15:43:40 +00:00
b9f0571780
We already loop over the windows in server_client_loop, so don't do it
...
again in server_loop just to check names.
2015-08-29 08:54:41 +00:00
486421ceff
Merge branch 'obsd-master'
2015-08-28 16:01:09 +01:00
84eabb2658
Merge branch 'obsd-master'
2015-08-28 14:01:11 +01:00
57cc4d45d5
Make session_update_activity more useful and use it in more places.
2015-08-28 13:01:03 +00:00
75d10058a4
Run status update on a per-client timer at status-interval.
2015-08-28 12:16:28 +00:00
73b4d098ce
Merge branch 'obsd-master'
2015-07-29 14:01:09 +01:00
5ec3621101
status_out and associated data structures are no longer used.
2015-07-29 11:56:02 +00:00
b886393042
Merge branch 'obsd-master'
2015-07-17 10:01:09 +01:00
3192178f15
Initialize client fd to -1 as well, from Bobby Powers.
2015-07-17 06:53:47 +00:00
07aef38591
Merge branch 'obsd-master'
2015-07-13 18:01:09 +01:00
e45d624df2
Fix line endings.
2015-07-13 15:51:31 +00:00
c7374c31c4
Initialize cwd fd to -1 so that we don't close fd 0 if the client is
...
destroyed before it is changed. Also allow ttyname() to fail. Fixes
problems when running out of file descriptors reported by Bruno Sutic.
2015-07-13 15:49:31 +00:00
37005d04a9
Merge branch 'obsd-master'
2015-06-14 12:01:10 +01:00
29c29e7717
Add a format for client PID (client_pid) and server PID (pid). Diff for
...
client_pid from Thomas Adam.
2015-06-14 10:07:44 +00:00
7acc4addb5
Merge branch 'obsd-master'
...
Conflicts:
client.c
tmux.1
tmux.c
2015-06-07 23:42:25 +01:00