Skip to content
Snippets Groups Projects
  1. Sep 02, 2004
  2. Sep 01, 2004
  3. Aug 31, 2004
  4. Aug 30, 2004
    • rswindell's avatar
      smb_findhash() now ignores pre-marked hashes and accepts a bool parameter · ac29fdb6
      rswindell authored
      (mark) to indicate whether to mark all found hashes (or stop on first found).
      ac29fdb6
    • rswindell's avatar
      Added "update" mode to smb_hashmsg(), used by fixsmb to force smb_findhash() to · c93e2295
      rswindell authored
      mark found hashes and only write the not-found hashes to disk, rather than not
      writing *any* hashes (when any match) because the message is a "dupe".
      When update is false, the behavior is the same as before.
      c93e2295
    • rswindell's avatar
      Close all FILE* (including sda, sha, and hash files) in smb_close() · 51988300
      rswindell authored
      (using smb_close_fp).
      51988300
    • rswindell's avatar
      c6f6fca6
    • rswindell's avatar
      smb_hash() no longer assumes ASCIIZ string (now requires length argument). · e8f2cdad
      rswindell authored
      Created smb_hashstr() to create hashes of ASCIIZ data.
      e8f2cdad
    • rswindell's avatar
      65645c77
    • rswindell's avatar
      Significant upgrade (increased smblib version string to 2.40): · 5e8810ed
      rswindell authored
      New smb.hash file uses multiple hashing methods (CRC-16, CRC-32 and MD5) to
      calculate hashes of various "distinguishing marks" (e.g. message ID and body
      text) to create a permanent history of message "fingerprints" that can be used
      for duplicate message detection or fast location of messages based on one
      of these "distinguishing marks". For example, reading each message header
      in a message base to find a message with a specific message-ID (i.e.
      how get_msg_by_id() currently works) significantly slows down message
      importing with auto-thread linkage (a newly added feature). This hash file
      will be used to speed this up considerably as well as improve duplicate
      message detection.
      
      This feature is supported with the following new smblib functions:
      smb_findhash, smb_hashmsg, smb_hash, smb_msghashes, and smb_addhashes.
      
      smb_addmsghdr() currently calls smb_hashmsg(), but this will probably change
      with yet another new function call (smb_addmsg?) which will have access to the
      body text (a very useful hash for duplicate message detection).
      
      Existing SMB message bases will not have an existing .hash file (chksmb will
      "missing hash" errors), but fixsmb can be used to create the .hash file for
      existing message bases. Other than the chksmb errors, there are no real
      problems with missing hashes, accept for the potential for failed auto-thread
      linkage when importing replies to existing messages. Over time, this will fix
      itself as new messages are imported and their hashes are stored automatically.
      
      Projects using smblib now must link with crc16.c, crc32.c, and md5.c.
      
      Other changes:
      Created GETMSGTXT_TAIL_ONLY convenience macro.
      smb_open/close_ha/da functions are now just macros to the new smb_open_fp and
      smb_close_fp functions. These functions were 99% redundant.
      New macros smb_open/close_hash also point to smb_open/close_fp.
      More use of SAFEPRINTF macros and safe_snprintf().
      5e8810ed
  5. Aug 27, 2004
  6. Jul 28, 2004
  7. Jul 22, 2004
  8. Jun 09, 2004
  9. Jan 01, 2004
  10. Dec 07, 2003
  11. Dec 06, 2003
  12. Dec 04, 2003
  13. Nov 26, 2003
  14. Oct 23, 2003
  15. Oct 02, 2003
  16. Sep 25, 2003
  17. Sep 17, 2003
  18. Sep 16, 2003
  19. Sep 08, 2003
    • rswindell's avatar
      Using MAX_PATH+1 for path name array lengths (instead of 128). · 5e8d38ea
      rswindell authored
      Created new functions: smb_lock, smb_unlock, and smb_islocked - used to lock
      a message base during maintenance/packing.
      New smb error constant: SMB_ERR_DELETE.
      Created anonymous union members in smbmsg_t for future filebase support.
      Increased SMBLIB_VERSION to 2.30.
      5e8d38ea
  20. Aug 20, 2003
  21. Jul 19, 2003
  22. Jul 01, 2003
  23. Jun 14, 2003
  24. May 23, 2003
Loading