aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Sync OpenBSD patchset 559:Tiago Cunha2009-11-22
| | | | | | Use home from struct passwd if HOME is empty as well as if it is NULL, and fix a style nit. Both from Tiago Cunha.
* Sync OpenBSD patchset 558:Tiago Cunha2009-11-22
| | | | | | When -h and -p are given to split-window, calculate the percentage size using the width instead of the height.
* Sync OpenBSD patchset 557:Tiago Cunha2009-11-22
| | | | | | Display UTF-8 properly in status line messages and prompt. Cursor handling is still way off though.
* Sync OpenBSD patchset 556:Tiago Cunha2009-11-22
| | | | | Remove oldest messages from log when limit is hit, not newest.
* Sync OpenBSD patchset 555:Tiago Cunha2009-11-22
| | | | | | Get some brackets in the right place so ## works. Also fix a space in a comment.
* +.Nicholas Marriott2009-11-20
|
* 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.
* Update.Tiago Cunha2009-11-19
|
* 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 552:Tiago Cunha2009-11-19
| | | | | tweak previous;
* Sync OpenBSD patchset 551:Tiago Cunha2009-11-19
| | | | | | | Revert to xterm-keys off by default. It was on as an experiment to see if the option could be removed, but it affects vi, so we have to keep the option, and a conservative default is better.
* Sync OpenBSD patchset 550:Tiago Cunha2009-11-19
| | | | | | Tidy up by breaking the # replacement code into a separate function, also add a few comments.
* Update.Tiago Cunha2009-11-19
|
* 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 548:Tiago Cunha2009-11-19
| | | | | Missed an unused variable :-/.
* 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 545:Tiago Cunha2009-11-19
| | | | | Mark -n keys with (no prefix) rather than [].
* +.Nicholas Marriott2009-11-18
|
* Sync OpenBSD patchset 544:Tiago Cunha2009-11-18
| | | | | | | | | | | Permit top-bit-set characters to be entered in the status line. They could already be set from the shell and are just passed through when printing (so invisible characters or displaying on terminals with different character sets may cause problems). Note that entering UTF-8 may not work and in any case currently the status line cannot display it correctly (outside of status-left/status-right).
* Sync OpenBSD patchset 543:Tiago Cunha2009-11-18
| | | | | | In choose mode, assign each item a number or lowercase letter from those available and accept that as a shortcut key for the item.
* Sync OpenBSD patchset 542:Tiago Cunha2009-11-18
| | | | | A screen can be one cell wide; don't crash if that is the case.
* Sync OpenBSD patchset 541:Tiago Cunha2009-11-18
| | | | | | I made a complete horlicks of the last change, fix it so it doesn't either lead to a double free or free the item after the end of the array.
* 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 538:Tiago Cunha2009-11-14
| | | | | Unreachable statement, found by lint.
* Sync OpenBSD patchset 537:Tiago Cunha2009-11-14
| | | | | Tidy up and fix some types, prompted by lint via deraadt.
* Sync OpenBSD patchset 536:Tiago Cunha2009-11-14
| | | | | imsg_read returns ssize_t not int, pointed out by lint via deraadt.
* Sync OpenBSD patchset 535:Tiago Cunha2009-11-14
| | | | | Destroy panes immediately rather than checking them all every loop.
* Sync OpenBSD patchset 534:Tiago Cunha2009-11-13
| | | | | | | Use winlink_remove() to remove old winlinks when synchronizing grouped sessions rather than doing it manually and not adjusted the reference count. Fixes crash seen by Dan Harnett.
* Sync OpenBSD patchset 533:Tiago Cunha2009-11-13
| | | | | Zap unused functions, prompted by deraadt.
* Sync OpenBSD patchset 532:Tiago Cunha2009-11-13
| | | | | | | | Emulate the ri (reverse index) capability: this allows tmux to at least start on Sun consoles (TERM=sun or sun-color), even if there appear to still be problems on some boxes (my Blade 100 is fine but edd's Blade 1000 shows odd screen corruption).
* Sync OpenBSD patchset 531:Tiago Cunha2009-11-13
| | | | | | | Support rxvt-style keys again, but this time: support all the variations, put them in as raw escape sequences rather than fiddling with the values from terminfo, put them /after/ the terminfo values so the latter take precedence.
* Sync OpenBSD patchset 530:Tiago Cunha2009-11-13
| | | | | | | | | Rewrite a confusing loop when freeing the arg array on exit and move the check for argv being NULL, prompted by parfait via deraadt. Also fix some definite brokenness when assigning multiple environment variables in arguments (such as "X=1 Y=2").
* Sync OpenBSD patchset 529:Tiago Cunha2009-11-13
| | | | | | | | | | Add an explicit zero-length check for UTF-8 input data, prompted by a report from parfait via deraadt. While here, add a statement to set the width when filling with _s if not enough space (width should never be high enough at the moment anyway), and wrap some long lines.
* Sync OpenBSD patchset 528:Tiago Cunha2009-11-13
| | | | | | Free the pane bufferevent when the fd is closed (the signal could come before the error callback).
* 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.
* OS X is still broken, so ask libevent not to use kqueue or poll.Nicholas Marriott2009-11-11
|
* Sync OpenBSD patchset 526:Tiago Cunha2009-11-10
| | | | | | | | | | There is no real standard for modifier plus function keys. Previously, tmux 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.
* Sync OpenBSD patchset 525:Tiago Cunha2009-11-10
| | | | | Don't output rxvtisms either.
* Sync OpenBSD patchset 524:Tiago Cunha2009-11-10
| | | | | | Twiddling the last bit is an rxvtism, so do not support it in the table by default.
* Sync OpenBSD patchset 523:Tiago Cunha2009-11-10
| | | | | Whoops, this is needed for last commit as well.
* Sync OpenBSD patchset 522:Tiago Cunha2009-11-10
| | | | | | Lookup key as a named key (eg 'Space') before checking for single character keys, makes C-Space/M-Space etc resolve to the correct key code.
* Sync OpenBSD patchset 521:Tiago Cunha2009-11-10
| | | | | | Don't return 1 unless there was actually a problem (signal/lost server) rather than for all events (normal exit/detach/etc).
* Sync OpenBSD patchset 520:Tiago Cunha2009-11-10
| | | | | | Just ignore tty fd errors rather than dying, stops the server dying if the session is disconnected abrubtly (eg ssh ~.).
* Sync OpenBSD patchset 519:Tiago Cunha2009-11-10
| | | | | | The input key should be a u_char. Fixes top-bit-set input problem reported by ajacoutot@.
* Sync OpenBSD patchset 518:Tiago Cunha2009-11-10
| | | | | Constify buf.
* +.Nicholas Marriott2009-11-10
|
* +.Nicholas Marriott2009-11-09
|
* Sync OpenBSD patchset 517:Tiago Cunha2009-11-08
| | | | | | Don't try enable/disable the event if the window pane is dead (fd == -1), as the event will have been freed.