37 KiB
37 KiB
Changelog
v0.1.20 - 2026-08-18
Changed
- Release: bump version to v0.1.20
- Canvas: compile to an empty TU outside emcc
- K2g: reach Go parity on the Runtime surface
- Canvas: implement the HTML5 Canvas2D Tier A backend
v0.1.19 - 2026-08-18
Changed
- Release: bump version to v0.1.19
- K2c: emit a runnable main for screen-only apps
- Build: keep the canvas backend out of native builds
- Tools: aero_shot renders the themed widget showcase to PNG
- Screenshots: neutral arm name, opt-in debug dumps, shared PNG writer
- Docs: k2c column, bare widget names, and a permanent HTML renderer
v0.1.18 - 2026-08-18
Changed
- Release: bump version to v0.1.18
- Backend: compile the KRB audio cap out without the raylib audio module
- K2g: lower typed declarations, arrays, and goto/labels for real
- Compat: let apps drop the audio forwarders from the generated wrappers
- Krb-run: --backend fb presents cartridges on the Linux framebuffer
- Kry_sw: track the dirty rectangle per call
- K2b: lower Combobox to a KRB_CTRL_COMBOBOX control
- Screenshots: fix PNG chunk CRCs in the native writer
- Docs: cover the Aero style with an example, tests and API notes
- Ui: Aero paint branches across the widget set
- Theme: add the Aero widget style
- K2g: cover the full widget whitelist on the Go Runtime interface
v0.1.17 - 2026-08-18
Changed
- Release: bump version to v0.1.17
- Docs: add FEATURE_MATRIX.md mapping widgets and features across targets and backends
- Ci: drop the renderer KRY_SW_SRCS overrides
v0.1.16 - 2026-08-18
Changed
- Release: bump version to v0.1.16
- Ci: include kry_sw_png in the renderer KRY_SW_SRCS overrides
- Build: link kry_sw_png into the KRB logic and asset tests
- Build: link kry_sw_png into the KRB logic and asset tests
- Tray+notify: SetDesktopTrayIcon emblem swap, action-capable notifications
- Kry_sw: decode PNG assets for texture draws
- Ui: build and test the secondary window paths
v0.1.15 - 2026-08-18
Changed
- Release: bump version to v0.1.15
- Ci: run workflow actions on Node 24 runtimes
v0.1.14 - 2026-08-18
Changed
- Release: bump version to v0.1.14
- Ui: make retained frames work without a render context
- Test: trace and stress retained text input
- Ui: select all text on double click
- Test: cover click then tab field traversal
- Correct secondary window texture orientation
- Ui: route retained focus traversal
- Build: always index static runtime archives
- Runtime: enforce one app instance by default
- Synchronize shared secondary window textures
- Runtime: pace event-driven UI frames
- Kryui: window flags and min size on the k2g AppConfig
- Present secondary window textures without readback
- Ui: keep font atlases immutable while typing
- K2g: host bridge, enums, switch and full for headers
- Render SDL secondary windows with shared GL contexts
- Disable unsafe Linux secondary SDL windows
v0.1.13 - 2026-08-18
Changed
- Release: bump version to v0.1.13
- Web: build the current KRB compiler sources
- Build: avoid case-colliding makefiles
- Ci: invoke Homebrew GNU make directly
- Ci: pin the macOS renderer compiler
- Ci: ignore macOS make compatibility preload
- Ci: reset inherited make flags on macOS
- Web: link shared KIR parser into IDE tools
- Ci: prevent recursive macOS renderer build
- Ci: install renderer toolchain dependencies
- Ci: build renderer targets from complete checkouts
- Ui: enforce cross-lowering text input latency
- Avoid fixed buffer when canonicalizing tray icon path
- Pass absolute icon path to AppIndicator
- Resolve tray icon theme path for GNOME
- Ui: complete retained text editing actions
- Revert "Fix C-style local declarations in k2c"
- Test: cover legacy k2c declarations
- Ui: retain mouse and keyboard text selection
- Fix C-style local declarations in k2c
- Ui: rebuild font atlases only between frames
- Add SDL auxiliary windows for Wayland
- K2c: preserve anonymous enum declarations
v0.1.12 - 2026-08-17
Changed
- Fix AppIndicator icon lookup on Wayland
- Ui: retain selected font for deferred text
- Release: bump version to v0.1.12
- Go: expose retained declarative UI
- Ui: add retained declarative tree and typed events
v0.1.11 - 2026-08-17
Changed
- Release: bump version to v0.1.11
- Ui: make text rendering event efficient
v0.1.10 - 2026-08-17
Changed
- Release: bump version to v0.1.10
- Ui: add fixed-subset font sources
v0.1.9 - 2026-08-17
Changed
- Ui: copy font type string in RegisterUIFontSource
- Ui: raise font raster tier cache from 4 to 8 slots
- Ui: sample system theme from CSS before initializing GTK in-process
- Release: bump version to v0.1.9
- Build: log missing SDL2 DPI query once instead of every frame
Fixed
- Text entry stays responsive when an app mixes its regular UI font with emoji or icon fonts, even when the fallback is registered first.
- Typing and redrawing text no longer repeatedly scans the full font atlas for every glyph.
- UI text uses exact-size font rasters, and idle windows can sleep until the next input event.
v0.1.8 - 2026-08-17
Changed
- Release: bump version to v0.1.8
- Ci: install Go on FreeBSD
- Build: link FreeBSD curl codec dependencies
- Go: add reusable grid cell editor
- Build: search FreeBSD ports libraries
- Test: build capability cartridge fixture
- Ci: install GTK for Go binding smoke tests
- Build: apply GIO notification include flags
- Ui: finalize deferred overlays at frame end
- Ci: install and link GIO notifications
- Release: automate versions and publish all tools
- Go: support arm64 native linking
- Ui: persist line selection and expose pictures
- Go: expose theme style selection
- Ui: add scroll-safe multiline text selection
- Ui: use neutral colors for tables
- Go: add secure password fields
- Go: expose text area focus state
- Go: expose tab key compatibility constant
- Go: complete raylib drawing compatibility helpers
- Go: expose toolkit collection and dialog widgets
- Go: expose window focus activation
- Go: pin text editor state across cgo calls
- Go: add native runtime and stateful controls
- Go: own the kryui runtime bindings
- K2ir: strip block comments while reading lines
- Krb caps: reference host backends — storage, audio
- Krb: plan-08 capability registry
- KrbAutoMount: state initializers render without a host
- Examples: profile and habit-edit screens — 11 cartridge screens
- Kir_parse: skip plain # comments in TOP mode
- Examples: statistics screen cartridge
- Native exactness gate: PASSES for the language screen
- Dropdown: measured native shape — rounded fill+border r3, diamond indicator
- Language screen: truncating advances + native dropdown shape — structural 1530 -> 241
- Native exactness comparator: AA-only vs structural classification
- Atlas: sub-pixel advances; language cartridge from traced values
- Atlas: raylib's ascent-shifted glyph offsets + per-mille UI scale
- K2b atlas: fix GetCodepointBitmapBox extents; tier collection and UI-scale plumbing
- Kry_sw: ui_text.c advance rounding; krb-sdl: deterministic single-frame dump
- K2b atlas: raylib-identical glyph rasterization
- Language cartridge: matched to the native reference frame
- Screenshots: working native capture — pre-swap read + self-written PNG
- Tests: arm the pre-swap capture in the native harness
- Screenshots: ES2-safe capture — armed EndDrawing reads pre-swap
- Tests: harden the xwd-path kill (TERM, then KILL)
- LoadImageFromScreen: front-end override reading the front buffer
- Tests: xwd-based native capture for software GL
- K2c: initializer items take no inspect wrapper
- K2c: multi-line array initializers
- Tests: native exactness runs the app from the repo root
- K2g: .kry -> Go backend on the shared Kir frontend
- Krb v2: animated geometry — WHM session screen runs live in-cartridge
- Examples: practice config screen cartridge (sliders, spinboxes)
- Examples: habits screen cartridge (bound streak counters)
- Krb v2: screen navigation — the whole app in one cartridge
- Examples: manual screen cartridge (scrolling guide + breath circle)
- Ci: exactness job — cross-engine byte-identity + krb unit tests
- Examples: settings screen cartridge (scroll + dropdowns + checkboxes)
- TakeScreenshot: use absolute paths as-is
- Tests: native-comparison exactness harness (stage 2)
- Tests: cross-engine screenshot-exactness harness
- K2b: fix guard single-term parsing, positional ButtonProps, dropdown height
- K2b: arithmetic expressions in guard conditions
- Krb v2: dropdown controls
- Krb v2: text input — TEXTINPUT node + typed-codepoint vtable path
- Krb v2: scroll containers
- K2b+engines: KFA1 glyph atlas — antialiased Noto text in cartridges
- K2b: else branches and state-vs-state guard comparisons
- K2b: decode png/jpg/bmp/webp and embed as cartridge pixels
- Style tokens: fixed-pixel corner radii, not size fractions
- Renderers: web player opens any .krb + CI builds per-platform downloads
- K2b: embed referenced assets into the cartridge
- Krb v2: embedded asset section + texture_rgba blit
- Material style: subtle control rounding instead of full pills
- K2b: compile .kry state updates and if-guards into v2 VM programs
- Scene_inspect: set SO_REUSEADDR so quick restarts rebind
- Kry_json: expose kry_json_type
- Docs: KRB_FORMAT.md rewritten as an exact byte-level specification
- Scene: live JSON inspection server
- Krb v2: in-cartridge logic VM + circle/ring geometry nodes
- Scene/property/signal/transform: drop the Kry/Kryon prefix from the public API
- Scene: recycle removed node slots through a freelist
- Test: host default style follows the MATERIAL default
- Scene: application-defined node kinds with property callbacks
- Krb-sdl: SDL2 desktop host for KRB cartridges
- K2c: fix one-line control blocks, char literals, and locals named c
- Krb-web: native web engine — kry_sw compiled to wasm, blitted to ImageData
- System_theme web: snprintf not app copy_text
- System_theme: web prefers-color-scheme detection; default source SYSTEM on web
- Krb: kry_sw software rasterizer engine + headless conformance harness
- Kir: 'c:' is a typed decl, not the raw-C 'c' keyword
- Desktop_tray: drop GTK type-cast macros - they expand to gtk_*_get_type() calls the dlopen shim does not forward
- Ksync: harden crypto, exports, JSON, delete, and sync transport
- K2c: fix braced and bare-default switch cases
- Kryon-app.sh: project.kryon target runner with default_target support
- Ui_text: per-size raster tier cache (4 tiers) instead of single base raster
- Docs: plan 11 — renderer engines for KRB cartridges
- K2c: join multi-line initializers on '::' global declarations
- Theme: default to MATERIAL on all platforms for now
- System_theme: read the GTK palette straight from the theme's gtk.css when the process has no GTK
- Theme: platform default source/mode helpers (system theme on desktop)
- Ui_window: WIP center flag, drag/right-click/click-position queries, X11 move hook
- Mem: diagnostics; ui_text: single-tier font rasters; tray: lazy GTK
- K2b: report call kinds the KRB vocabulary cannot express
- Site: add Discord and Telegram community links
- Widgets: PickerDialog; Spinbox value text + wrap; public ButtonRow height
- Ui_window: Windows/macOS compile the no-op stubs
- Guide overlay: Android back key closes the guide
- Kry_term: drop downstream tool name from the feed comment (boundary check)
- Kry_term: KryTermFeedOutput - harness text printed into the terminal
- Kry_http: streaming partial reads (kry_http_partial) + locked write callback
- Ui_window: include stddef.h so the android/web stubs see NULL
- Kry_sfs: the live engine as a synthetic file system + real input injection
- Ui_window: extra OS windows rendered with the regular UI widgets
- Kt: drop the 'target ide' fork of krait
- Kryon owns the transport, not the vendor: drop kry_zai
- Notification/android: declare GetAndroidApp
- K2c: emit '#define' constants in the generated header
- Kry_http: no-curl stub signature must match the header (const mismatch broke PLATFORM_WEB)
- Web present shim: take the GL context before hiding the canvas (display:none canvases cannot create contexts in some engines)
- Kry std: kry_json, kry_http, kry_zai — the AI-harness foundation
- Web present shim: ?kryonpresent=debug forces activation and reports state via document.title
- Web: kryon-web-present.js — 2D-canvas present mode for WebKitGTK+software GL
- Add cross-platform notification helpers
- Kc is fully gone: CHANGELOG/docs/comments now say k2c
- Theme_picker: switch width matches the retro toggle's content minimum
- Ui_dpi: web viewport is already CSS pixels — don't reapply devicePixelRatio
- Kir joiner: adjacent string literals on continuation lines join
- Kir joiner: '} #else_if COND {' region chains complete as statements
- Kry_signal.h: last kc comment says k2c
- Remove the last kc remnants
- K2c: #private functions are file-static with forward prototypes
- K2c: resolve bare function references passed as call arguments ('set_cb(name)' / 'f(a, name)'), and grow LOWER_TEXT_MAX with KIR_TEXT_MAX so long initializers stop truncating mid-identifier.
- K2c: guard statements, array params, alias-call stem matching, init rewrites
- Kir joiner + k2c name-resolution fixes
- Kir joiner: three continuation bugs
- Kir: compute the body '#if' kind once — parse_cond_start strips the trailing '{' in place, so the second parse in the emission branch saw no brace and every body '#if' lowered to '#elif'.
- Kir+k2c: '#if' regions lower to C preprocessor conditionals
- Tests: default tool paths to the canonical per-platform bin dir
- K2c: array-typed parameters emit C syntax ('T name[N]')
- Kir: parse K&R '} else {' as close + else re-open
- Vendor.mk: fix K2C path export (make ate the sed $ anchors)
- Remove legacy build/bin tool aliases; export canonical K2C for consumers
- Kir: the '#if' region skip runs before import capture
- Kir+k2c: top-level 'static name: T = init' globals; skip captures in unevaluated '#if MACRO {' blocks
- Kir+k2c: capture the 'args' header directive; C-style params pass through
- Kir+k2c: '#private' imports include in the .c only
- Kir: ':=' classifies as DECL before the raw-'c' escape hatch
- Kir+k2c: named enums ('Name :: enum { ... }' -> typedef enum)
- K2c: angled includes stay angled; extension-less header imports append .h
- K2c_project: drop IDE name from comment (boundary rule)
- K2c: emit kryon_project.h/.c (app-host ABI) + main() from Kir
- K2b: migrate to the shared Kir frontend — one frontend, two backends
- K2c: #global variables have external linkage; header order typedefs->enums->globals->structs
- K2c: colon functions keep their bare C names; bare-ref resolution only in assignment-RHS
- K2c: don't rewrite member-access calls (x->fn(...) / x.fn(...))
- K2c: krait's full IDE corpus compiles — all 8 generated files, zero errors
- K2c: emit #extern prototypes with alias-stripped args
- Kir+k2c: typedefs with names, enum commas, type emission order, ternary/&& joins
- Kir+k2c: '#type' typedefs; angle-bracket includes don't join
- Kir: enum constants joined by comma-continuation close their enum
- Kir: fix duplicate anonymous enum (use int for enum_return)
- Kir: pointer types don't continue lines; #enum nests inside structs
- Kir+k2c: join operator continuations; alias-strip array sizes
- K2c: cross-module call resolution via a whole-program symbol table
- Kir: '#'-directive lines are header lines (never join their braces)
- Kir: join multi-line compound literals (expression braces)
- K2c: resolve module-local function calls to their full C names
- Kir+k2c: fix UB alias-strip (src==dst snprintf), emit #enum blocks
- Kir+k2c: struct fields converted to C declarators; '#' comments skipped in bodies
- Kir+k2c: fix block-brace depth tracking + alias rewrite in body statements
- Kir+k2c: struct types (Name :: struct), return types stop at '{'
- K2c: emit #include for module imports (alias :: #import "path" -> #include "path.h")
- Kir+k2c: return types, #extern prototypes, #global vars, module prefixes, alias stripping
- K2c: Kir is the only pipeline — delete the entire legacy compiler
- K2c --kir: PushUIInspectSource wrapping for call statements + ui_inspect.h include
- K2c: Kir→C lowering skeleton (--kir flag, structurally valid output)
- Extract Kir parser into shared kir_parse.c (prerequisite for k2c/k2b backends)
- K2ir: parse app{} metadata (title/size/fps/theme/frame/init/scene/shutdown)
- K2ir: multi-line statement joining (paren/bracket/string depth tracking)
- K2ir: classify mutations (count++) as EXPR not UNKNOWN
- Rename kc to k2c (kry-to-C compiler)
- Archive libkryon.a under the platform-tagged build dir
- Improve site text readability
- Add Kryon browser IDE
- Improve Kryon site button contrast
- Fix CI links and platform icons
- Guard KryScenePhysicsDestroy call so physics-off builds link
- Teach k2ir about imports and externs
- Add k2ir tool scaffold
- Add initial KIR core
- Document KIR compiler roadmap
- Fix per-codepoint font fallback switching typefaces for covered glyphs
- K2b: standalone .kry->.krb compiler, fully independent of kc
- Krb: controls[] section + range widgets (Slider, VerticalSlider, Spinbox)
- Krb: interactive Checkbox + Toggle widgets (value-bound, self-contained toggle)
- Krb compiler: widen widget coverage (color literals, Line/Separator/Bevel/TextInRect, Picture)
- Kc: parse top-level 'frame NAME {}' as a hook function definition
- Scene_property.h: refer to "an IDE inspector" instead of naming Krait
- Build: make 2D physics (Box2D) optional via KRYON_WITH_PHYSICS
- Kryon.h: expose embedded_assets.h through the umbrella
- Krb: drop unused GROUP node and export enums for a clean v1
- Krb: implement F32 field read/write and float text formatting
- Expose kry_term and krb in kryon.h; document the cartridge API
- Add krb cartridge tests
- Kryon-preview: render .kry/.krb to PNG via a cartridge subcommand
- Kc: emit a krb cartridge from .kry (--emit-krb); route codegen via the AST
- Add krb: a packed, mmapable Kryon cartridge format
- Add kry_term: a PTY terminal for IDE hosts
- Add kry_backend: a draw/input vtable for non-raylib cartridge hosts
- UI text: resolve font sources from embedded assets before the filesystem
- UI: preserve ui_scale across SaveUIFrameState/RestoreUIFrameState
- Raylib build: purge stale .o/.a from vendored sources before recompiling
- Add Column/Row layout nodes with flexbox-style auto-positioning
- Add raylib rename-check post-build step to fix symbol collision
- Phase 6: TileMap + AudioSource nodes (all 12 Game2D kinds now implemented)
- Phase 5: animation system (keyframe tracks, AnimationPlayer, AnimatedSprite2D)
- Phase 4: Box2D v3 physics integration
- Fix scale-domain mixing in title bar, toast, and text centering
- Use best available DPI estimate, not just device density
- Invalidate DPI cache when device density changes
- Add device density hook, fix dropdown resize, widen theme spacing
- Add kc signal language support, example, and property/signal tests
- Add property model and signal bus for the scene tree
- Add kc scene-tree language support, example, and tests
- Implement built-in scene nodes: Node2D, Camera2D, Sprite2D
- Add retained scene tree foundation and rename UI Sprite to Picture
- Allow custom value text on Slider widget
- Fix pane tab hit testing
- Add UI font init control
- Tune tree view file label color
- Keep UI keyboard input state backend-independent
- Canonicalize widget API
- Clean material toggle rendering
- Document and enforce canonical app api
- Fix sprite example syntax
- Clean kryon app api
- Add Material theme style widgets
- Restore stable tool targets
- Preserve icon texture colors
- Use host-specific root build directories
- Add GTK file dialog backend
- Document default Ksync transport APIs
- Avoid native Ksync transport warnings
- Add default Ksync transport helpers
- Kc: extract C emission into kc_codegen.c, heal project split
- Kc: extract defer lowering into kc_defer.c
- Kc: extract symbol resolution + expression rewrite into kc_resolve.c
- Kc: extract KryFile/KryFunction mutators into kc_ir.c
- Kc: extract diagnostics + error recovery into kc_diag.c
- Kc: extract pure leaf helpers into kc_util.c
- Kc: delete _funcs.txt and dedupe function-name helper
- Own theme picker labels and expose text drawing helpers
- Force retro UI style
- Retain dropdown overlay clip bounds
- Fix UI transition declaration
- Add clean node measurement constructors
- Route node measurement through widget ops
- Store measurement data on widget nodes
- Measure widget nodes generically
- Move UI runtime to declarative nodes
- Fix classic system focus and material buttons
- Simplify theme style selection
- Centralize native theme defaults
- Add selectable native UI styles
- Fix text context menu overlay handling
- Add text input context menus
- Stabilize UI cursor ownership
- Route cursor shape requests through UI intent
- Fix layout-aware shortcuts and bulk paste
- Adapt syntax colors to dark themes
- Fix cascading tree input capture
- Remove bundled C IDE
- Keep standalone IDE changelog name-neutral
- Support standalone KITE IDE
- Add nonblocking IDE console
- Run kt scenarios visually by target
- Expand kt project scenario tests
- Add kt test runner
- Fix IDE source clipboard fallback
- Polish IDE chrome and clipboard fallback
- Add IDE console panel
- Add IDE problems panel tabs
- Normalize kc source paths in generated output
- Add shared font subsetting target
- Add dynamic font fallback loading
- Avoid Windows API name collisions
- Define NULL for platform thread helpers
- Add compiler diagnostics and UI text backend fixes
- Fix Kryon IDE preview input and source selection
- Isolate text input selection ownership
- Rename Lyra sync APIs to Ksync
- Rename Lyra sync APIs to Ksync
- Phase 3 (foundation): type-aware AST classification of declarations
- Phase 2 (partial): fix defer leaking across switch cases
- Phase 1: build the AST alongside the existing path
- Phase 0: harden the kc syntax oracle + add parser plan
- Add kryon-app dev-backend for local sync development
- Fix click-to-source for widgets used in if conditions
- Add
deferto the Kry language - Make text input focus persistent and single-owner across frames
- Update website code sample to verb-free Kry syntax
Unreleased
Added
- Automatic patch releases after successful
masterCI, with retry-safe version resolution and explicit minor/major bump tooling. - Checksummed native tools archives containing every Kryon command-line binary alongside the existing static SDK and cross-platform renderer downloads.
- CI and standalone Kryon builds now install/link the GIO notification dependency explicitly instead of discovering its compile flags only.
- Linux and FreeBSD CI install GTK development metadata required by the Go desktop-tray bindings exercised by generated-code smoke tests.
- Memory diagnostics:
KryonMemReport(tag)/KryonMemDebugEnabled()print RSS/high-water marks and the glibc arena breakdown to stderr whenKRYON_MEM_DEBUGis set;UIFontMemoryReport(tag)prints per-font rasterization stats under the same switch.
Changed
- UI source fonts rasterize once per font at the DPI-scaled base size instead
of caching up to eight per-size rasterizations, and one lazily built large
tier keeps big text crisp. New codepoints re-rasterize at most once per
frame per font, so a locale list in native scripts no longer triggers a
rebuild storm. Freed atlas build buffers are returned to the OS
(
malloc_trimon glibc). Idle heap use of font-heavy apps drops accordingly. - Optional GTK dependency for the GTK_STATUS_ICON tray backend: apps can
define
KRYON_TRAY_GTK_DLto resolve GTK through the newgtk_dlshim (dlopen("libgtk-3.so.0")in the tray thread) instead of linking GTK. Applications that skip the tray then never map libgtk-3 or its gdk/pango/cairo dependency chain. - PTY terminal (
KryTerm) for IDE hosts: spawn$SHELL, write keys, poll a screen grid, resize withTIOCSWINSZ. Basic CSI cursor and erase. - First krb cartridge slice:
k2c --emit-krbpacks widget calls into a mmapable.krb(VFS nodes, string table,OP_DRAW_TREE, host import names).KrbLoad/KrbBind/KrbDrawwalk the image through a smallKryBackendtable.kryon-preview cartridgerenders a.kryor.krbwithout building an app host. C emit still walks the reconstructed AST; existing C projects are unchanged. k2c --emit-krbalso writes a C host (*.krb.c/*.krb.h): state becomesKrbBindMempaths, buttonifbodies become bind functions, andScreen_krb_draw/Screen_krb_pressare the C ABI.02_buttonsclicks increment a mountedclick_count.- Mount live C memory into a cartridge:
KrbMount/KrbBindMemplusOP_CALL_HOSTandOP_SET_I32. A TEXT node whose name is a mounted path draws the live value. Raylib builds now drop copied vendor.ofiles so the backend rename header actually applies. - Add
deferto the Kry language:defer STMTrunsSTMTat the enclosing block's exit (fall-through,return,break,continue), in reverse registration order across nested scopes. A compile-time transform that splices the statement into the generated C at every exit point — no runtime cost.gotoout of a deferred scope is left to explicit cleanup. - Resolve qualified type references across modules. Writing
alias.Typeafteralias :: #import "mod/path"now produces the bare C type name in every position — parameter lists, return types, struct fields, local declarations, and#globaldeclarations — instead of emittingalias.Typeverbatim (a C syntax error) or wrongly module-prefixing it. Structs and enums use their declared name across translation units, so the alias prefix is dropped. Qualified calls (alias.fn(...)) still rewrite tomodule_fn(...)as before. The first multi-module.kryprogram (state + draw + host) now compiles, links, and runs end to end. - Remove the fixed per-function body cap.
k2cpreviously rejected any function whose generated body exceeded a fixed 512-statement cap with "generated body is too large", which blocks large UI draw functions.KryFunction.body/body_lineare now heap arrays that grow geometrically (viagrow_body), and theapply_deferssplice pass allocates its working buffers sized to the body. A 1,500-statement function compiles cleanly. Verified clean under ASAN/UBSAN/LeakSanitizer; the previously-leakedfile->functions/routesarrays are now freed on exit. - Collect multiple parse errors instead of aborting on the first. Parsing now installs a per-statement recovery boundary: a malformed statement records a diagnostic and parsing continues with the next, so a file with several errors reports all of them (Krait's problems pane becomes useful while editing). A file that previously reported one error and exited now reports every recoverable error in source order. Fatal conditions (out of memory, CLI misuse) still abort as before, and any diagnostics already recorded are flushed first. Examples and valid code are unaffected (byte-identical).
- Standalone
.kryapps can own their frame loop. Theapp{}block now acceptsinit,frame, andshutdownhooks naming.kryfunctions; whenframeis set,k2cemits amain()that callsinit()once,frame()each iteration, andshutdown()at exit — without bracketing drawing, so the program callsBeginDrawing/BeginUIFrame/EndDrawingitself and can host nested render-texture passes and inspection overlays like a hand-written C app. This is the entry point Krait uses. Without hooks the existing single-screenapp{}/screendialect is unchanged (byte-identical). - Add the Kry standard platform library:
kry_process(spawn a shell command with non-blocking stdout/stderr polling, used for builds and consoles),kry_filesystem(directory iteration, stat/mtime, recursive mkdir, realpath, text read/write), andkry_dylib(dlopen/dlsym/dlclose for loading a built app host). Declared inkryon.hand implemented undersrc/kry_std/, so they are linked intolibkryon.aand callable directly from.kryvia#extern. These lift Krait's inline POSIX surface into a reusable library so the.kry-written IDE can spawnmake kryon-host, walk the project tree, anddlopenthe resultingapp_host.so. Windows has stub implementations. - Move the self-hosted IDE rewrite in Kry into the standalone IDE repository,
Krait (
kryonlabs/krait):app.kryowns the window loop via the newapp{}hooks;state.kry,start_page.kry,project.kry,tree.kry, andeditor.kryimplement the start page, project-open flow (file dialog +kry_fs), a file-tree sidebar (kry_fs_list_dir+UICascadingTreeViewNode), and a read-only source viewer (kry_fs_read_fileUITextAreaNode). Krait transpiles those modules in onek2cinvocation and links the generated C againstlibkryon.a+ raylib.
- Krait gains an editable editor with multi-tab open files, Ctrl+S save
(
kry_fs_write_file), dirty markers, and Ctrl+Z/Ctrl+Y undo/redo (heap-snapshot ring), plus a live-preview pane (preview.kry) that runsmake kryon-hostviakry_process,dlopens the resultingapp_host.soviakry_dylib, and renders the host into aRenderTexture— the full non-blocking build + hot-reload loop, written in Kry. - Add the Krait console and problems panels in Kry (
console.kry,problems.kry): an interactive shell that runs typed commands viakry_processand drains output each frame, and a diagnostics parser that splitspath:line:col: messagelines from build output into a problems list, shown in a bottom panel that auto-opens when a build reports errors. - Compile kryon library objects with
-fPICso they link into PIE executables anddlopen'd app hosts on distros that default to PIE.
Changed
- Remove the bundled C IDE. Kryon now builds only the library, compiler, and
tooling; the Kry-written IDE, Krait (
kryonlabs/krait), lives in its own repository and vendors Kryon as a submodule. - Rename the app command
kryon-apptokryon. There is now a singlekryoncommand for building, packaging, running, previewing, and the local Ksync backend.scripts/kryon-app.sh→scripts/kryon.sh; the Makefile installs$(BINDIR)/kryon;ktexecskryonfor app runs andkraitfor theidetarget (freeing the barekryonname for the build tool). Appproject.kryontarget entries that callsh vendor/kryon/scripts/kryon.share updated in downstream apps. - Add a
value_text_overrideparameter toDrawUISlider,UISliderNode, andSlider. When non-NULL it replaces the default numeric value label, letting callers render custom value text (for example, named steps). This is a breaking signature change: all callers must add the new argument (NULL keeps the previous behavior). - Fix copy/cut/paste/select-all in the Krait source editor.
UITextAreaNodehad its own generic clipboard handler that raced Krait'seditor_handle_source_clipboardon the same one-shot keypress, so Ctrl+C/V worked inconsistently. The generic handler is removed; Krait now owns the source-editor clipboard (it has the byte-cap, line-copy fallback, and status messages). The stale!textarea_changedguard that silently skipped paste is dropped too. - Raise the clipboard size caps so large selections copy and paste in full.
The kryon UI buffer (
g_clipboard_text) grew from 4096 to 1 MiB, and the vendored raylib SDLGetClipboardTextbuffer (MAX_CLIPBOARD_BUFFER_LENGTH, a fixed 1024 that truncated pastes to 1019 bytes +...) is overridden to the same 1 MiB via a-Dflag passed throughRAY_RAYLIB_CONFIG— no vendored raylib source is edited. Both caps are now symmetric and above the editor's 512 KiB source buffer, which becomes the real ceiling. - Make hot-reload (and run targets) non-blocking. Krait ran the app-host build
as a synchronous
popen+freadon the UI thread, freezing the window for the whole compile. Builds now use the samefork+pipe+waitpid(WNOHANG)pattern as the console runner (editor_build_start/editor_build_poll), drained each frame from the main loop; the app host isdlopened on the poll that observes a successful exit. The reload poll is lowered from 2.0s to 0.5s so a finished build is picked up promptly, and builds are serialized with the console. - Split the screen-header (title bar) widgets out of
modal.cinto a newsrc/ui/ui_titlebar.c, leavingmodal.cholding only modal/dialog code. Removed an orphaned empty scrollbar section marker. - Consolidate duplicated helpers: the three byte-identical
clampicopies inguide.c,modal.c, andtheme_picker.cnow use the sharedui_clampi. Add sharedui_draw_box_background,ui_caret_blink_visible, andui_open_urlhelpers, replacing inlined copies in the text widgets and links. - Correct the README preview-projects section: Krait previews
.kryby rebuilding anddlopening an app host, not by rendering source directly. - Remove the empty leftover
src/editor/directory; the C editor lived under the command tree before the Krait migration. - Add CI workflow (
.github/workflows/ci.yml) that builds and runsmake teston push and pull request for Linux and FreeBSD. Tests previously only ran at release time. - Extract the UTF-8 codec and text-buffer helpers from
ui.cinto a newsrc/ui/ui_text_edit.c, with atests/ui_text_edit_test.ccovering the insert/delete/offset logic.
v0.1.7 - 2026-07-26
Changed
- Bump version to v0.1.7
- Remove native_widget_name compiler name-rewrite hack
- Finish removing Kry sugar verbs — language is now minimal
- Remove redundant Kry verbs; widgets are now a library
- Rework Platforms grid: add Windows, macOS, FreeBSD
- Make text input focus exclusive across UITextField and UITextArea
v0.1.6 - 2026-07-25
Changed
- Bump version to v0.1.6
- Resolve tray icon from installed hicolor paths
- Fix site card cursors, release CI, and IDE recent-projects grid
- Trigger site deploy (previous run hit GitHub internal error)
- Restyle docs site with refined modern-retro theme
- Add Kryon IDE start page and fix preview inspection
- Improve Kry language and generic APIs
- Support uninitialized C locals in k2c
- Allow args locals in k2c functions
- Add Kryon platform thread primitives
- Support local enum blocks in k2c
- Support bitwise compound assignments in k2c
- Guard Kry compile-time expansion recursion
- Add runtime asset sync API
- Support Kry multidimensional arrays
- Raise Kry type block capacity
- Add Kry named enum syntax
- Add Kry switch syntax
- Update Kryon site goals
- Add Kry web intrinsics
- Add Kry anonymous block scopes
- Add top-level Kry extern declarations
- Add Jai-style Kry defines
- Add Kry top-level macro translation
- Add Kry type aliases
- Allow Kry type-only modules
- Generate project headers from Kry files
- Guard Kry text shorthand parsing
- Respect Kry locals when resolving function values
- Limit Kry function value rewriting
- Resolve Kry function values in expressions
- Add exact C exports for Kry modules
- Make Kry modules the only import path
- Support path-based Kry module use
- Fix IDE preview toolbar and text state
- Tighten leading continuation parsing
- Support leading expression continuations in Kry
- Add native Kry enum blocks
- Support break statements in Kry
- Add native Kry struct declarations
- Support multiline Kry function declarations
- Rewrite nil in Kry static initializers
- Add Jai-style Kry compile-time macros
- Support multiline Kry state initializers
- Use Jai-style typed Kry declarations
- Keep postfix operators on one Kry line
- Support multiline Kry block headers
- Support operator line continuations in Kry
- Support multiline Kry statements
- Add Kry while statements
- Allow app locals in Kry functions
- Lift Kry function limits
- Add flat Kry modules
v0.1.5 - 2026-07-21
Added
- Add the Kryon logo as the site and IDE app icon.
- Add C-close Kry language direction docs.
- Add automatic release tagging when the checked-in Kryon version changes.
Changed
- Replace Kry
includesyntax with explicitcimportfor C headers. - Use cleaner changelog version headings without brackets.
Fixed
- Allocate Kry compiler state on the heap to avoid Linux runner stack crashes.
v0.1.4 - 2026-07-18
Changed
- Add Clay as a vendored layout dependency for future Kryon UI work.
- Remove the vendored fontchop dependency and chopped bitmap font assets.
v0.1.3 - 2026-07-16
Changed
- Add public Kryon version metadata for release artifacts.
- Move font atlas generation to the vendored fontchop submodule.
- Replace the single implicit UI font with a registered font selection API.
- Improve generated icon asset formatting and desktop/embedded fallbacks.
Added
- Add Markdown support and text area UI.
- Add pointer release helper APIs and modal layer input capture.
v0.1.2 - 2026-07-12
Added
- Add web file dialog loading.
v0.1.1 - 2026-07-12
Fixed
- Fix release CI vendor builds.
v0.1.0 - 2026-07-12
Added
- Add Kryon release automation.