1. 16 Apr, 2015 6 commits
  2. 29 Mar, 2015 1 commit
  3. 28 Mar, 2015 1 commit
    • David Watson's avatar
      Add PKGCONFNAME to install dependencies. · dc13bc86
      David Watson 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.
  4. 27 Mar, 2015 1 commit
  5. 19 Mar, 2015 2 commits
  6. 18 Mar, 2015 3 commits
  7. 13 Mar, 2015 1 commit
  8. 03 Mar, 2015 1 commit
    • Dominique Leuenberger's avatar
      Fix pkgconf file: escaping needed · 37c06fac
      Dominique Leuenberger authored
      Due to the various processors going over the command, we need more
      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
  9. 18 Feb, 2015 1 commit
  10. 12 Feb, 2015 1 commit
  11. 26 Jan, 2015 5 commits
  12. 22 Jan, 2015 5 commits
  13. 08 Jan, 2015 2 commits
  14. 06 Jan, 2015 1 commit
  15. 05 Jan, 2015 9 commits
    • Matt Stancliff's avatar
      Cleanup tabs and end of line whitespace · f28872ca
      Matt Stancliff authored
    • Matt Stancliff's avatar
      Update dependency list in Makefile · dad05164
      Matt Stancliff authored
    • Matt Stancliff's avatar
      Build static library by default · 9abfdf94
      Matt Stancliff authored
    • Matt Stancliff's avatar
      Generate pkgconf during build · 1d2b4d38
      Matt Stancliff authored
      The pkgconf source is localized to the Makefile, so we're not dropping
      an unnecessary "hiredis.pc.in" in the source directory.
      Closes #129
      Closes #136
    • Matt Stancliff's avatar
      Fix errno error buffers to not clobber errors · cc202324
      Matt Stancliff authored
      The strerror_r API has two flavors depending on system options.
      The bad flavor uses a static buffer for returning results, so if
      you save the pointer from strerror_r, the string you're referencing
      becomes useless if anybody else calls strerror_r again
      The good flavor does what you expect: it writes the error to your buffer.
      This commit uses strerror_r directly if it's a good version or copies
      the static buffer into our private buffer if it's a bad version.
      Thanks to gemorin for explaining the problem and drafting a fix.
      Fixes #239
    • tzickel's avatar
      Refactor reading code into read.c · ba3e74c4
      tzickel authored
      Makes hiredis reading functions easier to include in external projects
      [fixed all merge conflicts against current version]
      Closes #249
    • Matt Stancliff's avatar
      Fix sds building with C++ · 0cacb485
      Matt Stancliff authored
      These should really just be macros to shut up our type system.
    • Matt Stancliff's avatar
      Fix redisAppendCommand error result · 6a00a464
      Matt Stancliff authored
      Previously, redisvAppendCommand() would return OOM even with formatting
      errors.  Now we use OTHER with an error string telling the user the
      error was formatting related, not memory related.
      This also fixes a potentially worse bug where were would pass error result
      of -1 as an actual length to another function taking an unsigned length,
      which would result in crash/overallocation/errors.  Now for that case,
      we just return an error immediately and stop processing the command.
      Fixes #177
    • Christian Hergert's avatar
      Add GLib 2.0 adapter · 0c9ff5bb
      Christian Hergert authored
      [Cleaned up Makefile and header includes.  Didn't change crazy
      coding style because it's the convention for GLib systems.]
      Closes #83
      Closes #71