Commit Briefs

cf95173b7d Omar Polo

tag 0.8 "Le Scarpe Volanti" (tags/0.8)


a2ad59354c Omar Polo

no aarch64 binaries this time


c6da5dc9e0 Omar Polo

[html] changes for 0.8


e41dfd60b4 Omar Polo

typos


2c3c9afd20 Omar Polo

mention the codeberg mirror


99a9bb37a0 Omar Polo

changes for 0.8

and drop every mention of GPG...


5848a303f6 Omar Polo

disable landlock

it's currently unused (the net process unfortunately can't sensibly make use of it: breaks the DNS...) In the future I'd like to move the parsers in their own (sandboxed) process, so don't delete the landlock code yet.


a24289b534 Omar Polo

typo


59b2344e6f Omar Polo

add a simple test for the text/gemini parser too


0180fcdd5a Omar Polo

fix parser test after parser_serialize changes


7ef6ceef43 Omar Polo

fix possible NULL deref on gophermap' serialize_link

it's just a typo: instead of looking for the end of the string pointed by path, if look for the end of uri. reached that point, path is NULL. reported by a gcc 11 warning: "argument 1 null where non-null expected"


4aadc3984f Omar Polo

add the prototype for scan_scaled too

in 0677399e i've re-added scan_scaled even if unused to reduce the diff with /usr/src. This causes a warning on platform that lacks that functions (everything not OpenBSD) because its prototype is missing.


5edd158f8d Omar Polo

don't include linux/prctl.h

can conflict with sys/prctl.h, spotted while trying to build on alpine linux.


5bd159bd7f Omar Polo

don't allow the history to grow too much + save_session refactoring

add a mechanism that will signal a regeneration of the history file once it reaches the 150% of the HISTORY_CAP. while here refactor save_session, now it's somewhat readable.



d521a6a441 Omar Polo

fix regression: open the url given on the command line

was broken after the fs/ui merge


94e6f532e4 Omar Polo

minor tweaks


0e7b2e99bc Omar Polo

rate-limit the update of the download pane


89e4650865 Omar Polo

unbreak downloads

the recent commit to rework handle_save_page_path changed the tab id *before* setting it to the download, so the ui and net process went out of sync and downloads hanged.


b59bcb53cc Omar Polo

garbage collect `dequeue_first_download'


8115fd4a99 Omar Polo

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.


fd984e767a Omar Polo

drop the `buffer' flag for enqueue_download

it's unused as write_buffer now writes a buffer to the disk.


ff48dbfd84 Omar Polo

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!


3e36ea51f6 Omar Polo

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!


154fe22a52 Omar Polo

add forgotten include for string.h