summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
AgeCommit message (Expand)Author
2010-08-04switch back to kqueue for now, since (a) kqueue has been fixed to dealTheo de Raadt
2010-07-24kqueue(2) is currently broken when used with /dev/null and a few otherNicholas Marriott
2010-06-21Give tmux sockets (but not the containing folder) groupNicholas Marriott
2010-05-04Put this back in with the initialisation in the right order.Nicholas Marriott
2010-05-04Revert last change, it appears to be broken somehow.Nicholas Marriott
2010-05-03Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott
2010-04-06Merge copy mode and output mode, dropping the latter. Idea and code fromNicholas Marriott
2010-03-22Nuke unused variable.Nicholas Marriott
2010-02-06Use the array.h code for the causes list.Nicholas Marriott
2010-02-06Instead of bailing out on the first configuration file error, carry on,Nicholas Marriott
2010-01-30Ignore SIGHUP as well.Nicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-12-02Close the pane if the process died due to a signal, not just if it exitedNicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
2009-11-13Destroy panes immediately rather than checking them all every loop.Nicholas Marriott
2009-11-11Free the pane bufferevent when the fd is closed (the signal could come beforeNicholas Marriott
2009-11-11Only need to chmod +x or -x the socket when a client is created, lost orNicholas Marriott
2009-11-05EVLOOP_ONCE takes care of the wakeup, so no need to call event_loopexit(NULL).Nicholas Marriott
2009-11-05Now all timers are events, there is no longer any need to wake up every 50 ms -Nicholas Marriott
2009-11-04Move status timer check into the global once-per-second timer, this could maybeNicholas Marriott
2009-11-04Don't reenlist the client imsg event every loop, instead have a small functionNicholas Marriott
2009-11-04Tell the client to exit on configuration file error.Nicholas Marriott
2009-11-04Convert the window pane (pty master side) fd over to use a bufferevent.Nicholas Marriott
2009-11-04Call event_init() before loading the config file, since potentially it couldNicholas Marriott
2009-11-04Switch jobs over to use a bufferevent.Nicholas Marriott
2009-11-04Initial changes to move tmux to libevent.Nicholas Marriott
2009-11-03Change session and client activity and creation time members to have moreNicholas Marriott
2009-11-02Reorder slightly to tidy code.Nicholas Marriott
2009-10-27Move the poll registration functions into the server-*.c files.Nicholas Marriott
2009-10-26tabs are better; ok nicmTheo de Raadt
2009-10-26Clear signal flags /before/ taking action and continue afterwards to reduceNicholas Marriott
2009-10-22Split the server code handling clients, jobs and windows off into separateNicholas Marriott
2009-10-13When a session is unattached, reset its activity timer to prevent it lockingNicholas Marriott
2009-10-12Similarly add a tty_cursor_pane function to tidy up most of the calls.Nicholas Marriott
2009-10-12_absolute is redundant, just use tty_region.Nicholas Marriott
2009-10-12Cleanup: use two functions for region setting, one for absolute and one insideNicholas Marriott
2009-10-11Add a pipe-pane command to allow a pane to be piped to a shell command, forNicholas Marriott
2009-10-11Switch run-shell over to queue the command in the background like #().Nicholas Marriott
2009-10-11Collect status from dead jobs and don't invoke the callback until bothNicholas Marriott
2009-10-11Clean up by introducing a wrapper struct for mouse clicks rather than passingNicholas Marriott
2009-10-11Braek some bits out of server_fill_client() that aren't really related toNicholas Marriott
2009-10-10Put all jobs on a global all_jobs list and use that in server.c instead ofNicholas Marriott
2009-10-10Rather than running status-left, status-right and window title #() with popenNicholas Marriott
2009-10-10New option, mouse-select-pane. If on, the mouse may be used to select theNicholas Marriott
2009-10-10Add "grouped sessions" which have independent name, options, current window andNicholas Marriott
2009-10-10Support for individual session idle time locking. May be enabled by turning offNicholas Marriott
2009-10-10Instead of passing a struct pollfd ** around through various functions, buildNicholas Marriott
2009-10-05If no target client is specified to commands which accept one, try to guess theNicholas Marriott
2009-09-24Don't allow locked or suspended clients to limit the size of active clients.Nicholas Marriott
2009-09-23On SIGTERM, just abandon any suspended/locked clients and leave them to it,Nicholas Marriott