summaryrefslogtreecommitdiffstats
path: root/server.c
AgeCommit message (Collapse)Author
2017-06-05Merge branch 'obsd-master'Thomas Adam
Conflicts: tmux.1 window.c
2017-06-04Support SIGUSR2 to stop and start logging for an existing server. Alsonicm
we currently only have two log levels so just use -v and -vv rather than -v and -vvvv, and clarify the man page entry for -v.
2017-04-22Merge branch 'obsd-master'Thomas Adam
2017-04-22Memory leaks, from David CARLIER.nicm
2017-04-21Merge branch 'obsd-master'Thomas Adam
2017-04-21Make the cmd_find_* functions more obvious when looking for a client,nicm
rather than having it inside other functions. Should be no change to the way targets are resolved just yet.
2017-04-21Merge branch 'obsd-master'Thomas Adam
2017-04-21History needs to be loaded after config parsing is done - now thatnicm
commands are queued, that's in cfg_done not after start_cfg finishes.
2017-04-20Merge branch 'obsd-master'Thomas Adam
2017-04-20If a #() command doesn't exit, use its most recent line of output (itnicm
must be a full line). Don't let it redraw the status line more than once a second. Requested by someone about 10 years ago...
2017-02-14Merge branch 'obsd-master'Thomas Adam
Conflicts: server.c
2017-02-09Instead of numbering session groups, give them a name which may be givennicm
to -t instead of a target session. Also allow them to contain only one session.
2017-01-25-paths.h.Nicholas Marriott
2017-01-25Bad merge.Nicholas Marriott
2017-01-23Define away pledge() on !OpenBSD.Nicholas Marriott
2016-11-12Merge branch 'obsd-master'Thomas Adam
2016-11-12Do not execute commands for a client until it has identified, fixesnicm
problem reported by Frank Terbeck.
2016-10-16Merge branch 'obsd-master'Thomas Adam
2016-10-16Notifys can go via the command queue instead of using their own queue.nicm
2016-10-16Merge branch 'obsd-master'Thomas Adam
2016-10-16Rewrite command queue handling. Each client still has a command queue,nicm
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.
2016-10-15Merge branch 'obsd-master'Thomas Adam
2016-10-15Drain notifys once at the end of the server loop instead of doing itnicm
from the end of every command queue (which could be nested).
2016-10-12Merge branch 'obsd-master'Thomas Adam
Conflicts: format.c osdep-openbsd.c
2016-10-10Loads more static, except for cmd-*.c and window-*.c.nicm
2016-07-07Merge branch 'obsd-master'Thomas Adam
2016-07-07tmux: only consider ACCESSPERMS for setting mode on socket_path.semarie
it explicitly removes any S_ISUID|S_ISGID|S_ISTXT bits, instead of letting pledge(2) silenciously remove them. ok nicm@ beck@ deraadt@
2016-03-30Merge branch 'obsd-master'Thomas Adam
2016-03-30Bump the listen() backlog up, some people have scripts that run up a lotnicm
of clients quickly.
2016-01-19Merge branch 'obsd-master'Thomas Adam
2016-01-19I no longer use my SourceForge address so replace it.nicm
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-15Make the marked pane a cmd_find_state.nicm
2015-11-25Merge branch 'obsd-master'Thomas Adam
Conflicts: log.c proc.c tmux.c
2015-11-24Do lock failures slightly better, return a special value so we don'tnicm
unlink the wrong thing.
2015-11-24Remove the -I part of show-messages which isn't really that useful; thenicm
server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}')
2015-11-24Make the log stuff a bit tidier with some helper functions.nicm
2015-11-23Merge branch 'obsd-master'Thomas Adam
Conflicts: server.c tmux.c
2015-11-22Add getpw to pledge, makes tmux work in YP environments, discovered bynicm
matthieu, ok deraadt
2015-11-18Merge branch 'obsd-master'Thomas Adam
2015-11-18Use __unused rather than rolling our own.nicm
2015-11-15Merge branch 'obsd-master'Thomas Adam
Conflicts: server.c tmux.c
2015-11-15Accidentally turned off pledge, turn it back on.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-12Tidy utf8.c a little: build table on first use, and make utf8_width takenicm
a u_int rather than splitting and then combining again in utf8_split.
2015-10-31Merge branch 'obsd-master'Thomas Adam
Conflicts: server.c