Commits
- Commit:
25905047961cd12825ada96af1c8e155b4da3814
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert the remainig uses of phos_uri to the iri API
- Commit:
5657662f9f60baa58e29c8c34dbd0c68cc784790
- From:
- Omar Polo <op@omarpolo.com>
- Date:
net: don't need a uri, just host and port fields
While here, make 'em dinamically allocated.
- Commit:
26e95b82a96d043e96f6364a9053c02d5d855ece
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move cwd to fs.c
- Commit:
fe67a6742c21d58ed966eb3472101039b94bd418
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update copyright date for emoji.txt
- Commit:
449ea6fe32441d2fd3875c5eee5d0c77800cfa7d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
bbf982974ca98df9b032cfe1b76b680e68a4969a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
iritest: one more test, just in case
It stemmed from my misuse of iri_parse(). There's nothing wrong in
the parser (that I found at least), but one more test won't harm.
- Commit:
44008d594dc29b0866caa5595387ecb7a03d53b1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert humanify_url to iri APIs
- Commit:
cc71f6cb128ea70d8fd676c4cac46c3f25c0f7a5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert ir_select_reply() to iri
- Commit:
67d252a07be8b0630496505409ec2de490af7576
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing include
- Commit:
26da24dcc0c40ef5cdf3d3d364772de248043abf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix iritest CFLAGS; add iritest to TESTS
- Commit:
2d9b09165dfec9c97485b09fa050ddfb16680de2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
a36bb43a3e7eb5156105479fe02f05639d5f1d89
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
34f8174412bdd6f2e1f226a2b7bd00101c574ef8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort
- 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:
2c05b26da3a2b21a6804583e47f984ec4b1f898c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt