Commits


inline a goto err


rework net_read() a bit - don't stop after parsing the header maybe there's some page data in the buffer, let's try to forward it immediately too. - use a local buffer plus bufferevent_read()


add certs.[ch] adapted from gmid. we'll soon use it to provide client certificates support in telescope.


sync changelog


save finger:// and gopher:// URLs to the history gemini is handled when the 2x reply is received. Gopher and Finger lack an equivalent, so call history_add() for them at EOF.


cache finger pages as well


bp_select: call exit_minibuffer() when done Currently it is still fine to access ministate after exit_minibuffer(). In the future, if we ever support recursive minibuffers it won't. So, defer the exit_minibuffer() call and use minibuffer_compl_text() instead of peeking into ministate. While here, also add the "Bookmarked" message when it successfully bookmarked the page.


fix bookmark_page() failure check it returns -1/0 not 0/1


ignore obj/ and build/ too


removed -C/--colours flag


phos is no more


fix regress after recent changes


move all the sources back in the root directory subdir is just messier for no good reason


move includes back to the root directory Splitting stuff into sub-directories was just a big mistake.


rework the history management It was a huge pile of spaghetti with useless utility functions and lots of code reaching into the "data structure" (if you can call it so) to do stuff. Instead, provide a "module" with a clean interface and noone reaching in the insides.