Commit Briefs


Omar Polo

add default-protocol knob

So that now one can decide to assume a finger:// or gopher:// protocol instead of gemini:// for load-url.


Omar Polo

simplify if/elseif/else


Omar Polo

bump date


Omar Polo

add boolean variables

The 'if zero/nonzero then...' is a bit annoying. Add proper booleans to the grammar of the config and use them when appropriate. Makes the description and the review of configuration files easier. This means that the old set olivetti-mode = 1 can now be written as set olivetti-mode = true Compatibility with the previous integer values will be kept for a while.



Omar Polo

sort vars



Omar Polo

iri: add iri_setport()

takes a string because the internals of telescope makes it easier to use if a string.


Omar Polo

remove phos; now unused

phos was an attempt at building a gemini client/server library. It didn't went as I expected, mostly because it's such a simple protocol... Anyway, the only use in telescope was for the uri module, which has already been replaced with the built-in iri. Which still sucks (and despite the name, can still only handle URIs) but it's hopefully better. The APIs are better.



Omar Polo

net: don't need a uri, just host and port fields

While here, make 'em dinamically allocated.


Omar Polo

move cwd to fs.c



Omar Polo

apply load-url-use-heuristic for command line arguments too

This semplifies a bit the handling. humanify_url() now takes the base URL which we can then use when not using the heuristics. Command-line arguments now take an implicit base of <file://$PWD/> when the heuristics are disabled, so that foo.gmi resolves to the local file even without <./>. See github issue #10.