Repository navigation
ariadne(tui): draggable grid seams, OS signals to on_signal, ari cvcpkg package - #709
Merged
Merged
Conversation
This was referenced Oct 19, 2026
transfix
force-pushed
the
feat/ariadne-tui-followups
branch
from
October 19, 2026 05:09
622b2ff to
48a4e3a
Compare
The defensive rewrite of assimp's exported zlib link matched libz.* and zlib.*, but an assimp republished on the windows builder exports $<LINK_ONLY:.../cvcpkg-prefix-assimp-*/lib/z.lib> (zlib's CMake names its windows import library z.lib). Neither pattern matched, so the builder-absolute path survived into cvc.dll's link: `ninja: error: ...lib/z.lib, needed by bin/cvc.dll, missing` in the windows recipe lane and `nvlink fatal: Could not open input file ...lib/z.lib` in package-windows (red on master since the republish). Match a path ending in /z.lib or \z.lib too, through to the end of its list entry so a $<LINK_ONLY:...> wrapper does not leave a stray '>'.
transfix
force-pushed
the
feat/ariadne-tui-followups
branch
from
October 19, 2026 06:15
48a4e3a to
d77c663
Compare
With the build-side rewrite fixed, the windows recipe lane got as far as its consumer smoke test and failed there: `LNK1181: cannot open input file ...cvcpkg-prefix-assimp-*\lib\z.lib` in smoke.vcxproj. cvcConfig.cmake re-finds assimp for every consumer and carries its own copy of the stale-zlib rewrite, with the old libz/zlib-only pattern. Give it the same pattern as src/cvc/CMakeLists.txt.
…cpkg package Follow-ups to the interactive FTXUI backend (#708): - Grid seams drag. A row split is now one framed stack with a separator between panes; dragging a separator resizes the two panes around it and the pane sizes persist to tree.<id>.tracks (seeded apply-once from the persisted / authored sizes). A `resizable` table gets a draggable seam between columns (a blank one-cell seam when it shows no inner borders). - OS signals reach on_signal. RunOptions gains host hooks: on_start (after FTXUI installs its own handlers), on_stop, and a take_signal poll; each pending signal goes to the document's on_signal (source "os") and ends the loop when the document has no handler. run() now returns why it ended (RunExit). The handlers stay in the host: `ari` wires SIGTERM, SIGHUP, SIGINT, SIGQUIT and SIGUSR1/2 through sigaction and exits with 128 + signo on an unhandled one. - `ari` is its own package. It moves to a dual-mode src/ari (in-tree or standalone against an installed libcvc, like src/cvc-cli), gains CVC_BUILD_ARI (OFF in the libcvc / libcvc-cuda recipes), a linux cvcpkg/recipes/ari recipe, and a pack + publish step in publish-cvcpkg.yml modelled on cvcgl-examples.
…ny screen begin_window clamped the STORED window position to the screen every frame, so one frame drawn on a momentarily tiny screen (a terminal, or a browser page before its first resize) moved every window into the corner for good. Clamp only where the window is drawn (Win::sx/sy); the placement stays what the document, the persisted geometry or a drag set. Found by the wasm/xterm.js session (#710).
transfix
force-pushed
the
feat/ariadne-tui-followups
branch
from
October 19, 2026 06:29
d77c663 to
f34f9fd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-ups to the interactive FTXUI terminal backend. Stacked on #708: review that first; this PR's own change is the one commit on top of it.
Grid seams drag
resizable+row_heights) render as one framed stack with a separator between panes.tree.<id>.tracks(§11.4). They are seeded once from the persisted or authored sizes.resizabletables get a draggable seam between columns, so every row follows a dragged column. A table with no inner borders gets a blank one-cell seam.OS signals reach
on_signal:Signal handlers are process-wide, so they stay in the host; the loop only offers the seams.
RunOptionsgains three hooks:on_startruns after FTXUI installs its own handlers, so a host's handlers take precedence;on_stopruns before the terminal is restored;take_signalis polled every iteration.on_signal:withsource: "os". When the document has no handler, the signal ends the loop.run()now returns why it ended (RunExit { signal, from_os }). It used to returnvoid, so existing callers are unaffected.ariwires SIGTERM, SIGHUP, SIGINT, SIGQUIT and SIGUSR1/2 throughsigaction. On a signal the document doesn't handle it exits with 128 + the signal number.ariis its own cvcpkg packagesrc/ari/, which builds in-tree or standalone against an installed libcvc, likesrc/cvc-cli. The build gets aCVC_BUILD_ARIoption, which the libcvc and libcvc-cuda recipes set OFF.cvcpkg/recipes/arirecipe, linux-only: the published libcvc carries FTXUI there.publish-cvcpkg.yml, modelled oncvcgl-examples. It runs the recipe's ownbuild.shagainst the libcvc just staged, andcompute-revisionsgains anarioutput.Verification
ariadne_ftxui_test32/32, with 4 new seam tests:tree.split.tracksas112,48;ctest -R Ariadne: 368/368.killing the runningari:on_signal(source: os), andarikept running;cvcpkg validate cvcpkg/recipes/aripasses;build.shbuilds standalone against acmake --installed SDK (RUNPATH$ORIGIN/../lib), and that binary runsari snapshot;cvcpkg pack cvcpkg/recipes/ari --localpacks a relocatable 34 KB archive.libcvc3.6.0+cvc.1 withreadelf: it linkslibftxui-*andlibyaml-cpp, so the packagedarigets the real backend.Not verified
CVCPKG_TOKEN. I ran its commands locally, but not the workflow.