1. 13 Apr, 2020 1 commit
  2. 09 Apr, 2020 1 commit
  3. 07 Apr, 2020 1 commit
  4. 03 Apr, 2020 1 commit
    • Michael Grunder's avatar
      Win32 tests and timeout fix (#776) · cc9d0329
      Michael Grunder authored
      Unit tests in Windows and a Windows timeout fix
      
      This commit gets our unit tests compiling and running on Windows as well as removes a duplicated `timeval` -> `DWORD` conversion logic in sockcompat.c 
      
      There are minor differences in behavior between Linux and Windows to note:
      
      1.  In Windows, opening a non-existent hangs forever in WSAPoll whereas
          it correctly returns with a "Connection refused" error on Linux.
          For that reason, I simply skip this test in Windows.
      
          It may be related to this known issue:
          https://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/
      
      2.  Timeouts are handled slightly differently in Windows and Linux.  
          In Linux, we intentionally set REDIS_ERR_IO for connection
          timeouts whereas in Windows we set REDIS_ERR_TIMEOUT.  It may be
          prudent to fix this discrepancy although there are almost certainly
          users relying on the current behavior.
      cc9d0329
  5. 28 Feb, 2020 1 commit
    • Michael Grunder's avatar
      Housekeeping fixes (#764) · 38675d23
      Michael Grunder authored
      Housekeeping
      
      * Check for C++ (#758, #750) 
      * Include `alloc.h` in `make install` and `cmake`
      * Add a `.def` file for Windows (#760)
      * Include allocation wrappers referenced in adapter headers
      * Fix minor syntax errors and typos in README
      * Fix CI in Windows by properly escaping arguments (#761)
      38675d23
  6. 28 Jan, 2020 1 commit
  7. 04 Nov, 2019 1 commit
    • Paul Botros's avatar
      Adding an option to DISABLE_TESTS · f052fd1a
      Paul Botros authored
      Useful when hiredis is used as a CMake dependency in other projects and
      added via add_subdirectory(). With DISABLE_TESTS on, `make test` in the
      parent project won't run hiredis tests.
      f052fd1a
  8. 01 Sep, 2019 1 commit
  9. 29 Aug, 2019 1 commit
  10. 17 Jul, 2019 1 commit
  11. 01 Apr, 2019 2 commits
    • m's avatar
      CMake: Minor modernization · e38cd755
      m authored
      Rely more on transitive dependencies, as provided by
      TARGET_LINK_LIBRARIES. Avoid using ADD_DEFINITIONS and
      INCLUDE_DIRECTORIES. This avoids leakage/pollution of defines and
      includes.
      e38cd755
    • m's avatar
      Port network layer to Winsock · dc6d19b9
      m authored
      With this change, Hiredis builds with MinGW and runs on Windows.
      dc6d19b9
  12. 21 Feb, 2019 1 commit
  13. 20 Feb, 2019 9 commits