1. 05 Jun, 2021 1 commit
  2. 11 May, 2021 1 commit
  3. 04 Apr, 2021 2 commits
  4. 15 Feb, 2021 2 commits
  5. 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.
      c6808b3f
  6. 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.
      8a7b7308
  7. 09 Oct, 2020 2 commits
  8. 26 Sep, 2020 2 commits
  9. 16 Aug, 2020 1 commit
  10. 25 May, 2020 1 commit
  11. 02 May, 2020 1 commit
  12. 30 Apr, 2020 1 commit
  13. 04 Apr, 2020 1 commit
  14. 03 Jan, 2020 1 commit
  15. 11 Apr, 2019 1 commit
  16. 01 Apr, 2019 1 commit
  17. 05 Oct, 2018 1 commit
  18. 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.
      cfb0619b
  19. 30 Apr, 2018 1 commit
  20. 14 Mar, 2018 1 commit
  21. 13 Mar, 2018 1 commit
  22. 10 Mar, 2018 2 commits
  23. 09 Mar, 2018 1 commit
  24. 04 Mar, 2018 1 commit
  25. 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.
      4daafc43
    • 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.
      06177f8e
  26. 21 Feb, 2018 1 commit
  27. 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
      d54dc021
    • 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').
      e09f8756
  28. 16 Nov, 2017 2 commits
  29. 24 Nov, 2016 1 commit
  30. 21 Nov, 2016 1 commit
  31. 16 Nov, 2016 2 commits