Skip to content
Snippets Groups Projects
  1. Sep 17, 2022
  2. Sep 16, 2022
  3. Sep 11, 2022
  4. Sep 10, 2022
  5. Sep 03, 2022
  6. Aug 22, 2022
  7. Aug 20, 2022
  8. Aug 13, 2022
  9. Aug 11, 2022
  10. Aug 10, 2022
  11. Aug 09, 2022
  12. Aug 08, 2022
  13. Aug 05, 2022
  14. Aug 04, 2022
  15. Aug 03, 2022
    • Rob Swindell's avatar
      Check max_files value in extract_files_from_archive() better · bff68ad0
      Rob Swindell authored
      Address issue reported by Nightfox via DOVE-Net:
      Today I was using the Archive class to extract exactly one file from a zip
      file, and I'm a little confused on the exception throwing behavior regarding
      the max_files parameter.  When calling extract(), I gave it a filename pattern
      and expected exactly 1 file to be extracted, so I also gave a max_files
      argument as 1.  It extracted the one file, but it threw an exception with the
      error "Error: maximum number of files (1) extracted (after extracting 1 item
      successfully)".
      
      Should that be an error condition to throw an exception? I expected 1 file to
      be extracted, and that file was extracted successfully.  If I specify max_files
      as 2, then it doesn't throw an exception.   
      bff68ad0
  16. Jul 23, 2022
  17. Jul 19, 2022
  18. Jul 17, 2022
    • Rob Swindell's avatar
      Don't treat Enter as choosing default section when no prompt was shown · 8651f2af
      Rob Swindell authored
      As pointed out via DOVE-Net by DesotoFireflite (VALHALLA):
      When xtrn_sec.* display file/menu is used, there's no auto-generated
      prompt (with a default section number indicated). So hitting Enter
      in this case and having the previous/default program section selected
      would be surprising behavior to a user. So, only support a default
      section selection when there was no xtrn_sec.* menu/display file.
      8651f2af
  19. Jul 15, 2022
  20. Jul 14, 2022
  21. Jul 10, 2022
  22. Jul 08, 2022
    • Rob Swindell's avatar
      libarchive v3.5.1 built for Windows without bcrypt.dll dependency · d2e44659
      Rob Swindell authored
      Accomplished by manually removing #define HAVE_BCRYPT_H 1 from config.h and rebuilding using MSVC/Visual Studio IDE. Try as I might I couldn't get the CMakeLists.txt changes (e.g. setting ENABLE_CNG to OFF) to take effect, but this seems to have worked.
      
      Why? Because Windows XP didn't include bcrypt.dll (a Microsoft DLL) and we don't really need it as we don't support password-protected ZIP files anyway. <shrug>
      d2e44659
    • Rob Swindell's avatar
      Don't use inet_ntop() on Windows as XP didn't include it · e574155e
      Rob Swindell authored
      As reported by cadeon on Vertrauen, Synchronet v3.19 hasn't worked on Windows XP due to error:
      'The procedure entry point inet_ntop could not be located in the dynamic link library WS2_32.dll'
      e574155e
Loading