7 Commits
Author SHA1 Message Date
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 e2df0721cd Port 23 more examples to Layout columns; place Image and PanedView ahead
BandChart, Box, CandleChart, DiscreteSlider, Flow, Image, InlineEdit,
Kanban, LineChart, LineChartCompare, MoneyField, OneTimeCode, Page,
PanedView, Plot bars and lines, ScrubField, Shape, ShortcutRecorder,
Slider, TableView, TagInput and TreeView draw in a padded Layout column;
Box lays its caption over the surface in a Stack. Image and PanedView
read their rect before submitting a node and now place themselves ahead,
so a column shows the picture and keeps the panes inside its padding.
Popup stays at its explicit rect: an overlay places itself.

Shot digests, light theme, before -> after:
  bandchart         cfd806fbd932 -> d37fe84375f2
  box               d6ddc973a937 -> a821528e410f
  candlechart       f2e99d28cdf1 -> cd5f05909ee6
  discreteslider    f5272a989129 -> 70622cc955d9
  flow              2c5805b26b8b -> 3e22f2b27294
  image             ca6250c0a36d -> 3fb48f5fd6b8
  inlineedit        8a527d0ad8ac -> f866a3238cb1
  kanban            dd5a34289cc8 -> f8c1ef8bb347
  linechart         cc8e3ef43199 -> 5fd1b3ad6ee2
  linechartcompare  7a8b1df653c7 -> 945b38580f5b
  moneyfield        c68414de862d -> dc7081c25f6c
  onetimecode       ffa8c2b07b64 -> f31c29882232
  page              a0e259c9a197 -> 93471a5ffc7a
  panedview         c989da6c2e7d -> 1bea2c600517
  plotbars          a9a4863153a8 -> 328835f9f30f
  plotlines         0c37c01f8363 -> cd702f3d76e1
  scrubfield        ed4adbba3b14 -> e54c141be31f
  shape             afea96070eff -> d0fda20c598f
  shortcutrecorder  2c5d3a09f612 -> a7d1ecf60db4
  slider            572dbc46e242 -> fce52743e18d
  tableview         586c1be5b4b3 -> 82df7903b3ac
  taginput          cfa785b58e2c -> 02253e90ba58
  treeview          f5dbe580fdd0 -> 7b80a157be8c
2026-11-23 00:46:17 -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 2b7023eb8e Name the text size field in the chart and table examples 2026-11-15 20:44:30 -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