aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* Sync OpenBSD patchset 587:Tiago Cunha2009-12-16
| | | | | | New server option, escape-time, to set the timeout used to detect if escapes are alone or part of a function key or meta sequence.
* Sync OpenBSD patchset 585:Tiago Cunha2009-12-10
| | | | | | | | | Add "server options" which are server-wide and not bound to a session or window. Set and displayed with "set -s" and "show -s". Currently the only option is "quiet" (like command-line -q, allowing it to be set from .tmux.conf), but others will come along.
* Sync OpenBSD patchset 584:Tiago Cunha2009-12-10
| | | | | | Permit panes to be referred to as "top", "bottom", "top-left" etc, if the right pane can be identified.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Sync OpenBSD patchset 580:Tiago Cunha2009-12-04
| | | | | | | | | Eliminate duplicate code and ease the passage for server-wide options by adding a -w flag to set-option and show-options and making setw and showw aliases to set -w and show -w. Note: setw and showw are still there, but now aliases for set -w and show -w.
* Sync OpenBSD patchset 577:Tiago Cunha2009-12-02
| | | | | | New command, capture-pane, which copies the entire pane contents to a paste buffer. From Jonathan Alvarado.
* Sync OpenBSD patchset 575:Tiago Cunha2009-12-02
| | | | | Handle partial xterm function key sequences.
* Sync OpenBSD patchset 573:Tiago Cunha2009-11-28
| | | | | This doesn't need to be u_int.
* Sync OpenBSD patchset 569:Tiago Cunha2009-11-28
| | | | | | Tidy up various bits of the paste code, make the data buffer char * and add comments.
* Sync OpenBSD patchset 567:Tiago Cunha2009-11-28
| | | | | | Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to the rest to reduce lint output.
* Sync OpenBSD patchset 562:Tiago Cunha2009-11-28
| | | | | | Output the right keys for application and number keypad modes (they were the wrong way round).
* Sync OpenBSD patchset 554:Tiago Cunha2009-11-19
| | | | | | | Change status line drawing to create the window list in a separate screen and then copy it into the status line screen. This allows UTF-8 in window names and fixes some problems with #[] in window-status-format.
* Sync OpenBSD patchset 553:Tiago Cunha2009-11-19
| | | | | | | | | | Two new options, window-status-format and window-status-current-format, which allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
* Sync OpenBSD patchset 549:Tiago Cunha2009-11-19
| | | | | | Don't interpret #() for display-message, it usually doesn't make sense and may leak commands.
* Sync OpenBSD patchset 547:Tiago Cunha2009-11-19
| | | | | | | | | Cleanup by moving various (mostly horrible) little bits handling UTF-8 grid data into functions in a new file, grid-utf8.c, and use sizeof intead of UTF8_DATA. Also nuke trailing whitespace from tmux.1, reminded by jmc.
* Sync OpenBSD patchset 546:Tiago Cunha2009-11-19
| | | | | | | | | | Add a per-client log of status line messages displayed while that client exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client.
* Sync OpenBSD patchset 540:Tiago Cunha2009-11-14
| | | | | Tweak a comment and add some spacing.
* Sync OpenBSD patchset 539:Tiago Cunha2009-11-14
| | | | | | Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the command entry structs and a couple of functions to check/set the flags.
* Sync OpenBSD patchset 535:Tiago Cunha2009-11-14
| | | | | Destroy panes immediately rather than checking them all every loop.
* Sync OpenBSD patchset 533:Tiago Cunha2009-11-13
| | | | | Zap unused functions, prompted by deraadt.
* Sync OpenBSD patchset 527:Tiago Cunha2009-11-13
| | | | | | Only need to chmod +x or -x the socket when a client is created, lost or attached, rather than every event loop.
* Sync OpenBSD patchset 523:Tiago Cunha2009-11-10
| | | | | Whoops, this is needed for last commit as well.
* 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 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 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.
* 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 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 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 493:Tiago Cunha2009-11-08
| | | | | Switch jobs over to use a bufferevent.
* 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.
* 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 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 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 #().
* Sync OpenBSD patchset 472:Tiago Cunha2009-11-02
| | | | | | | | | | | If any client currently displaying a window pane has more than 1 KB of output 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.
* Sync OpenBSD patchset 468:Tiago Cunha2009-10-28
| | | | | Move the poll registration functions into the server-*.c files.
* Sync OpenBSD patchset 459:Tiago Cunha2009-10-28
| | | | | | | Rewrite xterm-keys code (both input and output) so that works (doesn't always output the same modifiers, accepts all the possible input keys) and is more understandable.
* Sync OpenBSD patchset 458:Tiago Cunha2009-10-28
| | | | | | | Support the (mostly new) function key+modifier caps (kIC-kIC7). Most of these will be caught (soon) by the xterm keys code in xterm itself but some other descriptions such as rxvt define them as well.
* Sync OpenBSD patchset 450:Tiago Cunha2009-10-28
| | | | | Rename keypad keys to something more useful.
* Sync OpenBSD patchset 446:Tiago Cunha2009-10-28
| | | | | | | | | | | | | | | Remove the -d flag to tmux and just use op/AX to detect default colours. Irritatingly, although op can be used to tell if a terminal supports default colours, it can't be used to set them because in some terminfo descriptions it resets attributes as a side-effect (acts as sgr0) and in others it doesn't, so it is not possible to determine reliably what the terminal state will be afterwards. So if AX is missing and op is present, tmux just sends sgr0. Anyone using -d for a terminal who finds they actually needed it can replace it using terminal-overrides, but please let me know as it is probably an omission from terminfo.
* Sync OpenBSD patchset 438:Tiago Cunha2009-10-23
| | | | | | | | | | | Split the server code handling clients, jobs and windows off into separate 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.