dece
b2fdabea71
linting
3 years ago
dece
cee04f10c7
browser: add missing horizontal scrolling features
3 years ago
dece
535ab0aa16
command_line: allow external editor for writing
3 years ago
dece
7b9a314481
navigation: fix parameters left in URL for parents
3 years ago
dece
f3a3a36039
browser: render all "text/*" Gemini responses
3 years ago
dece
347b5a81cc
browser: open editor to view/edit sources & pages
3 years ago
dece
bce65a1472
browser: minor fixes
3 years ago
dece
6bc4dbcc5d
metalines: split contents from rendering module
3 years ago
dece
8aee7fdfba
gemtext: add links/title to parsing result
...
parse_gemtext used to return only the element list, requiring subsequent
loops to find a title or collect links; now it's all done at the same
time!
3 years ago
dece
1f938fd2af
clean and fix minor issues
3 years ago
dece
bd7cfce520
browser: split in several files
3 years ago
dece
5b3e91336f
bookmarks: basic bookmark management
3 years ago
dece
d6bcd1f706
page: split page/page_pad modules
...
Also add title to Page but really this needs a big cleanup.
3 years ago
dece
40133a1e6b
browser: bypass cache when reloading, duh
3 years ago
dece
b508ab8128
navigation: add a "go to root" function
3 years ago
dece
cf6b67f78b
navigation: add function to go to parent URL
3 years ago
dece
5d1e13ea6a
rendering: add typings
3 years ago
dece
a37ed6f64d
page: add docs
3 years ago
dece
0c786087ea
gemtext: auto-close preformatted blocks
...
The spec does not say if preformatted text should be rendered or not if
the file stops before the closing fence is found. The wording makes me
think it is more adequate to auto-close the block in this case.
3 years ago
dece
fef350804c
browser: add a cache
3 years ago
dece
dd4a4196a8
mime: basic MIME type management
3 years ago
dece
2767402d9f
clean
3 years ago
dece
1ff23e58e8
tofu: fix bug in save_cert_stash
3 years ago
dece
05c54eff48
page: move page content to a separate class
3 years ago
dece
3d15074bdd
browser: clean
3 years ago
dece
33f215dd3e
browser: rework default movement keys
3 years ago
dece
bcc9a72d97
command_line: fix issue with digits input
3 years ago
dece
e517df7836
tofu: add save_cert_stash
3 years ago
dece
0b79bd9e9e
command_line: move input validation there
...
This absolutely un-atomic commit also introduces the Links class to hold
methods regarding link lookups on top of the standard dict class.
3 years ago
dece
83db26ada7
fs: add minimal module to get some directories
3 years ago
dece
1b8127eea1
add module docstrings
3 years ago
dece
89abbc6fd9
browser: show status line in italic
3 years ago
dece
2db721d48a
browser: capture C-c
3 years ago
dece
398f526b82
rendering: fix vspace issue with link/lists
3 years ago
dece
84221a7816
browser: handle local file:// URIs
3 years ago
dece
85934eedcf
rendering: show link preview after links
3 years ago
dece
d7a94650cb
rendering: do not crash on rendering failure
3 years ago
dece
524bda5b39
protocol: limit meta line length in request
3 years ago
dece
72111bce70
protocol: make connection timeout after some time
3 years ago
dece
62619f29fb
browser: quit with ":quit" instead of pressing q
3 years ago
dece
33b1e497af
browser: fix issue with relative redirections
3 years ago
dece
e7ef91ed9f
browser: use "p" instead of "H" for going back
3 years ago
dece
70cd3f6557
browser: basically handle HTTP(S) links
3 years ago
dece
03a51c13f5
browser: move faster using uppercase hjkl
3 years ago
dece
9f5cae5014
protocol: catch wrong URLs ending with bare colon
3 years ago
dece
ff49f0d17e
page: methods to go to beginning/end of page
3 years ago
dece
8fdf23689d
browser: minor fixes
3 years ago
dece
34f7ef0a95
browser: press r to reload page
3 years ago
dece
8830465fbf
history: separate smol module
3 years ago
dece
294c7796fa
browser: fix relative link issue
3 years ago
dece
657d46adc5
navigation: fix minor issues with URLs
3 years ago
dece
85570de5a8
browser: rename screen and handle quick commands
3 years ago
dece
15f56289b9
gemtext: handle list items
3 years ago
dece
4cb8ac11d6
protocol: fix requests to servers needing SNI ext
3 years ago
dece
b23e4a8d6a
screen: handle input request (code 10)
3 years ago
dece
5ef9a0430a
protocol: catch connection/SSL errors
3 years ago
dece
15037ec0a6
screen: fix looping history
3 years ago
dece
1d51a2ca40
protocol: support URLs with port specified
3 years ago
dece
8cfc266e48
page: tidy horizontal scrolling
3 years ago
dece
4d1cc5650f
gemtext: support metadata on opening fences
3 years ago
dece
a771667a54
screen: add basic history
3 years ago
dece
34780bdf5e
screen: link disambiguation, indent wraps, etc
3 years ago
dece
20bcdf9df4
rendering: clean a bit color attributes
3 years ago
dece
e6686265d7
screen: move some stuff in separate modules
3 years ago
dece
6d676d0471
init: basic protocol/nav/rendering
3 years ago