Commit Graph
15 Commits
Author SHA1 Message Date
waozi 7e2ebe16ea Refresh native TSX examples, starters and website gallery 2026-11-29 10:17:53 -03:00
waozi 6a6d866625 Pin maintained Kryon projects to the published toolchain graph 2026-11-28 23:03:01 -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 14aaa3f1b1 Isolate hosted Group imports and align maintained TSX project pins 2026-11-28 05:57:09 -03:00
waozi 628b8846cb Bind native guest services for TSX app hosts 2026-11-27 22:32:18 -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 280443293a Align native TSX toolchain and shorten widget and host borrows 2026-11-27 16:18:31 -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 09664f076d Remove the program-export program entry; main is the only entry
main is the only program entry. Frame stays an ordinary function that apps pass to App.Run; the frame-entry export mechanism (frame_entry, ProjectFrame binds, KRYON_FRAME_ENTRY, *_run.zi hosts) is gone. The pixmap, dom, terminal, zx and android frame loops are now frames_*.zi modules that App.Run selects. Consumer tests and fixtures build their own shot programs through the kryon package exports, and the desktop project probe imports Window explicitly. General #program_export component exports stay.
2026-11-25 05:56:17 -03:00
waozi c0f1c51010 Port eight examples to a Layout column and fix what the move exposed
Checkbox, Toggle, Radio, Progress, Selectable, Link, SegmentedControl and
Spinbox now draw in a padded column with gaps from theme tokens: no
`b.y += 64` rows, no rectangles from the viewport. Their before and after
shots showed three widgets that sized themselves against the old layout:
Selectable took 120 wide and Spinbox kept its step buttons where it was
measured, and SegmentedControl spanned its parent's full width and painted
its face at the placed rect, so the queue moved it twice. TreeWillPlace
says whether the parent will place a widget; Selectable, Spinbox, Slider
and SegmentedControl leave an unset width for a placing column and keep
their own size otherwise. Their faces paint at TreeNodePaintBounds and
their child buttons go where the control was placed.

Shot digests, light theme, before -> after:
  checkbox          f7ab17936c4f -> f1952a7970d3
  link              a1befbe98fa0 -> 2165502e9c11
  progress          8e3bf04b7e14 -> c32eae06b94c
  radio             b9c9350000da -> 32be1359be23
  segmentedcontrol  3430928d8aef -> ee33eb6832b8
  selectable        ca8c8bc13c92 -> 8dbe6443825b
  spinbox           b0c8c431d3bf -> 32544e8d402f
  toggle            ca379112f581 -> 768dd009d695
2026-11-22 23:33:53 -03:00
waozi 9994b820b0 Drop widget keys from the examples and older templates
Widgets are known by their call site now, so the examples and the pages,
tui and web templates stop numbering them: literal keys, `100 + index`
loop keys and the key parameters threaded through Label, Heading,
Paragraph and link helpers are gone. Keys stay where something points at
them: a guided tour's target, the gallery site's test handles and the
dashboard.
2026-11-22 23:07:25 -03:00
waozi 3627ea8a90 Remove raylib from Kryon
Kryon carries no raylib code. The ten raylib host modules, the raylib
ZX player, the raylib audio sink and media provider, their tests and
docs, mk/raylib-library.mk, mk/zx-raylib.mk, mk/raylib-shell.html,
cmake/renderer-artifact, the renderer-raylib artifact, the
`backend = "raylib"` profile and [dependencies.raylib] are gone.
Desktop, Android and Canvas hosts keep the shared image, shader and
audio coverage. Browser asset and PCM audio play through
media_audio_web on the Canvas WebAudio engine; native audio uses
Ziran's core audio modules through media_audio_desktop.

macOS CI builds the desktop ZX player and checks the headless bundle
with it. The toolchain moves to Ziran 7fbc8152, which carries the
optimizer fixes the tree-input test needs. All 99 example locks are
regenerated as CI resolves them, without raylib.
2026-11-17 20:59:37 -03:00
waozi ff07bddbec Simplify hello world and package widget APIs 2026-11-13 04:29:23 -03:00
waozi e8c6aa25c1 Integrate components and the public UI surface 2026-11-10 15:37:48 +00:00