Extend the retained+immediate widget surface with PlotLines, PlotHistogram,
DragFloat/DragInt, SliderFloat/SliderInt, VSlider variants, SliderAngle,
InputFloat/InputInt/InputDouble, TreeView and the widget catalog example,
wired through k2go, the Go runtime and web runtime parity coverage. Fix the
k2go lowering of &arr[i] address-of-array-element expressions so pointer
props like SliderAngle.Value stay addresses in generated Go. List the new
parity sources in the KRB alpha-diff matrix.
SDL latches SIGTERM into an event that a busy frame loop may never
observe, leaving an unkillable process holding the single-instance
lock (every later launch then gets rejected with no window). The lock
owner now installs its own SIGTERM/SIGINT handler that drops the lock
(close+unlink are async-signal-safe) and exits immediately.
Also: widen the steal budget to 3.5 s, escalate once to SIGKILL
guarded by a /proc/<pid>/comm same-application check so a recycled
pid never takes the hit, and add KryonReleaseInstanceLock() for apps
whose shutdown path is slow — krait calls it right after its main
loop ends, before cleanup.
.kry -> C++ compiler sharing the Kir frontend with k2c. Emits .cpp/.hpp
per module calling the C Kryon runtime through extern "C" declarations,
plus kryon_project.h/.c (still plain C) and the --plan9 and --include-dir
options ported from k2c. Inferred declarations emit 'auto' instead of
__auto_type so g++ accepts the output. Wired into the Makefile, tools
package, conformance matrix, feature matrix, and a k2cpp syntax test.
The short k2g/k2ir names became confusing as the toolchain grew.
k2go and k2kir name their targets explicitly; k2c, k2js, and k2b
keep their existing names. Hard rename, no compatibility aliases.
raylib's SDL DisableCursor ignored the return of
SDL_SetRelativeMouseMode: when the driver refuses raw relative mode the
cursor is only hidden and still clamps at the screen edges, so captured
look control dies there. Detect the failure, retry through SDL's
warp-based relative emulation, and log which mode engaged so field logs
identify the path taken. EnableCursor resets the warp hint.
The SDL backend overwrote the mouse position with each motion event
xrel/yrel and zeroed previousPosition while the cursor is locked, so
GetMousePosition returned the last event relative motion instead of an
accumulating virtual position. Apps that difference GetMousePosition
themselves (the common raylib FPS look-control pattern written against
GLFW) got noise instead of camera motion. Accumulate relative motion
into an unclamped virtual position instead: GetMousePosition keeps
moving past window edges and the per-frame previousPosition snapshot
makes GetMouseDelta the sum of the frame motion events, matching GLFW.
Kryon declared raylib's 3D symbols but had no way to run custom 3D
pipelines: the mesh/shader entry points live in rlgl, which the boundary
rules keep out of the surface, and there was no 3D math at all.
The compat generator now also tracks a curated rlgl tier (vertex
array/buffer upload, attributes, element draws, shader and texture binds,
uniforms, matrix state, cull/depth toggles, plus the RL_* constants they
take) extracted from the vendored rlgl.h: declarations join the surface
header, the raylib backend renames and forwards them, and the null
backend stubs them, exactly like the rest of the surface. rlgl itself
stays a raylib-backend implementation detail.
A new include/kry_math3d.generated.h tracks raymath verbatim in
static-inline header-only mode and is included by kryon.h after the
compat surface, so every backend gets identical Vector3/Matrix/Quaternion
math with nothing to link or stub.
Custom shaders on this tier must target GLSL 100 / OpenGL ES 2 because
the desktop raylib backend runs GLES2; documented in BACKENDS.md along
with the per-backend tier status. The raylib compatibility test covers
math3d for real and links the whole camera/mesh/shader/rlgl path; it
passes on the raylib backend and headless on the null backend.
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.
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.