• src/sbbs3/js_global.c js_internal.c sbbs.h

    From Deuce@1:103/705 to Git commit to Main/master on Mon Nov 23 09:11:46 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/f09622cdab8c36639a5cc4d1
    Modified Files:
    src/sbbs3/js_global.c js_internal.c sbbs.h
    Log Message:
    Add generic on_exit support.Store all on_exit() strings in the global scope, execute themone scope at a time with scopes ordered in reverse order offirst call to js.on_exit(). Within a scope, they are orderedlast string first.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to Main/master on Mon Nov 23 09:11:46 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/f971a19bd92d70d694539999
    Modified Files:
    src/sbbs3/js_global.c js_internal.c sbbs.h
    Log Message:
    Merge branch 'on_exit-generic' into 'master'Add generic on_exit support.See merge request main/sbbs!34
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Thu Dec 14 16:39:05 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/78dc94704c48e9e7c5f2a934
    Modified Files:
    src/sbbs3/js_global.c js_internal.c sbbs.h
    Log Message:
    Don't log "symbol 'x' is not defined by script 'y'" error when terminating

    When a JS environment (e.g. server, jsexec) is terminated, it's possible
    that a require() script was being evaluated. But since termination would
    abort that evaluation, it's not unexpected if a symbol ends up not being defined before the require() script was terminated, so don't report an
    error in that case.

    Fix issue #681
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)