summaryrefslogtreecommitdiffstats
path: root/server-window.c
AgeCommit message (Collapse)Author
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-07-08Clear flags across all sessions, from Thomas Adam.Nicholas Marriott
2012-06-18Tidy up bell code, from Thomas Adam.Nicholas Marriott
2012-01-21Only hide flags on the current window when the session is attached, fromNicholas Marriott
Roland Walker.
2011-08-24Add a tty_bell wrapper function, from Dylan Alex Simon.Nicholas Marriott
2011-07-03Add an option to trigger the terminal bell when there is an alert, fromNicholas Marriott
Marco Beck.
2011-01-26Unused declaration.Nicholas Marriott
2010-12-21Store sessions in an RB tree by name rather than a list, this is tidierNicholas Marriott
and allows them to easily be shown sorted in various lists (list-sessions/choose-sessions). Keep a session index which is used in a couple of places internally but make it an ever-increasing number rather than filling in gaps with new sessions.
2010-12-06Add an option to alert (monitor) for silence (lack of activity) in aNicholas Marriott
window. From Thomas Adam.
2010-08-11Change the way backoff works. Instead of stopping reading from the ptyNicholas Marriott
when the client tty backs up too much, just stop updating the tty and only update the internal screen. Then when the tty recovers, force a redraw. This prevents a dodgy client from causing other clients to go into backoff while still allowing tmux to be responsive (locally) when seeing lots of output.
2010-07-19Don't return if in the current window since we may want to report a bellNicholas Marriott
(if bell-action any/current), just clear the flag so the status line doesn't show the bell.
2010-06-21Having a list of winlinks->alerts for each session is stupid, just storeNicholas Marriott
the alert flags directly in the winlink itself.
2010-02-19copy mode uses the real screen as backing and if it is updated while copying,Nicholas Marriott
strange things can happen. So, freeze reading from the pty while in copy mode.
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
time now I've configured emacs to make them displayed in really annoying colours...
2009-11-13Destroy panes immediately rather than checking them all every loop.Nicholas Marriott
2009-11-06Don't try enable/disable the event if the window pane is dead (fd == -1), asNicholas Marriott
the event will have been freed.
2009-11-04Change window name change to use a timer event rather than a gettimeofday()Nicholas Marriott
check every loop.
2009-11-04Convert the window pane (pty master side) fd over to use a bufferevent.Nicholas Marriott
The evbuffer API is very similar to the existing tmux buffer API so this was remarkably painless. Not many possible ways to do it, I suppose.
2009-11-04Switch window pane pipe redirect fd over to a bufferevent.Nicholas Marriott
2009-11-04Switch tty fds over to a bufferevent.Nicholas Marriott
2009-11-04A couple of minor cosmetic changes.Nicholas Marriott
2009-11-04Initial changes to move tmux to libevent.Nicholas Marriott
This moves the client-side loops are pretty much fully over to event-based only (tmux.c and client.c) but server-side (server.c and friends) treats libevent as a sort of clever poll, waking up after every event to run various things. Moving the server stuff over to bufferevents and timers and so on will come later.
2009-11-04Don't backoff based on suspended or deda clients as they are always likely toNicholas Marriott
have data backed up.
2009-10-28If any client currently displaying a window pane has more than 1 KB of outputNicholas Marriott
buffered, don't accept any further data from the process running in the pane. This makes tmux much more responsive when flooded with output, although other buffers can still have an impact when running remotely. Prompted by a query from Ranganathan Sankaralingam.
2009-10-27Move the poll registration functions into the server-*.c files.Nicholas Marriott
2009-10-22Split the server code handling clients, jobs and windows off into separateNicholas Marriott
files from server.c (merging server-msg.c into the client file) and rather than iterating over each set after poll(), allow a callback to be specified when the fd is added and just walk once over the returned pollfds calling each callback where needed. More to come, getting this in so it is tested.