Skip to content
Snippets Groups Projects
  1. Sep 06, 2020
  2. Sep 05, 2020
  3. Sep 04, 2020
  4. Aug 30, 2020
    • Rob Swindell's avatar
      Fix compile issue in previous commit. Add more semicolons. · ec5cbb84
      Rob Swindell authored
      One can't have too many semicolons.
      ec5cbb84
    • Rob Swindell's avatar
      External program "use shell" option can be used to use a new JS context · 1decdc69
      Rob Swindell authored
      Rather than introduce yet-another-external-program/config flag to enable
      the "new JS run-time/context" per invocation of any particular JS command,
      I'm using the XTRN/EX_SH ("Use Shell") option as it had no function for
      JavaScript command-lines and the concept is similar.
      
      So if you want to invoke a JS external program/timed-event in its own
      "sandbox", enable the "Use Shell / New Context" option for that
      program/command in SCFG. There may be performance penalties when running
      JS mods in this way, but you get the benefit of isolating one JS module
      from all others, if/when necessary.
      1decdc69
    • Rob Swindell's avatar
      Previous commit fixed issue with JS_GC before JS_ENDREQUEST · 25625186
      Rob Swindell authored
      So revert the order back to the way it was in aa2bcd61
      (don't you love these git references?).
      
      Also, the previous fix for js_execfile() calls for global hot-key events also
      fixed the EX_JS_CX feature I was working on (js_execmodule)!
      25625186
    • Rob Swindell's avatar
      Only over-ride (lower the severity) of the cryptlib log msg for a single case · 20393557
      Rob Swindell authored
      Add another "get cryptlib error string" (at least, that's what I assume GCES
      stands for) that allows the log level to be specified, rather than derived
      from Cryptlib thinks the log level should be. Do this rather than adding one
      (lowering the severity) of every cryptlib log message as I did in the previous
      commit to this file.
      20393557
    • Rob Swindell's avatar
      Fix JS global object corruption when invoking JS global hotkey handlers · cb5188bd
      Rob Swindell authored
      As reported by Ragnarok and The Lizard Master, invoking a JS global
      hot-key handler (e.g. hitting Ctrl-U or Ctrl-P with the privatemsg
      or nodelist modules installed as handlers) would lead to the global
      object being cleared/corrupted so other scripts would then fail to
      run correctly (e.g. Error: can't open sbbsdefs.js: No such file or directory)
      
      This probably explains the JS_GC/JS_ENDREQUEST change needed when
      the hotkey-specific JS runtime/context/scope was introduced last year.
      Should revisit that too.
  5. Aug 29, 2020
    • Rob Swindell's avatar
      Add one (lower severity) of cryptlib log messages in the mail server · cdf1b613
      Rob Swindell authored
      (e.g. errors become warnings) - I'm tired of seeing this in my
      error.log every day:
      SEND/TLS ... ERROR 'Received TLS alert message: Handshake failure' (-15) setting session active
      cdf1b613
    • Rob Swindell's avatar
      When printing a file one line at a time, don't use putmsg() · 1510b3e2
      Rob Swindell authored
      Fix problem introduced in
      b1ecd9b6 (August 8, 2019)
      
      When sbbs_t::printfile() is used to display a file that is < 2MB in size
      and the P_OPENCLOSE mode flag was not specified, the file is read and
      displayed one line at a time. This allows for the quick display of very
      large files. This was accomlished by calling sbbs_t::putmsg() for each
      line. Unfortunately, putmsg() would save and restore console mode flags
      like the auto-screen pause control flags stored in sbbs_t::sys_misc
      so this would render some features like the POFF @-code, inoperable.
      This problem was reported by WitNik with files displayed from
      Bulleeye! Bulletins.
      
      Other issues were discovered with the WORDWRAP/WRAPOFF @-codes.
      
      Fixed with the addition of sbbs_t::putmsgfrag() which is used by
      printfile() to display a message fragment (one line) without
      saving/restoring console state flags.
      1510b3e2
  6. Aug 26, 2020
  7. Aug 24, 2020
  8. Aug 23, 2020
  9. Aug 22, 2020
  10. Aug 18, 2020
  11. Aug 17, 2020
  12. Aug 16, 2020
Loading