Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Add s/foo/bar/: prefix for formats to substitute bar for foo. | nicm | 2015-11-18 | |
| | ||||
* | Sync the entire xmalloc.[ch] with the other users, but with the addition | nicm | 2015-11-18 | |
| | | | | of xrealloc, xvasprintf, xvsnprintf. | |||
* | Don't update activity time twice for new sessions, and add some logging. | nicm | 2015-11-18 | |
| | ||||
* | Merge xmalloc.[ch] files across base, skipping OpenSSH for now. | tobias | 2015-11-17 | |
| | | | | ok nicm | |||
* | 0x7f is a valid key. | nicm | 2015-11-16 | |
| | ||||
* | Make key_code unsigned long long not uint64_t which is more portable for | nicm | 2015-11-15 | |
| | | | | | printf formats, and move UTF8_SIZE define down to near the rest of the UTF-8 bits. | |||
* | Accidentally turned off pledge, turn it back on. | nicm | 2015-11-15 | |
| | ||||
* | The character is an int so use %x not %hhx. | nicm | 2015-11-14 | |
| | ||||
* | The private use area at U+E000 to U+F8FF is not very useful if it is | nicm | 2015-11-14 | |
| | | | | width 0, make it width 1 instead. | |||
* | All these return values from utf8_* are confusing, use an enum. | nicm | 2015-11-14 | |
| | ||||
* | Rename a variable in utf8_combine for consistency and use 0xfffd for | nicm | 2015-11-14 | |
| | | | | unknown Unicode. | |||
* | Couple of assignments to remove compiler warnings. | nicm | 2015-11-14 | |
| | ||||
* | Be more strict about invalid UTF-8. | nicm | 2015-11-14 | |
| | ||||
* | Push stdout and stderr to clients more aggressively, and add an event to | nicm | 2015-11-14 | |
| | | | | continue if the send fails. | |||
* | Log more of UTF-8 input. | nicm | 2015-11-14 | |
| | ||||
* | Log option names in fatal() for missing option. | nicm | 2015-11-13 | |
| | ||||
* | Two spacing and spelling nits. | nicm | 2015-11-13 | |
| | ||||
* | Add window_visible_layout which ignores zoomed panes and use it for | nicm | 2015-11-13 | |
| | | | | control mode (which needs to know all panes), from George Nachman. | |||
* | Long overdue change to the way we store cells in the grid: now, instead | nicm | 2015-11-13 | |
| | | | | | | | | | | | | | | | of storing a full grid_cell with UTF-8 data and everything, store a new type grid_cell_entry. This can either be the cell itself (for ASCII cells), or an offset into an extended array (per line) for UTF-8 data. This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the majority for most users) without the complexity of the shadow array we had before. Grid memory without any UTF-8 is about half. The disadvantage that cells can no longer be modified in place and need to be copied out of the grid and back but it turned out to be lot less complicated than I expected. | |||
* | Rename overly-long utf8data to ud throughout. | nicm | 2015-11-12 | |
| | ||||
* | grid_put_utf8 is unused, remove it. | nicm | 2015-11-12 | |
| | ||||
* | Add utf8_padcstr and use it to align columns in list-keys. | nicm | 2015-11-12 | |
| | ||||
* | tweak previous; ok nicm | jmc | 2015-11-12 | |
| | ||||
* | Tidy utf8.c a little: build table on first use, and make utf8_width take | nicm | 2015-11-12 | |
| | | | | a u_int rather than splitting and then combining again in utf8_split. | |||
* | tmux is UTF-8, so if $TMUX is set (tmux running in tmux), the client is | nicm | 2015-11-12 | |
| | | | | UTF-8. Also try to make the existing checks more readable. | |||
* | If we know the terminal outside tmux is not UTF-8, replace UTF-8 in | nicm | 2015-11-12 | |
| | | | | | error messages and whatnot with underscores the same as we do when we draw UTF-8 characters as part of the screen. | |||
* | Nuke the utf8 and status-utf8 options and make tmux only a UTF-8 | nicm | 2015-11-12 | |
| | | | | | terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on). | |||
* | Remove the mouse_utf8_flag format as well. | nicm | 2015-11-12 | |
| | ||||
* | Support UTF-8 key bindings by expanding the key type from int to | nicm | 2015-11-12 | |
| | | | | | | uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.) | |||
* | Default history-file should be "" not NULL, from Greg Onufe. | nicm | 2015-11-12 | |
| | ||||
* | Drop mouse-utf8 option and always turn on UTF-8 mouse if the client says | nicm | 2015-11-11 | |
| | | | | it supports UTF-8. | |||
* | If realpath() fails just try the original path. | nicm | 2015-11-10 | |
| | ||||
* | Handle absolute paths properly, and don't use resolved path in | nicm | 2015-11-10 | |
| | | | | realpath() fails. | |||
* | Same bug as last commit, but in the other copy of the loop in this file... | nicm | 2015-11-05 | |
| | ||||
* | Update the internal wcwidth(3) table of tmux(1) to match the data | schwarze | 2015-11-05 | |
| | | | | | | | | | in /usr/src/share/locale/ctype/en_US.UTF-8.src, with one single exception: Keep U+00AD SOFT HYPHEN at width 1 rather than moving it to width 0, a tradition already observed in the old https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c . While here, manually rebalance the btree for optimal lookup speed. OK nicm@ | |||
* | Pass through right click if mouse is on, from Patrick Palka. | nicm | 2015-11-05 | |
| | ||||
* | Detach the client we are looping over, from Thomas Adam. | nicm | 2015-11-03 | |
| | ||||
* | Fall back silently to ~ or / rather than checking -c with access(), this | nicm | 2015-10-31 | |
| | | | | was the old behaviour. | |||
* | Don't shift version out of peerid, it is needed later. | nicm | 2015-10-31 | |
| | ||||
* | The output log is only useful once and it means creating a file, so open | nicm | 2015-10-31 | |
| | | | | it once at startup instead of in every call to tty_open. | |||
* | Because pledge(2) does not allow us to pass directory file descriptors | nicm | 2015-10-31 | |
| | | | | | | | | | around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too). | |||
* | Break version check into a separate function, and limit version to 8 bits. | nicm | 2015-10-29 | |
| | ||||
* | Like options, move the environ struct into environ.c. | nicm | 2015-10-28 | |
| | ||||
* | Move struct options into options.c. | nicm | 2015-10-27 | |
| | ||||
* | No more TMPDIR. | nicm | 2015-10-27 | |
| | ||||
* | Break the common process set up, event loop and imsg dispatch code | nicm | 2015-10-27 | |
| | | | | | between server and client out into a separate internal API. This will make it easier to add another process. | |||
* | Count brackets in #{?...} so that nested conditional formats work, from | nicm | 2015-10-27 | |
| | | | | Daniel De Graaf. | |||
* | The format callback may not always succeed, so we need to check for | nicm | 2015-10-27 | |
| | | | | NULL. From Patrick Palka. | |||
* | Use copy-mode -et= in WheelUpPane binding, from Patrick Palka. | nicm | 2015-10-27 | |
| | ||||
* | If a mouse event has no key binding, pass it through to the pane it | nicm | 2015-10-26 | |
| | | | | | happened in, not the active pane like normal key presses. Fixes problems seen by Enrico Ghirardi. |