Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

  1. 24 Oct, 2019 2 commits
    • rswindell's avatar
      Invoking a JavaScripot global hot key event handler (e.g. nodelist.js) *while* · c912ee30
      rswindell authored
      running a JavaScript module would crash (e.g. segfault) sbbs:
      Create and use a separate JS runtime, context, and global object/scope for
      global hotkey events. This means that the hotkey won't benefit from any
      previously loaded/required scripts, possibly effecting the performance of the
      first invocation of the hotkey handler. Subsequent JS hotkey events will reuse
      the same runtime/context/global, so they'll execute fast(er).
      One questionalbe change to js_execfile():
      With the JS_GC (garbage collection) call *before* the JS_ENDREQUEST() call, the
      process would crash in libmozjs. Moving the JS_GC() call to *after* the
      JS_ENDREQUEST() resolved this issue and I'm not clear why. This 'js_cx'
      parameter here is not always sbbs_t::js_cx. When called to handle a JS hotkey
      event, it's sbbs_t::js_hotkey_cx, so it shouldn't interfere with the
      sbs_t::js_cx being used by the currently executing JS module (shell or door).
      <scratches chin>
    • rswindell's avatar
  2. 21 Oct, 2019 1 commit
  3. 17 Oct, 2019 1 commit
  4. 08 Oct, 2019 6 commits
  5. 05 Oct, 2019 1 commit
  6. 03 Oct, 2019 2 commits
  7. 27 Sep, 2019 3 commits
    • rswindell's avatar
      Support UTF-8 auto-detection for MacOS Terminal v2.8.3 (404.1): · 96eff48e
      rswindell authored
      Unexpectedly, a ZWNBSP (U+FEFF) received/echoed by the MacOS Terminal while in
      the first column causes a subsequent cursor position report to indicate the 2nd
      column as the current only. I suppose in some weird world a zero-width
      character can can't as a column position. So if the cursor position has moved
      less than 2 columns (not exactly 0 columns), then consider it a UTF-8 terminal.
      Non-UTF-8 terminals normally move the cursor 3 columns when echoing a UTF-8
      encoded ZWNBSP. So to summarize, when echoing a ZWNBSP:
      - Non-UTF-8 terminals: moves 3 columns
      - MacOS terminal: moves 1 columns
      - Other UTF-8 terminals: moves 0 columns
    • deuce's avatar
    • rswindell's avatar
      When a Q-restricted account logs-in using a '*' prefix to their login name, · 2eee03d0
      rswindell authored
      toggle OFF the QWK-logon status. This allows QWKnet accounts to perform
      other non-QWK operations, like change their password.
  8. 26 Sep, 2019 4 commits
  9. 25 Sep, 2019 4 commits
  10. 24 Sep, 2019 3 commits
  11. 23 Sep, 2019 3 commits
  12. 21 Sep, 2019 3 commits
    • rswindell's avatar
      Fix Borland build failure: · a3221c40
      rswindell authored
      dirwrap.c 841: Declaration is not allowed here in function getfilesizetotal
    • rswindell's avatar
      Make center() less destructive: · da0f2a1a
      rswindell authored
      Use cursor-right movement rather than spaces for left-margin.
      Don't do the clear-to-EOL thing added in previous commit.
    • rswindell's avatar
      sbbs_t::center() and thusly JS now accepts an optional · 77f2c366
      rswindell authored
      "width" argument (in columns), defaults the user's current screen column-width
      but you can now over-ride this value when an additional/optional argument.
      Also, center() now clears-to-EOL before sending the CRLF to the terminal.
      Hopefully this doesn't mess up anyone's existing use of center().
  13. 20 Sep, 2019 6 commits
  14. 19 Sep, 2019 1 commit
    • deuce's avatar
      Even more leak paranoia... · 7c162e3f
      deuce authored
      If dup() fails, return NULL
      If callog() fails, fclose() the new FILE*
      No functional change (hopefully).