Commits
- Commit:
4fa88f57fead5f472c4bbd60c65d70d884ccd6ee
- From:
- Omar Polo <op@omarpolo.com>
- Date:
merge tofu_add and save_cert into tofu_save
- Commit:
486bde7d965b776a646acd77807b514f3e16537c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move bookmark_page off fs.c
- Commit:
f63b8f7342aefba6b3dac50d6790981987c8faa8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
merge the fs into the ui process
The previous separation between the fs and ui process wasn't that good.
The idea was to have a `ui' process tightly sandboxed, but it was a lie
actually. `ui' was one imsg away from making internet connections and
accessing data on the disk, so it wasn't really limited in (almost) any
way.
Furthermore, having to serialize data to/from the fs proc started to
become not really maneagable.
As a first step to fix this situation, join the fs and ui process.
- Commit:
022fdfc9d34f3f8c3c6d334af7615eda1b8170ef
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style
- Commit:
0110411e1e32fa44d6e086f652dac916fc8707cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
partial revert of "abstract over evbuffers"
partial revert of commit d54dd8160b88709f3d243e1410a781e5de7fc187. We
don't really need an abstraction over "printf-like" things. I can
just use plain old FILEs. open_memstream (which conforms to POSIX.1)
is what I should have used from the beginning in my mcache
implementation.
- Commit:
868b3a8f52ea2f90a1965661798d977d307e3b38
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add write-buffer
saves a page to the disk. Also, changes the order of the downloads so
the new one is always at the top.
- Commit:
9e97090d644b51c0cb6e049e8c777139b18457fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
persist list of visited URLs to the disk
Persist a generalized history of visited URL in history_file and try to
keep it in sync during telescope usage and shutdown.
- Commit:
0d877486d2b85f6e333e50765e1f2cf8119da67c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
const-ify some tables
- Commit:
4cf6ba137fc2ca92f3066c390b89542d88735ef6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remote open: open an url into telescope from outside of it
if telescope is started with an url while there is already another
instance of it running and the -S flag is not provided, the link will be
automagically opened into the running instance of telescope.
Telescope now listens on a UNIX domain socket in ~/.telescope/ctl (or
~/.cache/telescope/ctl if XDG is used) for commands.
- Commit:
acf9defe6aa430581cda55be848d06c76da738ad
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make `reply-last-input' work on gopher too
- Commit:
ed504b9e1a0307a13e869cb3296f07ec072dae42
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reply-last-input: reply input requests on demand
Telescope now remebers the last URL (per tab!) that replied with
1X (input request.) The new command reply-last-input allows to
resend a query to that URL.
It's particularly useful with capsules that make a heavy uses of
10 replies (search engines or similar, interactive pages, etc)
because it both saves a network roundtrip and the user from looking
for the "search" link all across the page ;-)
idea from a conversation with thfr@, thanks!
- Commit:
693188cbff678ee0934f5fe5da91365614864888
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ui_require_input: take a fn pointer instead of the protocol number
- Commit:
1bcb8303e1b913df31980ca332a5619424a72b01
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move load_page_from_str to telescope.c
I'd like to use parser{,_gophermap,_gemtext}.c in standalone testing
programs, and this function is getting in the way since it depends on
ui.c
- Commit:
bf5b33f40e876afe41fd486ff5d3eb182dfaf046
- From:
- Omar Polo <op@omarpolo.com>
- Date:
correctly save scrolling position
Before we didn't save the scrolling position before a refresh
(nohist=1) and that's annoying. This saves the scrolling position
only in the correct case, which is when changing from a page to
another, expect when switching to TAB_LAZY off.
- Commit:
fb8dcd1c494b0339067ca13f5bfc8ac8a1a43114
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move TAB_LAZY flipping from switch_to_tab in load_url
load_url needs to know when a tab passes from lazy to not lazy to
correctly saves the scrolling position (see follow-up commit.)