Commits
- Commit:
8f3c9af8369ac653695ca22777db99bfa1162cfe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify the caching API
- don't expose the evbuffer where we store the cached page
- cache to/from tabs instead of buffers
- Commit:
5df02e0d8d9027c56450c94857949b3826454369
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix start_loading_animation usage
the idiom
if (load_next_page(...))
start_loading_anim(...);
is fundamentally wrong because `load_next_page' (or previous page, or
anything else that call into load_url) *may* load all the page before
returning (thanks to the cache, but not only, cf. load_page_from_str.)
Instead, let's call start_loadign_anim at the start of make_request so
it's always called in the right moment. Cache and other special pages
don't end up calling make_request anyway, and we already call
stop_loading_anim when a request finishes (or fails.)
move start_loading_anim up in make_request.
- Commit:
ed21a9a1021f38c009ef8a0ea6049587e3b4373b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide a way to bypass the cache
This changes the last argument of load_url to be a `mode' bitmap
instead of a boolean ``nohist''. LU_MODE_NOHIST is the old 1,
LU_MODE_NONE is provided just for readability and the new LU_MODE_NOCACHE
allows to bypass the caching when loading a page.
Telescope only uses the cache when:
- re-opens a closed tab
- navigates backward and forward in the history
All other situations result in the usual network request.
- Commit:
dc8e7bf65a6ca6deb0e7dec7ebcf22286604c321
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cache only gemini:// and gopher:// pages
- Commit:
d5af38ccfe6c94218f4d7ab8d6aaf382e7dede80
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an in-memory cache store
see github issue #1
- Commit:
993a25fc802b17b5bdbb938e8f0d7f5332ada6eb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fringe-ignore-offset is already at its default
- Commit:
393dc10ebecd2570c77774b8a45cef99c9e71f6c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
document fringe-ignore-offset
- Commit:
17e293f06c6d18b952a5746a9f911a083e32c81c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify the fringe vline
print_vline can handle a NULL .line, so I can avoid the long comment
and the ugly cast.
- Commit:
a84823049dbae06c858a9104a8cbe6f7e9f4a34d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change fringe defaults: always enabled and ~ as prefix
- Commit:
b9a2811a024cc0ab304ff3e15d96373c2732d71b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
setup a fringe in the provided themes
- Commit:
cd2d79cc0878a431f67576968b42beaaebbb4a77
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tweak the about:new page
- Commit:
00e78b392d4d189d73ea97006a7c6cdf5006504f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
28cfdf8ff8b69c0baf35b300d8c4c88f1c0d9007
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add fringe prefix and allow to override offset for fringes alone
- Commit:
0bffd56d41ce3f26974c254c4f9688b28dff5581
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
d3b39b65197b8dea594f7c8178fca70b15d70bf7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
document the `line.fringe' style identifier