summaryrefslogtreecommitdiff
path: root/src/common/app.c
AgeCommit message (Collapse)Author
12 daysrename and simplificationBerke Güzel
12 daysfix(app): free app surfaces only when no callback runsBerke Güzel
app_runner_unregister_surface freed the runner's entry at once. A frame or event callback that destroyed its own surface returned into code that still read that entry: app_runner_surface_draw read as->pacing, and the input loop read as->surface and as->next. yasl-app-test hit this under ASan. Unregister now only clears the entry's surface. The run loop frees dead entries before each iteration and at shutdown, when no callback runs. The unused frame_in_progress flag is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 daysfix(app): destroy remaining surfaces before closing display on shutdownBerke Güzel
13 daysfeat(notepad): add file open/save, tab indent/unindent, clipboard, search, ↵Berke Güzel
and drag-and-drop
13 daysfeat: implement modern Approach A app runner, unified events, notepad, and ↵Berke Güzel
game examples