Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-10 | Whoops, this is needed for last commit as well. | Nicholas Marriott | |
2009-11-10 | Lookup key as a named key (eg 'Space') before checking for single character | Nicholas Marriott | |
keys, makes C-Space/M-Space etc resolve to the correct key code. | |||
2009-11-10 | Don't return 1 unless there was actually a problem (signal/lost server) rather | Nicholas Marriott | |
than for all events (normal exit/detach/etc). | |||
2009-11-10 | fix typo: in the example use ``rate'' instead of ``sample_rate'', | Alexandre Ratchov | |
since the later is a hidden alias of the former. from Jan Stary <hansi _at_ stare.cz>, thanks | |||
2009-11-10 | Set close-on-exec on various descriptors so they don't get leaked to | Darren Tucker | |
child processes. bz #1643, patch from jchadima at redhat, ok deraadt. | |||
2009-11-10 | clarify that StrictModes does not apply to ChrootDirectory. Permissions | Damien Miller | |
and ownership are always checked when chrooting. bz#1532 | |||
2009-11-10 | explain the constraints on LocalCommand some more so people don't | Damien Miller | |
try to abuse it. | |||
2009-11-09 | Just ignore tty fd errors rather than dying, stops the server dying if the | Nicholas Marriott | |
session is disconnected abrubtly (eg ssh ~.). | |||
2009-11-09 | The input key should be a u_char. Fixes top-bit-set input problem reported by | Nicholas Marriott | |
ajacoutot@. | |||
2009-11-09 | move mutually exclusive options (-c, -e, -f, -n and -u) to the right place. | Igor Sobrado | |
ok jmc@ | |||
2009-11-09 | Constify buf. | Nicholas Marriott | |
2009-11-08 | use the same algorithm to attach play-only, record-only and | Alexandre Ratchov | |
full-duplex streams. Fixes, streams with different modes not starting simultaneously. | |||
2009-11-06 | Don't try enable/disable the event if the window pane is dead (fd == -1), as | Nicholas Marriott | |
the event will have been freed. | |||
2009-11-05 | Clear to the end of the screen from the right starting point when drawing | Nicholas Marriott | |
line-by-line (in panes or if ed not supported). Fixes problem spotted by Frank Terbeck. | |||
2009-11-05 | IPv6 support for divert sockets. | Michele Marchetto | |
tested by phessler@ pyr@ ok claudio@ "go ahead" deraadt@ | |||
2009-11-05 | Old xterm F1-F4 are \033O_P not \033[O_P. | Nicholas Marriott | |
2009-11-05 | Unused variable. Aargh. | Nicholas Marriott | |
2009-11-05 | Switch the tty key tree over to an (unbalanced) ternary tree which allows | Nicholas Marriott | |
partial matches to be done (they wait for further data or a timer to expire, like a naked escape). Mouse and xterm-style keys still expect to be atomic. | |||
2009-11-05 | key_string_lookup_key uses a static buffer, so copy its output into the working | Nicholas Marriott | |
buffer before calling the command print function which can also use it (eg send-keys). | |||
2009-11-05 | Key flags are only used for initialisation so they are not needed in the main | Nicholas Marriott | |
tty_key struct. | |||
2009-11-05 | EVLOOP_ONCE takes care of the wakeup, so no need to call event_loopexit(NULL). | Nicholas Marriott | |
2009-11-05 | Now all timers are events, there is no longer any need to wake up every 50 ms - | Nicholas Marriott | |
only wake up when an event happens. | |||
2009-11-05 | Switch tty key input over to happen on a read event. This is a bit more | Nicholas Marriott | |
complicated because of escape input, but in that case instead of processing a key immediately, schedule a timer and reprocess the bufer when it expires. This currently assumes that keys will be atomic (ie that if eg F1 is pressed the entire sequence is present in the buffer). This is usually but not always true, a change in the tree format so it can differentiate potential (partial) key sequences will happens soon and will allow this to be fixed. | |||
2009-11-05 | in rpipe_done (wpipe_done), all buffers must be detached | Alexandre Ratchov | |
before deleting the writer (reader) otherwise the later could trigger rpipe_done again. | |||
2009-11-05 | Convert the key repeat timer to an event. | Nicholas Marriott | |
2009-11-04 | Change window name change to use a timer event rather than a gettimeofday() | Nicholas Marriott | |
check every loop. | |||
2009-11-04 | Move status timer check into the global once-per-second timer, this could maybe | Nicholas Marriott | |
be done better but one every second is better than once every 50 ms. | |||
2009-11-04 | Use timeout events for the identify and message timers. | Nicholas Marriott | |
2009-11-04 | Don't reenlist the client imsg event every loop, instead have a small function | Nicholas Marriott | |
to it and call it after the event triggers or after a imsg is added. | |||
2009-11-04 | It would help if I read my own comments... make alt keys work again by sending | Nicholas Marriott | |
alt AND the key not alt instead of it. | |||
2009-11-04 | Move some common code into a function. | Nicholas Marriott | |
2009-11-04 | Tell the client to exit on configuration file error. | Nicholas Marriott | |
2009-11-04 | Bye-bye buffer*.c. | Nicholas Marriott | |
2009-11-04 | Convert 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-04 | Call event_init() before loading the config file, since potentially it could | Nicholas Marriott | |
set up events. | |||
2009-11-04 | Switch window pane pipe redirect fd over to a bufferevent. | Nicholas Marriott | |
2009-11-04 | Switch tty fds over to a bufferevent. | Nicholas Marriott | |
2009-11-04 | Add back JOB_PERSIST checks that got lost. | Nicholas Marriott | |
2009-11-04 | Switch jobs over to use a bufferevent. | Nicholas Marriott | |
2009-11-04 | A couple of minor cosmetic changes. | Nicholas Marriott | |
2009-11-04 | Initial 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-04 | Unused (but assigned to) variable, found by lint. | Nicholas Marriott | |
2009-11-04 | Ignore the colour on space, /not/ the attributes. | Nicholas Marriott | |
2009-11-04 | Fix the reverse emulation when a terminal doesn't have setab to use the correct | Nicholas Marriott | |
fg/bg (adjusted if spaces) and happen before attribute setting. | |||
2009-11-04 | Change declaration and use of malloc_options to be more standard, from Tim van | Nicholas Marriott | |
der Molen. | |||
2009-11-04 | Don't backoff based on suspended or deda clients as they are always likely to | Nicholas Marriott | |
have data backed up. | |||
2009-11-04 | tweak previous; | Jason McIntyre | |
2009-11-03 | Add an activity time for clients, like for sessions, and change session and | Nicholas Marriott | |
client lookup to pick the most recently used rather than the most recently created - this is much more useful when used interactively and (because the activity time is set at creation) should have no effect on source-file. Based on a problem reported by Jan Johansson. | |||
2009-11-03 | Allow any program using aucat to act as MMC slave and MTC master | Alexandre Ratchov | |
transparently. Multiple audio applications can be started synchronously from external software/hardware supporting the standard Start/Stop/Relocate messages. The server clock is exposed through MTC, allowing non-audio software/hardware to be synchronized to audio applications. | |||
2009-11-03 | If it isn't available explicitly, work out the current client in a similar way | Nicholas Marriott | |
to the current session - build a list of the possibilities then pick the newest. |