From 7ccbb0fa852e327b6663ba933f134d5013484007 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 05:19:46 -0300 Subject: 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 /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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- docs/shared-libs.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/shared-libs.md') 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 -- cgit v1.3