Repository navigation
Conversation
- SDL3 built from source via lazy castholm/SDL dependency (no system install) - Makefile: demo, windows/linux/linux-arm64/macos-arm64/cross targets, fixed docs serve - -Dmacos-sdk for explicit macOS targets; Windows exes use GUI subsystem (-Dwindows-console opt-out) - Direct3D 12 backend: HLSL shaders compiled at runtime to DXBC, Vulkan/software fallback - App icon: SVG source, generated .ico/.png (tools/icon/mkico.py), Config.icon_png, Windows resource - Linux: installDesktopEntry / --install-desktop; UTF-8 LC_CTYPE fixes X11 title mojibake - Zig 0.17: @intFromEnum -> @backingInt
…-entry escaping - mkico.py: --iconset writes the macOS .iconset (16…1024 px, @1x/@2x); fewer supersamples at large sizes so 1024 px renders in seconds - build.zig: linkApp() exposes the SDL3 runtime (src/app.zig) to dependent packages; examples are built only when zigui is the root build, so a consumer never fetches SDL it doesn't use - Sheets/alerts widen to content that cannot be narrower (e.g. a wide segmented Picker) instead of clipping both edges (new engine.minWidth) - Truncated text keeps its tail when it fits within float rounding - installDesktopEntry escapes Name/Exec/Icon/StartupWMClass per the Desktop Entry Spec (paths with spaces, quotes, $, %, backslashes); refuses control characters Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…odule - engine.minWidth: a measured leaf (wrapped text) is 0 without wrapping it at width 0; it always came out 0 anyway, after splitting the text a character per line into the wrap cache every frame - drawOverlay lowers sheet/alert/popover content once and measures that node, instead of building it once more per frame - installDesktopEntry: a value refused for length says so (not "control character"), and the log no longer echoes a value holding control characters - build.zig: linkApp and the examples share one appModule(), so the runtime a dependent package gets can't drift from the examples'; linkApp documents that the dependency's target must match - mkico.py keeps 16 samples through 256 px, so the committed .ico/.png regenerate byte-for-byte - desktop_entry.zig header names only its caller in this tree Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up fixes, stacked on #3 (this branch includes its commit, so the diff here shows both until #3 merges; only the last commit is new).
--iconsetwrites the macOS.iconset(16…1024 px, @1x/@2x); fewer supersamples at large sizes so 1024 px renders in secondslinkApp()exposes the SDL3 runtime (src/app.zig) to dependent packages; examples are built only when zigui is the root build, so a consumer never fetches SDL it doesn't usePicker) instead of clipping both edges (newengine.minWidth)installDesktopEntryescapes Name/Exec/Icon/StartupWMClass per the Desktop Entry Spec (paths with spaces, quotes,$,%, backslashes); refuses control characterszig build test: 231/231 pass;zig build showcase editbuilds.🤖 Generated with Claude Code