Commits
- Commit:
eeebca225c95bf47ffc0c201333434720529d567
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add cache-info
- 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:
05de8ac36a0646bbcf74d36b25b96244ac1290ff
- From:
- Omar Polo <op@omarpolo.com>
- Date:
append killed tabs when parsing session to preserve the order
The other option, less intrusive, would be to send the killed tabs
in reverse order, but it'd seems strange when looking at the session
file otherwise. So, add a `append' flag to kill_tab to optionally
append the killed tab instead of pre-pending it.
- Commit:
6c74799d01bfb8706f1972917da936fc2eee66da
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow to re-open closed tabs
Save closed tabs to a "killed tabs" queue, for up to a max of
"max-killed-tabs", and allow to re-open them. Keep the tab history
but not its content.
This integrates nicely with the session file, just add the "killed"
flag as alias for TAB_KILLED and put it in the ktabshead queue upon
initalization. It's thus possible to re-open closed tabs even after
telescope has been closed, and tabs keeps their history!
Add a new cmd, cmd_tab_undo_close, to try to re-open the most
recently closed tab and bind it to `u'.
While here, add a TODO for the tab history memory leak.
- Commit:
5b3e45c115c5ee6143d5a16ba83c87da3c9903f8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
yornp before quitting
- Commit:
16578ca54ffdaeb1dbb244f6577b18c9f52f8c03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
de-quirkify execute-extended-command
On RET, execute the command on the selected line rather than what
the user typed. This saves a TAB (to expand the entry) and is more
in line with the other completion commands.
- Commit:
3b5f459ef42c1d975ca5f15ed6402b5658f779f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add side window for downloads
- Commit:
95a8c791ec85e7b79a1975e82a22f7c07dbb9107
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt (some missing space -> tab conversion)
- Commit:
0e2ac86488b43d8dbe6ccf38221d6ca9d47a2dbc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
c6efff9689c26914de162ab1aee8fd362335d726
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add some heuristics to interpret user-provided URLs
- Commit:
1fce2e758fce1ba5d600301bb2b5fae29578adbc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move more stuff outta telescope.c
- Commit:
32ac17a4ea1ad4c2f9e8c8d78dd5738958883291
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace TAILQ_EMPTY/INSERT_HEAD/TAIL dance with a single TAILQ_INSERT_TAIL
Now that all the queues are correctly initialised, there's no need for
that dance.
- Commit:
55eb4d95383ce078ff680fc9c145359cc030b407
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
bc55cdb9b8678689c6f39504ccf17cf1d0f943d5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix redirect & history
the reload command doesn't push the current url to the history
anymore.