Repository navigation
merge: sync upstream before Lithe search release - #46
Merged
Merged
Conversation
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
marked this pull request as ready for review
November 19, 2026 16:50
This was referenced Nov 19, 2026
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.
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
Please merge with a merge commit, never squash or rebase.