• exec/load/cfglib.js

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Jan 16 20:41:25 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c3c2d42a8dd1071b3abb9b9f
    Added Files:
    exec/load/cfglib.js
    Log Message:
    New config library for dealing with new ctrl/????.ini filesReplaces functionality of cnflib.js for sbbs v3.20+Only the xtrn.ini read/write support has been added so far(for use in install-xtrn.js).I didn't think a lib like this would be needed, being that thefiles are now in .ini format, but there was some re-arrangingof property values/section names that still needed to be done bysomething (unfortunately), so this does that. But it does makeupdating existing scripts that use cnflib.js a breeze.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Sep 13 19:52:44 2023
    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 menuscript.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 thereturned 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Mon May 27 17:19:13 2024
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)