| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
pictures alone: job_run over a copy of its input on a worker of the process that shows the pane (the frontend's workers through Kind.drawer, else at once), its answer to job_done with a PA_DRAWN token at the pane's next paint (Kind.deliver), never an event, on the tape, in the digest or sent to another process, each process asking its own from the same call; the header says what a kind promises by it (what job_done keeps of it paint alone reads; never a plain kind's block, nor its token; Debug checks the block is as it was) and addon.zig has draw; a client's pane of a plain kind closed in a speculation leaves its kind's own memory be (its rollback brings the pane back); the window client takes its queue's draws; the addon ABI tests expect 3.2; tui core-test 819/958 (139 skipped), shell-test 993/996, behaviour-test 273/273 (the four addon tests the base failed on its ABI string run again and pass), --replay 20 seeds 0 failures, pane-test 180/181, replicas pass, addon-test 1/1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
client, the four startup changes) with the window on sketchbook's Present.Options, against sketchbook's reorg with its steps 1 to 7: one conflict, gui.zig's Present.init call (the options form, the window opaque at its start as the startup change made it); gui frame corpus 77/77 Debug and ReleaseFast against mbase, the perf window -0.200% (threshold 0.5%), unit-test 1582/1590 (the four addon ABI tests the base fails; its perf check refuses the baseline by name, BaselineBuildMismatch: these gates build with Zig 0.17.0 and the baseline was recorded with 0.17.1, and run by hand against it every gesture on medium is within 1.26x, limit 3x); tui core-test 819/958 (139 skipped), shell-test 993/996
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
the debug flag pardes always had, as values (IMMEDIATE, MAILBOX, VSYNC; debug on), beside test mode and the transparent window; frame corpus 77/77 byte-identical in Debug; unit-test gui 1578/1590 under a load of 13, the four extra failures host_io's tty tests (a nested shell, a foreground job, Kill), which pass alone (shell-test tui -Dtest-filter=host_io 55/55) and compile no sketchbook
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
loop first waits (startGamepads, the session's and a window client's loops), not in SDL_Init before the window: its scan (udev, hidapi, libusb) no longer delays the first frame; a pad plugged in already is added by it then (GAMEPAD_ADDED), so its first event comes about 40 ms after the first frame, and a key in those 40 ms waits for it; gui offscreen, cut at the first frame: 507M -> 370M instructions:u, 262 -> 221 ms best (load 0.7); a real window 518M -> 380M, 249 -> 231 ms
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
made again transparent, presenting through SDL_Renderer, at the first WindowOpacity under 100 (syncWindowOpacity: before the first frame when the startup file says it, a blink while running, a --detach session's window kept hidden), not transparent at every start whatever the opacity: at 100 no EGL and GL stack beside Vulkan and no slow first soft present; a real window (the user's Wayland display): the first present 28.7-41.2 ms -> 3.3-3.5 ms, instructions:u to the first frame 551M -> 520M (two runs each), exec to the end of the first frame 288 -> 249 ms best (load 0.9); WindowOpacity 70 in the startup file starts transparent (first present 28.6 ms, the soft path), and typed while running at 100 switches (a 45 ms present after it), no failure said; reference.typ says it
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
its unit (tape.zig by_hash_min, Big; wire blob): a file over the wire's 16 MiB bound opened while a client was attached was one unit, past the bound, so a Debug session panicked and a release one dropped it, its client diverging at the next unit and joining again to be sent the whole file in the dump; now the read's answer is recorded as the file's BLAKE3, a client on the session's machine reads the path itself and checks it, a far one is sent it in 1 MiB pieces before the unit and keeps it in its cache.xitdb (XDG_CACHE_HOME/pardes), so a far client that joins after is sent none of it; any other record that long (a reload's text, a paste) goes to every client so; test/daemon.py by_hash: a 17 MiB file under a near and a far client, both agree, neither joins again, the near one reads it itself, the far one is sent 8848 KB of zstd and a far client after it none of its 2 blobs; the slot's own BLAKE3 the brief asked for was built and taken out (a hash a kind's open, 7 instructions a byte on the perf build's CPU, for no reader until a client renders kinds); perf --only medium --reps 10 instructions:u 2,459.25M -> 2,459.36M, --terminal-mib 8 3,928.50M -> 3,928.51M; tui core-test 811/950 (139 skipped), shell-test passes, replicas pass (diverged 0, checked/wrong 0), behaviour-test 269/273 (the four addon ABI tests the base fails), --replay 20 seeds 0 failures, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's; headersweep and headersweep-restored failed once at load 14 and pass alone), test/daemon.py passes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
`pardes ps` prints a session with a frontend of its own as "(tty, has a frontend)" where it said "(tty, attached)" ("detached" stays, its clients listed under it as before; the daemon's list keeps its wire word `attached`, so /sessions and an older daemon read the same); `pardes help ps` "What the per-user daemon lists: ... whether it has a frontend of its own or is detached" (it said "keeps" and "whether one is attached"), `pardes help attach` "One with a frontend already" ("One attached already"), `--detach`'s help "One pardes --daemon per user lists them, for attach" ("keeps sessions"); Detach's refusals "no pardes daemon lists this session" ("keeps") in the terminal and the window, and "Detach: detached already (no terminal of its own)" ("no terminal is attached"); the README's /sessions line names `attached` (a frontend of its own) and the `client <pid>` lines the daemon sends; docs/typ/command-line.txt written again from `pardes help --all` (the golden that moved: its ps, attach, --detach and sessions lines); test/daemon.py's window case reads "(gui, has a frontend)"; the manual follows: running.typ's list of older words keeps only the code's own (authority, Peers/Link, Shell, unattended, /sessions's attached), reference.typ's /sessions and Sessions, guide.typ's ps line ("lists"); NOT renamed: the daemon's hello and state words (wire), the 9P file /sessions's content, the builtins Detach, Adopt and Unattach; tui core-test 811/950 (139 skipped), shell-test 993/996 (the command-line.txt test with it), behaviour-test 269/273 (the four addon ABI tests the base fails), process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), daemon.py main passes; gui frame corpus 77/77 byte-identical against mbase, unit-test 1582/1590 (the base's 8 failures); the book and the site compile
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
word for what was `headless`, `parked`, `alone_unattended`, `Term.none` and `!attached()` (PARDES.md ruling 1): main.zig's and gui.zig's `headless` (run, runNative, localSession) are `detached`, tui.zig's `Term.none` is `Term.detached`, the window's `Shell.parked` (its Gui kept while detached) is `Shell.detached`, `replica.Peers.alone_unattended` is `Peers.detached`, and the terminal's `Shell.attached()` is `Shell.detached()`, its five callers and `watched` negated to match (a test's Shell with no screen is not detached, as it was attached); the tape's `headless`, a replica core that skips `render` and the host calls inside it (set on every client), is `skips_render`, its replay run named `skips-render` ("replay X: skips-render replica: N digests agree"), and the two that read that line follow (test/tty.zig's other-build replay, test/cross_replay.py); NOT renamed, a different fact: `Core.unattended` (detached AND no client: nobody looks), a watched field on the tape by index; names only, no logic moved; tui core-test 811/950 (139 skipped), shell-test 993/996, behaviour-test 269/273 (the four addon ABI tests the base fails) and the same with --replay, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), replicas pass (checked/wrong 0), daemon.py main passes; gui frame corpus 77/77 byte-identical against mbase, unit-test 1582/1590 (the base's 8 failures)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
it meant any client, this machine's too): tui.zig's `Remote` is `Client` (the window's word already), `tui.remote` and `gui.remote` are `runClient`, `gui.remoteSession` is `clientSession`, `main.remoteAttach` is `attachClient`, the Shell's and Input's `remote` fields `client`, `fonts.remote` `fromSession` and the window's `remote_font_request` `session_font_request`; what a person reads: the window client's log "remote font is not installed here" is "the session's font is not installed here", attach's "no runtime directory to name the remote socket by" names the far socket; NOT renamed: the env var PARDES_REMOTE_RUNTIME (the user types it), 9p_io's error.Remote and RemoteError (a 9P peer's refusal), fs.zig's remote_path (a 9P mount's), tui.zig:86's terminal over ssh and :1579's shell over ssh, pty.zig's test prompt; names only, no logic moved; tui core-test 811/950 (139 skipped), shell-test 993/996, behaviour-test 269/273 (the four addon ABI tests the base fails), process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), daemon.py main passes; gui frame corpus 77/77 byte-identical against mbase, unit-test 1582/1590 (the base's 8 failures)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
| |
build/gui.zig only) for its `c`, translated from gui.zig's header over pardes's own SDL (-Dc-header, -Dc-include), its `dev` (the executor, cells, presentation, glyph atlas and scene format: src/gui/gui.zig takes the five from it) and the named font.c, compiled against pardes's FreeType and HarfBuzz as before; every sb.path into sketchbook, the copied shader list, compileGlsl and -Dgpu-only are gone; -Dprebuilt-shaders is passed through; the GPU addons take gpu_scene from the same instance (addons.gpu gets the window's dependency, null off the window, after it); the Cells and Atlas tests are sketchbook's own now (5 fewer here). gui: frame corpus 77/77 byte-identical against mbase, unit-test 1582/1590 (the base's 1582; the 5 moved, the base's 8 failures), tui-has-no-sdl; tui: core-test 811/950 (139 skipped), configures with ../sketchbook moved aside
|
| |
|
|
| |
(src/font/Atlas.zig before): the gui's atlas module and the atlas's own tests find it there, gui.zig's comment follows; nothing else; gui frame corpus 77/77 byte-identical against mbase, gui unit-test 1587/1595 (the four addon ABI tests the base fails), tui core-test 811/950 (139 skipped)
|
| |
|
|
| |
Executor, Cells, Present and the cell shaders found there, the option's help, gui.zig's comments and the book's two mentions following; nothing else; gui frame corpus 77/77 byte-identical against mbase, gui unit-test 1587/1595 (the four addon ABI tests the base fails), tui core-test 811/950 (139 skipped)
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
plumber and the diff work
A merge of pardes-next (uoqyunnw) and gpu-s4b (zxswllzu). One conflict, build.zig: core-test's root is the core without a terminal AND the Cells and Atlas tests join the unit suite; gui.zig merged by itself and is formatted (two role casts spelled as zig fmt spells them, two blank lines). Gated against a baseline recorded from pardes-next with the gate's test hooks and the renderer still in gui.zig (.scratch/sketch/gpu/mbase): frame corpus 77/77 identical in Debug and in ReleaseFast, the gated window -0.032% instructions (threshold 0.5%), unit-test on gui 1583/1591 with no failure the baseline has not, every GPU counter 0; on tui core-test 810/949 (139 skipped), shell-test 989/992, behaviour-test 269/273 (the four addon ABI tests the base fails).
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| | |
was, the fourth step of the GPU move, its second half and the last: renderFrame's command buffer (Cells.begin, and Cells.submit where a frame is given up), the cells' instance buffer grown and mapped (Cells.mapCells; gui.zig writes the instances in place as before), its upload after the atlas's dirty rows (Cells.uploadCells), and the render pass (Cells.record: cleared to the page at the window's opacity, then group by group its cells, a scroll's shifted rows under scrollScissor's clip, its pictures and its decor, ink at full opacity, then the overlay) leave gui.zig; Group, the draw list's format, goes with it; gui.zig keeps what is drawn: the counting, the cover, the emission, the decor, the overlay's content, the clear colour and the scroll's clip, computed as before; pardes calls no SDL GPU, texture or renderer function now (the counter's grep prints 0), embeds no SPIR-V and keeps no GLSL; frame corpus unchanged (77 frames)
|
| | |
| |
| |
| | |
sketchbook's (src/gpu/Cells.zig), moved as they were, the fourth step of the GPU move, its first half: the atlas's texture, sampler and upload buffer, the pictures' sampler, the four pipelines, the overlay's buffers and their release (runNative: Cells.init and deinit, on Present's device, before the device goes), the cells' and the pictures' instance buffers, the pictures' textures by key (releaseNativeImage, clearNativeImages, uploadNativeTexture's upload and uploadTextureRows: Cells.image, which takes the RGBA, its size and stride and the dirty rows, still the whole picture or only the rows that changed into the texture held), the pictures' instance upload (Cells.mapImages and uploadImages around gui.zig's emitPreparedImage) and their draws (drawNativeImagesGpu: Cells.drawImages, each picture's clip, imageScissor's, kept beside its texture as the frame's instances are written), the addon pipeline (made on first use as before: Cells.makeAddonPipeline), uploadAtlas (over the Atlas's dirty rows), uploadOverlayGpu, pushLayerOpacity and drawOverlayGpu leave gui.zig; the seven SPIR-V embeds go with the pipelines (build.zig gives the `<name>.spv` imports to the Cells module, sketchbook's GLSL through glslc or its prebuilt copies, as before); the Gui holds a pointer to runNative's Cells (`cells`) and no longer the device; an addon's texture is still handed over borrowed and premultiplied; renderFrame's command buffer, cell upload and render pass stay for the second half; frame corpus unchanged (77 frames)
|
| | |
| |
| |
| | |
the third step of the GPU move: the device, the window's claim or the soft presenter (a transparent Wayland window, or a claim refused), the present mode, frames in flight and the swapchain's format (runNative), the window's release and claim again (closeWindow, reopenWindow: Present.detach and attach, the window passed in), the frame's target (acquireTarget), the soft present (its renderer, texture and formats, the read back into the capture transfer buffer, the flip), the capture texture and its read back leave gui.zig; Present.init logs what runNative logged, under the gui scope; the Gui holds a pointer to runNative's Present (`present`, its device still `device`), which releases the capture's texture and transfer buffer before the device at the end (they were released in the Gui's defer, beside the gamepad); gui.zig keeps what it writes: captureFrame takes the frame Present.readFrame maps (its submit and fence times for the latency trace, as measured before) and writes latest and the series as before, writeCapturePpm asks Present.bgr for the byte order, and PARDES_FRAMES_CAPTURE is the soft present's frame tap (captureSeries, which reads its directory itself); a soft present's wait, upload and flip come back as Present.Timings and go to the frame probe's zones; releaseWindowParts, which nothing calls, loses the capture's two lines; frame corpus unchanged (77 frames)
|
| | |
| |
| |
| | |
src/font/Atlas.zig), moved as they were, the second step of the GPU move: font.c and font.h leave src/gui/ byte for byte, and the atlas leaves gui.zig, its faces (the primary, its bytes, the fallbacks), its stage, slots, pen and dirty rows, GlyphKey (Atlas.Key, the same bits: a FontRole and a GlyphDecoration go in as its Role and Decoration, checked at compile time), ruleArms, drawRule, inkBounds, glyphForCodepoint, cachedGlyph, centerGlyphInk and decorateLine; gui.zig holds an Atlas and asks it for what it asked the shim (a face, a fallback, the name, the cell, a substitution, a run shaped), so it calls no ui_font_ function; cachedGlyph stays as the window's: it hands the atlas the body's and the tagline's sizes, GUTTER and dp(1) on every miss (a window reopened on another display draws its rules at that display's dp(1) without a reset, as before) and keeps the frame probe's raster zone; the Atlas module is built from the sketchbook checkout over gui.zig's own `c` as Cells is, font.c compiled from there against pardes's FreeType and HarfBuzz; its tests (the raster, the box rules, the decorations, the dirty rows) are Atlas.zig's and run with unit-test, the tests of pardes's use of it (shaping, taglines, grips, the allocator, the atlas's bytes, whose hashes are unchanged) stay here over the Atlas
|
| | |
| |
| |
| | |
sketchbook's (src/gpu/), moved as they were, the first step of the GPU move: the seven GLSL shaders and their prebuilt SPIR-V leave shaders/ (crt.ci.metal stays), and CellInstance, OverlayVertex, ImageInstance, opaque_bg_bit, the vertex inputs, makePipeline, backgroundLayerBlend, makeShader, texture2d and growInstances (the device for the Gui) leave gui.zig for sketchbook's src/gpu/Cells.zig, built from the sketchbook checkout over gui.zig's own `c` as the Executor is (module gpu_cells; its instance-ABI test with it, run by unit-test); the embedded SPIR-V comes from sketchbook's GLSL through glslc, or its prebuilt copies with -Dprebuilt-shaders, under the same @embedFile names, byte for byte the same; the `shaders` refresh step is sketchbook's now; building.typ says so
|
| | |
| |
| |
| | |
PARDES_TEST_WRAP when it names a command (perf stat, a script), given the window's argv, its binary made absolute; a test window's series keeps its frames as PAM (P7 RGB_ALPHA), so the corpus sees the alpha a blend writes (latest.ppm and every other capture stay RGB); the corpus adds a translucent addon picture, test/veil.zig (zig build veil: a GPU pass that clears to half alpha and draws nothing), for the addon pipeline's colour factor, which the snake's opaque picture never showed; the snake's window ends with its pane gone and at rest, so it ends having drawn as many frames every run
|
| | |
| |
| |
| |
| |
| |
| | |
window.zig's frame corpus, run when PARDES_GUI_CORPUS names a directory (zig build process-test -Dplatform=gui -- 'window: its frame corpus', the snake addon's library in PARDES_GUI_CORPUS_SNAKE): the move's twelve scenes on the hidden window under the virtual clock, one input a step and then idle and idle again once a worker had time to land (a PDF page, a highlighted file), every frame of a motion (a wheel's glide, a click's caret, a jump's trail) and the one that stays of the rest, the snake's first ten in a window of its own (its picture breathes on the clock, and a long session's clock has seen the machine's timing), each kept as frame-NNNNN.ppm with its sha256 and its scene; a build against a build on one machine, never a golden; gui.zig: the atlas's bytes, a fixed key list (ASCII plain, bold, in the five underlines and struck, taglines, an underlined space, the eleven rules, centred grips, Nerd icons, ligature strips shaped as a frame shapes them) at 27 px and at 54 px at 2x, its stage and its sorted slots hashed to constants recorded now, the same on any machine (the repo's faces, the build's FreeType and HarfBuzz)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | | |
| | \ | |
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
terminal behind src/Term.zig
A merge of pardes-next, plumber and walk-fix. Only the changelog conflicted: both sides' entries kept, and the first plumber entry's "A look does not ask it yet" dropped, a look asking it now. core-test 990/990 on tui; behaviour-test 269/273 (the four addon ABI tests the base fails); the look, diff, pager and tree process cases pass, goldens unchanged; replicas pass.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |/ /
| | |
| | |
| | | |
after the pane's own readings and once a name already open in a pane is focused (never sent), lookAt sends the trimmed name, type text, src pardes (term from a raw terminal, a kind's name from its pane), wdir the pane's directory, with what resolveLookTarget found of it (Plumb.Seen: isfile and isdir take it, so no second stat and Look's own readings of a URL or `//` stay no file); a message the rules give back to `edit` as sent is Look's own (Sent.look) and runs lookAt's switch on that target, one nothing takes or a started word declines is Look's own too, whose `.url` arm is now the word's search; the edit port's open of another message runs with look_text, which now means "unplumbed", so the edit port's lookAt never sends again (the recursion trap); the three diff hooks become the default rules of the record's §5.2 (a bare .diff/.patch to `Diff $file`, a commit hash in the editor to `Diff $0`, after the two edit sets), and `Diff` takes a file or a revision, a rule's Diff declining in silence (Pardes.plumb_declined) where it cannot (no hunk, not readable, no .git above): hunks.lookedAt and lookedAtCommit go, their bodies in hunks.word, the `needs` check of the bare form in the word, PaneKind.diff gone; the old one-line `Plumb` word, Core.plumb, look.Port, plumbRuleError, plumbTarget and resolve's rules block go: bare, `Plumb` opens <config>/plumbing as Config opens init (both through builtins.openConfigFile; `include basic` in a new one), an argument is refused in words, Save applies it (host_io.writeFile beside reapplyInitFile, Plumb.saved), and boot reads it (Plumb.boot in applyStartupConfig); a started program now runs detached as Plan 9's plumber's (the coordinator's decision for the user's question 4): Effect.start, every host's host_io.startDetached (double fork, setsid, /dev/null for 0-2, every other fd closed, argv exec'd in wdir with no shell, the child's errno back through a close-on-exec pipe, said as `plumb start: <prog>: <why>`), so exec_dir goes; resolveLookTarget's and Plumb.Send.search's directory walk is one look.Dirs; test: look.zig's Plumb test rewritten onto the rules (a rule's word, an open pane unsent, the hover's resolve, a URL with no web rule searched for) and a hash inside and outside a git work tree; addons.zig's Plumb test onto plumb/rules (a port no kind reads, its kind gone: Look's own); Plumb.zig: the word, the save and boot; replicas.zig gains a URL (speculated whole, confirmed, no rollback) and a hash, each the authority's and a replica's own; every look golden unchanged; the reference quotes src/plumbing whole and says the order, the changelog says so
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
plumber's first phase
A merge of term-phase0 and pardes-next. File.zig's recolorSyntax keeps the theme's grounds and names Term.Filter and Term.Span; the changelog keeps both sides' entries, the palette sentence in the place of the entry the terminal work cut down. core-test 985/985 on tui; the diff, pager and tree process cases pass, goldens unchanged.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | \ | |
| | | \ | |
| | |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
the lean-core changes together
A merge of drag-guides, syn-buildtime and lean-core; the changelog's three new entries are kept, each whole.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A drag draws no guide lines: the dashes where a pane or column would land, the carried column's rail and the held seam's dashes are gone, with the guide region kind, Surface.overlayDash, the rail's Region.clip and MAX_GUIDES; the gui's floating draw group is the debug box's alone.
The line between two columns is no resize handle: Drag.border_v and its corner variant are gone, with clampBorderCol and the unused chromeTarget. A press there is a press in the pane under it (a sweep). A column resizes by its grip, a pane by its grip or, in a window, the rule above it (border_h, unchanged).
Tests: the corner and border-drag unit tests and the cornerdrag and cornerdrag-left tty cases are deleted; windowops loses its border drag and tagalign2col widens its column by the grip; colgrip, shrinktag and windowops goldens drop the guides; a unit test pins that a press on the line between columns sweeps and resizes nothing. The cheatsheet, themes, render-pipeline notes and changelog say so.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | | |
terminal half is reached through the interface (Term.encode, Term.encodeRows and Term.untrack on the authority, Term.wasRead and Term.clearRead for the rows a step read, Term.apply with the prompt marks riding a delta, Term.applyRows, Term.shown and Term.blank on a replica, Term.Encoder, Track, Peer and Replica its handles), so replica.zig reaches no emulator state; its kind half (a kind's frame as a Shadow, its strips and Blobs, encodeShadow) is the core's and moves, as it is, with its tests, to Kind.zig beside the Slot it shadows; predicted echo is Term.Echo; the draw entries (Term.recolor, Term.images, Term.petscii, Term.togglePetscii, Term.hasImages, Term.Filter, Term.FilterPalette, Term.palColor) are reached through the interface with their signatures as they were, not yet plain data (Term.zig says so); src/Term.zig is the one file outside src/term/ that imports one inside it (fs.zig embeds terminal.zig's text as a served source), panes.terminal, pardes.screen_state and pardes.echo go, the comments that named ghostty for the emulator say the emulator, and the tests that read emulator state read the records but three (Core.zig's palette, pty.zig's output pin and page limit); the changelog says so; nothing else changes
|
| | | | |
| | | |
| | | |
| | | | |
program's keyboard protocol and modes ask, Term.mouse and Term.wheel a mouse event's and a wheel turn's, Term.paste a paste as xterm makes one, Term.modes is the plain record of the modes the core decides by (mouse, all motion, the wheel, focus, bracketed paste, the alternate screen) and Term.promptMoves how far a click on the prompt line moves the shell's cursor; the mouse's records (MouseMods, MouseButton, MouseAction) are the interface's; keys.forwardKey (the bytes queued, an error reported) and keys.enterTty (raw mode, the cursor handed to the shell) are the core's, in keys.zig, pardes.keys for the tests; bracketedPaste, reportsMouse, reportsFocus, ownsWheel, tracksAllMotion and onAlternateScreen go into the record; the tests that called them follow; nothing else changes
|
| |/ / /
| | |
| | |
| | | |
(docs/next-terminal.md, Phase 0): Term.open makes an emulator and Term.close frees it, Term.due says when its next kitty frame is due, Term.revive resets a restored terminal's modes under its banner, Term.start and Term.stop run the PNG resize workers; the pane half of each is the core's: panes.createDoc and panes.createTerminal make the pane (the speculation guard there), emulatorGpa and emulator_gpa are the core's choice of allocator, teardownPane closes the emulator, dump.zig's revivePane resets what the old shell was and ensureKind opens an emulator straight into the pane; tape.authorityOnly is the one guard Kind.zig and the terminal both had a copy of; nothing else changes
|
| |/ /
| |
| |
| | |
named colours Art.zig kept, xterm's 6x6x6 cube and 24-grey ramp, at comptime), so Art.zig and gui.zig stop importing ghostty-vt: Art's Petscii takes its first sixteen and drops its comptime check against the emulator, gui.zig's palColor goes and its two .index cells read the table; terminal.zig's test holds all 256 entries to ghostty-vt's color.default; the changelog says so
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
drawn by shaders does; a commit's patch keeps its own +Diff pane; a real ZLS checked through the window build
ABI 3.1 appends an optional `gpu` callback and its context to pa_paint: one self-contained sketchbook SGPU v1 scene for the pane, at most 4 MiB, copied during the call, the last successful call winning. The SDL frontend runs it on its own GPU through sketchbook's executor and composites its target texture into the pane; replicas carry the scene beside the authoritative pane frame; cells and rasters stay the fallback for terminals, older hosts and frontends without an executor. addons/snake_shader is such an addon (`zig build snake-shader`, the SnakeShader word: a board that follows its pane, buffered turns, a CRT look), with test/gpu_snake.py, test/gpu_snake_interaction.py and test/gpu_upgrade.py.
Commit patches open as `+Diff-<short-hash>` and reuse only their own commit's pane, so another paged patch no longer replaces one already open.
The language-server client looks in the standard per-user bin directory, which desktop launchers often leave out of PATH, and takes an empty answer that beats the startup progress notification onto the wire; test/real_zls.py checks imports, hover, references, rename previews, diagnostics and completion against a real ZLS from a private home.
The dump's schema reader skips two fields older builds persisted, and a replica's shadow of a kind ticks when the authority's does. The reference, the guide, the building and setup notes and the changelog say so.
The working copy as it stood on 2026-11-12; message written by Claude from the diff, at the author's request.
|
| |
|
|
| |
(zig-gamedev/zstbi PR #16, the Zig 0.17 port the manifest waited on) is deleted and a fresh checkout could not fetch it, while upstream has since ported itself (6b9bea1f); its init takes no Io and can fail, and its resize can fail, so TerminalImages.start takes the allocator alone (a start refused leaves PNGs refused, as before one) and a resize that fails is an undecodable PNG; host_io.startWorkers and tape.replayMain lose the Io they only handed on; build.zig's patch of zstbi.c applies unchanged (the file is the same); test: kitty: a PNG longer than 1280 pixels on a side is kept at 1280 (the one path through zstbi, which no case walked: a 1300-pixel one-bit PNG built in the test, its row stored); kitty-test 45 of 45; the changelog says so
|
| |
|
|
|
|
|
| |
loop wakes a frame at a time while its glide, caret or trail moves (frontendMoving, also its FrameStats' animating) and at each blink edge, a touchpad's fraction is its picture with whole rows posted as inputs (stepScroll's body is scrollRows, the local pump's and the client's), and the session's Font is resolved here by the face's name (fonts.remote, syncReplicaFont), where before the client kept its own font and scrolled a whole row a turn
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
(pollCwds before the no-window return, upstream's test ported onto forkShell's seven arguments), and a replica joined from a dump paints the restored theme's chrome (initDump runs finishThemeInitialization: Core.chrome is local and was never recomputed, so the join showed the default theme's tags until the next Theme, as the ported test showed before the line)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
Trackpad.zig, macos_trackpad.{h,m} and their test as they were), its gui.zig hooks on today's names (pointAt, view().jumps and active, one setFontPx for a key's step and a pinch) and the build's shim per gui module with macos-trackpad-test registered once after the loop, all gated to macOS so a Linux touchpad's pinch and the goldens stay as they were
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
and replica (std.Io.Dir.path, std.Io.Dir.max_path_bytes), and the window's handover dump written and removed through the shell's io (Io.Dir.writeFile at 0600, deleteFile) instead of libc open, write and unlink
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
that had one mid-file (the locality analysis's 45 and test/hxdiff.zig; gui.zig, macos.zig, look, host_io, 9p_io, terminal, tui, mouse, fs, replica, layout among them, 11,429 test lines), with the functions only tests call, moved after the file's code in their order, a mechanical move (.scratch/suites/tests_to_end.py), zig fmt'd; the unit suites pass as before (tui 1486/1487, gui 1536/1537, core 956/956 on both), macos.zig only parse-checked here
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
window.zig's scenes case): their 15 frame hashes were this machine's; what they caught the kept set catches, checked break by break: the core's primary selection drawn as a secondary one (6 frames) fails 12 tty cases, the grip's focus fill and its button a pixel narrow (all 15) fail "every pixel of a grip column is band, button or ring", the theme's rules a pixel wider (all 15) fail "an empty column is ruled on both sides" and "decor is read from the regions"; two caught by the frames alone get unit tests of their own in gui.zig, the scrollbar thumb a pixel narrower (all 15) and the block cursor not reversed (9 frames); breaks the frames never saw (the body's clip and its context border, InactiveDim's fade, an image's scissor, fit and placed rect, the palette, the glyph art) stay the unit tests' and the image harness's or nobody's, as before
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
painted every tagline-role cell's band in the tag's colour under the cell's own, so a theme whose tagline is another colour (dark_plus's blue) showed the tag's gray at the row's left inset and between its cells like an anchor that is not there; the surface carries tagline_bg and the rows it covers, and the band takes it there
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
onto a whole row: two loop steps with no turn (SDL tells no gesture's end), scroll_lag eases onto the core's row on the glide's law, which is the next row the way the turns went, so the settle never moves against them, and a turn mid-settle goes on from where it got; the picture no longer rests a fraction of a row off its cells; a gui test ends a burst at a quarter row and turns again mid-settle
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
without trash: the glide measured and kept its rows from the body's top, so the gap showed a held row or none, its rows that left were drawn above the held band where the scissor hid them (the layer's first row showed through twice, 0.9 rows apart), and a body layer's rows past the grid (what the compact context rows save at TaglineSize < 100) were left behind at the bottom; the glide now takes each body's held rows (Glide.held), the gap rows go under them, the touch path's edge row too, and the layer's extra rows move with the rest; a glide test pins the kept row under held rows
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
text off its cells: a bar (and the caret's quad while it eases) was drawn on its cell, up to a row off its text, which a high-resolution wheel leaves resting at a fraction nearly all the time (caretRide now carries scroll_lag as it carries the glide); a gui test pins the bar on its line at a resting half row
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
core does not scroll: a high-resolution wheel's turns (fractions, the touchpad path) that took the picture back onto the core's row drew nothing, so the window rested on a frame a fraction of a row off ("halfway") and the next turn's frame jumped from there, against the turn when it reversed (the bounce); two gui tests turn the wheel as SDL does and hold the drawn picture to the state and to the turn's way
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
fonts reads a face's tables through std.Io.File (monospaced takes the walk's io), and each host's libc alias says what it is still for (ptys, sockets passing fds, signal handlers and forked children, O_NONBLOCK opens, inotify, the registry's symlinks, a cancelable task's unlink)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
daemon's pty, close and clients words, a pid or a serial for the environment, a capture's header and status line and a cache's .new name are catch unreachable with their reason, where a catch return, null or continue stood for an overflow no buffer here can have
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
one a Flag, the prefixed ones as they were), --ps's rows and manage's verb, the daemon's verbs on both ends and its registry's rows, an upgrade record's words, the window driver's mouse kinds and finger names, a frame script's click target and a mount name's reserved words go through std.meta.stringToEnum; with them main asks std.Io for its working directory, its chdir, a directory's access and /proc's comm, not libc
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
dump with the caller's gpa, not the page allocator, and Client.follow and stepGlide lose the gpa they never used
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
whose buffer provably holds the text (numbers, a 128-byte name, a short phrase) is catch unreachable with its reason, not a catch "" or a stand-in sentence nobody can reach, and dump.check takes its 256-byte why as such
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
amount (a window passes a touchpad's fraction of a turn over a kind's pane, a terminal whole notches), pa_view says glyphs (no graphics), pa_paint's tail padding holds the pointer the kind asks for (the window shows a hand for PA_POINTER_LINK over its pane, a Shadow's frame carries it), and tick is told PA_FRAMED when a frame was drawn since its last; addon-test gains graphics on|off
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
every pdf_enabled branch with them; look, Jump, Recent, dumps (one from before the addon opens as its pane), the watch, mouse, keys, the rail and the tag go through Kind for any kind's pane; test/pdf.zig's behaviours are T1 cases over 9P (addons_pdf.zig) and pane cases (a Shadow over a replica, a file changed under it), the harnesses load pdf.so by path
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|
| |
|
|
|
|
|
| |
static table go, so no kind is compiled in (Registry.init, Kind.image, compiledIn, `static` in /addons and "is compiled in" with them) and a test of the core's side of a kind's pane opens Kind.test_kind (a picture of one pixel, no library); a placement's fit (NativeGeometry, containGeometry) moves to surface.zig and a PDF's fit modes to pdf_view.zig; a terminal's kitty PNG decodes in TerminalImages.zig through wuffs as before, its downscale through stb_image_resize, the one part of zstbi the core keeps (stb_image patched out of it, the wuffs_images option, tag_image and image_exts gone); the image cases load the built image.so by path: test/panes.zig's and fs_namespace's through Addon.perform, T1 through Addon load (a new behaviour case: PNG, JPEG and PPM through 9P, the art words, a refused corrupt PNG, a dump's placeholder and its picture back, which replaces the decode unit test and ctl.zig's corrupt-image case), the snapshot, process and image harnesses by linking it into each session's data directory; images.snap unchanged
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
|