Commit Briefs

Omar Polo

moved commands def to their own file

and made the cmd_* functions public


Omar Polo

generate compile_flags.txt

this should help with LSP and clangd


Omar Polo

drop trailing whitespace


Omar Polo

hash.c -> tofu.c


Omar Polo

add phos/phos.h to telescope_SOURCES (tags/0.1)


Omar Polo

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


Omar Polo

move FS definition to script




Omar Polo

fmt


Omar Polo

don't hardcode awk path



Omar Polo

cursor handling with utf8 support

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


Omar Polo

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.


Omar Polo

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)