Commit Briefs
-current again (main)
bump version to 0.11 (tags/0.11)
mailcap: add needsterminal for default mailcap
Add the needsterminal flag for the default mailcap entry.
imsg: allow fdpass on the net socket
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!
build: macos: set PKG_PATH_CONFIG programatically
Under certain conditions, set PKG_PATH_CONFIG programatically, as in, find all the relevant occurances under /opt/homebrew This is necessary because some CI systems might not do this, and it's a pain having to enumerate dependencies of dependencies. There is a slight downside that ./configure might pause for a few seconds.
build: macos: fix DEFAULT_OPENER
Fix incorrect case for platform.
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.
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.
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...
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.
use grapheme_encode_utf8 instead of our home-grown utf8_encode
libgrapheme does a few more checks than we do