Skip to content

merge: sync upstream before Lithe search release - #46

Merged
xiaoyumuxi merged 67 commits into
mainfrom
codex/sync-viva-2199-release
Nov 19, 2026
Merged

xiaoyumuxi merged 67 commits into
mainfrom
codex/sync-viva-2199-release

Conversation

@xiaoyumuxi

Copy link
Copy Markdown

Change

Merge upstream main 3abd9fd (65 missing commits) into fork main 1c0d556 before the Lithe search release. Preserve merge history.

Two textual conflicts were adjacent, independent APIs: base/scroll.go keeps upstream ScrollbarValues beside the existing Bars geometry option; base/tree.go keeps upstream customKeys beside the fork's Disclosure option. No upstream API was renamed or replaced. Add the fork's existing ui/textview to all optional-package inventories required by the new upstream documentation gate.

Validation

  • go vet ./...: passed on macOS arm64.
  • GOOS=windows GOARCH=amd64 go build ./...: passed.
  • GOOS=windows GOARCH=arm64 go build ./...: passed.
  • go test ./... -count=1: all packages except cmd/viva passed. Its existing packaging fixtures expect macOS 12.0 while the local linker emits 13.0. New TestAgentDocsListEveryOptionalPagePackage initially found ui/textview missing in the inventories; after correction, all TestAgentDocs tests passed.
  • Upstream commit is an ancestor of this merge. The short-row List clamp patch remains in fix(list): clamp scroll before selecting measured rows #45 and will be merged after this synchronization.

Please merge with a merge commit, never squash or rebase.

t8y2 and others added 30 commits November 19, 2026 11:15
t8y2 and others added 26 commits November 19, 2026 18:37
Carry HitOptions.Invalid through the semantic tree, the platform contract, and the Web, Windows, Linux and Darwin accessibility adapters.
Name each optional page package after the capability it provides, as ui/chart and ui/editor already do, and keep package-name locals out of the examples.
Keep the short package names without stuttering: calendar.State, message.Row, attachment.Card, and the same role names for the other page packages.
Vulkan is not required to start: a machine without a driver draws on the CPU. Move libvulkan1 from the .deb's Depends to Recommends, the RPM's Requires to Recommends, and vulkan-icd-loader from the PKGBUILD's depends to optdepends, with the reason Arch shows. viva doctor now reports a missing loader as a CPU-rendering note instead of a window that cannot open, and the Linux requirements in the docs say the same.
The wasm test job runs every package with GOOS=js, where exec.Command("go") cannot run a host toolchain. The snippet test compiles generated Go with the host go command, so skip it on js; it still runs on every host target.
Checkbox, Switch and FormField declared inside a slot at the component's rectangle paint the same picture and, for the first two, declare the same control hit.
List the opt-in page packages, their capability and type naming, and the slot-hosted page control pattern in the maintaining guide, the app-building skill, the generated app guide, and both component guides.
Compare Hit.Invalid when a memoized span decides whether the previous paint can be replayed, and cover the change with a replay test.
Fix prose the type rename turned into 'State renderer' or 'an State', and note the image and markdown package name collisions with the standard library and the root parser.
Document the two View shapes and add a test that every optional ui package is listed in the maintaining guide, the app-building skill, the generated app guide, and both component guides.
Editor-like adapters also import text, and the Markdown view imports the root parser. Record both instead of claiming only base, components, gfx, ui and window.
Compare whole hits and the span's hit texts when a memo decides whether the previous paint can be replayed. Copy the pre-span hit texts into the comparison canvas so hit text indices stay aligned, and cover the change with a hit-text replay test.
When a repaint changes only the hit list, rebuild the accessibility and semantic entries for the changed ids instead of all controls. Structural, label-map, focus and text changes still take the full mirror; large-page label and value tests cover both paths.
Measure constructor, first frame and renderer setup for an empty window, and run it with the first-frame benchmark in the CI compare.
Publish a suffix shrink instead of rebuilding when a batch only deletes nodes. The store compacts in place; Metal, D3D11, Vulkan, the software scene and WebGL truncate their retained stores, and the text overlays fall back to a rebuild where their merged storage is sized to the old base.
A change now carries a pointer to triangle or shadow geometry instead of embedding it; rectangle changes stay small. The scene reuses one bounded shape scratch per drain, so the split adds no per-change allocation.
Count triangle and shadow changes before draining so a rectangle-only batch does not allocate or retain a shape scratch sized to every dirty node.
@xiaoyumuxi
xiaoyumuxi marked this pull request as ready for review November 19, 2026 16:50
@xiaoyumuxi
xiaoyumuxi merged commit 116b04b into main Nov 19, 2026
18 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants