Skip to content
Snippets Groups Projects
  1. Jan 07, 2025
  2. Jan 06, 2025
  3. Jan 05, 2025
    • Deucе's avatar
      Log the changes · 38b2cefb
      Deucе authored
      38b2cefb
    • Deucе's avatar
      Reset terminate to false during connect() · f7c52aa3
      Deucе authored
      Fixes bug where you could only open a Shell session on Windows once
      per invocation of SyncTERM.
      f7c52aa3
    • Deucе's avatar
      86f5b987
    • Deucе's avatar
      39bf23ad
    • Deucе's avatar
      f0763d84
    • Deucе's avatar
      Add Shell support for Windows · 639be7f8
      Deucе authored
      Requires Windows 10 or higher.  This changes the default SyncTERM
      builds to require Windows 10.  To build for other versions, you
      need to pass WIN32, WINVER, WIN32_IE, and NTDDI to build script.
      
      These need to be whatever they need to be for old stuff to work.
      639be7f8
    • Deucе's avatar
    • Deucе's avatar
      More LZH updates · 89d74a14
      Deucе authored
      - Make lzh_update() return a bool indicating success
      - Eliminated calculating array size, use macro
      - Fail if the current entry is not in the frequency array
      89d74a14
    • Deucе's avatar
      Fix warnings · c0374478
      Deucе authored
      warning: adding 'int' to a string does not append to the string
      [-Wstring-plus-int]
      c0374478
    • Deucе's avatar
      Don't popup error message if we're already disconnected · f9e66adc
      Deucе authored
      Another fix for bug 174
      f9e66adc
    • Deucе's avatar
      Check for CRYPT_ERROR_READ as well · 8a458408
      Deucе authored
      cryptPopData() and cryptFlushData() will return CRYPT_ERROR_READ
      if the socket is unexpectedly closed, not CRYPT_ERROR_COMPLETE.
      
      Handle that in the wrappers as well.
      8a458408
    • Deucе's avatar
      Add wrappers for cryptlib functions · 9dd5381b
      Deucе authored
      If anything that should send/receive data returns CRYPT_ERROR_COMPLETE
      tell the I/O threads to temrinate so conn_connected() will return false
      
      Another attempt at bug 174.
      9dd5381b
    • Deucе's avatar
      Define and use a new IGNORE_RESULT() macro · 3f7bf074
      Deucе authored
      Historically, casting to void would suppress warnings about things
      being unused.  However, an attribute was created for functions like
      realloc() where not using the result is always a bug, so when the
      attribute is used, you must actually use the return value and can't
      cast to void to avoid a warning.
      
      Given this attribute, the glibc authors decided to apply it to all
      the functions that usually should have their return value checked
      (chdir(), write(), etc) when _FORTIFY_SOURCE is defined because if
      you care about correctness enough to define _FORTIFY_SOURCE, you'll
      always do something useful with these return values.
      
      Extending the hilarity, some distros define _FORTIFY_SOURCE by
      default.
      
      The result is functions that occasionally can safely be called
      regardless of the return value will throw a warning if you don't
      "do something" with that return value.
      
      Of course, you can just turn off the warnings completely with a
      compiler flag, but then you lose the excellent warning about things
      like realloc() that always make sense and were the original reason
      for the option.
      3f7bf074
    • Deucе's avatar
      Define a macro to indicate if the compiler is actually GCC. · 0f04d3ac
      Deucе authored
      Pretty much all new compilers these days will define all the GCC
      macros so it's impossible to detect GCC from predefined macros
      without adding a list of all the compilers that pretend to be GCC
      if defined(__GNUC__) && !defined(__clang__) && !defined(____INTEL_COMPILER)
      0f04d3ac
    • Rob Swindell's avatar
      Merge branch 'lzh-refactor' into 'master' · dcf958cd
      Rob Swindell authored
      Overhaul LZH code
      
      See merge request !489
      dcf958cd
Loading