Commits
- Commit:
2f51c5bdf3c4439827e2c4ff210bcc440c95fda2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move defaults.c prototypes in defaults.h
- Commit:
25905047961cd12825ada96af1c8e155b4da3814
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert the remainig uses of phos_uri to the iri API
- Commit:
449ea6fe32441d2fd3875c5eee5d0c77800cfa7d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
apply load-url-use-heuristic for command line arguments too
This semplifies a bit the handling. humanify_url() now takes the base
URL which we can then use when not using the heuristics.
Command-line arguments now take an implicit base of <file://$PWD/>
when the heuristics are disabled, so that foo.gmi resolves to the
local file even without <./>.
See github issue #10.
- Commit:
cd1d043db84e31534151a1db0dd47b5a1f201b5e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make do_load_url and friends return void
The 0/1 difference was once important since it would give the caller
an idea whether the page was loaded immediately or asynchronously.
This doesn't matter anymore.
Furthermore, this whole family of function can't really fail (as
telescope doesn't handle memory allocation failures gracefully.)
- Commit:
cf8fcf6437e729c6de0cd278af49a70535cd81be
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make clear to which struct every L_* flag is supposed to belong to
- Commit:
bd4a08a74023593128f1f6fac9e0f4a093a8441f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
start to refactor the rendering
Previously each vline (visual line) had a full copy of its associated
string, this changes it so it only slices a part of the parent line.
Reduces significantly the memory usage.
This actually worsen the emojify-link glitch reported by Freezr after
the some recent refactoring in the wrapping code. Not a big deal since
I'm about to restructure the whole rendering bit by bit (hopefully!)
- Commit:
6b91e1041d28dd381315414c359c84c2d1fa2d93
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove wrap_one, use an extra parameter for wrap_text
- 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