summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-31Remove unused code/cleanupPieter Noordhuis
2010-12-31Replace zmalloc with regular mallocPieter Noordhuis
2010-12-31Import dictionary code from Redis repository (as of 2069d06a)Pieter Noordhuis
2010-12-31Change reply processing code to prepare for pub/subPieter Noordhuis
2010-12-31Copy entire callback in one callPieter Noordhuis
2010-12-29LicensePieter Noordhuis
2010-12-29Scope event library related data and hooks to a structPieter Noordhuis
2010-12-28Run pending callbacks with a NULL reply on redisAsyncFree()Pieter Noordhuis
2010-12-28Fix the async free() and disconnect() functionsPieter Noordhuis
To make sure that these functions can also be called from functions other than command callbacks, the flag IN_CALLBACK is introduced that holds whether the context is currently executing a callback. If so, redisAsyncFree() and redisAsyncDisconnect() should delegate their task to the reply processor to avoid segfaults.
2010-12-28Only check REDIS_FREEING when a callback was executedPieter Noordhuis
2010-12-28Add function to explicitly free an async contextPieter Noordhuis
2010-12-28Add write event after setting connect callbackPieter Noordhuis
2010-12-22Missing declaration.Nicolas Favre-Felix
2010-12-16Bump versionPieter Noordhuis
2010-12-16Forgot to add -L. to remaining LDFLAGSPieter Noordhuis
2010-12-16Fix building shared library on SolarisPieter Noordhuis
2010-12-16Solaris doesn't know AF_LOCALPieter Noordhuis
2010-12-16Add myself to license in some filesPieter Noordhuis
2010-12-16Use generic $(MAKE) in MakefilePieter Noordhuis
2010-12-16Redefine REDIS_REPLY_ERROR to be non-zeroPieter Noordhuis
When no reply object functions are defined, the reply type integer is returned from redisGetReply(). This sets the *reply argument to the consumed reply, where 0 means that it was not possible to consume a full reply. With REDIS_REPLY_ERROR having the same value, there is no way to tell the difference between an error reply and not consuming a reply.
2010-12-07Fire onConnect callback on the first write eventPieter Noordhuis
2010-12-02Redis command getting executed is PING, PONG is actually the expected answerAmir Mohammad Saied
2010-12-02Add (nearly) full printf support by delegating to vsprintfPieter Noordhuis
2010-12-02Use more aggressive optimizationPieter Noordhuis
2010-12-02WhitespacePieter Noordhuis
2010-12-01Use extra field for adapter-specific dataPieter Noordhuis
This makes sure that the "data" field on the asynchronous context can be used for user-specific data.
2010-12-01Add adapter for the Redis-bundled ae event libraryPieter Noordhuis
2010-12-01Don't compile object files for examples twicePieter Noordhuis
2010-12-01Wait with setting CONNECTED until there is an fdPieter Noordhuis
2010-11-26Bump versionPieter Noordhuis
2010-11-26Use r->len in another spotPieter Noordhuis
2010-11-26Add section on errors to readmePieter Noordhuis
2010-11-26Use custom strollPieter Noordhuis
2010-11-26Reply objects don't need to be calloc'edPieter Noordhuis
2010-11-26Use explicit buffer length field in the reply readerPieter Noordhuis
2010-11-26Rename 'parent' field in read tasks to 'obj'Pieter Noordhuis
2010-11-24Remove leftover line from earlier commitPieter Noordhuis
2010-11-24Set error on unexpected nesting of multi bulksPieter Noordhuis
2010-11-24Add pointer to parent task in read tasksPieter Noordhuis
2010-11-24Don't care if object returned by object function is NULLPieter Noordhuis
2010-11-24Add privdata field to reply readerPieter 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-23Make the libev adapter work without support for multiple event loopsPieter Noordhuis
2010-11-22Update README with new way of handling errorsPieter Noordhuis
2010-11-22Abort on code path that should never be takenPieter Noordhuis
2010-11-22Make error messages consistent in casingPieter Noordhuis
2010-11-22Tests for behavior when connecting failsPieter Noordhuis
2010-11-22Make test for formatting commands using a vector more robustPieter Noordhuis
2010-11-22Fix formatting literal percent charactersPieter Noordhuis
2010-11-22Correctly format commands with empty interpolated valuesPieter Noordhuis
2010-11-22Explicit casts for the libev adapterPieter Noordhuis