• src/sbbs3/exec.cpp sbbs.h sbbsdefs.h xtrn.cpp xtrn_sec.cpp

    From rswindell@VERT to CVS commit on Sat Aug 1 11:34:24 2020
    src/sbbs3 exec.cpp 1.115 1.116 sbbs.h 1.578 1.579 sbbsdefs.h 1.264 1.265 xtrn.cpp 1.261 1.262 xtrn_sec.cpp 1.90 1.91
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv13133

    Modified Files:
    exec.cpp sbbs.h sbbsdefs.h xtrn.cpp xtrn_sec.cpp
    Log Message:
    An experimental external() mode flag that runs JS modules in their own separate runtime and context - currently does not work (appears to corrupt the shared JS context). Not actually used currently.
    The reason I wanted to run a JS module (actually JS doorgame) in its own context was to get useful error messages (filenames and line numbers) when the module throws an exception. Currently, the error is just reported as occuring in xtrn_sec.js, which isn't helpful or correct.


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