Commit Briefs


Omar Polo

style(9)


Omar Polo

improve crash detection

Create a file ~/.telescope/crashed on startup and unlink it on shutdown. If it's present on startup, it means that last time we crashed. It's like the ``dirty'' bit on filesystems to guard for unproper unmounts.



Omar Polo

simplify comment


Omar Polo

drop unused headers


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

improve gopher item type matching

URLs like gopher://example.com/1 weren't matched as type 1 before and worse, they weren't really loaded, even thought the spinner started (that's behaviour is from push_button). Now matching of items types is better and a (simple) error page is loaded on unknown types selector.


Omar Polo

don't mark about: pages as verified

Initially telescope only supported about:* pages and gemini, so it made sense to set TS_VERIFIED on about pages. Now, also various non-tls protocols and TS_UNKNOWN is used more, so is more coherent to use it also for about pages.


Omar Polo

handle file:// URIs


Omar Polo

add make_fs_request


Omar Polo

fix handling of query part in gopher URLs

The computed request was discarded because we passed `path' to make_request. Passing NULL here makes the net proc use our computed request string. There was an error in the computed request btw, where \r\n were strcpy'd instead of cat'd.


Omar Polo

new_tab: allow to add the tab after a current one

this allows cmd_push_button_new_tab to open the new tab right *after* the current one, instead that always at the end.