diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-06 05:19:46 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-06 05:57:34 -0300 |
| commit | 7ccbb0fa852e327b6663ba933f134d5013484007 (patch) | |
| tree | ca1350de4ccf2b81e1cd9f8a36dcd6e2a2451e6c /docs/shared-libs.md | |
| parent | df565b90c77608548de73d179c0982cd8fd74499 (diff) | |
| download | pardes-7ccbb0fa852e327b6663ba933f134d5013484007.tar.gz pardes-7ccbb0fa852e327b6663ba933f134d5013484007.zip | |
kinds #11, the docs: reference.typ's Addons section says pictures are an addon (addons/image/image.c, its formats and 1280-pixel cap, installed as <prefix>/lib/pardes/addons/image.so, an image file text without it), a job's allocations and /addons with no `static`; install.typ (in the setup) says the build installs image.so and a pardes without it shows image files as text; shared-libs.md says what left the binaries and the second decoder a process holds with image.so; the changelog one line
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'docs/shared-libs.md')
| -rw-r--r-- | docs/shared-libs.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/shared-libs.md b/docs/shared-libs.md index fe6c5018..70e585b3 100644 --- a/docs/shared-libs.md +++ b/docs/shared-libs.md @@ -21,6 +21,17 @@ a second FreeType (tools/shared_libs_check.zig). It counts static functions too, and several functions per family, because a release build inlines some of them. +## Image panes became an addon (2026-11-06) + +`lib/pardes/addons/image.so` (addons/image/image.c) decodes image panes with +its own stb_image, PNG, JPEG and inflate included: the binaries keep none of +stb_image but its resize (a kitty PNG's downscale; the decoder and the writer +are patched out of zstbi.c), and a kitty `f=100` PNG is wuffs's alone. A +process that loads image.so holds a second PNG and JPEG decoder and inflate +beside wuffs and zlib: a library apart, outside this policy's reach (it links +nothing of the binary), and allocating through pardes's arenas and job +buffers, never its own malloc. The rows below are the binaries before it. + ## Inventory (ghostty 1.4.0, 2026-10-28) Sizes are function bytes in the ReleaseFast symbol tables (`nm -S`). The tty |
