summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
AgeCommit message (Expand)Author
2014-05-14Now that cmdlists are reference counted, there is no need for two-stepNicholas Marriott
2014-04-24There is no longer a need for a paste_stack struct or for global_buffersNicholas Marriott
2014-04-17Some more long lines.Nicholas Marriott
2013-10-20Do not run any command line command from the client which starts theNicholas Marriott
2013-04-24Rename global configuration define.Nicholas Marriott
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
2013-03-22No more lint means no more ARGSUSED.Nicholas Marriott
2012-12-06Fix argument order in a log statement.Nicholas Marriott
2012-11-19Use a utility function for common code to show errors in config file,Nicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-04-11Stop accepting new clients for 1 second on EMFILE/ENFILE. Based onNicholas Marriott
2012-03-09Use a lock file and flock() to serialize server start, avoids problemsNicholas Marriott
2011-03-27Give each pane created in a tmux server a unique id (starting from 0),Nicholas Marriott
2011-01-26Use LIST_* not SLIST_*.Nicholas Marriott
2011-01-08Move all calls to fcntl(...O_NONBLOCK) into a function and clear theNicholas Marriott
2011-01-01Don't reset the activity timer for unattached sessions every second,Nicholas Marriott
2010-12-30Change from a per-session stack of buffers to one global stack which isNicholas Marriott
2010-12-21Store sessions in an RB tree by name rather than a list, this is tidierNicholas Marriott
2010-10-18Merge the before and after attach client code into one in client.cNicholas Marriott
2010-10-16Trying to set FD_CLOEXEC on every fd is a lost cause, just useNicholas Marriott
2010-09-26Two new options:Nicholas Marriott
2010-09-26Modify the permissions on the socket when adding or removing +x to showNicholas Marriott
2010-08-19Do not call event_del() for signals after fork(), just use sigaction()Nicholas Marriott
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