summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* replica: a trace line with the tapes it describes is one trace(), where four ↵Gabriel Schneider12 days
| | | | | | | places each built a writer, described and printed under their own PARDES_REPLICA_TRACE test Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* replica: a session's socket writes and refusals are daemon's writeAll and ↵Gabriel Schneider12 days
| | | | | | | refuseReplica (its words clamped as the daemon's were), where replica.zig kept copies of writeAll, nosignal and a refusal of its own Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* daemon: every slot polls in a place of its own (an empty one's fd -1, which ↵Gabriel Schneider12 days
| | | | | | | poll passes over), where serve packed the live fds each pass and kept three maps back to their slots Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* processes: small ones (main's version text from upgrade.version_line and ↵Gabriel Schneider12 days
| | | | | | | waitForDel's unused io; daemon's find returns null with its words, drop takes the slot alone, send, recv, Got and setName are private; replica's Joining is the daemon's and PARDES_REPLICA_LAG_KB, which nothing sets, goes; host_io's dead line variable; Handover's own readdir is std.c's) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* Store: dropPending takes no allocator and forget calls it, an x record is ↵Gabriel Schneider12 days
| | | | | | | parsed by one parseReopened for apply and compact, a test's dead variable goes, and host() is tape.out, now pub, by name Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* replica: nowNs is FrameStats.nowNs by name, not a wrapper, and a test's dead ↵Gabriel Schneider12 days
| | | | | | | variable goes Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* wire.zig: comments that told of server.zig, client.zig, a hello's cols and ↵Gabriel Schneider12 days
| | | | | | | rows and six deleted tags go, and the tag-byte test no longer claims 0x1e free (it is focus) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* replica: readStream, which nothing calls, goes, and readFramed, used once, ↵Gabriel Schneider12 days
| | | | | | | is inlined in Peer.readLoop, its framer freed before the peer is said gone Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* rollback tests: the two tests of a view's slot (live, and drawn outside a ↵Gabriel Schneider12 days
| | | | | | | step) are one over both cases, where each spelled out the same body; it skips when the heap hands either case another chunk Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* replica tests: screensTo and fillTo go, each deliver(.flush) or ↵Gabriel Schneider12 days
| | | | | | | deliver(.fill) with the sizes given after, as deliver already did Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* host_io: procPgrp reads parseGroupSession's group, parsePgrp (the same parse ↵Gabriel Schneider12 days
| | | | | | | without the session) goes and its test asks parseGroupSession; reapExited and exitStatus decode a wait status with one statusOf Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* host_io.writeFd writes a shell's staged rc, an Upgrade's dump and a tape's ↵Gabriel Schneider12 days
| | | | | | | buffer, each of which looped over write by hand (the tape's gave up at an EINTR) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* main: --9p-quic goes (its help line, its parse and its refusals; QUIC leaves ↵Gabriel Schneider12 days
| | | | | | | the build), and --tty-toggle and --tty-toggle=<k> are parsed by one branch; flags.zig's QUIC rows go, and quicIncluded says a pardes with no --9p-quic serves none Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* main: every refusal on stderr (pardes: <words>, exit 1) is one die(), where ↵Gabriel Schneider12 days
| | | | | | | badArgs, three Say structs, Refuse.with and four inline copies each formatted and wrote it Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* wire.zig: the replica's wire codec moves from src/detached/, a directory of ↵Gabriel Schneider12 days
| | | | | | | one file since the phase 3 frontends went, to src/wire.zig; its imports and the paths that name it follow Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* daemon: what a stub is told (detached, exited, refused) is one ↵Gabriel Schneider12 days
| | | | | | | daemon.tellStub(fd, fmt, args), where tellDetached, tellExit and refuseStub each formatted a word into a buffer, wrote it and closed the pipe Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* upgrade: an Upgrade's dump and exec are upgrade.dumpInto and upgrade.execAs, ↵Gabriel Schneider12 days
| | | | | | | which the terminal's and the window's upgradeNow each spelled out (the dump's path, the dump, its write, the old binary held, the daemon told, 9P flushed, the exec and what a failed one undoes); the dump is freed with the core's allocator, which made it, where each frontend freed it with its own after a failed exec (a panic there, never reached); writeDump and openSelf are upgrade.zig's own now Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* replica: a client's join, the terminal's and the window's alike, is ↵Gabriel Schneider12 days
| | | | | | | replica.join (the session dialled, its build checked, its dump loaded and checked, or joined again for its view once its link ends, the core it leaves held meanwhile), where tui.zig and gui.zig each spelled out the dial, the check, the load, the redial and their timing; Link.reset takes the join, and Link.load, Link.joinedAs and Link.redial go Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* replica: the timing samples (each speculation, copy, rollback and terminal ↵Gabriel Schneider12 days
| | | | | | | delta a client applies; each input, boundary and join a session steps) are kept only when PARDES_REPLICA_STATS reads them or an in-process harness does: a session or a client attached for days grew them a word each, without end Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fs: find_max_hits, find_max_depth and grep_max_files go, unread since Find ↵Gabriel Schneider12 days
| | | | | | | and Grep moved to the disk engine's worker (the note above them said as much); Tables: the timing test behind TABLES_TIMES goes, as the query, stream and grep ones did (a benchmark inside a unit test, its numbers in docs/next-tables.md as they are) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* the four gui unit tests that failed on the base pass: the behaviour tests ↵Gabriel Schneider12 days
| | | | | | | allow the window's own rows (/status ends in `pointer in|out` on a window; a bare setting word moves a setting, a toggle to its other side and Lift, Crt or ShaderAnimation to their next state, and Shader and Pet, whose off means no file and no pet, take a name, not a flip); the tagline pointer-mapping test puts the workspace tag's text TAG_TEXT_INSET cells in, as it is drawn; the caret test that grew a tag past a row's end goes, as a tag wraps onto rows (up to MAX_TAG_ROWS) and no caret is past one Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* after the merge: the window's frame probe follows a Restore's new core (it ↵Gabriel Schneider12 days
| | | | | | | pointed into the freed old one, so every frame after a Restore wrote freed memory); ov_pinch_scale and ov_touch_scroll_delta go (nothing wrote them once the pinch and touch_scroll events went; the Debug box loses its two dead rows, topbarexec and windowops regenerated alone and re-run); the perf baselines are named tui, as the frontend is (the perf gate had looked for perf-baseline-tui-*.json and found the tty-named files) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* pardes: a new panel's frame zero and the tagline band offsets are tested at ↵Gabriel Schneider12 days
| | | | | | | the end of pardes.zig, where both are written, so the tui runs them too (they ran in gui.zig alone) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* host_io.Inbox's own tests move from gui.zig to the end of host_io.zig, where ↵Gabriel Schneider12 days
| | | | | | | the tui's unit tests run them too (they ran on the window's alone): a completion through a full output queue, the two PTY backpressure cases, the EOF reserve, the completions' order and reset, and the LSP query; PtyTests is host_io's, its waitBlocked pub for the gui test that still waits on a blocked reader Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* draw, gui: a tag caret's span is one Layer.caretSpan (past a full row's end ↵Gabriel Schneider12 days
| | | | | | | it sits at the tag's right edge, where the grid's is clamped), which the core's focused cursor box and the window's caret both take, in place of the rule written in each with a comment pointing at the other Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: one clipInstance cuts a quad to a pixel rectangle and its atlas window ↵Gabriel Schneider12 days
| | | | | | | in proportion, which for a glyph's 1:1 quad is the per-texel cut it made before and for a stretched band's the right one, in place of clipInstanceTop, clipInstanceRight and clipBodyInstance; a body layer's quad wholly past its bottom is empty where clipBodyInstance turned it over Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: one emitScrollRows draws a scrolling body's shifted rows, a glide's and ↵Gabriel Schneider12 days
| | | | | | | a touchpad's fraction alike (the rows the scissor shows, the caret a touchpad's block carries, then the gap: the glide's kept rows or the touchpad's one edge row), in place of emitGlideRows and its twin Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: a closed shell goes to host_io.retireShell as the tui's and macOS's do, ↵Gabriel Schneider12 days
| | | | | | | the window's own retired list gone (its slots, the reap on every spawn and reconcile, the loop's 16 ms poll while one waited); exit now waits out a shell's 100 ms grace (host_io.waitRetired) where it killed it at once, so a shell that saves on its hangup gets to, and one that ignores it is still killed and reaped before the window exits Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fonts.zig's comments keep their whys and lose their history (max_fonts at ↵Gabriel Schneider12 days
| | | | | | | 512, the Zig 0.16 move, the flake a shared scratch path once caused), and the module doc names its readers: Output.zig's picker, exec.zig's Font, the windows' fallback faces Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: gripDecor draws a grip's mode bars from its first row without a loop ↵Gabriel Schneider12 days
| | | | | | | over the rows it skipped, Post's vignette ceiling is shadowCeiling's (the same sum), ShaderBuild drops expand and a Wake struct whose ctx was never set, and ShaderBuild's and Post's headers say an attached window runs the bundled passes alone (no SPIR-V travels the wire) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the test feed reads its ESC]777 events through one prefix and keeps one ↵Gabriel Schneider12 days
| | | | | | | cut short for the next read whatever its kind (a split view; one was handed to vaxis's parser before) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: PARDES_SDL_PRESENT, PARDES_SOFT_PRESENT and PARDES_TEST_FONT_SCALE go, ↵Gabriel Schneider12 days
| | | | | | | knobs no test and no doc names: the present mode is still the first of immediate, mailbox and vsync the window takes, and a soft present still comes of a transparent window or a refused claim Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the input's core and the frame's are never null (every Input is made ↵Gabriel Schneider12 days
| | | | | | | with one, both renderFrame callers pass one), so Input.core, renderFrame's, buildOverlay's and the pointer mapping's lose their optionals, and wheelAt its no-core branch Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: a pty slot never holds a closed fd (closePty empties the slot in every ↵Gabriel Schneider12 days
| | | | | | | path), so the fd guards on it, its kill_at, reap's pass over the ptys and shutdownPtys' kill of ptys stopPtys has already emptied go Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the page is its colour, a [3]u8, not a Ground whose clear was never ↵Gabriel Schneider12 days
| | | | | | | true (WindowOpacity is a uniform now), so the transparent clear colour and the clear_bg tracking in resolveCell and emitInstance go; the concealed-text test keeps its one real case Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: an instance's transition fields are written once: emitInstance no ↵Gabriel Schneider12 days
| | | | | | | longer spells out the defaults CellInstance already has, and setTransitionFields with no track leaves a new instance as it is instead of zeroing it again Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: dead declarations and one-line helpers go: setenv, Msg, MessageBatch, ↵Gabriel Schneider12 days
| | | | | | | the topbarPaneBorderPixels alias, blink_redraws (counted, never read), wakeSdl (sdlWake again), anchorInset, bodyLayerAt, addChecker, guiFontName, handleFinger's forward to handlePairFinger, and a test of std.AutoHashMap Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: a pointer event or the gamepad puts the pointer through one pointAt ↵Gabriel Schneider12 days
| | | | | | | (where it is, and the cell under it), and its moves are posted through pointerMouse rather than spelled out three times Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: mouseCell returns the cell, never null (a window point maps to the grid ↵Gabriel Schneider12 days
| | | | | | | since no post pass moves one), so its nine orelse branches go, and pointer_mapped, which then always equals pointer_present, with them Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the capture and the soft present copy the frame down through one ↵Gabriel Schneider12 days
| | | | | | | downloadTarget, each still submitting and timing its own wait Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the cells' and the images' instance buffers grow by one growInstances, ↵Gabriel Schneider12 days
| | | | | | | the images' made on first need as the cells' are rather than at start, in place of ensureVbuf and ensureImageBuffers Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: one texture2d makes every 2D texture, the atlas, an image's, the scene, ↵Gabriel Schneider12 days
| | | | | | | the capture and the post chain's ping-pong and bloom ones, in place of six fills of the same create info Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: one makePipeline builds every pipeline, the cells', the decor's, the ↵Gabriel Schneider12 days
| | | | | | | overlay's, the images' and the post chain's, from its two shaders and its vertex input (none for the post chain's triangle), in place of four copies Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* the pinch and touch_scroll events go: the window and the web page sent them ↵Gabriel Schneider12 days
| | | | | | | and the core only kept them for two numbers on the Debug line; their wire tags (0x1b, 0x1c) now answer BadTag, and the NaN check they had moves onto pdf_scroll's distance Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the touch debug overlay goes (circles, trails, hex labels in their own ↵Gabriel Schneider12 days
| | | | | | | 3x5 font, the click flash, and the ink runs the labels drew in), the two-finger scroll and tap stay; the overlay draws the pet and the cursor's glide in one call, and renderFrame no longer takes the Debug flag only that overlay read Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the headless grid host goes (PARDES_TEST_GRID: runGrid, its host table, ↵Gabriel Schneider12 days
| | | | | | | its frame dump and its test), with --gui-grid in test/agent_session.py and its test, its only user, run by hand; the test feed now says only whether its input ended Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: what draws a frame takes it *const instead of @constCast-ing it, the ↵Gabriel Schneider12 days
| | | | | | | image placement helpers name SavedImagePlace instead of anytype, resumeWindows marks the live view's window once after its loop instead of on every pass, and gripButton and applyResize drop parameters they ignored Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the tests' Guis come from one fixture, testGui(cell_w, cell_h, ↵Gabriel Schneider12 days
| | | | | | | tagline_width, tagline_height), every other field its default, in place of 33 setups written out field by field Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* host_io: the shells a dead session left are one Adoptions table (Adopt's ↵Gabriel Schneider12 days
| | | | | | | ask, adoptShell, a spawn's take, and the Adoption a terminal pane takes), where the tty and the window each kept the same three fields and the same adopt, adoptShell and spawn lookup Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* host_io: a Restore's new core is restoreCore's (the clients that replicate ↵Gabriel Schneider12 days
| | | | | | | the old one let go, the dump read and restored, its failure said once, the old core's pane and theme watches dropped), with both ponytail notes, where the tty and the window each wrote those steps out; each keeps its own ptys, pipes and views, and the tty's dump import goes with its one use Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge