https://gitlab.synchro.net/main/sbbs/-/commit/10e618638ed8f46a7e75c5ce
Modified Files:
src/syncterm/scripts/syncterm_menu.wren ui_style.wren src/syncterm/theme.c theme.h theme_test.c wren_bind.c wren_bind_internal.h wren_bind_menu_settings.c
Log Message:
Add source-preserving theme documents
Keep editable theme state in C so menu scripts can preview and modify
themes without receiving filesystem capabilities. Preserve original INI
lines and record field-level history; grouped imports retain every style
and glyph section, including custom definitions and unknown fields.
Validate saves through the existing loader, detect external changes, and atomically replace theme files. Reload the active theme only when its
selected file was changed.
Expose the document through the menu VM and cover editing, persistence, conflict handling, source preservation, imports, and undo/redo in the C
test suite.
Co-Authored-By: OpenAI Codex <
noreply@openai.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net