aboutsummaryrefslogtreecommitdiff
path: root/utf8.c
Commit message (Collapse)AuthorAge
* More accurate vi(1) word navigation in copy mode and on the status line. ThisNicholas Marriott2021-05-13
| | | | | | changes the meaning of the word-separators option - setting it to the empty string is equivalent to the previous behavior. From Will Noble in GitHub issue 2693.
* Restore utf8proc bits that went missing, GitHub issue 2564.Nicholas Marriott2021-02-10
|
* Fix some warnings, GitHub issue 2382.Nicholas Marriott2020-09-30
|
* Merge branch 'obsd-master'Thomas Adam2020-07-21
|\
| * Fix show-buffer when run from inside tmux, GitHub issue 2314.nicm2020-07-21
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-09
|\|
| * Include width in error message.nicm2020-06-09
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-09
|\|
| * It is not sensible to store pointers into an array we are going tonicm2020-06-09
| | | | | | | | realloc (duh), use two trees instead.
* | Merge branch 'obsd-master'Thomas Adam2020-06-06
|\|
| * Use bitshifts instead of a union for encoding UTF-8 into 32 bits, whichnicm2020-06-06
| | | | | | | | | | | | is more friendly to GCC3. Reported by and ok aoyama@.
* | Merge branch 'obsd-master'Thomas Adam2020-06-02
|\|
| * Allow UTF-8 characters of width 0 to be stored, it is useful to be ablenicm2020-06-02
| | | | | | | | to put padding cells in as width 0.
* | Merge branch 'obsd-master'Thomas Adam2020-06-02
|\|
| * UTF-8 keys need to be big endian so the size bits are at the top.nicm2020-06-02
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-02
|\|
| * Fail rather than fatal on UTF-8 width 0.nicm2020-06-02
| |
* | Merge branch 'obsd-master'Thomas Adam2020-05-26
|\|
| * Return new character properly when converting to data.nicm2020-05-26
| |
* | Remove bad merge.Nicholas Marriott2020-05-26
| |
* | Put the fix back for wcwidth() failing.Nicholas Marriott2020-05-26
| |
* | Merge branch 'obsd-master'Thomas Adam2020-05-26
|\|
| * Use the internal representation for UTF-8 keys instead of wchar_t andnicm2020-05-25
| | | | | | | | drop some code only needed for that.
| * Tidy up new UTF-8 code and make it more generic.nicm2020-05-25
| |
* | Merge branch 'obsd-master'Thomas Adam2020-05-25
|\|
| * Make some data types consistent.nicm2020-05-25
| |
* | Merge branch 'obsd-master'Thomas Adam2020-05-25
|\|
| * Instead of storing all UTF-8 characters in the extended cell which meansnicm2020-05-25
| | | | | | | | | | | | | | that 14 bytes are wasted for each character in the BMP, only store characters of three bytes or less in the cell itself and store others (outside the BMP or with combining characters) in a separate global tree. Can reduce grid memory use for heavy Unicode users by around 30%.
* | Merge branch 'obsd-master'Thomas Adam2019-11-25
|\|
| * Add p format modifier for padding to width.nicm2019-11-25
| |
* | Merge branch 'obsd-master'Thomas Adam2019-05-26
|\|
| * Add formats for word and line under the mouse and use them to add somenicm2019-05-26
| | | | | | | | items to the pane menu.
* | Merge branch 'obsd-master'Thomas Adam2019-05-23
|\|
| * Environment variables can start with { also.nicm2019-05-23
| |
* | Merge branch 'obsd-master'Thomas Adam2019-05-23
|\|
| * Break the argument escaping code into a separate function and use it tonicm2019-05-23
| | | | | | | | escape key bindings in list-keys. Also escape ~ and ; and $ properly.
* | Merge branch 'obsd-master'Thomas Adam2019-03-18
|\|
| * Extend the #[] style syntax and use that together with previous formatnicm2019-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.
* | Merge branch 'obsd-master'Thomas Adam2017-06-05
|\| | | | | | | | | | | Conflicts: tmux.1 window.c
| * Remove unused variable.nicm2017-06-04
| |
| * Be more strict about escape sequences that rename windows or set titles:nicm2017-06-04
| | | | | | | | | | ignore any that not valid UTF-8 outright, and for good measure pass the result through our UTF-8-aware vis(3).
* | Merge branch 'obsd-master'Thomas Adam2017-06-01
|\| | | | | | | | | Conflicts: window-buffer.c
| * Style and spacing nits.nicm2017-05-31
| |
| * Fix a couple of argument types.nicm2017-03-17
| |
* | Bad merge.Nicholas Marriott2017-03-21
| |
* | Merge branch 'obsd-master'Thomas Adam2017-01-18
|\|
| * Plain stravis() because it will mangle UTF-8 characters, so addnicm2017-01-18
| | | | | | | | utf8_stravis() which calls our existing utf8_strvis() and use it instead
* | Merge branch 'obsd-master'Thomas Adam2016-10-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Support UTF-8 entry into the command prompt.nicm2016-10-11
| |
* | Add support for using utf8proc with --enable-utf8proc, useful for platformsNicholas Marriott2016-09-01
| | | | | | | | (like OS X) where the system implementation is crap. From Joshua Rubin.