aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Sync OpenBSD patchset 516:Tiago Cunha2009-11-08
| | | | | | | Clear to the end of the screen from the right starting point when drawing line-by-line (in panes or if ed not supported). Fixes problem spotted by Frank Terbeck.
* Sync OpenBSD patchset 515:Tiago Cunha2009-11-08
| | | | | Old xterm F1-F4 are \033O_P not \033[O_P.
* Sync OpenBSD patchset 514:Tiago Cunha2009-11-08
| | | | | Unused variable. Aargh.
* Sync OpenBSD patchset 513:Tiago Cunha2009-11-08
| | | | | | | | | Switch the tty key tree over to an (unbalanced) ternary tree which allows 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.
* Sync OpenBSD patchset 512:Tiago Cunha2009-11-08
| | | | | | | key_string_lookup_key uses a static buffer, so copy its output into the working buffer before calling the command print function which can also use it (eg send-keys).
* Sync OpenBSD patchset 511:Tiago Cunha2009-11-08
| | | | | | Key flags are only used for initialisation so they are not needed in the main tty_key struct.
* Sync OpenBSD patchset 510:Tiago Cunha2009-11-08
| | | | | EVLOOP_ONCE takes care of the wakeup, so no need to call event_loopexit(NULL).
* Sync OpenBSD patchset 509:Tiago Cunha2009-11-08
| | | | | | Now all timers are events, there is no longer any need to wake up every 50 ms - only wake up when an event happens.
* Sync OpenBSD patchset 508:Tiago Cunha2009-11-08
| | | | | | | | | | | | Switch tty key input over to happen on a read event. This is a bit more 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.
* Sync OpenBSD patchset 507:Tiago Cunha2009-11-08
| | | | | Convert the key repeat timer to an event.
* Make it compile on the portable version.Tiago Cunha2009-11-08
|
* Sync OpenBSD patchset 506:Tiago Cunha2009-11-08
| | | | | | Change window name change to use a timer event rather than a gettimeofday() check every loop.
* Sync OpenBSD patchset 505:Tiago Cunha2009-11-08
| | | | | | Move status timer check into the global once-per-second timer, this could maybe be done better but one every second is better than once every 50 ms.
* Sync OpenBSD patchset 504:Tiago Cunha2009-11-08
| | | | | Use timeout events for the identify and message timers.
* Sync OpenBSD patchset 503:Tiago Cunha2009-11-08
| | | | | | Don't reenlist the client imsg event every loop, instead have a small function to it and call it after the event triggers or after a imsg is added.
* Sync OpenBSD patchset 502:Tiago Cunha2009-11-08
| | | | | | It would help if I read my own comments... make alt keys work again by sending alt AND the key not alt instead of it.
* Sync OpenBSD patchset 501:Tiago Cunha2009-11-08
| | | | | Move some common code into a function.
* Sync OpenBSD patchset 500:Tiago Cunha2009-11-08
| | | | | Tell the client to exit on configuration file error.
* Sync OpenBSD patchset 499:Tiago Cunha2009-11-08
| | | | | Bye-bye buffer*.c.
* Sync OpenBSD patchset 498:Tiago Cunha2009-11-08
| | | | | | | | Convert the window pane (pty master side) fd over to use a bufferevent. 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.
* Sync OpenBSD patchset 497:Tiago Cunha2009-11-08
| | | | | | Call event_init() before loading the config file, since potentially it could set up events.
* Sync OpenBSD patchset 496:Tiago Cunha2009-11-08
| | | | | Switch window pane pipe redirect fd over to a bufferevent.
* Sync OpenBSD patchset 495:Tiago Cunha2009-11-08
| | | | | Switch tty fds over to a bufferevent.
* Sync OpenBSD patchset 494:Tiago Cunha2009-11-08
| | | | | Add back JOB_PERSIST checks that got lost.
* Sync OpenBSD patchset 493:Tiago Cunha2009-11-08
| | | | | Switch jobs over to use a bufferevent.
* Sync OpenBSD patchset 492:Tiago Cunha2009-11-08
| | | | | A couple of minor cosmetic changes.
* Adjust recent libevent changes to the portable version.Tiago Cunha2009-11-08
|
* Sync OpenBSD patchset 491:Tiago Cunha2009-11-08
| | | | | | | | | | | | Initial changes to move tmux to libevent. 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.
* Working on 1.2.Tiago Cunha2009-11-05
|
* Use %%VERSION%% so the Makefile can replace it by VERSION.Tiago Cunha2009-11-05
|
* Update CHANGES, and NOTES for the 1.1 release.Tiago Cunha2009-11-05
|
* Bump VERSION.Tiago Cunha2009-11-05
|
* Prepare the tree for the 1.1 release.Tiago Cunha2009-11-05
|
* Sync OpenBSD patchset 490:Tiago Cunha2009-11-04
| | | | | Unused (but assigned to) variable, found by lint.
* Sync OpenBSD patchset 489:Tiago Cunha2009-11-04
| | | | | Ignore the colour on space, /not/ the attributes.
* Sync OpenBSD patchset 488:Tiago Cunha2009-11-04
| | | | | | Fix the reverse emulation when a terminal doesn't have setab to use the correct fg/bg (adjusted if spaces) and happen before attribute setting.
* Adjust OpenBSD patchset 487 to the portable version, and while there dropTiago Cunha2009-11-04
| | | | | malloc_options on DragonFlyBSD, and FreeBSD.
* Sync OpenBSD patchset 487:Tiago Cunha2009-11-04
| | | | | | Change declaration and use of malloc_options to be more standard, from Tim van der Molen.
* Sync OpenBSD patchset 486:Tiago Cunha2009-11-04
| | | | | | Don't backoff based on suspended or deda clients as they are always likely to have data backed up.
* Sync OpenBSD patchset 485:Tiago Cunha2009-11-04
| | | | | | | | | | Add an activity time for clients, like for sessions, and change session and 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.
* Sync OpenBSD patchset 484:Tiago Cunha2009-11-04
| | | | | | | If it isn't available explicitly, work out the current client in a similar way to the current session - build a list of the possibilities then pick the newest.
* Sync OpenBSD patchset 483:Tiago Cunha2009-11-04
| | | | | | | | | | Change session and client activity and creation time members to have more 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.
* Sync OpenBSD patchset 482:Tiago Cunha2009-11-04
| | | | | | tv member of struct paste_buffer is updated but not otherwise used, so remove it.
* Sync OpenBSD patchset 481:Tiago Cunha2009-11-04
| | | | | Fix vi page up mode key (from naddy), add missing half page keys, and sort.
* Sync OpenBSD patchset 480:Tiago Cunha2009-11-04
| | | | | | | Double the escape timer (the time after a \033 is received before tmux gives up 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.
* Sync OpenBSD patchset 479:Tiago Cunha2009-11-02
| | | | | | | | | | When matching the session names with -t, look for exact matches first before 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.
* Sync OpenBSD patchset 478:Tiago Cunha2009-11-02
| | | | | Leftover unused variable :-/.
* Sync OpenBSD patchset 477:Tiago Cunha2009-11-02
| | | | | | There isn't much point in doing lstat before connect so instead just do connect and handle ENOENT from it which is a little tidier.
* Sync OpenBSD patchset 476:Tiago Cunha2009-11-02
| | | | | Reorder slightly to tidy code.
* Sync OpenBSD patchset 475:Tiago Cunha2009-11-02
| | | | | | | | | Add a flag for jobs that shouldn't be freed after they've died and use it for status jobs, then only kill those jobs when status-left, status-right or set-titles-string is changed. Fixes problems with changing options from inside #().