• exec/load/xjs.js

    From rswindell@1:103/705 to CVS commit on Wed Jan 9 19:05:53 2019
    exec/load xjs.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv28597

    Modified Files:
    xjs.js
    Log Message:
    Log errors when failing to open/create files.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Git commit to sbbs/master on Wed Oct 7 21:36:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/1f3b9383fec7b13feedc5b10
    Modified Files:
    exec/load/xjs.js
    Log Message:
    Don't shit pants if 'cwd' isn't a thing or a string.Added xjs_eval(filename, str)- notionally for evaluating XJS without immediate write- if str, returns the evaluated script as a string- if !str, returns the filename that the script
    was dumped to- was a fun idea, but doesn't play well with other scripts- best used with simple and self-contained xjs
    --- SBBSecho 3.11-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 Sun Apr 20 21:47:48 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/40ce7c592670cf9e04ce9229
    Modified Files:
    exec/load/xjs.js
    Log Message:
    Fix error "creating" log message details (filename and error value)

    ... using the wrong File object for those values. Very confusing.
    --- SBBSecho 3.24-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 Tue Apr 22 15:28:29 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/28bd5ad07bfc9f659cd38b22
    Modified Files:
    exec/load/xjs.js
    Log Message:
    Throw Error exception rather than just logging errors

    better traceability
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)