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

  1. 08 Oct, 2019 2 commits
  2. 05 Oct, 2019 1 commit
  3. 03 Oct, 2019 2 commits
  4. 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.
  5. 26 Sep, 2019 4 commits
  6. 25 Sep, 2019 4 commits
  7. 24 Sep, 2019 3 commits
  8. 23 Sep, 2019 3 commits
  9. 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().
  10. 20 Sep, 2019 6 commits
  11. 19 Sep, 2019 4 commits
    • 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).
    • rswindell's avatar
      Fix resource leak from background-load()'s: · 260d24f0
      rswindell authored
      The created message queue for each background-load()ed script was never
      detached-from by the child thread, so the linked-lists (and their semaphores)
      were never freed. Calling msgQueueDetach() before ending the background_thread
      fixes that leak.
    • rswindell's avatar
      Don't leak FILE streams for calls to js_CreateFileObject(), setting external · c20f74cc
      rswindell authored
      to TRUE meant the FILE* (created with fdopen) would never be closed. So we now
      duplicate the file descriptor and get rid of the external flag, always closing
      Files (FILE streams) upon File object finalize.
      This fixes the resource leak leading to the eventual "Error 24 opening ..." in
      the ircd.js when loaded via jsexec, on Windows. This error happened after
      169 calls to load(true,...), because each background load creates 3 Files
      (for stdin/out/err) and those FILE streams were never closed/freed, and
      169 * 3 = 507, plus a few open files = 512, the maximum number of open file
      streams in the Microsoft CRTL apparently. Thanks to Deuce for recognizing these
      numbers as "magic" and pointing to the likely cause.
    • rswindell's avatar
      Address some debug-log output issues with the File object: · 437edfa4
      rswindell authored
      "4294967295 File closed"
      "0000 File closed: /path/to/file"
  12. 17 Sep, 2019 3 commits
  13. 10 Sep, 2019 2 commits