Commits


add y-or-n-p; ask user when encountering invalid certs


big refactor: introduce the window abstraction - commands now take a struct window* instead of a raw tab - the struct ui_state is gone - using a window for the minibuffer too helps avoid code duplication - it will let us having more than one window on a tab! :DD It doesn't seem to have broken anything...


fix warnings


take an initial URL as first positional argument


don't include <err.h>, use the compat layer


persist certificate hashes to the known_hosts file


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.


(initial) add trust status following gemini://thfr.info/gemini/modified-trust-verify.gmi


de-duplication: factorize dispatch_imsg


fix various warnings, no functional changes now that we have a bounch of -Wxxx flags during compilation, let's fix everything.


ability to add page to bookmarks!


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)


sandbox ui process too


refactoring + move wrapping logic to its own file


first draft of history system is here