Commits
- Commit:
cfcbc23cf9c18cbc9964064ce954c05cde9fd473
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add default-protocol knob
So that now one can decide to assume a finger:// or gopher:// protocol
instead of gemini:// for load-url.
- Commit:
2513365f084c0d27d326cdcf878ecfbf087ea76c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
2f51c5bdf3c4439827e2c4ff210bcc440c95fda2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move defaults.c prototypes in defaults.h
- Commit:
4bb6a4fa12277e60cec320dacf7968754b26db7d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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
- Commit:
f26f1205275cf2849d2754beff3d9d65c161c98a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move headers to include/