vt_data auto-update, persist setting, add stdlib/fmt fallbacks & CI fixes (7 commits)#364
Merged
No0ne558 merged 7 commits intoViewTouch:masterfrom Apr 9, 2026
Merged
vt_data auto-update, persist setting, add stdlib/fmt fallbacks & CI fixes (7 commits)#364No0ne558 merged 7 commits intoViewTouch:masterfrom
No0ne558 merged 7 commits intoViewTouch:masterfrom
Conversation
…ettings and non-server restarts (2026-04-09)
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.
Short summary
employee.datalready exists.std::to_underlyingand formatting APIs so the project builds across multiple stdlib/toolchain combinations.<algorithm>forstd::clamp, guard macros, and {fmt}/snprintf fallback).Commits included
4147b5aci: fallback to {fmt} or snprintf when std::format unavailable (2026-04-09)0970e08ci: include so std::clamp is available (2026-04-09)bec572eci: guard std::to_underlying with feature-test macro (2026-04-09)6e76d97fix(enum): fallback for std::to_underlying on older stdlibs (2026-04-09)52526ccchore: commit remaining changes (2026-04-09)474afbfdocs(changelog): add default-employee creation note (2026-04-09)2096430chore(changelog): document vt_data auto-update fixes; respect fixed settings and non-server restarts (2026-04-09)What changed (high-level)
.viewtouch_config.autoupdateflag and the authoritative fixed settingsauto_update_vt_datato run.FindVTData()now respectsauto_update_vt_dataand will skip downloads when disabled.settings->Save()immediately so restarts see the updated preference.employee.datis missing.std::to_underlyingisn't available.std::to_underlyingwith the feature-test macro.std::formatwhen available, fallback to{fmt}if present, else degrade to ansnprintf-based fallback so older toolchains can compile.<algorithm>to ensurestd::clampis available on older toolchains.Files touched (aggregate)