Commit Briefs

Omar Polo

change some include

<> → "" and reorder


Omar Polo

cosmetic: don't add a space on :

There are two ways (by default) to bring up the execute-extended-command: M-x or :. To be a bit more like vi, don't add a space after :, but do that after M-x.


Omar Polo

debounce resize event


Omar Polo

fix out-of-bound


Omar Polo

pre-insert gemini:// on load-url





Omar Polo

don't allow recursion on yornp

if we're already in the minibuffer, just assume a "no" response, it's the easiest (and safest) thing to do.


Omar Polo

percent-encode the input request


Omar Polo

tweak comment


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

simplify & improve tabline rendering

if there are more tabs than space, the selected tab is no more always the first.


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

switch yornp_cb data back to an unsigned int

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