Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-24 | Add pointer to parent task in read tasks | Pieter Noordhuis | |
2010-11-24 | Add privdata field to reply reader | Pieter Noordhuis | |
This field is set in the read tasks that are passed to the reply object functions. This allows to curry arbitrary data to these functions. | |||
2010-11-19 | add extern "C" for C++ compiles | Ryan Tecco | |
2010-11-04 | The buffer length to feed should be a size_t | Pieter Noordhuis | |
2010-11-04 | Return the reply type when the reply object function set is NULL | Pieter Noordhuis | |
2010-11-03 | Add version information to hiredis.h | Pieter Noordhuis | |
2010-11-03 | Allow to connect using a unix socket from hiredis | Pieter Noordhuis | |
2010-11-03 | Expose redisGetReplyFromReader as public API | Pieter Noordhuis | |
2010-11-02 | Strip net.c down to the bare minimum | Pieter Noordhuis | |
2010-11-02 | Change error reporting to have an explicit type | Pieter Noordhuis | |
When there is an I/O error, errno should be used to find out what is wrong. In other cases, errno cannot be used. So, use an explicit type in Hiredis to define the different error scenarios that can occur. | |||
2010-11-02 | Remove superfluous definition | Pieter Noordhuis | |
2010-11-01 | There is no longer need for a separate redisDisconnect | Pieter Noordhuis | |
2010-11-01 | Strip non-blocking callbacks from hiredis.c | Pieter Noordhuis | |
2010-11-01 | Add support to lazily disconnect an asynchronous connection | Pieter Noordhuis | |
2010-10-31 | Move include of stdio.h to hiredis.h for size_t | Pieter Noordhuis | |
2010-10-31 | Move stdarg.h include to the hiredis header file | Pieter Noordhuis | |
2010-10-31 | The reply object functions may not change the read tasks | Pieter Noordhuis | |
2010-10-31 | Use a fixed size stack instead of a dynamic list for read tasks | Pieter Noordhuis | |
2010-10-31 | Remove reply object functions from connect functions | Pieter Noordhuis | |
2010-10-31 | Refactor internal function flow and add redisAppendCommand* family | Pieter Noordhuis | |
2010-10-31 | First step in decoupling reply callbacks from internals | Pieter Noordhuis | |
2010-10-31 | Format a command using an argument vector | Pieter Noordhuis | |
2010-10-30 | Change redisFormatCommand to return the command in a char* | Pieter Noordhuis | |
This allows users of the API to format a command without the need to have all the sds functions included, only for free'ing the returned wire-level command. | |||
2010-10-30 | Drop dependency on sds.h for exposed API | Pieter Noordhuis | |
2010-10-30 | Rename struct | Pieter Noordhuis | |
2010-10-19 | Revert e5dd32d8 that added the const qualifier for command callbacks | Pieter Noordhuis | |
2010-10-19 | Revert privdata in context callbacks to being non-const | Pieter Noordhuis | |
2010-10-18 | Move context callbacks into struct and make privdata const | Pieter Noordhuis | |
2010-10-12 | Add comments for function prototypes in hiredis.h | Pieter Noordhuis | |
2010-10-11 | Move event_base code out of libevent.h | Pieter Noordhuis | |
This removes the need to wrap an event_base pointer in the redisContext struct and allows multiple connections to be used in a single event_base. Also, use the *privdata argument to the provided callbacks to curry the redisEvent struct around. | |||
2010-10-10 | Added event_base to libevent code. | Nicolas Favre-Felix | |
2010-10-07 | Fire callback when the context is being disconnected by the user | Pieter Noordhuis | |
2010-10-07 | Add const qualifier to privdata pointer for command callbacks | Pieter Noordhuis | |
2010-09-25 | Trigger callbacks when a command is issued or the context is free'd | Pieter Noordhuis | |
2010-09-25 | Add function to free an allocated context | Pieter Noordhuis | |
2010-09-25 | Rename HIREDIS_BLOCK to REDIS_BLOCK | Pieter Noordhuis | |
2010-09-25 | Deprecate the error object for I/O and protocol errors | Pieter Noordhuis | |
Rather, use the return value REDIS_OK and REDIS_ERR to designate if calling a function has a successful outcome. When there was an error in performing the call the error field will be set inside the reader or the context. | |||
2010-09-25 | Rename defines HIREDIS_* to REDIS_* | Pieter Noordhuis | |
2010-09-25 | Support callback functions in a non-blocking context | Pieter Noordhuis | |
2010-09-24 | Use context variable to keep state for a connection | Pieter Noordhuis | |
The context supports both blocking and non-blocking connections. All read and write events are not handled by hiredis, but hiredis exposes an API for buffered reading/writing to Redis. | |||
2010-09-21 | Rename functions to be more consistent, split feed from get reply | Pieter Noordhuis | |
2010-09-20 | Use a set of function pointers for building the reply | Pieter Noordhuis | |
Allows libraries to wrap the reply parsing code and build the reply in a streaming fashion. Reply objects can immediately be initialized to the required type without having to convert an intermediary format. | |||
2010-09-20 | Introduce read tasks to allow hooking other code into reply parsing | Pieter Noordhuis | |
2010-09-20 | Add function to check if the reply reader is empty | Pieter Noordhuis | |
2010-09-20 | Add reply type for protocol errors, in order to never exit() | Pieter Noordhuis | |
2010-09-20 | Expose API for streaming bytes to a reply | Pieter Noordhuis | |
2010-09-19 | Rewrite reply parsing to use a read buffer | Pieter Noordhuis | |
2010-05-25 | Constify the API and enable -Wwrite-strings | Pierre Riteau | |
The API is more similar to printf now. | |||
2010-05-18 | better example and license information | antirez | |
2010-05-18 | hiredis was extracted from redis-tools, reverted to standard malloc/free, ↵ | antirez | |
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 |