Thomas Adam
|
623e54788e
|
Merge branch 'obsd-master'
|
2016-10-15 02:01:12 +01:00 |
|
nicm
|
9b3ae84993
|
Drain notifys once at the end of the server loop instead of doing it
from the end of every command queue (which could be nested).
|
2016-10-15 00:01:01 +00:00 |
|
Thomas Adam
|
b9dc855016
|
Merge branch 'obsd-master'
Conflicts:
format.c
osdep-openbsd.c
|
2016-10-12 09:45:49 +01:00 |
|
nicm
|
c426e485e5
|
Loads more static, except for cmd-*.c and window-*.c.
|
2016-10-10 21:29:23 +00:00 |
|
Thomas Adam
|
2d843b5021
|
Merge branch 'obsd-master'
|
2016-07-07 12:01:11 +01:00 |
|
semarie
|
fc118e13a9
|
tmux: only consider ACCESSPERMS for setting mode on socket_path.
it explicitly removes any S_ISUID|S_ISGID|S_ISTXT bits, instead of letting
pledge(2) silenciously remove them.
ok nicm@ beck@ deraadt@
|
2016-07-07 09:24:09 +00:00 |
|
Thomas Adam
|
1394420c37
|
Merge branch 'obsd-master'
|
2016-03-30 16:01:19 +01:00 |
|
nicm
|
ec82fcdfea
|
Bump the listen() backlog up, some people have scripts that run up a lot
of clients quickly.
|
2016-03-30 13:20:07 +00:00 |
|
Thomas Adam
|
dc42c35f1f
|
Merge branch 'obsd-master'
|
2016-01-19 18:01:15 +00:00 |
|
nicm
|
995af0e2b7
|
I no longer use my SourceForge address so replace it.
|
2016-01-19 15:59:12 +00:00 |
|
Thomas Adam
|
e0cae08c04
|
Merge branch 'obsd-master'
|
2015-12-17 00:01:08 +00:00 |
|
nicm
|
021c64310d
|
Add infrastructure to work out the best target given a pane or window
alone and use it to add pane_died and pane_exited hooks.
|
2015-12-16 21:50:37 +00:00 |
|
Thomas Adam
|
1a33ea9671
|
Merge branch 'obsd-master'
|
2015-12-15 02:01:14 +00:00 |
|
nicm
|
12da13c9d1
|
Make the marked pane a cmd_find_state.
|
2015-12-15 00:00:01 +00:00 |
|
Thomas Adam
|
890d8da2e3
|
Merge branch 'obsd-master'
Conflicts:
log.c
proc.c
tmux.c
|
2015-11-25 16:37:30 +00:00 |
|
nicm
|
dca93c56e0
|
Do lock failures slightly better, return a special value so we don't
unlink the wrong thing.
|
2015-11-24 23:01:51 +00:00 |
|
nicm
|
1e2df2d464
|
Remove the -I part of show-messages which isn't really that useful; the
server start time can now be accessed with a new start_time format (use:
tmux display -p '#{t:start_time}')
|
2015-11-24 21:52:06 +00:00 |
|
nicm
|
9cccb8c115
|
Make the log stuff a bit tidier with some helper functions.
|
2015-11-24 21:19:46 +00:00 |
|
Thomas Adam
|
d63de1e407
|
Merge branch 'obsd-master'
Conflicts:
server.c
tmux.c
|
2015-11-23 21:20:54 +00:00 |
|
nicm
|
01a2ddf3f8
|
Add getpw to pledge, makes tmux work in YP environments, discovered by
matthieu, ok deraadt
|
2015-11-22 19:41:19 +00:00 |
|
Thomas Adam
|
7fe8edc396
|
Merge branch 'obsd-master'
|
2015-11-18 16:01:23 +00:00 |
|
nicm
|
577c0e3e5a
|
Use __unused rather than rolling our own.
|
2015-11-18 14:27:44 +00:00 |
|
Thomas Adam
|
8213558cc7
|
Merge branch 'obsd-master'
Conflicts:
server.c
tmux.c
|
2015-11-15 22:49:25 +00:00 |
|
nicm
|
a582b62287
|
Accidentally turned off pledge, turn it back on.
|
2015-11-15 14:32:48 +00:00 |
|
Thomas Adam
|
7b749eff35
|
Merge branch 'obsd-master'
Conflicts:
server.c
tmux.c
|
2015-11-14 11:38:30 +00:00 |
|
nicm
|
c56b81a2ce
|
Push stdout and stderr to clients more aggressively, and add an event to
continue if the send fails.
|
2015-11-14 09:41:06 +00:00 |
|
Thomas Adam
|
4f88344df3
|
Merge branch 'obsd-master'
|
2015-11-12 14:01:14 +00:00 |
|
nicm
|
d6daf37df4
|
Tidy utf8.c a little: build table on first use, and make utf8_width take
a u_int rather than splitting and then combining again in utf8_split.
|
2015-11-12 12:19:57 +00:00 |
|
Thomas Adam
|
c975de2e07
|
Merge branch 'obsd-master'
Conflicts:
server.c
|
2015-10-31 23:56:35 +00:00 |
|
nicm
|
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 |
|
Thomas Adam
|
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 |
|
nicm
|
44657bf932
|
Move struct options into options.c.
|
2015-10-27 15:58:42 +00:00 |
|
nicm
|
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 |
|
Nicholas Marriott
|
7930cb54c0
|
ifdef __OpenBSD__ around pledge().
|
2015-10-25 09:31:46 +00:00 |
|
Thomas Adam
|
4acc8d0ff5
|
Merge branch 'obsd-master'
Conflicts:
cmd-find.c
|
2015-10-25 09:21:37 +00:00 |
|
nicm
|
5383b047d1
|
tmux can call pledge() in main with large set and then reduce it
slightly in the server to "stdio rpath wpath cpath fattr unix recvfd
proc exec tty ps".
|
2015-10-23 16:07:29 +00:00 |
|
Thomas Adam
|
8c39813665
|
Merge branch 'obsd-master'
|
2015-10-22 14:01:12 +01:00 |
|
Thomas Adam
|
6bc3902f5d
|
Merge branch 'obsd-master'
|
2015-10-22 12:01:09 +01:00 |
|
nicm
|
515dfea4b7
|
This should not be changed.
|
2015-10-22 10:48:30 +00:00 |
|
nicm
|
31fd071faa
|
Rename shutdown to exit.
|
2015-10-22 10:46:24 +00:00 |
|
Thomas Adam
|
f69e09a67e
|
Merge branch 'obsd-master'
|
2015-10-11 02:01:14 +01:00 |
|
guenther
|
241fd72f75
|
Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept
sizeof(struct sockaddr_un), so do the simple, portable thing
ok beck@ deraadt@
|
2015-10-11 00:26:23 +00:00 |
|
Thomas Adam
|
76688d2040
|
Merge branch 'obsd-master'
Conflicts:
cfg.c
tmux.c
|
2015-09-06 20:47:50 +01:00 |
|
nicm
|
83157c02d6
|
Move initial conf load into cfg.c.
|
2015-09-01 10:01:56 +00:00 |
|
nicm
|
dd92b6e83d
|
Event base does not need to be global.
|
2015-08-30 22:19:07 +00:00 |
|
Thomas Adam
|
cb89f2f2a1
|
Merge branch 'obsd-master'
Conflicts:
Makefile
format.c
|
2015-08-30 21:44:01 +01:00 |
|
nicm
|
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 |
|
nicm
|
b5aaefc727
|
Move alerts onto events rather than checking every loop.
|
2015-08-29 08:30:54 +00:00 |
|
Thomas Adam
|
486421ceff
|
Merge branch 'obsd-master'
|
2015-08-28 16:01:09 +01:00 |
|
nicm
|
f957db81d9
|
Remove unused prototypes.
|
2015-08-28 13:21:25 +00:00 |
|