1. 05 Feb, 2022 1 commit
    • Rob Swindell's avatar
      Detect and reject duplicate internal code prefixes · 5fcc9090
      Rob Swindell authored
      Don't let (or at least try to prevent) a sysop create a duplicate message group or file library internal code prefix (which could lead to duplicate internal codes for subs and dirs, pretty easily and accidentally).
  2. 04 Feb, 2022 1 commit
    • Rob Swindell's avatar
      Better detection/rejection of duplicate sub and dir internal codes · 1329ab93
      Rob Swindell authored
      When manually adding a message/file area or modifying an internal code value, reject the code if it's a duplicate.
      This required that getsubnum() and getdirnum() support non-prepped configurations (where the full internal code has already been constructed from the prefix and suffix).
  3. 23 Nov, 2021 1 commit
    • Rob Swindell's avatar
      Allow FOSSIL mode of the Win32 virtual UART/FOSSIL driver to be disabled · 5b36ab9a
      Rob Swindell authored
      When configuring an external program, a Win32 sysop can now choose to *only* enable the virtual UART (and not the FOSSIL driver) feature of the Synchronet virtual UART/FOSSIL driver (dosxtrn.exe/sbbsexec.dll). Some programs (e.g. TradeWars 2) will always use the FOSSIL driver if one is detected and in order to force the use of COM/UART driver for I/O (if that is desired), then one must disable the FOSSIL driver. It's a rare use case, but I can see the potential need.
      Renamed the "Intercept I/O" option in SCFG to "I/O Method" and make it clear that "Socket" (for native programs) and "FOSSIL or UART" (for 16-bit DOS programs) is the default method (what was previously identified as "No" I/O Interception).
      If a sysop want to disable the virtual UART support (on Win32, e.g. so *only* FOSSIL is available to one or all DOS programs), they do that via their sbbsexec.ini file.
  4. 04 Apr, 2021 1 commit
    • Rob Swindell's avatar
      A poll() failure with EINTR does not mean a socket is closed. · fcf58640
      Rob Swindell authored
      This won't impact Synchronet as it has a separate signal handling
      thread, but we still need to behave properly for processes that
      don't.  I'm also saying that ENOMEM does not indicate a disconnection,
      though it may be better to pretend it was disconnected...
  5. 18 Jan, 2021 1 commit
    • Rob Swindell's avatar
      Safe string handling with config-load error messages · 99dbeb14
      Rob Swindell authored
      We were just trusting that the error strings would be shorter than 256 (usually), but since we're including paths and strerror() results, we really have no control over the length of the error strings. So enforce some healthy boundaries. This could explain the crashes that Divarin of Mutiny is seeing with SCFG on WinXP or maybe it was the truncsp(strerror()) stuff that was just removed as well. We'll see...
  6. 23 Nov, 2020 1 commit
    • Rob Swindell's avatar
      The great C function dependency refactor of 2020 · c6808b3f
      Rob Swindell authored
      The goal of this commit is that: only modules that either are part-of sbbs.dll/libsbbs.so or need to link with/use that library, will #include "sbbs.h" and thus be dependent on its subsequent includes (e.g. cryptlib.h, jsapi.h). This should mean extdeps.mk can be trimmed way down.
      I also removed CVS keyword/comments and trimmed up the boilerplate copyright notice in modified and added source/header files in this commit.
      There is no functional change in behavior in this comment.
  7. 06 Sep, 2020 2 commits
  8. 16 Aug, 2020 1 commit
  9. 12 Jun, 2020 1 commit
  10. 07 Apr, 2020 1 commit
  11. 31 Mar, 2020 1 commit
  12. 24 Mar, 2020 1 commit
  13. 30 Nov, 2019 1 commit
    • rswindell's avatar
      Add a "newsgroup.lst" import feature to import a list of newsgroups from a text · a67eb427
      rswindell authored
      file (one newsgroup name per line). The newsgroup name is used for all the
      area fields/names, removing the group name if applicable. Any additional text
      following the first word of each line is ignored.
      Also sets the INET/NTTP networked flag for all the imported subs.
      Also, fixed apparently long-standing bug where QWK name of imported subs was
      always overwritten with sub's short name.
  14. 23 Aug, 2019 1 commit
  15. 22 May, 2019 2 commits
    • rswindell's avatar
      When cutting and pasting a single sub-board, restore the QWKnet hub · 6de4bf9e
      rswindell authored
      sub-board (if there was one) which pointed to the cut-sub.
    • rswindell's avatar
      Fix issue reported by Va7aqd: when sub-boards were cut to the clipboard · 25d190c9
      rswindell authored
      (or deleted) or a group of sub-boards was deleted, and any of the deleted/cut
      sub-boards belonged to a configured QWKnet hub, that QWKnet sub-board would
      end-up pointing to the next sub-board in the configuration (possibly in another
      message group, possibly not part of the QWKnet in question). Now, if a
      QWKnet sub is deleted/cut, remove it (correctly) from any QWKnet hubs using
      a common (new) function: remove_sub(). The bug was: the remaining sub-board
      pointers were moved *before* the remove-sub pointer was compared against the
      list of QWKnet hub subs (and NULLed), so while the effort *was* made to address
      this problem, it didn't actually work in practice. Thanks for the bug report.
  16. 12 Jan, 2019 1 commit
    • rswindell's avatar
      Cosmetic change only: · 8d649b6c
      rswindell authored
      Wrap all read_*_cfg() and write_*_cfg() calls with simple functions that
      display popup messages that the Reading or Writing is being performed.
      There was already copy/pasta everywhere for the Reading ... cnf files, but
      nothing for writing.
  17. 11 Nov, 2017 2 commits
  18. 23 Oct, 2017 2 commits
    • rswindell's avatar
    • rswindell's avatar
      * Implemented support for new LIB_DIRS option: · 7cd354b2
      rswindell authored
        Automatically detect child sub-directories and make them available as virtual
        directories for users to download from - only useful via FTP currently.
      * Implemented Sorting options for Message Groups and File Libraries:
        Sub-boards within groups and directories within library can now be
        automatically sorted based on the sysop's chosen sort field (long name, short
        name, or internal code)
        - Required that sub-boards are now stored/saved in msgs.cnf based on groups
        - Required QWKnet hub sub-board reference dynamic renumbering
      * Implemented "Template" toggle option for sub-boards and file directories:
        A sub-board or directory marked as "template" will be used for newly created
        (or imported) subs/dirs for that group/lib. Clone Options via SCFG will now
        use the "template" item as the source of the cloned settings, if available.
      * New "Impport Conferences..." option for QWKnet hubs to import subs (or just
        conference numbers) from a QWK control.dat file.
      * New command-line options:
        -import=<filename> - import a message Area List file
        -g<name> - specify a target message group for imported area list
      * All paste operations are now "Paste-Insert" (not over-write), as sysops would
      * Unified several of the duplicate (or nearly duplicate) help text strings.
      * Over-hauled new group/sub/library/directory creation logic
      * Display number of sub-boards in groups and directories in libraries
      * Fixed a lot of help text typos and conversion issues
  19. 12 Oct, 2017 1 commit
    • rswindell's avatar
      Update copy/cut/paste-over/insert support. You can now cut a group/lib/section · fa9e35bf
      rswindell authored
      and when pasted, all the child subs/dirs/xtrns will be pasted with it.
      If however, you cut a group/lib/section and then exit SCFG, you'll lose all the
      children subs/dir/xtrns that were on the "clipboard" along with the parent.
      Copy - F5, Ctrl-C, Ctrl-Insert
      Cut - Shift-Del, Ctrl-X
      Paste Over - F6, Ctrl-V
      Paste Insert - Shift-Insert
  20. 17 Aug, 2017 1 commit
  21. 02 Dec, 2016 1 commit
  22. 30 Jun, 2011 1 commit
    • rswindell's avatar
      Remove "Module" from "Loadable Module" menu options (redundant). · c7480ff0
      rswindell authored
      Expanded help text for "Loadable Modules".
      Expanded help text for internal code prefix/suffixes and some other edits.
      Internal-code prefixes are now automaitcally removed from imported file areas,
      just like was already done for message areas, by the prep_code() function.
      Imported internal-code suffixes are converted to upper case.
      Updated indentation and brace style.
      Replaced special unprintable help text chars with ASCII equivalents (` and ~).
  23. 03 Feb, 2006 1 commit
  24. 19 Nov, 2004 1 commit
  25. 25 Sep, 2004 1 commit
  26. 03 Sep, 2003 1 commit
  27. 22 May, 2003 1 commit
  28. 21 May, 2003 1 commit
  29. 04 Mar, 2003 1 commit
  30. 19 Feb, 2003 1 commit
  31. 05 Jan, 2003 1 commit
  32. 14 Sep, 2002 1 commit
  33. 26 Apr, 2002 1 commit
  34. 28 Feb, 2002 1 commit
  35. 28 Jan, 2002 1 commit
  36. 26 Jan, 2002 1 commit