Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/redis/hiredis

Minimalistic C client for Redis >= 1.2
https://github.com/redis/hiredis

Refactor internal function flow and add redisAppendCommand* family

47e1f7714972ca4ba90792a4601991fe1ea27865 authored about 14 years ago by Pieter Noordhuis <[email protected]>
First step in decoupling reply callbacks from internals

298e9325d7dc92f5a993a764583f84ca68aa9f0d authored about 14 years ago by Pieter Noordhuis <[email protected]>
Format a command using an argument vector

a3a405bcbab4947fea0b155e93cc752953428e52 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Change redisFormatCommand to return the command in a char*

This allows users of the API to format a command without the need to
have all the sds functions ...

e95c9d4c5b434e6829c8e3a2cc36cebdee26edf7 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Status replies should have type REDIS_REPLY_STATUS

bc5dcdbc85775ffa5213ae0678ca452ad4c8683f authored about 14 years ago by Pieter Noordhuis <[email protected]>
Drop dependency on sds.h for exposed API

171b5a24d44b24b1d15ba1d6689cbe37e9a0cfe6 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Rename struct

1e7f5ae6bd5738855f077e4c117a018409ab6a1b authored about 14 years ago by Pieter Noordhuis <[email protected]>
Run pending callbacks with NULL reply on redisDisconnect()

0f745d1ac0acc4fa0614ea441272a6f75ff24f71 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Actively disconnect on an error

This calls the disconnect callback, causing the registered event
handlers to be cleared. After t...

e3067fe2316a3efb89fd7be78be8f9b18618f8fa authored about 14 years ago by Pieter Noordhuis <[email protected]>
Style

c8d72f7c7aababdb63771b272a811c96e7de78a3 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Test helper for creating a non-blocking connection

bbe007a75a79cd92654e33f61c1330695fc999ed authored about 14 years ago by Pieter Noordhuis <[email protected]>
Revert e5dd32d8 that added the const qualifier for command callbacks

d4b4a9128eefe9ac57de1fea371f3b3dacae0b1c authored about 14 years ago by Pieter Noordhuis <[email protected]>
Remove const qualifier from command callback in examples

947612865d5dce64240955bc152e225f385349a8 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Added header file and example for usage from libev

e245ab48ec8f766e589771b976761a0a41b6442d authored about 14 years ago by Pieter Noordhuis <[email protected]>
Make error callback argument const

206868de060bbfeb2745dad2f410691ad2fc62f8 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Revert privdata in context callbacks to being non-const

ba42ab2ef8fcf9bf88c0d68414d24c3bb00e00c8 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Test callback sequence in non-blocking context

f9596db90bf030dfbd008151521d1c72e1e497e4 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Change redisWriteBuffer to return OK on an empty buffer

e332a32b3514d8a5603610e9e9febd5f6ddaae3c authored about 14 years ago by Pieter Noordhuis <[email protected]>
Tests for context callbacks in non-blocking mode

a68cb9686e4431951897e30d87b42ebb6a8faae5 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Rearrange tests to isolated functions

634314f386fc7ac39ae21724685ec6252e30e7a6 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Move context callbacks into struct and make privdata const

61ba85ce57a340449f9fe1fa6d2796d7afe2c1a3 authored about 14 years ago by Pieter Noordhuis <[email protected]>
The QUIT commands returns OK on master

7496458c68d41d946df52fcaf6833ab49cd07b4a authored about 14 years ago by Pieter Noordhuis <[email protected]>
Change README to Markdown

8b8b7afef28055ca40230abf3e91006884e6c8f8 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Add comments for function prototypes in hiredis.h

3dfacba4f73f1cf127c074738289b2a833d656e1 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Include sys/types.h instead of a custom typedef

d89241e795e99e830003b1fbbe1735d48bc81ce8 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Move event_base code out of libevent.h

This removes the need to wrap an event_base pointer in the redisContext
struct and allows multip...

a7acd97ad1fd7c152f7620c0224fba624f226796 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Added event_base to libevent code.

135e9265acfb4f89b7fff73e985b370c6169ef23 authored about 14 years ago by Nicolas Favre-Felix <[email protected]>
Factor out reusable include for libevent

96510ce86ade991a7dc968587c3c618cc9bf5a88 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Disconnect before free'ing

b60952f22ade00bebd08530e568ed31eeadd8797 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Fire callback when the context is being disconnected by the user

9cd3b03d84d5738cc08267782e999048cad0fb5e authored about 14 years ago by Pieter Noordhuis <[email protected]>
Add const qualifier to privdata pointer for command callbacks

e5dd32d809b46a300e14f8cd1422b5a0d817a680 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Make error messages more consistent (e.g. no newline)

5c7b5fca4d36fbf5050a1b36e9308fdd8bf5813c authored about 14 years ago by Pieter Noordhuis <[email protected]>
c->error is no longer a redisReply object, but rather a plain C-string

1a5f111d5208ce3ea5d0d64fa167cec6781abd4f authored about 14 years ago by Pieter Noordhuis <[email protected]>
Rename variables

97920b443e58aa9c15f9836841164c7123194859 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Add example for non-blocking usage of hiredis with libevent

5a38356cc4133c581f2935b38e12abb2a2037419 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Trigger callbacks when a command is issued or the context is free'd

1c245845eda46512ed3eb5f7e502c3b7f535ac89 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Free the replies after the tests are done

8345467b2e391aa0e62414d48abcc15c6291d945 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Add function to free an allocated context

9e417047edb4e95dcffbd8827f0f6a4f1fcdab51 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Free command before returning

cab99f6427f5255b543592c429c899aeef866352 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Rename HIREDIS_BLOCK to REDIS_BLOCK

bc3ec0f35a5c616d9971c286fddbab75cfd35ed9 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Deprecate the error object for I/O and protocol errors

Rather, use the return value REDIS_OK and REDIS_ERR to designate if
calling a function has a suc...

a7d76181415b4b0ace9d6863ef71eb08ebd1b7ef authored over 14 years ago by Pieter Noordhuis <[email protected]>
Rename defines HIREDIS_* to REDIS_*

e6fb160b4479cacb2c9e4e35a9557726ee4cc3d7 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Support callback functions in a non-blocking context

bb668e1b9450bb86da4ea2cff8ef3a0ea146f0e7 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Fix comment

de9c172b50e8c28055dc5241585a0bcb690582b9 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Rename fd to the more appropriate c

d156550886663c6bedcda3975ef614bf65126432 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Use context variable to keep state for a connection

The context supports both blocking and non-blocking connections. All
read and write events are n...

817d26b81df7028ff8bcb8690dae0cec1319b63a authored over 14 years ago by Pieter Noordhuis <[email protected]>
Split redisCommand to a more generic function

81f6b8ffd42460038e3b9498e7a60347eef1fcd4 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Make target for building static library

510bbf17210890a02b043dd2293c03ffd0637d79 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Rename functions to be more consistent, split feed from get reply

af8ba74cbfdbecf5ebdf99c506e264bed2d0efb2 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Use a set of function pointers for building the reply

Allows libraries to wrap the reply parsing code and build the reply in a
streaming fashion. Repl...

b1bedf5c6df6290249850f73912d9fc566782b64 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Add context to createErrorObject

0a6e3b38e71de07226f88b5edd4147405d4b7bef authored over 14 years ago by Pieter Noordhuis <[email protected]>
Introduce read tasks to allow hooking other code into reply parsing

db5244045cb4c5600ba36f678ada2a9f0c4e9469 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Add function to check if the reply reader is empty

b1fa529cf973247ba79f23b1b5c9249582fc1bfe authored over 14 years ago by Pieter Noordhuis <[email protected]>
Add reply type for protocol errors, in order to never exit()

e944ea366225d4a925cd3cd6ab927fa671ba6f1d authored over 14 years ago by Pieter Noordhuis <[email protected]>
Use automatic numbering in tests

aec1fbd2ad9bb4505ae0ba915740802baee76ebc authored over 14 years ago by Pieter Noordhuis <[email protected]>
Update sds code

3253105d495cefd8cbcf6bfea3044e8eb38b68ee authored over 14 years ago by Pieter Noordhuis <[email protected]>
Expose API for streaming bytes to a reply

e621f31306d0fd7592a98dad44f3d6f0eaeb84db authored over 14 years ago by Pieter Noordhuis <[email protected]>
Free reply in test.c to make hiredis-test run cleanly on Valgrind

4ec97f5907e997e64071a52b6e5db2371ad84ab4 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Change function prototype

f87625777de2429c0691e321106b9016d35a4e4b authored over 14 years ago by Pieter Noordhuis <[email protected]>
Use auxiliary variable to store reply before free'ing the list

c18b58899e6cad293983fbe522d241bc6a7ce436 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Clean up when there is an I/O error

62c8054dbe5d590a7f2d36e4e5176996215e9aa7 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Rewrite reply parsing to use a read buffer

457cdbf7c5f98c7ac5b4d727a1bad0c041f7cc66 authored over 14 years ago by Pieter Noordhuis <[email protected]>
Add speed tests

66036d113eb5ea45e61ad4e672377996c081330c authored over 14 years ago by Pieter Noordhuis <[email protected]>
memory leak resolved in redisReadIntegerReply

e7aa0b4b5244b7c8a508067b2836b3f7e7137552 authored over 14 years ago by antirez <[email protected]>
integer memory leak fixed, thanks to Amit Bakshi for both reporting and providing a patch

4b5f030d4fa41156390b38d6db8842de78f19dba authored over 14 years ago by antirez <[email protected]>
TODO updated

4b98ed2dca9a92e9c7deefd73543b65fb6abf083 authored over 14 years ago by antirez <[email protected]>
Build a shared library

857c9212d31f4487b570c8adef15ca37a755a1b5 authored over 14 years ago by Mina Naguib <[email protected]>
strcasecmp requires strings.h

7302a5ec69b498f4f04beb4534f6ba33c7bc38be authored over 14 years ago by Pierre Riteau <[email protected]>
Constify the API and enable -Wwrite-strings

The API is more similar to printf now.

4693a51707fa5c29853d7df110b424df08114f38 authored over 14 years ago by Pierre Riteau <[email protected]>
minimalistic test suite...

bd4ec5705906642268d93561985f216f07dc2ba7 authored over 14 years ago by antirez <[email protected]>
documentation

df0f2a3aedc4f20af9647acf1512a4401d4cec2e authored over 14 years ago by antirez <[email protected]>
more stuff into example

9562351ae543ca0f5ad67967eeb5a0147cb730b7 authored over 14 years ago by antirez <[email protected]>
better example and license information

3d8d3aa0e57570612e62507ed69f3b7656428157 authored over 14 years ago by antirez <[email protected]>
new newline needed after commands

60e85fb4f34a61c5a835f548dc868e20b49c4f1e authored over 14 years ago by antirez <[email protected]>
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

4f6fc6dfb13ba65a88b3976814f41f5f5ce24dc0 authored over 14 years ago by antirez <[email protected]>