Commit Graph
1819 Commits
Author SHA1 Message Date
waozi 7e2ebe16ea Refresh native TSX examples, starters and website gallery 2026-11-29 10:17:53 -03:00
waozi 58c71d6cd0 Record verified TSX consumer integration and Plot imports 2026-11-29 07:03:57 -03:00
waozi 22a3120fd3 Run shared project build helpers in native Ziran 2026-11-29 04:55:51 -03:00
waozi 14ce372c74 Settle terminal state and deliver component deadlines 2026-11-29 00:46:09 -03:00
waozi 1fae0e35f2 Refresh website compiler for the current TSX package graph 2026-11-28 23:42:34 -03:00
waozi 258150772d Remove duplicate frame export after the TSX authoring migration 2026-11-28 18:08:32 -03:00
waozi b5f4ddc176 Reuse managed WebGL2 scene images across frames and context recovery 2026-11-28 17:47:38 -03:00
waozi 238143dddb Resolve the TSX browser compiler from the locked package graph
Use the gallery project resolver for Kryon as well as optional packages so browser type checking, mounted declarations and native previews use the same selected sources. Refresh the ordinary gallery lock and browser compiler output for the published providers.

Local validation: clean normal dependency resolution; fresh site and browser compiler builds; portable formatting; full browser routes, all 103 maintained TSX sources/previews, source editing and authored diagnostics, mobile layout, disabled controls, reduced motion and contrast. The original ignored gallery local configuration was restored byte for byte.

The current starter profile/runtime and pre-push gates are running separately. The full breaking migration remains Unreleased and incomplete.
2026-11-28 16:14:31 -03:00
waozi 4a43d55042 Align TSX starters and examples with verified native packages
Select the published Ziran, Kryon and optional-package revisions through normal manifests and generated locks. Keep project creation, upgrade defaults and documented pins consistent.

Local validation: all 102 standalone examples resolve one published Kryon without overrides and pass TSX source checking; the rebuilt CLI and pin test pass; all four freshly generated starters check and report zero native TypeScript editor diagnostics. Current full profile/runtime validation and the required pre-push gate remain pending.
2026-11-28 16:02:01 -03:00
waozi f2156efb5b Retain native scene frames in managed GPU images 2026-11-28 15:01:59 -03:00
waozi 9a69a2611c Use locked toolchain sources and share native GPU surface lifecycle 2026-11-28 14:27:42 -03:00
waozi c11378900d Publish runnable TSX website guide and verify all examples 2026-11-28 13:47:15 -03:00
waozi fc563eeaa4 Complete TSX authoring fixtures and preserve GPU image semantics 2026-11-28 13:23:20 -03:00
waozi 07332c30d1 Select the checked TSX compiler and migrate interactive fixtures 2026-11-28 11:57:53 -03:00
waozi ad7e8b8114 Respect checked view lifetimes and bind frame replay entries 2026-11-28 11:03:26 -03:00
waozi ca09bed835 Ship verified TSX starters and native editor bindings 2026-11-28 10:22:40 -03:00
waozi 4ea3a668f9 Complete TSX website examples and checked preview options 2026-11-28 08:51:02 -03:00
waozi 214504012c Complete the TSX website with full clipboard capacity 2026-11-28 07:23:07 -03:00
waozi 289f3daba4 Add typed portable GPU painting through the shared native tree 2026-11-28 06:54:34 -03:00
waozi 14aaa3f1b1 Isolate hosted Group imports and align maintained TSX project pins 2026-11-28 05:57:09 -03:00
waozi af568c6742 Resolve native and portable frame backgrounds from the application theme
Read the real platform palette before composition and pass the guest's resolved
background to each host. Preserve explicit palettes and canvas tokens across
live system theme changes without pulling stylesheet modules into lean apps.

Local tests: Alpha native C, ZX VM and zx2native pixels, startup and live GTK
palette changes, explicit light/dark/custom palettes, canvas tokens, retained
frames, existing system-theme and parent-theme fixtures; selective-import IR
and Linux/Windows/Android/Web frontend checks.

Shared current-tree Kryon push-check passed locally before this commit.
2026-11-28 01:27:56 -03:00
waozi 3adfe8a967 Version dragon favicons across Kryon website routes 2026-11-28 01:04:47 -03:00
waozi 961868405f Own portable input snapshots across host callbacks 2026-11-28 00:32:41 -03:00
waozi acde8bab05 Align TSX starters with verified packages and fix GPU triangles 2026-11-27 23:17:24 -03:00
waozi 628b8846cb Bind native guest services for TSX app hosts 2026-11-27 22:32:18 -03:00
waozi 79ab87054a Preserve completed web frames across canvas resizing 2026-11-27 22:04:27 -03:00
waozi 246d9033c2 Author remaining root example screens in TSX 2026-11-27 19:34:45 -03:00
waozi 78af36cc88 Align TSX project pins and trim duplicate verification 2026-11-27 19:21:25 -03:00
waozi f4bda47333 Preserve module paths and release hosted input borrows 2026-11-27 17:33:38 -03:00
waozi e2b0fbd891 Migrate Kryon UI composition to typed native TSX
Expose the native widget surface through ordinary typed TSX components and enforce application composition at generic export and entry boundaries. Migrate maintained screens, scaffolds, gallery publication and editor transport through the common checked IR path. Preserve native logic, retained component state, input and platform hosts; remove the pixmap application route.

Local validation: complete make push-check passed with published Ziran dc3ecf0a, including docs, public source/saved surface, private-display desktop input, native host links and Canvas input parity. Fresh CLI/player/desktop library installed and byte-verified. The full migration matrix records remaining owning suites, published consumer pins, platform runs and Alpha benchmarks; this is a source milestone, not completion of the full campaign.
2026-11-27 14:24:19 -03:00
waozi 7fc37d6861 Drive the canvas web harnesses on the GPU presenter
Point every browser canvas harness at the WebGL2 presenter: premultiplied bottom-up GL readbacks, SwiftShader browser flags, and boot-gated polling so a pre-boot pixel read cannot poison the drawing buffer. Migrate the stale fixtures to main-only entry apps and the kryon__ generated C names, and extend the behavior fixtures for GPU scissor reset. Document the WebGL2-only host in canvas.md, BACKENDS.md, FEATURE_MATRIX.md, APP_HOSTS.md and the changelog, and ship the component slot modules the web builds import.
2026-11-27 08:15:03 -03:00
waozi bf0d6eaf60 Begin Canvas frames before drawing and keep editor builds explicit 2026-11-27 06:55:17 -03:00
waozi afecfd06f8 Open native TSX in a workspace with current editor validation settings 2026-11-27 06:04:01 -03:00
waozi 9580826070 Configure native TSX editing with the Ziran VS Code checker 2026-11-27 05:39:37 -03:00
waozi 7f4fbe70f4 Keep Markdown source intact while folding technical ranges 2026-11-27 04:59:41 -03:00
waozi 4d9a9fed1a Migrate the stale frame-entry fixtures to the main-only entry and fix the pixmap bundle host bind 2026-11-26 22:04:04 -03:00
waozi e8b42fd4cb Finish flex layout, structural selectors and radial gradients end to end
Style: finalize structural sibling facts (:last-child family) at parent closure so late siblings match in the same frame, parse and match +/~ combinators from submitted siblings, and document the exact tree-context support. Flex: measured page/row/column placement with basis, grow, gaps and padding now sizes the gallery shell (header, scene row, controls bands) instead of manual rectangles. Paint: radial gradients reach every render path (desktop, pixmap, terminal, web, zx). Gallery: the catalog registry imports kryon/app (kryon/app_types is package-internal), fixing the widget-catalog project build broken by the entry-point removal; the desktop shell test follows the shared example build path and locates interactive controls by tree label.
2026-11-26 19:58:04 -03:00
waozi ddb7c1940b Wire text field storage itself and align the Ziran pin
A zeroed TextField.State now edits immediately: Bind points state.bytes\nat its own 256-byte storage when the application wires none, so declaring\na field no longer needs a companion buffer and a frame.first wiring step\nand can no longer silently ignore keys. Apps wanting another capacity or\nshared bytes still wire state.bytes themselves. The app template and the\ncheat sheet drop their draft buffers and wiring lines accordingly.\n\nAlso move KryonZiranRef to 44134562, where the templates already point\nsince dc4ac53c, so the four-template agreement holds again.
2026-11-26 11:15:17 -03:00
waozi e643adc4b2 Migrate gallery scenes to layout containers and document CSS completion 2026-11-26 10:23:29 -03:00
waozi dc4ac53c46 Host Three.js-style staged pages in an optional WebKit island
The zx player gains a WebView host module (WebKitGTK 4.1 on Linux): a
staged page runs in an owned python island child, maps its window into
the player, and answers bounds, seek, play, pause, stop and tick
commands over a versioned bridge; closing the player reaps the child.
Repin the toolchain and starter templates to the Ziran commit that
lets the direct backend lower expression-less UNUSED statements, and
stage the island script and assets beside the player.
2026-11-26 09:54:51 -03:00
waozi 6413091640 Load bundled Android pictures through the lazy cache 2026-11-26 06:45:27 -03:00
waozi a0b0faff18 Pin the app template to the kryon that teaches the new ergonomics
A fresh kryon new now serves the simplified starter: Frame.first wiring,
defer Ends, TextField.Value and Clear, against the css master pin.
2026-11-26 06:37:29 -03:00
waozi a0efdfbdf2 Simplify app state, field text and container closes
- Frame.first marks the first frame per session slot, so apps wire field
  bytes, theme and seeds once without a started flag.
- TextField.Value views a field's bytes (empty until wired) and
  TextField.Clear empties the field in the same frame.
- The app starter and cheat sheet close every container with a defer End
  right after it opens, so a missing End cannot fail a frame.
- AddTask refuses empty titles; task drafts own their bytes.
- Repoint the dead css package pin to css master 2be03f38 and refresh the
  starter's shot digests.
2026-11-26 06:37:11 -03:00
waozi aed283d87d Sample Android pictures before reducing thumbnails 2026-11-26 06:03:32 -03:00
waozi 6c3aaf4668 Keep text layout independent and install Windows native hosts 2026-11-26 01:18:56 -03:00
waozi 6e05a10339 Skip hidden glTF skins when the caller opts in 2026-11-26 00:21:10 -03:00
waozi 58c3aed94c Filter animated runtime bitmaps directly on the GPU 2026-11-25 22:26:44 -03:00
waozi bb9434f6c5 Add reusable Markdown image references for embedded editors 2026-11-25 21:24:07 -03:00
waozi 9bb28a7630 Keep styling optional for plain text 2026-11-25 21:06:03 -03:00
waozi c7879497ea Keep optional UI services out of simple text frames
Separate parent width queries, paint operations, bitmap metadata, style facts and color values from their optional implementations. Load portable editor policy with editing widgets instead of every frame loop. Preserve public widget APIs and renderer-free layout.

Align starter and fixture toolchains with readable dependency identities, recognize dependency alias module names in portable hosts, and rebuild the CLI when any project helper changes.

Local validation: 52 focused behavior tests; bitmap lifecycle on native, portable and browser paths; pay-per-import examples; headless ZX rendering and editor exchange; push-check; C/Go library build; all starter templates and toolchain pins; portable module-name test. Built and installed current CLI, player and desktop host.
2026-11-25 20:07:57 -03:00