Commits
- Commit:
1bcb8303e1b913df31980ca332a5619424a72b01
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move load_page_from_str to telescope.c
I'd like to use parser{,_gophermap,_gemtext}.c in standalone testing
programs, and this function is getting in the way since it depends on
ui.c
- Commit:
069c9a92f36df9d307d734ffa8903035c7181129
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parsers: add serialize function
Add a parser_serialize function and an optional function `serialize' for
parsers. The default implementation just prints the text line, which is
suitable for parser_textplain and parser_textpatch; gemtext and
gophermap uses their own specific unparse functions.
This is intended for an incoming cache refactoring: we'll cache the page
serialized in the correct format, not once it has been translated to
gemtext. This will allow in the future to provide commands such as
``save page to disk'' or interface with an on-disk cache.
- Commit:
1fce2e758fce1ba5d600301bb2b5fae29578adbc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move more stuff outta telescope.c
- Commit:
ba49fdf91d954e8173e65ade03d58ea09accd8ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
colorize text/x-patch
- Commit:
8c1b0837f83e214cf4d8a02eb548a8061eaa0d0f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify parsers api; use domain name if no title
- Commit:
81839fee39ad184c28b20b13297027be9d10f200
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial gophermaps support
- Commit:
7527561b1106e58c4f926b259d87fd4e55d6be70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
complete hte rename
- Commit:
395b9f4e3ca29a4a162e3ce47a1bd9db738ff5a1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move parser declarations so parser.h