Commits
- Commit:
bf935370ba5b03432f48ab4d05d6dc74416a85a6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug history memory leak
when freeing a tab we have to release also its history.
- 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:
1040cc7fd1cf748a26766e65b2a2fde17e27310d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement persistent tab history
The session file is now overloaded with the history info, that means
that upon startup telescope can repopulate each tab history!
The price to pay is that one can't start an old telescope with a new
session file, otherwise will get a lot of fancy '<' and '>' tabs...
- Commit:
ea63925028272e2324146df682e86f4ca3c60a8c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify the lazy tabs handling
it's cleaner to just toggle the lazy bit in switch_to_tab instead of
pushing that complexity in load_url. While there also try to simplify
the function and its documentation from unnecessary checks and extra
verbosity.
This also fixes a bug where Telescope ended up pushing the url on the
history *twice* at startup.
- Commit:
f8c6e75351fd01dc58eabd367348ce79fe131193
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reuse struct session_tab when saving the session
- Commit:
bb28f1c2f6463f1e8881c90bb17a404cf7e5c3b7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move parse_last_session to the fs process
~/.telescope/session was parsed in the main process before dropping in
the sandbox: that's no good. This moves the initialization of the ui
events later in ui_main_loop and makes so that the fs process, after
entering the sandbox, parses and sends the content of the last session
back to the main process; when it's done the ui gets loaded and
telescope is back rocking.
I'm plannig to re-use the struct session_tab during the save session
operation soon.
- Commit:
fcd99a0d4765b480ed9fa260b253770a85313a1e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch to our new struct download for the downloads
- Commit:
b9fcc0e904dfa51639d0c1c94de7a7b864b9a72a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix build, missing include on fs.h
- Commit:
d09716535c4c4bc66f0d7c84a98e4cc5a5893b84
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a safe/sandbox mode
When enabled with the -S (or --safe) flag, prevent telescope from
writing files to the disk.
- Commit:
a18fc6de7bcd33fbb84dccc52a723b72028df366
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kill extra empty line
- Commit:
95a8c791ec85e7b79a1975e82a22f7c07dbb9107
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt (some missing space -> tab conversion)
- Commit:
87aeb47bc879e568cd50a97604ed6facf8ebdc5f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
schedule ui redraw on tab new/free
this helps to correctly manage the tab bar when tab-bar-show is 1.
- Commit:
1fce2e758fce1ba5d600301bb2b5fae29578adbc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move more stuff outta telescope.c