Commit graph

17 commits

Author SHA1 Message Date
dece 440f6357d8 page: docs 2021-05-29 01:15:04 +02:00
dece 2d493af64b preferences: basic per-capsule preferences
For now only a per-path render mode is available.
2021-05-29 01:13:43 +02:00
dece 1468e6ef10 page: add a dumb rendering mode
Dumb mode affects Gemtext parsing (gotta keep those empty lines) and
rendering (render empty lines, do not attempt to put smart margins).
2021-05-28 13:34:08 +02:00
dece 4738e495b2 browser: add command to show page info 2021-05-24 20:09:34 +02:00
dece 3a818812a9 config: add config management
A config file is now created and used, and a few hardcoded things in the
source have been moved to the config file \o/
2021-04-18 14:17:20 +02:00
dece b2fdabea71 linting 2021-04-17 22:02:29 +02:00
dece f3a3a36039 browser: render all "text/*" Gemini responses 2021-04-16 19:56:56 +02:00
dece 347b5a81cc browser: open editor to view/edit sources & pages 2021-04-16 19:30:33 +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 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 a37ed6f64d page: add docs 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 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 1b8127eea1 add module docstrings 2021-03-13 20:38:52 +01:00
dece ff49f0d17e page: methods to go to beginning/end of page 2021-02-18 19:01:28 +01:00
dece 8cfc266e48 page: tidy horizontal scrolling 2021-02-15 18:51:45 +01:00
dece e6686265d7 screen: move some stuff in separate modules 2021-02-12 23:29:51 +01:00