Commits
- Commit:
62cbcdae43d424ecc31a54bd67fd22a7120bf9fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove imsg_borrow_str
it's redundant due to ibuf_borrow_str()
- Commit:
54764e41a11e16a56da805313f209a9937c5173d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
send the reply code and meta in a single imsg
- Commit:
b148be7145ec930043173b11be95bf6327d3b598
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inline dispatch_imsg(); start to use some newer imsg api
- Commit:
b10ba33158d0b4b0454610a76db67e278f909956
- From:
- Omar Polo <op@omarpolo.com>
- Date:
save finger:// and gopher:// URLs to the history
gemini is handled when the 2x reply is received. Gopher and Finger
lack an equivalent, so call history_add() for them at EOF.
- Commit:
7cdfd123610140ef1752a3eb3a68469bbc0f52ae
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cache finger pages as well
- Commit:
d08fccd2fe31fb4f2415704ca8e867dc4d2e7480
- From:
- Omar Polo <op@omarpolo.com>
- Date:
removed -C/--colours flag
- Commit:
65c4966563d067115fc09f5e5c8c43a917b1cf03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework the history management
It was a huge pile of spaghetti with useless utility functions and
lots of code reaching into the "data structure" (if you can call it
so) to do stuff.
Instead, provide a "module" with a clean interface and noone reaching
in the insides.
- Commit:
0f7d82716aa8a5721057cbc858dbbbf6ba6502f9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
attempt to fix relative URLs
Was broken in 2590504796 with the switch to the new APIs. The
previous implementation accepted a parsed URL as base, while the
new one takes a string and we pass NULL when we want to refer to
the current URL...
- Commit:
c24b14ad282967165c7a76de548f622365fa447f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use the new imsg_get_data() in a few places
- Commit:
33133ab14226d1bcb74a4fc133bcdd8c0b7343bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix handling of redirects with relative URLs
- 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:
3b726df7bc7919e6258dde70307c622eb06e734e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use iri_setport instead of reaching into the struct iri
- Commit:
25905047961cd12825ada96af1c8e155b4da3814
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert the remainig uses of phos_uri to the iri API
- Commit:
26e95b82a96d043e96f6364a9053c02d5d855ece
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move cwd to fs.c
- 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.