Skip to content
Snippets Groups Projects
  1. Nov 20, 2020
  2. Nov 19, 2020
  3. Nov 18, 2020
  4. Nov 17, 2020
  5. Nov 09, 2020
  6. Nov 08, 2020
  7. Nov 07, 2020
    • Deon George's avatar
      Merge branch 'upstream' · 54042a46
      Deon George authored
      Bringing sbbs/sbbs:master into sync
      54042a46
    • Rob Swindell's avatar
      00b89b88
    • Rob Swindell's avatar
      Store client terminal information in node#/terminal.ini · c1637082
      Rob Swindell authored
      In preparation for node-spy applications that can support multiple terminal sizes/types (none exist yet). The file is updated whenever there is new/updated information about the client's terminal.
      
      Exposed as JS method: console.term_updated().
      c1637082
    • Rob Swindell's avatar
      Fix sendmail bug introduced in 48fada56. · 77d0a2e1
      Rob Swindell authored
      The "MAIL FROM" command argument must always be enclosed in angle-brackets. Some mail servers (e.g. gmail, aol) would reject messages not delivered in this manner, e.g.:
      mx-aol.mail.gm0.yahoodns.net replied with:
      "501 Syntax error in parameters or arguments tnmpmscs"
      instead of the expected reply:
      "250 ..."
      gmail-smtp-in.l.google.com replied with:
      "555 5.5.2 Syntax error. o6si11103060plk.317 - gsmtp"
      instead of the expected reply:
      "250 ..."
      77d0a2e1
  8. Nov 06, 2020
  9. Nov 05, 2020
  10. Nov 04, 2020
    • Rob Swindell's avatar
      817a29fc
    • Rob Swindell's avatar
      Always evaluate js.on_exit() installed expressions. · 48f244e7
      Rob Swindell authored
      I noticed that when executing an external JS with the new "Use Shell / New Context" option set to "Yes", that any expressions (strings) installed via js.on_exit() were not being executed upon exit from the script. These on-exit strings are important for restoring global state information (e.g. control key pass-through, console mode) to the original state before the JS mod made any changes.
      
      I'm not sure why the special treatment of "scope == NULL" is through-out this function. Going back to v3.16, it appears this was special treatment for JS mods invoked via global hot key event (when scope != NULL). When invoking an xtrn JS mod with the new Context option, the scope argument is not NULL, so this check was defeating the parsing of the "exit_code" and the evaluation of any js.on_exit() installed expressions for no apparent reason. I can't think why global hot key events should be excluded from this logic either.
      48f244e7
    • Rob Swindell's avatar
      Define CTRL character enum when not already defined. · 1e7b6626
      Rob Swindell authored
      These are defined in xpdev/gen_defs.h, but not all xsdk doors #include that
      (e.g. SBJ).
      1e7b6626
    • Rob Swindell's avatar
      Move the external program "pause on exit" implementation back to the C++ code. · 7b9243fe
      Rob Swindell authored
      Originally, the "pause on exit" was implemented in the C++ version of
      sbbs_t::xtrn_sec() and not sbbs_t::exec_xtrn(). This meant that the pause
      option was only implemented when the prgoram was invoked from the menu and
      not when invoked directly (e.g. via Baja or JS exec_xtrn function).
      
      When sbbs_t::xtrn_sec() was ported to JS, that functionality was also moved
      to JS. But it really should have been implemented in exec_xtrn() to begin
      with so that regardless of how the program is invoked, that SCFG setting takes
      effect.
      
      Thanks to Michael Long for pointing this out.
      7b9243fe
Loading