Commit Briefs

Omar Polo

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)


Omar Polo

add a safe/sandbox mode

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



Omar Polo

move more stuff outta telescope.c



Omar Polo

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.


Omar Polo

add has_suffix


Omar Polo

add IMSG_GET_FILE imsg type


Omar Polo

fix redirect & history

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



Omar Polo

colorize text/x-patch


Omar Polo

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.


Omar Polo

initial gopher support


Omar Polo

sort


Omar Polo

bundle the struct proto in telescope.c

it's unused in other parts of the codebase