dece
347b5a81cc
browser: open editor to view/edit sources & pages
2021-04-16 19:30:33 +02:00
dece
bce65a1472
browser: minor fixes
2021-04-16 19:30:14 +02:00
dece
6bc4dbcc5d
metalines: split contents from rendering module
2021-03-28 18:57:23 +02:00
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!
2021-03-28 18:55:52 +02:00
dece
1f938fd2af
clean and fix minor issues
2021-03-28 18:28:54 +02:00
dece
bd7cfce520
browser: split in several files
2021-03-28 18:28:35 +02:00
dece
5b3e91336f
bookmarks: basic bookmark management
2021-03-18 01:56:24 +01:00
dece
d6bcd1f706
page: split page/page_pad modules
...
Also add title to Page but really this needs a big cleanup.
2021-03-18 01:55:31 +01:00
dece
40133a1e6b
browser: bypass cache when reloading, duh
2021-03-16 19:38:25 +01:00
dece
b508ab8128
navigation: add a "go to root" function
2021-03-16 19:38:11 +01:00
dece
cf6b67f78b
navigation: add function to go to parent URL
2021-03-16 19:12:28 +01:00
dece
5d1e13ea6a
rendering: add typings
2021-03-14 00:09:24 +01:00
dece
a37ed6f64d
page: add docs
2021-03-14 00:09:24 +01:00
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.
2021-03-14 00:09:24 +01:00
dece
fef350804c
browser: add a cache
2021-03-14 00:09:24 +01:00
dece
dd4a4196a8
mime: basic MIME type management
2021-03-14 00:09:24 +01:00
dece
2767402d9f
clean
2021-03-14 00:09:24 +01:00
dece
1ff23e58e8
tofu: fix bug in save_cert_stash
2021-03-14 00:09:24 +01:00
dece
05c54eff48
page: move page content to a separate class
2021-03-14 00:09:24 +01:00
dece
3d15074bdd
browser: clean
2021-03-13 20:38:56 +01:00
dece
33f215dd3e
browser: rework default movement keys
2021-03-13 20:38:56 +01:00
dece
bcc9a72d97
command_line: fix issue with digits input
2021-03-13 20:38:56 +01:00
dece
e517df7836
tofu: add save_cert_stash
2021-03-13 20:38:56 +01:00
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.
2021-03-13 20:38:56 +01:00
dece
83db26ada7
fs: add minimal module to get some directories
2021-03-13 20:38:56 +01:00
dece
1b8127eea1
add module docstrings
2021-03-13 20:38:52 +01:00
dece
89abbc6fd9
browser: show status line in italic
2021-03-09 00:44:54 +01:00
dece
2db721d48a
browser: capture C-c
2021-03-09 00:44:42 +01:00
dece
398f526b82
rendering: fix vspace issue with link/lists
2021-03-08 23:42:18 +01:00
dece
84221a7816
browser: handle local file:// URIs
2021-03-08 23:40:21 +01:00
dece
85934eedcf
rendering: show link preview after links
2021-03-08 22:30:39 +01:00
dece
d7a94650cb
rendering: do not crash on rendering failure
2021-03-05 19:28:56 +01:00
dece
524bda5b39
protocol: limit meta line length in request
2021-03-05 19:28:17 +01:00
dece
72111bce70
protocol: make connection timeout after some time
2021-03-05 19:27:42 +01:00
dece
62619f29fb
browser: quit with ":quit" instead of pressing q
2021-02-28 18:51:15 +01:00
dece
33b1e497af
browser: fix issue with relative redirections
2021-02-26 17:41:16 +01:00
dece
e7ef91ed9f
browser: use "p" instead of "H" for going back
2021-02-26 16:40:07 +01:00
dece
70cd3f6557
browser: basically handle HTTP(S) links
2021-02-26 16:40:07 +01:00
dece
03a51c13f5
browser: move faster using uppercase hjkl
2021-02-26 15:36:45 +01:00
dece
9f5cae5014
protocol: catch wrong URLs ending with bare colon
2021-02-26 15:36:02 +01:00
dece
ff49f0d17e
page: methods to go to beginning/end of page
2021-02-18 19:01:28 +01:00
dece
8fdf23689d
browser: minor fixes
2021-02-18 01:41:14 +01:00
dece
34f7ef0a95
browser: press r to reload page
2021-02-18 01:41:02 +01:00
dece
8830465fbf
history: separate smol module
2021-02-18 01:40:05 +01:00
dece
294c7796fa
browser: fix relative link issue
2021-02-17 01:31:24 +01:00
dece
657d46adc5
navigation: fix minor issues with URLs
2021-02-16 21:23:06 +01:00
dece
85570de5a8
browser: rename screen and handle quick commands
2021-02-16 21:22:49 +01:00
dece
15f56289b9
gemtext: handle list items
2021-02-16 20:23:44 +01:00
dece
4cb8ac11d6
protocol: fix requests to servers needing SNI ext
2021-02-16 19:10:32 +01:00
dece
b23e4a8d6a
screen: handle input request (code 10)
2021-02-16 19:10:11 +01:00
dece
5ef9a0430a
protocol: catch connection/SSL errors
2021-02-15 19:57:49 +01:00
dece
15037ec0a6
screen: fix looping history
2021-02-15 18:53:21 +01:00
dece
1d51a2ca40
protocol: support URLs with port specified
2021-02-15 18:52:37 +01:00
dece
8cfc266e48
page: tidy horizontal scrolling
2021-02-15 18:51:45 +01:00
dece
4d1cc5650f
gemtext: support metadata on opening fences
2021-02-15 18:51:07 +01:00
dece
a771667a54
screen: add basic history
2021-02-13 23:58:49 +01:00
dece
34780bdf5e
screen: link disambiguation, indent wraps, etc
2021-02-13 23:34:45 +01:00
dece
20bcdf9df4
rendering: clean a bit color attributes
2021-02-13 00:05:39 +01:00
dece
e6686265d7
screen: move some stuff in separate modules
2021-02-12 23:29:51 +01:00
dece
6d676d0471
init: basic protocol/nav/rendering
2021-02-12 19:01:55 +01:00