aboutsummaryrefslogtreecommitdiff
path: root/server.c
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2016-10-16
|\|
| * Notifys can go via the command queue instead of using their own queue.nicm2016-10-16
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-16
|\|
| * Rewrite command queue handling. Each client still has a command queue,nicm2016-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2016-10-15
|\|
| * Drain notifys once at the end of the server loop instead of doing itnicm2016-10-15
| | | | | | | | from the end of every command queue (which could be nested).
* | Merge branch 'obsd-master'Thomas Adam2016-10-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
| |
* | Merge branch 'obsd-master'Thomas Adam2016-07-07
|\|
| * tmux: only consider ACCESSPERMS for setting mode on socket_path.semarie2016-07-07
| | | | | | | | | | | | | | it explicitly removes any S_ISUID|S_ISGID|S_ISTXT bits, instead of letting pledge(2) silenciously remove them. ok nicm@ beck@ deraadt@
* | Merge branch 'obsd-master'Thomas Adam2016-03-30
|\|
| * Bump the listen() backlog up, some people have scripts that run up a lotnicm2016-03-30
| | | | | | | | of clients quickly.
* | Merge branch 'obsd-master'Thomas Adam2016-01-19
|\|
| * I no longer use my SourceForge address so replace it.nicm2016-01-19
| |
* | Merge branch 'obsd-master'Thomas Adam2015-12-17
|\|
| * Add infrastructure to work out the best target given a pane or windownicm2015-12-16
| | | | | | | | alone and use it to add pane_died and pane_exited hooks.
* | Merge branch 'obsd-master'Thomas Adam2015-12-15
|\|
| * Make the marked pane a cmd_find_state.nicm2015-12-15
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-25
|\| | | | | | | | | | | | | Conflicts: log.c proc.c tmux.c
| * Do lock failures slightly better, return a special value so we don'tnicm2015-11-24
| | | | | | | | unlink the wrong thing.
| * Remove the -I part of show-messages which isn't really that useful; thenicm2015-11-24
| | | | | | | | | | server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}')
| * Make the log stuff a bit tidier with some helper functions.nicm2015-11-24
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-23
|\| | | | | | | | | | | Conflicts: server.c tmux.c
| * Add getpw to pledge, makes tmux work in YP environments, discovered bynicm2015-11-22
| | | | | | | | matthieu, ok deraadt
* | Merge branch 'obsd-master'Thomas Adam2015-11-18
|\|
| * Use __unused rather than rolling our own.nicm2015-11-18
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-15
|\| | | | | | | | | | | Conflicts: server.c tmux.c
| * Accidentally turned off pledge, turn it back on.nicm2015-11-15
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-14
|\| | | | | | | | | | | Conflicts: server.c tmux.c
| * Push stdout and stderr to clients more aggressively, and add an event tonicm2015-11-14
| | | | | | | | continue if the send fails.
* | Merge branch 'obsd-master'Thomas Adam2015-11-12
|\|
| * Tidy utf8.c a little: build table on first use, and make utf8_width takenicm2015-11-12
| | | | | | | | a u_int rather than splitting and then combining again in utf8_split.
* | Merge branch 'obsd-master'Thomas Adam2015-10-31
|\| | | | | | | | | Conflicts: server.c
| * The output log is only useful once and it means creating a file, so opennicm2015-10-31
| | | | | | | | it once at startup instead of in every call to tty_open.
* | Merge branch 'obsd-master'Thomas Adam2015-10-27
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
| * Move struct options into options.c.nicm2015-10-27
| |
| * Break the common process set up, event loop and imsg dispatch codenicm2015-10-27
| | | | | | | | | | between server and client out into a separate internal API. This will make it easier to add another process.
* | ifdef __OpenBSD__ around pledge().Nicholas Marriott2015-10-25
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-25
|\| | | | | | | | | Conflicts: cmd-find.c
| * tmux can call pledge() in main with large set and then reduce itnicm2015-10-23
| | | | | | | | | | slightly in the server to "stdio rpath wpath cpath fattr unix recvfd proc exec tty ps".
* | Merge branch 'obsd-master'Thomas Adam2015-10-22
|\|
| * This should not be changed.nicm2015-10-22
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-22
|\|
| * Rename shutdown to exit.nicm2015-10-22
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-11
|\|
| * Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptguenther2015-10-11
| | | | | | | | | | | | sizeof(struct sockaddr_un), so do the simple, portable thing ok beck@ deraadt@
* | Merge branch 'obsd-master'Thomas Adam2015-09-06
|\| | | | | | | | | | | Conflicts: cfg.c tmux.c
| * Move initial conf load into cfg.c.nicm2015-09-01
| |
| * Event base does not need to be global.nicm2015-08-30
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-30
|\| | | | | | | | | | | Conflicts: Makefile format.c