1. 22 Apr, 2021 2 commits
  2. 21 Apr, 2021 1 commit
  3. 17 Apr, 2021 1 commit
    • Rob Swindell's avatar
      Restore the user-to-user file transfer feature · bc883458
      Rob Swindell authored
      I forget who it was that said they were still using this feature in v3.18, but here you go, it's working again (the /D and /U commands). I'm not migrating any file sender/recipient info from v3.18, so only files added after upgrading to this will be downloadable from the "user" directory (if you have one).
      
      Something that I never implemented before but noticed is missing is the removal (or dereferencing) of user-to-user files that were sent from/to a user that is then deleted. So that's still a TODO item.
      bc883458
  4. 08 Apr, 2021 1 commit
    • Rob Swindell's avatar
      Sorted loadfiles() results were corrupted when detail was < normal · 4391ca75
      Rob Swindell authored
      When only reading the index (detail = file_detail_index), smb_getfile() just sets the file->name convenience pointer to point to the name in the index. Then when loadfiles() would sort the list, these pointers would not be adjusted (so they would point to the wrong names) resulting in a corrupted file list (e.g. name/size mismatches and no logical sort order).
      
      The solution is to call smb_getfile() on each file *after* the read index records have been sorted.
      
      This also means that the sort-by-name routines needed to always sort using the index name and not the convenience pointer (which is NULL in this case).
      
      While fixing this, I noticed there was no bounds checking in the loadfiles() and loadfilenames() read-loops, so if the indexes happened to be longer than the total_files value from the status header, a buffer under-alloc/overflow would occur and a likely crash as a result. So stop reading the index when the expected maximum number of index records have been read.
      4391ca75
  5. 04 Apr, 2021 2 commits
  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.
      c6808b3f
  7. 01 Nov, 2020 1 commit
  8. 16 Aug, 2020 1 commit
  9. 12 Jan, 2019 1 commit
    • rswindell's avatar
      Optimized getfiledat(): · 09f5e87e
      rswindell authored
      rather than calling both flength() and fdate() (which both call stat()), just
      call stat() once and use the result for both file size and date/time.
      09f5e87e
  10. 17 Mar, 2018 1 commit
  11. 20 Feb, 2018 1 commit
  12. 03 Jun, 2017 1 commit
  13. 19 Oct, 2011 1 commit
  14. 06 Aug, 2011 1 commit
  15. 06 Mar, 2010 1 commit
  16. 11 Jun, 2009 1 commit
  17. 20 Mar, 2009 1 commit
  18. 04 Jun, 2008 1 commit
  19. 27 Jan, 2008 1 commit
  20. 25 Aug, 2007 1 commit
  21. 08 Jul, 2007 1 commit
    • deuce's avatar
      64-bit · 92cb0a97
      deuce authored
      92cb0a97
  22. 29 Dec, 2006 1 commit
  23. 20 Sep, 2005 1 commit
  24. 13 May, 2005 1 commit
  25. 07 May, 2005 1 commit
  26. 30 May, 2004 1 commit
  27. 28 Aug, 2003 1 commit
  28. 25 Aug, 2003 1 commit
  29. 22 Aug, 2003 1 commit
  30. 29 Apr, 2003 1 commit
  31. 02 Mar, 2003 2 commits
  32. 06 Aug, 2002 1 commit
  33. 27 Jul, 2002 1 commit
  34. 13 Apr, 2002 2 commits
  35. 25 Jan, 2002 1 commit
  36. 03 Nov, 2001 1 commit