Commits
- Commit:
d5e0ee089932fa61ce56746c09c77019353d5614
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use libgrapheme for text reflowing
unlike the previous hack, libgrapheme is UNICODE 15.0 compliant (at the
time of writing) and provides some nice API. While here, drop the hard
wrap method for preformatted blocks: always use the normal wrapping.
Since libgrapheme is not yet widely available, future commits will
probably add a bundled version to ease packaging. I'll also start to
replace various home-grown UNICODE/utf8 handling routines with functions
from libgrapheme.
- Commit:
2534e4d5e993e0f9f72955e001f2ecd5753ddf23
- From:
- Omar Polo <op@omarpolo.com>
- Date:
garbage collect even more IMSG types
these are unused after the fs/ui merge.
- Commit:
c6e37ffde911f0a5e1a09ff309d347497c7a1d2e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/IMSG_GET_RAW/IMSG_GET and gc unused IMSG_GET_FILE
- Commit:
b59bcb53ccddc0a8f27813afbf127e54f554ae42
- From:
- Omar Polo <op@omarpolo.com>
- Date:
garbage collect `dequeue_first_download'
- Commit:
fd984e767a8e0e4978cfe072899282a8265a911e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop the `buffer' flag for enqueue_download
it's unused as write_buffer now writes a buffer to the disk.
- Commit:
3078e1bc2a28ec8a601f3880af32291ca7119434
- From:
- Omar Polo <op@omarpolo.com>
- Date:
merge update_cert and tofu_update into tofu_update_persist
- 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:
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:
d54dd8160b88709f3d243e1410a781e5de7fc187
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parser/serialize: abstract over evbuffers
the serialize "method" will soon be used in other context where using
evbuffers would be awkward. Introduce a small abstraction over it: a
printfn (print function) fprintf-like.
- 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:
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:
7018345e07c0a8b71442b79572da308c75f7cd02
- From:
- Omar Polo <op@omarpolo.com>
- Date:
copy^W add IMSG_DATA_SIZE too