Guarded __weak and added MRC-safe dealloc/release in src/ios_gl.m so iOS static library builds succeed under both ARC and manual reference counting (package-ios-lib.sh).
Added additive <ttypt/lam-mobile.h> and pure-C src/input-mobile.c providing an 8-slot multi-touch pointer/scroll state machine with 1:1 press/release handoff, RFC 3629 UTF-8 IME commit, DPI scaling, safe-area insets (lam_safe_insets()), and soft-keyboard host hooks (lam_ime_show() / lam_ime_hide()).
Updated src/gl.h, src/liblamina.c, src/shadow.c, and src/webgl_native.c for native GLES 3.0 (LAM_GLSL_HDR, single-output FS_GLYPH_LCD without dual-source GL_SRC1_COLOR, pass-through #version 300 es in webgl_native.c, TBDR-safe lam_flush() skipping glReadPixels, and pre-init lam_fbo_resize() safety).
Added android-arm64, ios-arm64, check-gles3, check-android-arm64, and test_mobile_input unit test to Makefile.
[1.3.1] - 2026-12-02
Documentation & CI
Added libstele and libfreetype-dev to branch CI test dependencies and updated README / npm README for v1.3.0 typography, emoji, and 9/9 platforms.
Added lam_font_draw_px_ex() / lam_font_measure_px_ex() with letter_spacing_px and LAM_FONT_PRESERVE_LEAD_SPACE, plus color emoji fallback priority over monochrome outlines.
Synced updated public headers into npm/include/ttypt/.
Fixed
Form Control Sizing (src/ui.c): Avoid aspect-ratio scaling and double-chrome min-height inflation on native form controls.
[1.2.5] - 2026-12-02
Fixed
Windows GLFW 3.4 Install Prefix Isolation (Makefile): Added DESTDIR to unset MAKEFLAGS MAKELEVEL DESTDIR before cmake --install so packaging DESTDIR does not redirect the local static third_party/glfw build into the staging directory.
[1.2.4] - 2026-12-02
Fixed
Windows GLFW 3.4 Tarball URL (Makefile): Switched static GLFW 3.4 fetch URL to GitHub's tag archive endpoint (/archive/refs/tags/3.4.tar.gz) for winget/Scoop builds.
[1.2.3] - 2026-12-02
Added
Full 9/9 Platform Parity โ Windows (winget/Scoop), Android, & iOS XCFramework (src/gl.h, src/input.c, src/liblamina.c, src/webgl_native.c, Makefile, .github/workflows/ci.yml):
Windows (winget/Scoop): Auto-builds pinned static GLFW 3.4 via CMake on MINGW64, exports symbols via -Wl,--export-all-symbols, links -lshell32, and avoids GLEW_STATIC mismatch against dynamic libglew32.dll.a.
Android & iOS (android-lib, ios-lib): Selects <GLES3/gl3.h> / <OpenGLES/ES3/gl.h>, maps GL_BGRA and dual-source glyph blending fallbacks cleanly for GLES3, disables GLFW via LAM_NO_GLFW, and uses core GLES3 glTexStorage3D.
[1.2.2] - 2026-12-01
Fixed
Cross-Platform FreeType2 Include Resolution & CI Matrix (Makefile, .github/workflows/ci.yml):
Derived -I%/include/freetype2 from portable ${prefix} instead of hardcoding -I/usr/include/freetype2 so OpenBSD (/usr/X11R6/include/freetype2) and macOS arm64 cross-sysroots locate ft2build.h reliably even when pkg-config is unavailable.
Omitted winget from publish_to pending ecosystem MINGW64 โ UCRT64 migration (MSYS2 removed mingw-w64-x86_64-glfw from MINGW64).
Guarded lam_webgl_surface_create() and lam_canvas_flush() on lam_has_gl() so headless environments without an OpenGL context return NULL/no-op cleanly instead of dereferencing uninitialized GLEW pointers.
Skipped OpenGL-only assertions in tests/test_webgl.c and tests/test_fonts_ttf.c (and missing system DejaVu font checks) on headless runners.
Added native OpenGL parallel non-blocking shader compile/link with GL_COMPLETION_STATUS_KHR (KHR_parallel_shader_compile) status polling in src/webgl_native.c (7bf6ef4).
Paced fallback local shader program links in htdocs/webgl-cap.js to at most 1 per frame (12 ms gate) while deferring worker completions to glGetProgramParameter(GL_COMPLETION_STATUS_KHR) and respecting KHR_parallel_shader_compile (3d36ccf).
Added glDrawArraysInstanced, glDrawElementsInstanced, and glVertexAttribDivisor host imports and WebGL2 bridge dispatchers for single-draw-call instanced billboard and terrain batching.
Added 3D texture / 2D texture array upload bindings (glTexImage3D, glTexSubImage3D, GL_TEXTURE_2D_ARRAY) and asynchronous shader compilation status polling (KHR_parallel_shader_compile).
Changed
Layer-0 libstele Decoupling & Portable Make Modernization (Makefile, htdocs/{webgl,lamina}-cap.js, Doxyfile):
Owned WASM_GLOBAL_BASE directly in Makefile and declared workerOwned capability metadata on the WebGL/Lamina browser bridge (c5987f0).
Migrated to include ttypt/include.mk via Make search paths, dropped legacy ../mk fallback, adopted CFLAGS-LIB/CFLAGS-BIN, eliminated duplicate $(shell)/!= forks, and ported Makefiles to OpenBSD + GNU Make (44f520e, 727b97f, 7bbe19e, d005adc, 2d62416, 2f9be9e, 0be9b60).
Removed legacy htdocs/lamina-bridge.js and htdocs/webgl-bridge.js, consolidating all WebGL2 and 2D Lamina browser capability hooks into htdocs/webgl-cap.js (createWebGlBridge) and htdocs/lamina-cap.js (createLaminaBridge).
Optimized htdocs/webgl-cap.js with fast-path getGl(), cached WASM memory views, gated preserveDrawingBuffer, and optional performance counters.
Tracked per-unit texture bindings and GL_TEXTURE_3D bindings across context swaps, replayed link-time scalar uniforms and STATIC_DRAW subdata on swap, cleared null FBO textures, excluded plain canvases in lamina-cap.js, and skipped worker fallbackOffscreen.
Fixed native re-entrant begin/end framing, default-FBO viewport auto-fit, and lam_clear() 2D GL state restoration (src/webgl_native.c, src/liblamina.c, tests/test_webgl.c).
Guarded pixelStorei(UNPACK_ALIGNMENT, 1) on texImage3D / texSubImage3D and guarded offscreen FBO glViewport against resizing the main canvas swapchain.
Linked the Node-API native addon exclusively against camera math (src/lam_cam.c) without requiring host desktop GLFW/GLEW libraries.
Upgraded @tty-pt/stelepeerDependencies (>=1.7.0) and devDependencies (^1.7.0).
Arch Linux (pacman) Packaging (.github/workflows/ci.yml):
Added pacman to publish_to and configured deps_pacman: "libstele,libcorm,glfw,libpng,glew" so liblamina publishes across all 7 OS targets (deb, apk, rpm, pacman, brew, openbsd, winget).
Unified native C 2D/3D engine with pure-C WebGL2 pass-through bridge, camera math, and standardized README.
Added KHR_parallel_shader_compile support and offscreen canvas worker dispatch.
Perspective camera projection, billboard alignment, and multi-scale water optics.
Libstele v1.6.0 Substrate Alignment:
Upgraded substrate baseline to @tty-pt/stele@^1.6.0 (>=1.6.0).
[1.0.1]
Universal Substrate Migration (libstele):
Replaced legacy libqsys with libstele (-lstele) across build configuration, pkg-config definition (lamina.pc), and CI packaging workflows.
Aligned packaging dependencies across Debian, Alpine, RedHat/Rocky, Arch Linux, macOS, OpenBSD, and Windows.
[1.0.0]
Inaugural Release of liblamina (formerly libqgl):
Consolidated cross-platform 2D graphics layer and flexbox UI layout engine in pure C.
Unified immediate-mode rendering across desktop displays (OpenGL via GLFW on Linux X11/Wayland, macOS, Windows) and direct hardware on embedded Linux (via memory-mapped /dev/fb0 without X11 or Wayland).
Standalone shared library lib/liblamina.so with pkg-config package lamina.pc.
API Modernization (lam_* / LAM_*):
Reorganized public headers under include/ttypt/:
<ttypt/lam.h> โ Core rendering, textures, colors, and lifecycle.
<ttypt/lam-ui.h> โ Declarative flexbox UI tree, styling, and layout engine.
<ttypt/lam-font.h> โ Pre-rendered bitmap font loading, measurement, and text wrapping.