Commit Graph
28 Commits
Author SHA1 Message Date
waozi e0c588cd23 Add Linux desktop integration helpers 2026-08-19 15:47:56 -03:00
waozi 7b6048a9df canvas: split the backend into per-concern sources
canvas_backend.c (1882 lines) becomes canvas_window/input/draw/texture/
text/os/audio.c plus canvas_internal.h, one file per banner section the
monolith had already grown. Pure code motion: the node call-sequence
gate records an identical 413-call trace before and after.

The canvas branches in Makefile, mk/common.mk, and examples/Makefile no
longer append the backend file on top of the src/ find sweep — that
would have compiled every canvas TU twice. docs: BACKENDS.md path and
empty-TU wording, FEATURE_MATRIX.md stale 'approximated' note.
2026-08-18 22:29:08 -03:00
waozi ccec103ebc k2b: report call kinds the KRB vocabulary cannot express
A cartridge that comes out thin (inbe's pet screen: an egg widget,
locale text, Paragraphs) was silently missing everything k2b cannot
lower. The builder now tracks dropped call kinds per file and prints
one stderr line: 'k2b: <file>: N call kinds not in KRB: Paragraph x2
draw_egg x1 ...' - pet_screen.kry reports seven, which is the honest
content of the gap.
2026-08-16 07:52:09 -05:00
waozi b44b946979 kryon owns the transport, not the vendor: drop kry_zai
kry_json + kry_http are provider-neutral stdlib pieces; a z.ai GLM
client (endpoint, model, key handling, wire format) is harness logic and
moved to krait (native_ai.c). inbe and other apps no longer link a
specific commercial LLM vendor.
2026-08-15 06:56:29 -05:00
waozi 90e759af65 Support standalone KITE IDE 2026-08-01 09:59:24 -03:00
waozi ce2bddba02 Add Kryon IDE start page and fix preview inspection
Replace the bare recent-projects welcome screen with a centered start
page: a New Project action that scaffolds project.kryon + a hello-world
main.kry into a chosen folder, a Recent Projects list, and an Examples
grid with one card per examples/*.kry. The sidebar is hidden when no
project is open so the start page fills the canvas; opening a .kry
selects its screen and shows the preview column.

Update examples to the current kc syntax: drop the removed `var` keyword
from all declarations (they already use `name: type = value`) and replace
the custom `set_theme` verb in 03_theme.kry with `native SetCurrentTheme`
so the generated C compiles. All 17 examples now transpile and build.

Fix the preview inspect overlay registering zero widgets. draw_preview_pane
restored the editor camera via SetUIInspectFrame(NULL) through SetUIFrame,
which wiped the widget list that DrawAppScreen had just populated. Restore
the camera directly instead, so the 17 preview widgets survive and
DrawUIInspectOverlay can outline them and click-to-source works.

Build with -fPIE in mk/common.mk so the static lib links into PIE
executables on PIE-default Linux toolchains.
2026-07-24 20:16:11 -05:00
waozi 137f6ac413 Rename Flint runtime to Kryon 2026-07-20 11:25:19 -03:00
waozi a462581680 Add Clay and remove fontchop 2026-07-18 07:29:00 -03:00
waozi fd3adb5de4 Add real font asset loading 2026-07-16 21:43:27 -03:00
waozi d606232116 Use fontchop submodule for UI fonts 2026-07-15 23:36:23 -03:00
waozi 645f91d43e Fix Windows raylib wrapper symbols 2026-07-11 17:35:41 -03:00
waozi 6f685051f6 Reorganize Flint sources and profile icons 2026-07-11 13:08:04 -03:00
waozi 06d0d82ec3 Generate Raylib backend wrappers 2026-07-10 23:51:06 -03:00
waozi 4d1e150737 Add FreeBSD package make support 2026-07-10 19:24:59 -03:00
waozi e88dcf4cae Use native output directories for host builds 2026-07-10 00:39:10 -03:00
waozi 6d859bd7a0 Support BSD make and generic liboqs builds 2026-07-09 18:51:30 -03:00
waozi 0868f12a66 Use raylib fork for audio period controls 2026-07-09 18:27:01 -03:00
waozi d981aff430 Rename public API to raylib-style names 2026-07-09 15:42:55 -03:00
waozi 398b6daa21 Add native FreeBSD support 2026-07-09 13:25:23 -03:00
waozi 81e6ecdb48 Add Lyra account and shared vendor build rules 2026-06-27 17:22:55 -03:00
waozi 7dc8c90f7c Vendor raylib through Flint build rules 2026-06-26 23:55:07 -03:00
waozixyz e241e28ac4 Enable MP3 audio format 2026-06-13 11:08:17 -03:00
waozixyz 5e6995c81b Add runtime asset downloader 2026-06-13 10:44:14 -03:00
waozixyz 51537af2df Parse asset lists for make vars 2026-06-13 00:20:23 -03:00
waozixyz 443440554a Cleanly stage web dist outputs 2026-06-12 16:32:52 -03:00
waozixyz c33479f1fe Isolate raylib build directories per target 2026-06-12 10:22:10 -03:00
waozixyz 57b8a1d570 Generalize project make variables 2026-06-12 03:18:05 -03:00
waozixyz 299792980b add makefiles 2026-06-11 23:57:46 -03:00