Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-05-28 | |
|\| | ||||
| * | Most of the utf8_data is fixed so simplify utf8_set to use a memcpy. | nicm | 2016-05-27 | |
| | | ||||
* | | Only assume width 1 when wcwidth() returns -1 on non-OpenBSD platforms. | Nicholas Marriott | 2016-04-29 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-04-29 | |
|\| | ||||
| * | OpenBSD wcwidth() is sensible and complete so if it returns -1 it means | nicm | 2016-04-29 | |
| | | | | | | | | | | that a character is not printable, so return to ignoring such characters. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-04-27 | |
|\| | ||||
| * | Loads of platforms appear to have old or broken Unicode character type | nicm | 2016-04-27 | |
| | | | | | | | | | | | | information and are missing widths for relatively common Unicode characters (so mbtowc() works, but wcwidth() fails). So if wcwidth() returns -1, assume a width of 1 instead of ignoring the character. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-04-26 | |
|\| | ||||
| * | Log wcwidth() and mbtowc() failure to make it easier to debug a Unicode | nicm | 2016-04-26 | |
| | | | | | | | | codepoint not appearing. | |||
* | | +wchar.h | Nicholas Marriott | 2016-03-02 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-03-02 | |
|\| | | | | | | | | | Conflicts: utf8.c | |||
| * | Handle wcwidth() and mbtowc() failures in better style and drop | nicm | 2016-03-02 | |
| | | | | | | | | | | characters where we can't find the width (wcwidth() fails) on input, the same as we drop invalid UTF-8. Suggested by schwarze@. | |||
| * | Use system wcwidth() instead of carrying around UTF-8 width tables. | nicm | 2016-03-01 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-01-31 | |
|\| | ||||
| * | Whoops, need this for the previous reverse trim commit too. | nicm | 2016-01-31 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2016-01-19 | |
|\| | ||||
| * | I no longer use my SourceForge address so replace it. | nicm | 2016-01-19 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-21 | |
|\| | | | | | | | | | Conflicts: tmux.h | |||
| * | Memory leaks and an uninitialized part of utf8_data, from Patrick Palka. | nicm | 2015-11-20 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 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. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-14 | |
|\| | ||||
| * | 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. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-14 | |
|\| | ||||
| * | Be more strict about invalid UTF-8. | nicm | 2015-11-14 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-13 | |
|\| | | | | | | | | | Conflicts: Makefile | |||
| * | 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. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-13 | |
|\| | ||||
| * | Rename overly-long utf8data to ud throughout. | nicm | 2015-11-12 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-12 | |
|\| | ||||
| * | Add utf8_padcstr and use it to align columns in list-keys. | nicm | 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. | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-12 | |
|\| | ||||
| * | 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. | |||
| * | 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.) | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-11-11 | |
|\| | | | | | | | | | Conflicts: utf8.c | |||
| * | 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@ | |||
* | | Merge branch 'obsd-master' | Thomas Adam | 2015-04-22 | |
|\| | ||||
| * | Style nit - unnecessary brackets. | nicm | 2015-04-20 | |
| | | ||||
* | | No need for $Id$ now. | Nicholas Marriott | 2014-11-08 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-10-21 | |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c | |||
| * | Add xreallocarray and remove nmemb argument from xrealloc. | nicm | 2014-10-08 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-04-23 | |
|\| | | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c | |||
| * | Add some UTF-8 utility functions and use them to prevent the width limit | nicm | 2014-04-17 | |
| | | | | | | | | on formats from splitting UTF-8 characters improperly. | |||
| * | Some more long lines. | nicm | 2014-04-17 | |
| | | ||||
* | | Remove <vis.h>; not used on Linux. | Thomas Adam | 2014-04-05 | |
| | | ||||
* | | Merge branch 'obsd-master' | Thomas Adam | 2014-04-05 | |
|\| | | | | | | | | | | | Conflicts: Makefile tty-keys.c | |||
| * | Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also make | nicm | 2014-04-02 | |
| | | | | | | | | buffer_sample bigger to let it trim at window right edge. | |||
| * | In four byte UTF-8 sequences, only three bits of the first byte should | nicm | 2014-03-31 | |
| | | | | | | | | be used. Fix from Koga Osamu. |