1. 02 Mar, 2022 3 commits
  2. 24 Feb, 2022 1 commit
  3. 06 Jun, 2021 1 commit
  4. 05 Jun, 2021 1 commit
  5. 11 May, 2021 1 commit
  6. 04 Apr, 2021 2 commits
  7. 15 Feb, 2021 2 commits
  8. 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.
  9. 06 Nov, 2020 1 commit
    • Rob Swindell's avatar
      Replace ctype.h function calls with new MSVC-safe XPDEV macros · 8a7b7308
      Rob Swindell authored
      I'm fed-up with MSVC assertions in ctype functions (e.g. isdigit, isprint, isspace, etc.) when called with out-of-range (e.g. negative) values.
      This problem only affects MSVC debug builds, but if you run them (like I do), these things are like little time bombs that can drive you crazy (knocking your board out of service).
      The new macros names are bit more descriptive as well.
  10. 09 Oct, 2020 2 commits
  11. 26 Sep, 2020 2 commits
  12. 16 Aug, 2020 1 commit
  13. 25 May, 2020 1 commit
  14. 02 May, 2020 1 commit
  15. 30 Apr, 2020 1 commit
  16. 04 Apr, 2020 1 commit
  17. 03 Jan, 2020 1 commit
  18. 11 Apr, 2019 1 commit
  19. 01 Apr, 2019 1 commit
  20. 05 Oct, 2018 1 commit
  21. 08 Jul, 2018 1 commit
    • rswindell's avatar
      Added support for referencing a message on the command-line with the · cfb0619b
      rswindell authored
      'l' (list messages), 'x' (dump index), 'r' (read msgs), and 'v' (view msgs)
      commands by "days old", by specifying a negative number (in days).
      (e.g. "smbutil r-30" would read messages posted within the past 30 days).
      This was added to test the smb_getmsgidx_by_time() function, but has some
      value otherwise I suppose.
  22. 30 Apr, 2018 1 commit
  23. 14 Mar, 2018 1 commit
  24. 13 Mar, 2018 1 commit
  25. 10 Mar, 2018 2 commits
  26. 09 Mar, 2018 1 commit
  27. 04 Mar, 2018 1 commit
  28. 22 Feb, 2018 2 commits
    • rswindell's avatar
      Added new commands: · 4daafc43
      rswindell authored
      L (capital 'L'): Lock a message base
      U (capital 'U'): Unlock a message base
      These commands maybe used to insure that a message base is not modified while
      being backed-up (but don't forget to unlock them when you're done!).
      Also note: if you back up all the files (including *.lock), then the backed-up
      message bases will also be locked and will need to be unlocked (i.e. *.lock
      removed) before they may be used again if/when restored.
    • rswindell's avatar
      When configuring a message base (changing values in the "status header'), · 06177f8e
      rswindell authored
      allow the "last_msg" value to be changed as well.
      When dumping a msgbase index, show 'M' for messages (not blank).
      When running maintenance, read the entire index in one shot.
      Don't display progress (percentage counting) during maintenance (just
      slows it down).
      When reading messages, get the plain-text version (MIME decode if needed).
      When a message base fails to open, continue processing additional message bases
      if specified on the command-line.
  29. 21 Feb, 2018 1 commit
  30. 25 Nov, 2017 2 commits
    • rswindell's avatar
      Don't show the new status header values as part of the 'R' command. · d54dc021
      rswindell authored
      A good way to use the 'R' command woud be:
      "smbutil -C Rcs <base>" which tells smbutil to:
      -continue on error opening the msg base (e.g. corruption)
      -re-init the SMB/status headers
      -change/config the status header values (e.g. max msgs, crcs, age)
      -show the status header
    • rswindell's avatar
      smbutil v2.34: · e09f8756
      rswindell authored
      - Added 'R' (capital 'R') command, which can be used to repair a corrupted
        "SMB header" and status header in the *.shd file. The status header
        fields "max_msgs", "max_crcs", and "max_age" are not recovered (just
        initialized to 0) since we don't have those configuration settings in
        smbutil. Modifying the base configuration in SCFG and saving changes
        will recover those values.
      - Added '-C' (capital 'C') option: to continue to open a msg base even when
        some forms of SMB header corruption are detected. This option may be used
        in combination with some commands (e.g. 'c' and 'R') to recover a
        corrupted message base.
      Command-line options were previously not case-sensistive (all options were
      treated the same regardless of letter case) - now, most options are still
      treated the same regardless of case, but newer options will be redefining
      the uppercase equivalent (e.g. '-C' is now not the same as '-c').
  31. 16 Nov, 2017 1 commit