Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | Only need to chmod +x or -x the socket when a client is created, lost or | Nicholas Marriott | 2009-11-11 | |
| | | | | | | | | attached, rather than every event loop. | |||
| * | There is no real standard for modifier plus function keys. Previously, tmux | Nicholas Marriott | 2009-11-10 | |
| | | | | | | | | | | | | | | | | output some from rxvt but in other ways did the same as xterm or other terminals, but this is a bit inconsistent. xterm's method is fairly sensible and we already support it (xterm-keys), so enable it by default instead. | |||
| * | Don't output rxvtisms either. | Nicholas Marriott | 2009-11-10 | |
| | | ||||
| * | Twiddling the last bit is an rxvtism, so do not support it in the table by | Nicholas Marriott | 2009-11-10 | |
| | | | | | | | | default. | |||
| * | 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 | 2009-11-10 | |
| | | | | | | | | keys, makes C-Space/M-Space etc resolve to the correct key code. | |||
| * | Don't return 1 unless there was actually a problem (signal/lost server) rather | Nicholas Marriott | 2009-11-10 | |
| | | | | | | | | than for all events (normal exit/detach/etc). | |||
| * | Just ignore tty fd errors rather than dying, stops the server dying if the | Nicholas Marriott | 2009-11-09 | |
| | | | | | | | | session is disconnected abrubtly (eg ssh ~.). | |||
| * | The input key should be a u_char. Fixes top-bit-set input problem reported by | Nicholas Marriott | 2009-11-09 | |
| | | | | | | | | ajacoutot@. | |||
| * | Constify buf. | Nicholas Marriott | 2009-11-09 | |
| | | ||||
| * | Don't try enable/disable the event if the window pane is dead (fd == -1), as | Nicholas Marriott | 2009-11-06 | |
| | | | | | | | | the event will have been freed. | |||
| * | Clear to the end of the screen from the right starting point when drawing | Nicholas Marriott | 2009-11-05 | |
| | | | | | | | | | | line-by-line (in panes or if ed not supported). Fixes problem spotted by Frank Terbeck. | |||
| * | 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 | 2009-11-05 | |
| | | | | | | | | | | | | | | 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. | |||
| * | key_string_lookup_key uses a static buffer, so copy its output into the working | Nicholas Marriott | 2009-11-05 | |
| | | | | | | | | | | buffer before calling the command print function which can also use it (eg send-keys). | |||
| * | Key flags are only used for initialisation so they are not needed in the main | Nicholas Marriott | 2009-11-05 | |
| | | | | | | | | tty_key struct. | |||
| * | 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 | 2009-11-05 | |
| | | | | | | | | only wake up when an event happens. | |||
| * | Switch tty key input over to happen on a read event. This is a bit more | Nicholas Marriott | 2009-11-05 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||
| * | Convert the key repeat timer to an event. | Nicholas Marriott | 2009-11-05 | |
| | | ||||
| * | Change window name change to use a timer event rather than a gettimeofday() | Nicholas Marriott | 2009-11-04 | |
| | | | | | | | | check every loop. | |||
| * | Move status timer check into the global once-per-second timer, this could maybe | Nicholas Marriott | 2009-11-04 | |
| | | | | | | | | be done better but one every second is better than once every 50 ms. | |||
| * | 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 | 2009-11-04 | |
| | | | | | | | | to it and call it after the event triggers or after a imsg is added. | |||
| * | It would help if I read my own comments... make alt keys work again by sending | Nicholas Marriott | 2009-11-04 | |
| | | | | | | | | alt AND the key not alt instead of it. | |||
| * | 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 | 2009-11-04 | |
| | | | | | | | | | | 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. | |||
| * | Call event_init() before loading the config file, since potentially it could | Nicholas Marriott | 2009-11-04 | |
| | | | | | | | | set up events. | |||
| * | 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 | 2009-11-04 | |
| | | | | | | | | | | | | | | | | | | 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. | |||
| * | 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 | 2009-11-04 | |
| | | | | | | | | fg/bg (adjusted if spaces) and happen before attribute setting. | |||
| * | Change declaration and use of malloc_options to be more standard, from Tim van | Nicholas Marriott | 2009-11-04 | |
| | | | | | | | | der Molen. | |||
| * | Don't backoff based on suspended or deda clients as they are always likely to | Nicholas Marriott | 2009-11-04 | |
| | | | | | | | | have data backed up. | |||
| * | Add an activity time for clients, like for sessions, and change session and | Nicholas Marriott | 2009-11-03 | |
| | | | | | | | | | | | | | | | | 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. | |||
| * | If it isn't available explicitly, work out the current client in a similar way | Nicholas Marriott | 2009-11-03 | |
| | | | | | | | | | | to the current session - build a list of the possibilities then pick the newest. | |||
| * | Change session and client activity and creation time members to have more | Nicholas Marriott | 2009-11-03 | |
| | | | | | | | | | | | | | | | | meaningful names. Also, remove the code to try and update the session activity time for the command client when a command message is received as is pointless because it des not have a session. | |||
| * | tv member of struct paste_buffer is updated but not otherwise used, so remove | Nicholas Marriott | 2009-11-03 | |
| | | | | | | | | it. | |||
| * | Fix vi page up mode key (from naddy), add missing half page keys, and sort. | Nicholas Marriott | 2009-11-03 | |
| | | ||||
| * | Double the escape timer (the time after a \033 is received before tmux gives up | Nicholas Marriott | 2009-11-02 | |
| | | | | | | | | | | waiting to see if it is part of a key sequence and passes it through) to 500 ms, the previous setting was too fast. Suggested by naddy. | |||
| * | When matching the session names with -t, look for exact matches first before | Nicholas Marriott | 2009-11-02 | |
| | | | | | | | | | | | | | | | | trying partial matches. Avoids problems where two ambiguous matches are present before an exact match (eg foo1, foo2, foo would give an error on trying -tfoo), reported by Natacha Port? natbsd at instinctive dot eu. | |||
| * | Leftover unused variable :-/. | Nicholas Marriott | 2009-11-02 | |
| | |