Commit Briefs

Omar Polo

sync changelog


Omar Polo

add the up, root and home commands

These navigates respectively one level up in the path hierarchy, to the root directory and to the "home". The home is considered to be the first path component in the form of ~username. `home' is yet to be implemented.


Omar Polo

sort


Omar Polo

add load-url-use-heuristic knob

This is still WIP and may change before the next release. It could be worthwile to resolve the URLs in load-url using the current page as base, so that while browsing <gemini://a.org/b/c>, using load-url to go to "/" would load <gemini://a.org/> instead of <file:///>. The new option `load-url-use-heuristic', if unset, provides exactly this behaviour. It is still a bit rough to use, as for e.g. loading <d.net> would now yield <gemini://a.org/b/d.net> instead of <gemini://d.net>. Will need more work in-tree, but for now add it so we can reason about it. See github issue #10


Omar Polo

fmt


Omar Polo

don't strlcat in a loop

not that of a big deal, but since we memset() at the start, just add the spaces directly instead of using strlcat. saves some cpu cycles.


Omar Polo

fix wrapping of link lines


Omar Polo

fix comment





Omar Polo

make do_load_url and friends return void

The 0/1 difference was once important since it would give the caller an idea whether the page was loaded immediately or asynchronously. This doesn't matter anymore. Furthermore, this whole family of function can't really fail (as telescope doesn't handle memory allocation failures gracefully.)


Omar Polo

configure: add --with-Werror flag


Omar Polo

add missing void to please clang


Omar Polo

fix freezr' post url