ludic.ui, ludic.i18n: frame_allocs to 0 - a wrap, an ellipsis, a tooltip's lines, a text-shadow's colour and a range's value kept by what made them; pointer events from a ring; inline text joined through the memo; the pool's and the state's lists through ui_kept; parse, memo miss, pool miss, lazy start and template errors declared; the translation cache clears in place

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 16:41:47 +03:00
parent 629579123a
commit 429e419327
71 changed files with 365 additions and 155 deletions

View file

@ -15,10 +15,10 @@ function lc_note(ui_st: mut UiState, key: string, names: []string, acts: []UiAct
if names[i] == "unmount" { u = acts[i] }
}
if m == null and u == null { return }
push(ui_st.lc_keys, key)
push(ui_st.lc_mounts, m)
push(ui_st.lc_unmounts, u)
push(ui_st.lc_envs, e)
ui_kept(ui_st.lc_keys, key)
ui_kept(ui_st.lc_mounts, m)
ui_kept(ui_st.lc_unmounts, u)
ui_kept(ui_st.lc_envs, e)
}
function lc_mine(key: string, screen: string) -> bool {
let n = len(screen)
@ -40,15 +40,15 @@ function lc_run(ui_st: mut UiState, screen: string) -> void {
if lc_mine(k, screen) {
if ui_st.lc_prev_unmounts[i] != null and not sel_has(ui_st.lc_keys, k) { act_run(ui_st, ui_st.lc_prev_unmounts[i], ui_st.lc_prev_envs[i]) }
} else {
push(keys, k)
push(unmounts, ui_st.lc_prev_unmounts[i])
push(envs, ui_st.lc_prev_envs[i])
ui_kept(keys, k)
ui_kept(unmounts, ui_st.lc_prev_unmounts[i])
ui_kept(envs, ui_st.lc_prev_envs[i])
}
}
for i in 0 .. len(ui_st.lc_keys) {
push(keys, ui_st.lc_keys[i])
push(unmounts, ui_st.lc_unmounts[i])
push(envs, ui_st.lc_envs[i])
ui_kept(keys, ui_st.lc_keys[i])
ui_kept(unmounts, ui_st.lc_unmounts[i])
ui_kept(envs, ui_st.lc_envs[i])
}
ui_st.lc_sp_keys = ui_st.lc_prev_keys
ui_st.lc_sp_unmounts = ui_st.lc_prev_unmounts