summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/utf8.c
AgeCommit message (Expand)Author
2020-09-16Fix some warnings, GitHub issue 2382.Nicholas Marriott
2020-07-21Fix show-buffer when run from inside tmux, GitHub issue 2314.Nicholas Marriott
2020-06-09Include width in error message.Nicholas Marriott
2020-06-09It is not sensible to store pointers into an array we are going toNicholas Marriott
2020-06-06Use bitshifts instead of a union for encoding UTF-8 into 32 bits, whichNicholas Marriott
2020-06-02Allow UTF-8 characters of width 0 to be stored, it is useful to be ableNicholas Marriott
2020-06-02UTF-8 keys need to be big endian so the size bits are at the top.Nicholas Marriott
2020-06-02Fail rather than fatal on UTF-8 width 0.Nicholas Marriott
2020-05-26Return new character properly when converting to data.Nicholas Marriott
2020-05-25Use the internal representation for UTF-8 keys instead of wchar_t andNicholas Marriott
2020-05-25Tidy up new UTF-8 code and make it more generic.Nicholas Marriott
2020-05-25Make some data types consistent.Nicholas Marriott
2020-05-25Instead of storing all UTF-8 characters in the extended cell which meansNicholas Marriott
2019-11-25Add p format modifier for padding to width.Nicholas Marriott
2019-05-26Add formats for word and line under the mouse and use them to add someNicholas Marriott
2019-05-23Environment variables can start with { also.Nicholas Marriott
2019-05-23Break the argument escaping code into a separate function and use it toNicholas Marriott
2019-03-18Extend the #[] style syntax and use that together with previous formatNicholas Marriott
2017-06-04Remove unused variable.Nicholas Marriott
2017-06-04Be more strict about escape sequences that rename windows or set titles:Nicholas Marriott
2017-05-31Style and spacing nits.Nicholas Marriott
2017-03-17Fix a couple of argument types.Nicholas Marriott
2017-01-18Plain stravis() because it will mangle UTF-8 characters, so addNicholas Marriott
2016-10-11Support UTF-8 entry into the command prompt.Nicholas Marriott
2016-05-27Most of the utf8_data is fixed so simplify utf8_set to use a memcpy.Nicholas Marriott
2016-04-29OpenBSD wcwidth() is sensible and complete so if it returns -1 it meansNicholas Marriott
2016-04-27Loads of platforms appear to have old or broken Unicode character typeNicholas Marriott
2016-04-26Log wcwidth() and mbtowc() failure to make it easier to debug a UnicodeNicholas Marriott
2016-03-02Handle wcwidth() and mbtowc() failures in better style and dropNicholas Marriott
2016-03-01Use system wcwidth() instead of carrying around UTF-8 width tables.Nicholas Marriott
2016-01-31Whoops, need this for the previous reverse trim commit too.Nicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2015-11-20Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.Nicholas Marriott
2015-11-14The private use area at U+E000 to U+F8FF is not very useful if it isNicholas Marriott
2015-11-14All these return values from utf8_* are confusing, use an enum.Nicholas Marriott
2015-11-14Rename a variable in utf8_combine for consistency and use 0xfffd forNicholas Marriott
2015-11-14Be more strict about invalid UTF-8.Nicholas Marriott
2015-11-13Long overdue change to the way we store cells in the grid: now, insteadNicholas Marriott
2015-11-12Rename overly-long utf8data to ud throughout.Nicholas Marriott
2015-11-12Add utf8_padcstr and use it to align columns in list-keys.Nicholas Marriott
2015-11-12Tidy utf8.c a little: build table on first use, and make utf8_width takeNicholas Marriott
2015-11-12If we know the terminal outside tmux is not UTF-8, replace UTF-8 inNicholas Marriott
2015-11-12Support UTF-8 key bindings by expanding the key type from int toNicholas Marriott
2015-11-05Update the internal wcwidth(3) table of tmux(1) to match the dataIngo Schwarze
2015-04-20Style nit - unnecessary brackets.Nicholas Marriott
2014-10-08Add xreallocarray and remove nmemb argument from xrealloc.Nicholas Marriott
2014-04-17Add some UTF-8 utility functions and use them to prevent the width limitNicholas Marriott
2014-04-17Some more long lines.Nicholas Marriott
2014-04-02Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also makeNicholas Marriott
2014-03-31In four byte UTF-8 sequences, only three bits of the first byte shouldNicholas Marriott