Commit Briefs

0082f4263c Omar Polo

imsg: allow fdpass on the net socket (main)

it's used to pass the client certificate to the net process so has to be enabled. Issue <https://github.com/telescope-browser/telescope/issues/21> spotted by linuxcult; thank you!


7e8a397661 Omar Polo

cirrus.yml: bump to freebsd-14-2


c8b8dc5c50 Omar Polo

update imsg


cfe4e15a08 Omar Polo

pretiffy the makefile.am; no functional change


079783a6c9 Omar Polo

maintenance: mention updating the website as well


5eaa3e6b8d Omar Polo

switch to our build images


7a7f8f400c Omar Polo

fix display of certificate selection prompt


12be77f9b5 Omar Polo

make forward_line() keep the same column

We should probably instead introduce the concept of ``target column'' but for now this brings back the behaviour pre-point_offset introduction, even if it gets it wrong when tabulator characters are involved.


f853ec6f0c Omar Polo

handle tab characters

tab characters have their width depending on the column they're in, since they extend to the next multiple of 8. (citation needed?) So, keep track of the column when considering the length (in columns) of the text, so that we can render them properly. In the future we might want to turn them into spaces (either at read or render time) just to stay on the safe side in case not all terminals/ncurses implementations use 8 columns.


ec5e90b332 Omar Polo

fix pledges; ui needs `sendfd'

we need to send a file descriptor to the net process when we use a custom client certificate. Don't know how I missed it...


7c9e12dfe9 Omar Polo

wrapping shouldn't reach the last column

since we can't move the cursor past the last column, we can't draw a character there.


9863381c8c Omar Polo

update vline len after character delete


307e9acc7f Omar Polo

ensure vline len is correctly accounted for


757c5ccf1b Omar Polo

clean up utf8.h includes that are no longer needed


613281e454 Omar Polo

mark utf8_chwidth as static


3cfc831e45 Omar Polo

retire utf8_encode too, it's no longer used


dcbfbf59b8 Omar Polo

use grapheme_encode_utf8 instead of our home-grown utf8_encode

libgrapheme does a few more checks than we do


de151cb670 Omar Polo

remove now unused fuctions from utf8.c


1dc96d8879 Omar Polo

use grapheme instead of utf8_next_cp


6d24bfb3ca Omar Polo

use a byte offset to track the point in the line

Instead of using a code-point offset, use a raw byte offset and navigate backward and forward by means of graphemes. This gives a correct "visual" backward/forward navigation through characters.


b60507ee67 Omar Polo

typo; wilcard -> wildcard


2815e3a0bd Omar Polo

typos; courtesy of codespell


d9051b6523 Omar Polo

-current again


745337baea Omar Polo

bump version to 0.10.1 (tags/0.10.1)


96576240de Omar Polo

sync changelog