Commit Graph
80 Commits
Author SHA1 Message Date
waozi 3439f5aa9a Harden Kryon boundaries and preflight checks 2026-08-29 11:36:38 -03:00
waozi c9e5601f77 Improve Canvas2D backend parity 2026-08-28 19:02:42 -03:00
waozi 966af47a0a Fix conformance matrix build directory 2026-08-27 23:18:34 -03:00
waozi e462d24b30 Rename terminal showcase to ktrem 2026-08-26 04:00:38 -03:00
waozi aebb5d3a75 Add live website examples gallery 2026-08-26 00:17:02 -03:00
waozi 95c409a426 Add generated progress parity coverage 2026-08-25 16:08:27 -03:00
waozi fb9b83ea3c Add generated list box parity coverage 2026-08-25 15:56:24 -03:00
waozi c819754565 Add generated table parity coverage 2026-08-25 15:45:28 -03:00
waozi 752294700b Add generated controls parity coverage 2026-08-25 15:22:07 -03:00
waozi 06dc6a24c7 Add visual comparison matrix 2026-08-25 14:56:55 -03:00
waozi c4d5262ca8 Add web Canvas source capture matrix gate 2026-08-25 14:44:27 -03:00
waozi d1be565333 Track generated C renderer matrix gaps 2026-08-25 12:24:09 -03:00
waozi b844ac0caa Capture raylib generated C windows 2026-08-25 11:39:41 -03:00
waozi 12724da33d Add raylib generated C matrix gate 2026-08-25 11:35:56 -03:00
waozi 0f2766f986 Expose renderer source matrix on website 2026-08-25 11:31:54 -03:00
waozi 63139449c6 Use Rect as canonical shape widget
Update matrix examples, generated website data, and feature docs to use Rect rather than RectangleShape.

Keep RectangleShape as a compatibility alias and map Rect to it only for libdraw builds to avoid the plan9port Rect symbol collision.
2026-08-25 11:17:05 -03:00
waozi 627dbcc76f Normalize matrix sources to current UI APIs
Convert Inbe and matrix fixtures to current prop structs, RectangleShape, and UIScrollArea/BeginUIScrollContainer APIs.

Teach KRB lowering the current scroll-container pattern, fix array dropdown option text, and align scroll rendering with the current container behavior.

Update conformance matrix docs/data and recovered libdraw generated-C coverage.
2026-08-25 11:06:00 -03:00
waozi d78fee9e53 Add libdraw generated-C matrix capture
Add a generated-C capture harness and libdraw source matrix gate that lowers each checked-in .kry source, links it through the generated app host, and captures a libdraw frame where the generated C is currently compile-ready.

Track current generated-C lowering gaps explicitly in the website matrix so libdraw coverage reports captured and blocked sources truthfully.
2026-08-25 10:36:47 -03:00
waozi 94304f7b5a Add KRB web source matrix gate
Build the KRB web wasm host in oneshot mode and byte-compare every matrix source against native kry_sw output.

Expose the KRB web per-source gate in the renderer matrix and conformance checks.
2026-08-25 10:19:43 -03:00
waozi 57716a8b0a Gate widget coverage in conformance matrix
Add a checked-in .kry widget catalog source and fail the matrix when a declared widget has no .kry coverage.

Expose per-widget source coverage and semantic evidence in the website matrix.
2026-08-25 10:09:09 -03:00
waozi a993e36341 Add runtime and downstream matrix gates
Gate generated Go/C parity and Kapsule downstream tests from the conformance matrix.

Fix retained-tree TextField construction and clean generated C names exposed by the expanded checks.
2026-08-25 10:02:15 -03:00
waozi 3e2d01ffb2 Add Go toolbar menu and workbook icons 2026-08-25 09:44:49 -03:00
waozi fb6d7055a8 Add renderer smoke matrix gate 2026-08-25 09:41:56 -03:00
waozi 3057aea4a9 Add KRB visual conformance checks 2026-08-25 09:38:02 -03:00
waozi 6d530f593e Add generated Kry conformance matrix 2026-08-25 09:26:25 -03:00
waozi 9cffcb00a8 Add eye visibility icons 2026-08-24 15:19:42 -03:00
waozi 3bb0d89e52 Show showcase authors on site 2026-08-24 14:19:34 -03:00
waozi 14761577f5 Generate showcase ranking data 2026-08-23 22:35:27 -03:00
waozi a5f52a69d7 Make icons tree the shared source root 2026-08-23 17:57:09 -03:00
waozi fd30ba8c6b Harden the compound literal rewriter against conditional includes 2026-08-23 09:35:04 -03:00
waozi 3ae5212b0d Drop line-splicing backslashes left by the comment stripper 2026-08-23 01:41:48 -03:00
waozi 0685abb6e8 Replace short compound literals with zero constants for the plan9 compiler 2026-08-23 00:28:44 -03:00
waozi 1536383af6 Fix comment apostrophe stripper to keep line-comment newlines 2026-08-23 00:19:43 -03:00
waozi 697128263a Preprocess the plan9 build through the system cpp and strip comment apostrophes 2026-08-23 00:13:59 -03:00
waozi 5d3a7430ca Add Kryon app showcase 2026-08-22 01:12:37 -03:00
waozi 65fb87ff27 Check generated feature matrix docs 2026-08-21 23:05:42 -03:00
waozi c4b7d05429 Document qualified generated Go runtime 2026-08-21 21:36:20 -03:00
waozi 668f4d16f1 Document Kry language and publish benchmarks 2026-08-19 18:21:07 -03:00
waozi e0c588cd23 Add Linux desktop integration helpers 2026-08-19 15:47:56 -03:00
waozi 7055557bf5 CI: gate on public-HTTPS submodule URLs
A guard job (plain checkout, canonical script) fails the run when any
.gitmodules URL is not https:// — SSH URLs work only for a developer
with the right key and break fresh clones, CI and release builders
instead. make test runs the same check locally.
2026-08-19 15:28:04 -03:00
waozi dd5f9fc356 kry_std: kry_update_flow — the embeddable self-update lifecycle 2026-08-19 14:01:25 -03:00
waozi 78e9c369ca docs: k2c column, bare widget names, and a permanent HTML renderer
The widget matrix gains an explicit k2c column (always equal to C —
.kry reaches the whole API through plain call statements; the note was
prose-only before) and drops every DrawUI*-prefixed spelling in favor
of the bare widget names.

go/kryui now aliases the remaining prefixed calls (TextInputControl,
GenericButton, TextButton, ReadonlyTextBox, Dropdown(DropdownEx,
LocaleDropdown), VerticalSlider, Checkbox, ToggleSwitch, Hyperlink,
IconBtn) so the bare surface is complete; the C-mirroring spellings
stay as the definitions for existing callers.

scripts/feature-matrix-html.py renders the browsable color-coded view
(regenerate after every matrix change); the current HTML is committed
alongside.
2026-08-18 16:55:59 -03:00
waozi 7cedd937fa web: build the current KRB compiler sources 2026-08-17 20:58:40 -03:00
waozi 39a09109d0 web: link shared KIR parser into IDE tools 2026-08-17 20:36:45 -03:00
waozi 8b9bb98fa7 ui: make text rendering event efficient 2026-08-17 17:52:55 -03:00
waozi 2b348a5a9f build: log missing SDL2 DPI query once instead of every frame
The SDL2 raylib backend has no GetWindowScaleDPI implementation and
warned on every call. Applications that query the scale each frame
wrote a stderr line 60 times per second and spammed launch terminals.
Guard the warning with a static flag in the staged raylib source.
2026-08-17 14:39:27 -03:00
waozi 52502d81a6 release: automate versions and publish all tools 2026-08-17 12:17:00 -03:00
waozi 5cd9b4b119 kryon-app.sh: project.kryon target runner with default_target support 2026-08-16 19:52:41 -03:00
waozi d1d6c7a6ec Add Kryon browser IDE 2026-08-13 13:16:14 -03:00
waozi 2bb8640279 Add retained scene tree foundation and rename UI Sprite to Picture
- include/kry_math.h: Vector2 math and KryTransform2D (compose/point/camera)
- include/scene_tree.h + src/scene/scene_tree.c: KryScene/KryNode retained
  node tree with array arena, parent/child links, world-transform update,
  lifecycle vtable (ready/process/physics_process/draw), KrySceneTick/
  PhysicsTick/Draw driver
- include/node2d_props.h: Camera2DProps, Sprite2DProps
- Rename UI Sprite widget to Picture (raylib owns Image as a struct):
  ui_sprite.h -> ui_picture.h, SpriteProps -> PictureProps,
  UISpriteFit -> UIPictureFit, UI_SPRITE_FIT_* -> UI_PICTURE_FIT_*,
  Sprite() -> Picture(); extract shared texture cache to
  src/ui/ui_picture_cache.c (KryLoadPictureTexture, KryPictureFitRect)
  shared by the Picture widget and the upcoming Sprite2D scene node
- Migrate example, docs, node registry to the Picture name
2026-08-11 03:11:34 -05:00