Commits
- Commit:
eeebca225c95bf47ffc0c201333434720529d567
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add cache-info
- Commit:
befa807e5bfef47c79310f7ab3b7038042a49ee8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cache: keep track of the total size and number of cached pages
- Commit:
ffcd827cfe2431a4f2ba116bc00b205d12cdf6df
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mcache_tab: free previous copies of that page
- Commit:
c553191ed9d1aa9c51b3617893fc11019635c3cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename util.c -> utils.c for consistency
- Commit:
9d65b1d9ae3209a8a2bc8e8c376dede4f71290ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move util.c declarations in utils.h
it's not spelled `util.h' because otherwise it'd get included instead
of /usr/include/util.h
- Commit:
036c104e0d5b8758a8cf72c9085af23956fdfa6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
de-duplicate hash_* function: collect them in util.c
- Commit:
4e3871f5a61f3d1781f0e1b273ab3c7eeb9924f7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
save parser name across mcache_tab/mcache_lookup
- 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.