Commits
- Commit:
b59bcb53ccddc0a8f27813afbf127e54f554ae42
- From:
- Omar Polo <op@omarpolo.com>
- Date:
garbage collect `dequeue_first_download'
- Commit:
8115fd4a99b30c65da4fa4e88552b7aa36b71165
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reset all the state functions regardless of MB_READ vs. MB_COMPLREAD
must_select otherwise is set when MB_COMPREAD but not cleared on
MB_READ, yielding funny errors. While here, move also the other parts
of the state out of the if (MB_COMPLREAD) to avoid this kind of issues
in the future.
- 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:
ff48dbfd84e86f5a720e9400a7acb53fe3b9393b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix handle_save_page_path
there's no need to handle the buffer case, which is now handled directly
by write_page. While here fix an issue if the open fails: we still need
to stop the tab!
- Commit:
3e36ea51f650498b743754daa74d4aa039129956
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unbreak history file
I can't use the ""generate temp file + rename" trick used for the
session file, because I only add items that are not "dirty".
the history-on-disk things needs some improvements, mostly to limitate
the size of the file, but for the time being unbreak it!
- Commit:
154fe22a526e064cce847afa71d8c833a008bd7d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add forgotten include for string.h
- Commit:
d89eb764fd5d3a5ec0b5b30d85ecdc14789bb7cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace has_prefix with strncmp
- Commit:
64f4f8e21263a2ffeede63a19bbb28c897a90f2a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move load session stuff to session.c
- 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:
21268f10931a6c0ffd0b919e093a43dc31d86bb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
constify
- Commit:
486bde7d965b776a646acd77807b514f3e16537c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move bookmark_page off fs.c
- Commit:
281b8b39d3f344573f3d0f575cb3f381c5f86950
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
de6a6a402e45970c4b6d65778efc2e990c4a78a4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
generate session/history_file atomically
if an i/o error occurs while writing those files, they may end up
being corrupted or truncated. Use the approach already used for tofu,
write a temp file and rename(2) it to the correct position.
- 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.