139 Commits

Author SHA1 Message Date
Nicolas Favre-Felix
80767ee314 Fixed smembers test 2012-04-09 10:30:58 +01:00
Nicolas Favre-Felix
199d5e696f Fix issue with interned igbinary strings.
Possibly related to ticket #145.
2012-03-15 00:05:17 +00:00
Nicolas Favre-Felix
1a1a81bf62 Fixed issue with HDEL in serialize mode.
Addresses GitHub issue #114. Fixed unit test as well.
2011-12-30 13:50:39 +00:00
Nicolas Favre-Felix
c6672f0a96 Fixed weight type issue in ZUNION.
(Fixes GitHub issue #109).
2011-12-26 18:01:51 +00:00
Nicolas Favre-Felix
d0d00341ff Make sure publish() can be called in a pipeline.
This will also make it possible to use publish()
in a MULTI/EXEC context. Fixes GitHub issue #104.
2011-12-13 19:54:13 +00:00
Nicolas Favre-Felix
78f0abf3ec Fixed crash on ZREM with missing parameter.
generic_multiple_args_cmd() checked for missing
parameters but was missing a return FAILURE when
the number of parameters was lower than expected.

A unit test was added. This fixes GiHub issue #102.
2011-12-11 22:32:57 +00:00
Nicolas Favre-Felix
6cbbcfe997 Fixed unit tests. 2011-11-27 19:44:09 +00:00
Nicolas Favre-Felix
90a82d3d9c Fixed issue with ZSCORE in MULTI/EXEC context.
This addresses GiHub issue #78.
2011-11-09 13:33:27 +00:00
Nicolas Favre-Felix
27fc7c79a2 Bugfix for hgetall used with serializer.
Fixes issue #62.
Also started removing phpunit, it is such a pain to use.
2011-11-03 22:23:15 +00:00
Nicolas Favre-Felix
552e44fdf9 Fixed GitHub issues #57 and #58. 2011-10-10 13:36:29 +01:00
Nicolas Favre-Felix
2b22f2e994 Fixed ZADD parameter handling (Issue #55).
phpredis used to implement the variadic ZADD command with the "*"
zend parameter handler, which seems too recent even for PHP 5.2.4.
This commit handles variadic arguments in a more portable way and
adds a unit test for variadic ZADD.
2011-10-02 12:47:30 +01:00
Nicolas Favre-Felix
9708eab9e0 Made LPUSH/RPUSH variadic. 2011-08-08 22:34:06 +01:00
Nicolas Favre-Felix
f968c17f2b Made ZREM variadic. 2011-08-01 22:50:55 +01:00
Nicolas Favre-Felix
331f405162 Made SREM variadic 2011-08-01 22:43:55 +01:00
Nicolas Favre-Felix
1fb940430f Made SADD variadic 2011-08-01 22:41:00 +01:00
Nicolas Favre-Felix
b783d7e3aa Better variadic function, variadic HDEL. 2011-08-01 22:37:22 +01:00
Nicolas Favre-Felix
5c65c0394e Updated unit tests 2011-08-01 21:43:18 +01:00
Nicolas Favre-Felix
1eef6a6e01 Fixed LIMIT input for sorts. 2011-04-25 22:41:43 +02:00
Nicolas Favre-Felix
fbdf65c75c Added OBJECT command. 2011-04-06 14:32:39 +02:00
Nicolas Favre-Felix
99af20e3ef ported change to RENAMENX from upstream Redis. 2011-03-30 13:37:23 +02:00
Nicolas Favre-Felix
393cfb0c8e Fix KEYS when serializer is enabled. 2011-02-22 09:50:59 +01:00
Nicolas Favre-Felix
f717ac07a0 HINCRBY bugfix + unit test. 2011-02-15 09:45:47 +01:00
Nicolas Favre-Felix
3d08f295c5 Fix problem related to issue 91. 2011-02-14 15:12:15 +01:00
Nicolas Favre-Felix
ed61e0f893 Fix for issue #91, numeric hash fields. 2011-02-13 14:41:35 +01:00
Nicolas Favre-Felix
a086b0e55b Add missing ZREMRANGEBYRANK + doc, tests. 2011-01-24 16:26:40 +01:00
Nicolas Favre-Felix
426609531f Add HSETNX. 2011-01-24 16:08:09 +01:00
Nicolas Favre-Felix
a15d84cb76 Added MSETNX. 2011-01-20 14:35:54 +01:00
Nicolas Favre-Felix
5c4d937a47 Removed test failing with old versions of Redis. 2011-01-20 14:31:55 +01:00
Nicolas Favre-Felix
e055335cd0 Bigint support in HINCRBY, test fixes. 2011-01-16 15:45:36 +01:00
Nicolas Favre-Felix
fd03564301 Fix prefix problems with hashes, add more tests. 2011-01-14 10:32:59 +01:00
Nicolas Favre-Felix
d93b1352c3 Added ZREVRANGEBYSCORE. 2010-12-28 14:54:30 +01:00
Nicolas Favre-Felix
b1142fe27e Merge branch 'master' into serializer
Conflicts:
	library.c
2010-12-28 12:04:36 +01:00
Nicolas Favre-Felix
322dd1d1e8 Added GETBIT, SETBIT with doc and unit tests. 2010-12-17 10:20:38 +01:00
Nicolas Favre-Felix
fe09260f54 Added doc & tests for SETRANGE. 2010-12-17 09:55:57 +01:00
Nicolas Favre-Felix
7c2478629d Merge branch 'master' into serializer 2010-12-15 16:10:31 +01:00
Nicolas Favre-Felix
5c4447e79a Merge branch 'master' into serializer
Conflicts:
	redis.c
2010-12-14 16:34:50 +01:00
Nicolas Favre-Felix
a35396e66f Bugfix with MGET in multi/exec mode. 2010-12-14 16:33:50 +01:00
Nicolas Favre-Felix
ad4d302a43 Added igbinary. 2010-12-12 22:56:50 +01:00
Nicolas Favre-Felix
40780e0fe3 Fixed tests, tested getMultiple. 2010-12-12 22:25:08 +01:00
Nicolas Favre-Felix
4ae4b34f50 Finished serialization for hash commands. 2010-12-12 20:32:09 +01:00
Nicolas Favre-Felix
3d0bb74249 Serializing option for HGET/HSET/HGETALL. 2010-12-12 19:39:53 +01:00
Nicolas Favre-Felix
113c556eff Added serialization to Z* functions and MSET. 2010-12-12 19:04:35 +01:00
Nicolas Favre-Felix
ca904bc7e0 Added serialization to lots of functions. 2010-12-12 18:42:47 +01:00
Nicolas Favre-Felix
b2afc58654 First work on serializer. 2010-12-08 23:47:25 +01:00
Nicolas Favre-Felix
32e0fa2c73 Fixed issue #68. 2010-11-28 15:10:28 +01:00
LeonLegion
0559f55863 Types REDIS_ZSET and REDIS_HASH added. 2010-11-24 02:15:10 +03:00
Nicolas Favre-Felix
85e4746be9 Added unit tests for INCRBY, DECRBY. 2010-10-27 14:22:19 +02:00
Nicolas Favre-Felix
a950040635 Added INCR aliases. 2010-10-25 09:44:19 +02:00
Nicolas Favre-Felix
853df32fbc Fixed unit tests for good, still using auth... 2010-10-06 14:34:07 +02:00
Nasreddine Bouafif
a9741b41bf (not)Using auth 2010-10-04 14:49:20 +02:00