Commits


moved commands def to their own file and made the cmd_* functions public


generate compile_flags.txt this should help with LSP and clangd


drop trailing whitespace


hash.c -> tofu.c


add phos/phos.h to telescope_SOURCES


switch to phos_uri Initially I took the IRI parser from gmid, stripped of the UTF-8 things and transformed back into a URI parser. Then I've added some functions to resolve URIs, but it wasn't enough. gmid parser is aimed at servers, and so it doesn't handle very well relative links. This makes use of the libphos uri parser, which was coded to follow the RFC more strictly, and to fully support all kinds of URIs. It'll need to be expanded in the future and be improved for sure


move FS definition to script


install the manpage and while there fix generation for some builds


fix build: mark cmd.gen.h as BUILT_SOURCES


fmt


don't hardcode awk path


implement execute-extended-command


cursor handling with utf8 support the code relative to the cursors movements now respects the width of the characters (zero, one or two cells).


starting to implement TOFU popuplate an hash table with the certs and keep it in memory. Later, store the table in ~/.telescope/known_hosts and re-read back during startup.


added fs process it's the only one that has file system access. For now it serves about:new (from memory) and about:bookmarks (from ~/.telescope/bookmarks.gmi if found)