Commit Briefs

Omar Polo

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'')


Omar Polo

fmt


Omar Polo

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.


Omar Polo

ask to save a page when it can't be rendered

it's good for thing like images and text with weird encodings.


Omar Polo

fix known_host corruption when save new cert

the wrong size was allocated



Omar Polo

renamed some functions



Omar Polo

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.


Omar Polo

fix loading of about: urls


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

drop pid from the proc title


Omar Polo

switch yornp_cb data back to an unsigned int

it bothers me to keep alive a pointer inside a struct tab.



Omar Polo

add extra parameter to yornp