• src/sbbs3/jsexec.cpp

    From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, March 06, 2026 07:16:50
    https://gitlab.synchro.net/main/sbbs/-/commit/a9dc558b2914211d32ba8ecc
    Modified Files:
    src/sbbs3/jsexec.cpp
    Log Message:
    Fix jsdoor

    Since jsdoor doesn't use the SBBS library, it can't possibly have
    the right version of it, and it can't even check the version.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, March 25, 2026 13:02:47
    https://gitlab.synchro.net/main/sbbs/-/commit/e3f60b02111c013f9854be91
    Modified Files:
    src/sbbs3/jsexec.cpp
    Log Message:
    Rename jsexec global function list

    Avoid doing wacky things vs. the one in main.cpp when building a
    JSDOCS Synchronet executable.

    Prevents jsexec-only functions from appearing in jsobjs.html, and
    ensure write_raw() *is* documented (doesn't get documented for jsexec)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, March 28, 2026 23:17:59
    https://gitlab.synchro.net/main/sbbs/-/commit/a4aee23ca58ec4fb3d8e048b
    Modified Files:
    src/sbbs3/jsexec.cpp
    Log Message:
    Go back to using "non-standard third parameter to main for environment"

    ... but only for non-macOS builds, since apparently there was an issue
    (see commit bae7c4dc6d).

    This revert fixes the following MSVC build warning
    warning C4273: '__p__environ': inconsistent dll linkage

    This *may* fix an issue that plt was reporting where it appeared the SBBSCTRL environment variable was getting clobbered by running 'jsexec addfiles.js'
    for imports of a lot of files resulting in subsequent errors (running jsexec) with finding main.ini since the SBBSCTRL environment (pointing to the correct location of main.ini) was missing or empty in the process or shell. A similar error was reported using SBBSCTRL->User->Edit or SBBSCTRL->File->Run ... , but only after running jsexec (addfiles.js). The root cause was not determined, so this is just a guess that there could be some relation to this change.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, March 29, 2026 00:54:19
    https://gitlab.synchro.net/main/sbbs/-/commit/d165e10c69d34d8a58213d6c
    Modified Files:
    src/sbbs3/jsexec.cpp
    Log Message:
    In MSVC, at least, environ is a macro for _environ which is a function

    ... so this change would crashes on the call to js_init().

    Revert to the use of 'env' as the argument name (as before commit
    bae7c4dc) and hope this change works for macOS build too.

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