aboutsummaryrefslogtreecommitdiff
path: root/server.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2017-04-22
|\
| * Memory leaks, from David CARLIER.nicm2017-04-22
| |
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\|
| * Make the cmd_find_* functions more obvious when looking for a client,nicm2017-04-21
| | | | | | | | | | rather than having it inside other functions. Should be no change to the way targets are resolved just yet.
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\|
| * History needs to be loaded after config parsing is done - now thatnicm2017-04-21
| | | | | | | | commands are queued, that's in cfg_done not after start_cfg finishes.
* | Merge branch 'obsd-master'Thomas Adam2017-04-20
|\|
| * If a #() command doesn't exit, use its most recent line of output (itnicm2017-04-20
| | | | | | | | | | | | | | 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...
* | Merge branch 'obsd-master'Thomas Adam2017-02-14
|\| | | | | | | | | Conflicts: server.c
| * Instead of numbering session groups, give them a name which may be givennicm2017-02-09
| | | | | | | | | | to -t instead of a target session. Also allow them to contain only one session.
* | -paths.h.Nicholas Marriott2017-01-25
| |
* | Bad merge.Nicholas Marriott2017-01-25
| |
* | Define away pledge() on !OpenBSD.Nicholas Marriott2017-01-23
| |
* | Merge branch 'obsd-master'Thomas Adam2016-11-12
|\|
| * Do not execute commands for a client until it has identified, fixesnicm2016-11-12
| | | | | | | | problem reported by Frank Terbeck.
* | 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