Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 25, 2015
  1. @badboy

    Merge pull request #341 from Cylix/glib_adapter_cpp_compilation

    badboy authored
    Use explicit casts for void* pointer in order to compile in C++
Commits on Jun 24, 2015
  1. @badboy

    Merge pull request #333 from w359405949/w359405949-patch-1

    badboy authored
    undefined reference to `clock_gettime'
Commits on Jun 22, 2015
  1. @Cylix
Commits on May 30, 2015
  1. @w359405949

    Update Makefile

    w359405949 authored
    fix link error while run "make hiredis-example-libuv":
    
    undefined reference to `clock_gettime'
    undefined reference to `clock_getres'
Commits on May 3, 2015
  1. @badboy

    Release version 0.13.1

    badboy authored
  2. @badboy
  3. @badboy

    Revert "Always compile with C99 standard."

    badboy authored
    This reverts commit d8145d7.
Commits on Apr 30, 2015
  1. @abalashov

    Renamed redisContext struct member 'unix' to 'unix_sock' to avoid enc…

    abalashov authored
    …ountering defined constant 'unix' in GNU C environment (see commit d8145d7).
    
    Not all code using hiredis can compile using '-std=c99', and/or not all users are able to easily make that change to the build process of various open-source projects, so it is more pragmatic to choose a different identifier that does not impose this requirement.
Commits on Apr 29, 2015
  1. @badboy

    Merge pull request #324 from redis/fix-spontaneous-reply-leak

    badboy authored
    Fix memory leak in async spontaneous reply handling
Commits on Apr 28, 2015
  1. @antirez

    Fix memory leak in async spontaneous reply handling

    antirez authored
    When an asynchronous hiredis connection subscribes to a Pub/Sub channel
    and gets an error, and in other related conditions, the function
    redisProcessCallbacks() enters a code path where the link is
    disconnected, however the function returns before freeing the allocated
    reply object. This causes a memory leak. The memory leak was trivial to
    trigger in Redis Sentinel, which uses hiredis, every time we tried to
    subscribe to an instance that required a password, in case the Sentinel
    was configured either with the wrong password or without password at
    all. In this case, the -AUTH error caused the leaking code path to be
    executed.
Commits on Apr 16, 2015
  1. @badboy

    Always compile with C99 standard.

    badboy authored
    Turns out: gnu9x defines `unix` to 1, making it unusable as a variable
    name.
  2. @badboy

    Release version 0.13.0

    badboy authored
  3. @badboy
  4. @badboy
  5. @badboy

    Document reconnect method

    badboy authored
  6. @badboy

    Implement a reconnect method for the client context

    badboy authored
    Originally implemented by @abedra as part of #306.
    
    In case a write or read times out, we force an error state, because we
    can't guarantuee that the next read will get the right data.
    Instead we need to reconnect to have a clean-state connection, which is
    now easily possible with this method.
  7. @badboy

    Make this work on Redis 3.0

    badboy authored
Commits on Mar 29, 2015
  1. @badboy

    Merge pull request #318 from neonquill/fix-install-target

    badboy authored
    Add PKGCONFNAME to install dependencies.
Commits on Mar 28, 2015
  1. @neonquill

    Add PKGCONFNAME to install dependencies.

    neonquill authored
    Attempting to use the install target before the make target works fine,
    except for the missing pkgconfig file.  Adding that file to the
    dependencies for the install target to make sure it gets created first.
Commits on Mar 27, 2015
  1. @badboy

    Merge pull request #314 from tzickel/master

    badboy authored
    Added support for compiling the parser code with Microsoft Visual C compiler.
Commits on Mar 19, 2015
  1. @badboy
  2. @badboy

    Merge pull request #316 from boardwalk/master

    badboy authored
    Fix hiredis.pc generation.
Commits on Mar 18, 2015
  1. @boardwalk

    Fix hiredis.pc generation.

    boardwalk authored
  2. @badboy

    Merge pull request #315 from badboy/travis-fix

    badboy authored
    Update apt repos first
  3. @badboy

    Update apt repos first

    badboy authored
Commits on Mar 13, 2015
  1. Added support for compiling the parser code with Microsoft Visual C c…

    tzickel authored
    …ompiler.
    
    For hiredis-py and others support on windows.
Commits on Mar 3, 2015
  1. @DimStar77 @mattsta

    Fix pkgconf file: escaping needed

    DimStar77 authored mattsta committed
    Due to the various processors going over the command, we need more
    escaping.
    
    1) Make parses it, so $${libdir} becomes ${libdir}
    2) 'shell' parses it for the 'echo command', whereas echo ${libdir}
    would be an empty string; escape it as \${libdir} to ensure we get what
    we want.
    
    Closes #312
Commits on Feb 18, 2015
  1. @mattsta

    Fix tests when assert() undefined

    mattsta authored
    Closes #309
    
    (such as when -DNDEBUG disables all assert() macros)
    
    Inspired by keith-bennett-gbg, but re-rewritten to be more concise.
Commits on Feb 12, 2015
  1. @mattsta

    Fix pkgconf when used with DESTDIR

    mattsta authored
    Closes #302
Commits on Jan 26, 2015
  1. @mattsta

    Release hiredis 0.12.1

    mattsta authored
    Major fix:
      - `make install` now works properly
    
    Minor fix:
      - `make test` now works after `make 32bit` on a 64-bit platform
      - added more automated travis tests
  2. @mattsta

    Add more travis tests

    mattsta authored
    Adds travis testing for 32bit builds as well as compile warnings
    on 64 bit and 32 bit builds.
  3. @mattsta

    Build test binary by default

    mattsta authored
    This is the only way to force a 32-bit build of the test binary
  4. @mattsta

    Fix pkgconf build dependency

    mattsta authored
    We need to re-gen pkgconf when the version changes, and the version
    is kept in hiredis.h, so make pkgconf depend on hiredis.h.
  5. @wiedi @mattsta

    Fix Makefile install problems

    wiedi authored mattsta committed
    Adds DESTDIR support
    Fixes INSTALL_PKGCONF_PATH
    Properly copies {read,shs}.h now during make install
    
    Closes #297
Commits on Jan 22, 2015
  1. @mattsta

    Increase version to 0.12.0

    mattsta authored
Something went wrong with that request. Please try again.