Commit Graph

  • 3dfacba4f7 Add comments for function prototypes in hiredis.h Pieter Noordhuis 2010-10-12 00:09:35 +0200
  • d89241e795 Include sys/types.h instead of a custom typedef Pieter Noordhuis 2010-10-11 18:34:32 +0200
  • a7acd97ad1 Move event_base code out of libevent.h Pieter Noordhuis 2010-10-11 18:26:38 +0200
  • 135e9265ac Added event_base to libevent code. Nicolas Favre-Felix 2010-10-10 20:51:27 +0200
  • 96510ce86a Factor out reusable include for libevent Pieter Noordhuis 2010-10-07 17:48:03 +0200
  • b60952f22a Disconnect before free'ing Pieter Noordhuis 2010-10-07 17:38:56 +0200
  • 9cd3b03d84 Fire callback when the context is being disconnected by the user Pieter Noordhuis 2010-10-07 17:36:22 +0200
  • e5dd32d809 Add const qualifier to privdata pointer for command callbacks Pieter Noordhuis 2010-10-07 17:35:31 +0200
  • 5c7b5fca4d Make error messages more consistent (e.g. no newline) Pieter Noordhuis 2010-10-06 21:23:03 +0200
  • 1a5f111d52 c->error is no longer a redisReply object, but rather a plain C-string Pieter Noordhuis 2010-10-06 21:10:09 +0200
  • 97920b443e Rename variables Pieter Noordhuis 2010-10-06 18:13:23 +0200
  • 5a38356cc4 Add example for non-blocking usage of hiredis with libevent Pieter Noordhuis 2010-09-25 22:34:22 +0200
  • 1c245845ed Trigger callbacks when a command is issued or the context is free'd Pieter Noordhuis 2010-09-25 22:31:07 +0200
  • 8345467b2e Free the replies after the tests are done Pieter Noordhuis 2010-09-25 15:33:46 +0200
  • 9e417047ed Add function to free an allocated context Pieter Noordhuis 2010-09-25 15:33:27 +0200
  • cab99f6427 Free command before returning Pieter Noordhuis 2010-09-25 15:26:34 +0200
  • bc3ec0f35a Rename HIREDIS_BLOCK to REDIS_BLOCK Pieter Noordhuis 2010-09-25 15:11:59 +0200
  • a7d7618141 Deprecate the error object for I/O and protocol errors Pieter Noordhuis 2010-09-25 15:09:13 +0200
  • e6fb160b44 Rename defines HIREDIS_* to REDIS_* Pieter Noordhuis 2010-09-25 12:06:47 +0200
  • bb668e1b94 Support callback functions in a non-blocking context Pieter Noordhuis 2010-09-25 12:06:00 +0200
  • de9c172b50 Fix comment Pieter Noordhuis 2010-09-25 11:07:17 +0200
  • d156550886 Rename fd to the more appropriate c Pieter Noordhuis 2010-09-24 18:48:07 +0200
  • 817d26b81d Use context variable to keep state for a connection Pieter Noordhuis 2010-09-24 18:38:14 +0200
  • 81f6b8ffd4 Split redisCommand to a more generic function Pieter Noordhuis 2010-09-24 14:18:30 +0200
  • 510bbf1721 Make target for building static library Pieter Noordhuis 2010-09-21 14:05:22 +0200
  • af8ba74cbf Rename functions to be more consistent, split feed from get reply Pieter Noordhuis 2010-09-21 11:39:18 +0200
  • b1bedf5c6d Use a set of function pointers for building the reply Pieter Noordhuis 2010-09-20 22:04:35 +0200
  • 0a6e3b38e7 Add context to createErrorObject Pieter Noordhuis 2010-09-20 18:18:25 +0200
  • db5244045c Introduce read tasks to allow hooking other code into reply parsing Pieter Noordhuis 2010-09-20 18:02:28 +0200
  • b1fa529cf9 Add function to check if the reply reader is empty Pieter Noordhuis 2010-09-20 15:26:18 +0200
  • e944ea3662 Add reply type for protocol errors, in order to never exit() Pieter Noordhuis 2010-09-20 14:05:23 +0200
  • aec1fbd2ad Use automatic numbering in tests Pieter Noordhuis 2010-09-20 13:44:24 +0200
  • 3253105d49 Update sds code Pieter Noordhuis 2010-09-20 13:19:13 +0200
  • e621f31306 Expose API for streaming bytes to a reply Pieter Noordhuis 2010-09-20 09:50:19 +0200
  • 4ec97f5907 Free reply in test.c to make hiredis-test run cleanly on Valgrind Pieter Noordhuis 2010-09-19 20:43:57 +0200
  • f87625777d Change function prototype Pieter Noordhuis 2010-09-19 20:43:43 +0200
  • c18b58899e Use auxiliary variable to store reply before free'ing the list Pieter Noordhuis 2010-09-19 20:41:03 +0200
  • 62c8054dbe Clean up when there is an I/O error Pieter Noordhuis 2010-09-19 19:01:31 +0200
  • 457cdbf7c5 Rewrite reply parsing to use a read buffer Pieter Noordhuis 2010-09-19 18:47:05 +0200
  • 66036d113e Add speed tests Pieter Noordhuis 2010-09-19 15:18:51 +0200
  • e7aa0b4b52 memory leak resolved in redisReadIntegerReply antirez 2010-08-30 15:42:24 +0200
  • 4b5f030d4f integer memory leak fixed, thanks to Amit Bakshi for both reporting and providing a patch antirez 2010-06-11 23:13:49 +0200
  • 4b98ed2dca TODO updated antirez 2010-06-07 17:50:45 +0200
  • 857c9212d3 Build a shared library Mina Naguib 2010-06-03 11:33:54 -0400
  • 7302a5ec69 strcasecmp requires strings.h Pierre Riteau 2010-05-25 14:00:41 +0200
  • 4693a51707 Constify the API and enable -Wwrite-strings Pierre Riteau 2010-05-25 13:56:18 +0200
  • bd4ec57059 minimalistic test suite... antirez 2010-05-18 20:12:03 +0200
  • df0f2a3aed documentation antirez 2010-05-18 18:49:16 +0200
  • 9562351ae5 more stuff into example antirez 2010-05-18 18:13:25 +0200
  • 3d8d3aa0e5 better example and license information antirez 2010-05-18 17:45:36 +0200
  • 60e85fb4f3 new newline needed after commands antirez 2010-05-18 17:13:21 +0200
  • 4f6fc6dfb1 hiredis was extracted from redis-tools, reverted to standard malloc/free, ported to the new protocol, and started as a stand alone project in order to support the need of a C client in the Redis community antirez 2010-05-18 17:11:09 +0200