Commits


move declarations from telescope.h in fs.h and while there also publish various path. It's easier and better to have all of them exported from here instead of hardcoding them in other files (such as sandbox.c)


add a safe/sandbox mode When enabled with the -S (or --safe) flag, prevent telescope from writing files to the disk.


add some heuristics to interpret user-provided URLs


move more stuff outta telescope.c


move load_url_in_tab, switch_to_tab, new_tab{,_id} to telescope.c


add autosave timer for the session This is achieved by calling `autosave_hook' in interesting places, like new_tab or free_tab. It'll set up a timer to later persist the session. This is particularly useful to avoid loosing tabs on the event of a crash or unexpected system halt, or other similar event.


add has_suffix


add IMSG_GET_FILE imsg type


fix redirect & history the reload command doesn't push the current url to the history anymore.


initial support for gopher item type 7


colorize text/x-patch


fix bufferevent tls I/O on libevent2 on libevent2 we need to wrap evbuffer_add with evbuffer_freeze/evbuffer_unfreeze. Not sure exactly why, probably because we're doing some evbuffer_enable/disable/enable-again. Retain compatibility with the custom libevent1 in base on OpenBSD.


initial gopher support


sort


bundle the struct proto in telescope.c it's unused in other parts of the codebase