Commit Graph
43 Commits
Author SHA1 Message Date
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
waozi 92ae0b4786 Allow custom value text on Slider widget
Add an optional value_text_override parameter to DrawUISlider, UISliderNode, and Slider. When non-NULL it is rendered instead of the default "%d + suffix" formatting, so callers can display values like "1.8x". Passing NULL preserves the existing behavior.
2026-08-11 02:46:04 -05:00
waozi 90e759af65 Support standalone KITE IDE 2026-08-01 09:59:24 -03:00
waozi 478be8d74a Add shared font subsetting target 2026-07-27 18:56:48 -03:00
waozi 7e8f316eb5 Rename Lyra sync APIs to Ksync 2026-07-27 08:52:02 -03:00
waozi e4659ea31f Rework Platforms grid: add Windows, macOS, FreeBSD
Replace the Native and Network placeholder cards with concrete
targets that Kryon actually ships: Windows (native + WinINet assets),
macOS (native desktop builds), and FreeBSD (native/embedded). Native
and Network were not first-class runtime targets.

Add hand-drawn 16x16 pixel-art icons for FreeBSD (beastie devil head)
and macOS (graphite apple) to match the existing tux/droid/win/wasm
icon set, plus a generator script for reproducibility.
2026-07-25 10:15:50 -05:00
waozi 5abaec74b1 Refresh Kryon site and release flow 2026-07-21 19:55:38 -03:00
waozi 5108e22141 Recover stale Kryon app build locks 2026-07-21 15:56:44 -03:00
waozi ddd6bf99a7 Serialize Kryon app builds 2026-07-21 15:53:34 -03:00
waozi 73251ab1e3 Add Kryon app build runner 2026-07-21 15:38:11 -03:00
waozi 137f6ac413 Rename Flint runtime to Kryon 2026-07-20 11:25:19 -03:00
waozi 2123449504 Add Kryon widget inspection lifecycle 2026-07-20 10:56:27 -03:00
waozi a27554e4c8 Reduce generated icon asset line count 2026-07-12 23:19:15 -03:00
waozi 67c4e768be Improve Flint static package 2026-07-12 17:25:03 -03:00
waozi 1b61430f94 Restore raylib RGFW backend renames after Win32 undef 2026-07-11 18:12:56 -03:00
waozi 645f91d43e Fix Windows raylib wrapper symbols 2026-07-11 17:35:41 -03:00
waozi ccc9cbcc32 Restore PlaySound rename for Windows raylib builds 2026-07-11 16:49:31 -03:00
waozi 6f685051f6 Reorganize Flint sources and profile icons 2026-07-11 13:08:04 -03:00
waozi dc83383773 build: update Makefiles for moved sources (ui, lyra, file_dialog) and use wildcard SRCS 2026-07-11 12:41:17 -03:00
waozi d1684227df Add shared profile header pfp picker 2026-07-11 09:46:03 -03:00
waozi 43d04079ac Preserve renamed PlaySound backend 2026-07-10 23:53:52 -03:00
waozi faf2d95044 Move Raylib backend fixes into Flint 2026-07-10 22:30:19 -03:00
waozi d981aff430 Rename public API to raylib-style names 2026-07-09 15:42:55 -03:00
waozi 7ec339c73b fix script 2026-06-23 12:02:00 -03:00
waozi aa4a5b0c9d improve icon generation 2026-06-23 10:51:26 -03:00
waozi f28ecd4c53 add platform.h to flint 2026-06-23 00:32:02 -03:00
waozi 4dc9525a12 update from inbe 2026-06-22 15:50:26 -03:00
waozixyz 5789fc658a Add embedded asset support 2026-06-11 22:01:05 -03:00
waozixyz 8ce54f421a Embed Flint icons from source assets 2026-06-09 23:12:07 -03:00
waozixyz 3371c3c6ae Embed icon assets in Flint source 2026-06-09 22:18:13 -03:00
waozixyz 70698da0e6 Clean up Flint UI and embedded icons 2026-06-09 21:30:17 -03:00