Commits


fix two related bug Don't crash when there's a certificate mismatch and after saving the cert, before choosing to persist it, the page gets redirected; also, don't repeat the "Certificate mismatch" after the first yes, if there's a redirect. Now when the user accept a certificate, is treated as temporary saved for the whole session.


erase buffer in load_page_from_str possible leak? not confirmed, but this way it reads better.


introduce erase_buffer


add support for custom protocol proxies


"humanize" byte progress i.e. trasform XYZ bytes to something readable


kill ui_notify and export {v,}message


ignore SIGPIPE prevent telescope from dying when connecting to non-tls/non-gemini servers (found by trying to load a bogus ``gemini://gemini.nytpu.com'' -- the correct url for the capsule is ``gemini://nytpu.com'')


fmt


rename: s/window/buffer (but not always) this aims to solve (albeit only partially) the confusion between telescope' ``struct window'' and ncurses WINDOW. It also brings some more emacs-like nomenclature, which may be a good thing.


ask to save a page when it can't be rendered it's good for thing like images and text with weird encodings.


fix known_host corruption when save new cert the wrong size was allocated


allow saving the new certificate after mismatch


renamed some functions


save certificates per (host, port) tuple, not only per-host


generate a new id for every request bad things (tm) can happen if we do a IMSG_GET hwen a page is loading. This fixes it by generating a new id for every request, so the current one (if there is one) can safely finish (stop_tab can take a while) while we're doing the next one.