Commit Briefs
add certs.[ch]
adapted from gmid. we'll soon use it to provide client certificates support in telescope.
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.
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
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.
iri: fix parse_path_absolute with path being "/"
it was mis-parsed as "" causing failures when resolving a relative URI.
attempt to fix relative URLs
Was broken in 2590504796 with the switch to the new APIs. The previous implementation accepted a parsed URL as base, while the new one takes a string and we pass NULL when we want to refer to the current URL...