• exec/load/cfglib.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, September 13, 2023 19:52:44
    https://gitlab.synchro.net/main/sbbs/-/commit/6450220c6e222cd593feadc0
    Modified Files:
    exec/load/cfglib.js
    Log Message:
    Add basic reading main.ini and file.ini (not all sections)

    This should be enough for Nelgin to make progress with his user defaults menu script.

    Not all sections are read and parsed and there will be some extra properties (e.g. "code" in repeated sections that don't normally have that), so the returned objects aren't (yet) suitable for re-writing back to the *.ini files.

    I also cleaned up some of the exceptions (throwing strings rather than Errors) and removed some empty functions.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Monday, May 27, 2024 17:19:13
    https://gitlab.synchro.net/main/sbbs/-/commit/f1bac4e435081df4598d13fc
    Modified Files:
    exec/load/cfglib.js
    Log Message:
    Add missing xtrn.ini "hotkey" section read/writing

    Also arrange section writing order to match scfglib2.c

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net