Commit Briefs

omar-polo

fix crash at strlcpy on macos



Omar Polo

delay erase_buffer until parser_init

The idea is to handle better non-displayable pages (like images), and keeping the old page until the server replies is the first step. It also simplifies the memory management btw.


Omar Polo

support xdg basedir

Use XDG-compliant paths unless ~/.telescope already exists. Provide a script to migrate to XDG-style directory for users who wish to do so.




Omar Polo

mention -C in usage()


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

reset download byte counter



Omar Polo

handle_maybe_save_page: prefill with the path

improve the download procedure by pre-filling the minibuffer with /tmp/<file-name>. At the moment ``/tmp/'' is hardcoded. Idea from a conversation with hurricane, thanks!


Omar Polo

gopher: don't skip the initial /

some gopher servers requires the selector to start with a slash. Or maybe it's the other way around, and some servers are too much forgiving.



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.