Commit Graph

309 Commits

Author SHA1 Message Date
Daniele Alessandri 08afdfac1b Trying to increment a string value associated to an hash now raises an error. 2010-05-10 11:27:26 +02:00
Daniele Alessandri 0664bde7e9 Bugfix: replies to DEL commands must not be converted to a boolean response as DEL returns the number of keys removed. 2010-05-10 11:20:51 +02:00
Daniele Alessandri ddafa2a101 Updated TODO. 2010-04-27 21:55:07 +02:00
Daniele Alessandri 2787905024 Test suite: updated tests for ZUNION and ZINTER with the new options style. 2010-04-27 21:54:37 +02:00
Daniele Alessandri b623144881 Better support for options for ZUNION and ZINTER. 2010-04-27 21:49:03 +02:00
Daniele Alessandri c73918b991 Fix a couple of command aliases in the DEV profile. 2010-04-24 14:01:24 +02:00
Daniele Alessandri b4e4ca0f0b Updated TODO. 2010-04-24 13:59:11 +02:00
Daniele Alessandri db6b8a3fc8 Parse response to HGETALL as an array of key => value. 2010-04-24 13:56:00 +02:00
Daniele Alessandri 0d4426c052 Test suite: added HKEYS, HVALS, HGETALL. 2010-04-24 13:54:06 +02:00
Daniele Alessandri 08adcb478d Test suite: added HLEN. 2010-04-24 13:16:34 +02:00
Daniele Alessandri 513baa556c Process responses to HDEL as boolean values. 2010-04-24 13:09:18 +02:00
Daniele Alessandri ead414c530 Test suite: added HDEL. 2010-04-24 13:09:05 +02:00
Daniele Alessandri 290e51877c Test suite: added HINCRBY. 2010-04-24 13:03:14 +02:00
Daniele Alessandri de2d75e1d7 Process responses to HEXISTS as boolean values. 2010-04-24 12:47:09 +02:00
Daniele Alessandri 7e61ac6f30 Test suite: added HEXISTS. 2010-04-24 12:45:34 +02:00
Daniele Alessandri 4f25e568cf Test suite: minor code formatting fix. 2010-04-24 12:42:37 +02:00
Daniele Alessandri 83ffdc8bc8 Various fixes for HMSET and HMSET. 2010-04-24 12:00:46 +02:00
Daniele Alessandri 7f138dfcef Test suite: added HMSET and HMGET. 2010-04-24 11:59:30 +02:00
Daniele Alessandri 55404a2400 Test suite: added HSETNX. 2010-04-24 11:37:09 +02:00
Daniele Alessandri 69bce63453 Test suite: added HGET. 2010-04-24 11:33:48 +02:00
Daniele Alessandri d79321ac8c Process responses to HSET as boolean values. 2010-04-24 11:26:35 +02:00
Daniele Alessandri c227eedbb7 Test suite: added HSET. 2010-04-24 11:24:55 +02:00
Daniele Alessandri 887fea87e5 Test suite: added ZREMRANGEBYRANK. 2010-04-24 11:12:35 +02:00
Daniele Alessandri 4b2400b570 Test suite: added ZINTER. 2010-04-24 10:26:34 +02:00
Daniele Alessandri a1c8568ccf Test suite: added ZUNION. 2010-04-24 10:21:29 +02:00
Daniele Alessandri fa039fe500 Test suite: renamed ZRANK test method. 2010-04-24 09:47:10 +02:00
Daniele Alessandri 9c587b6f1d Test suite: added ZREVRANK. 2010-04-24 09:46:32 +02:00
Daniele Alessandri 2f6b24c098 Test suite: added SETEX. 2010-04-24 09:37:54 +02:00
Daniele Alessandri 23de93582e Code formatting. 2010-04-24 09:19:51 +02:00
Daniele Alessandri e8a443200b Updated CHANGELOG. 2010-04-23 21:38:43 +02:00
Daniele Alessandri 2eb68a0fee New command: SETEX (Redis v2.0-dev). 2010-04-23 21:38:22 +02:00
Daniele Alessandri 77c8b702b6 Updated CHANGELOG. 2010-04-23 21:33:30 +02:00
Daniele Alessandri a092ad46a3 New command: HSETNX (Redis v2.0-dev). 2010-04-23 21:32:10 +02:00
Daniele Alessandri b5e2b9eee9 New command: HMGET (Redis v2.0-dev). 2010-04-23 21:28:43 +02:00
Daniele Alessandri 7c2866f9fc Updating comments. 2010-04-23 21:23:23 +02:00
Daniele Alessandri 801c4647fd Slight code reorganization. 2010-04-23 21:22:46 +02:00
Daniele Alessandri 0e224ec492 Updated CHANGELOG. 2010-04-23 21:18:33 +02:00
Daniele Alessandri b93b13133d New command: HMSET (Redis v2.0-dev). 2010-04-23 21:12:46 +02:00
Daniele Alessandri d9542c21c3 New commands: PUBLISH, SUBSCRIBE and UNSUBSCRIBE (Redis v2.0-dev). 2010-04-23 21:07:36 +02:00
Daniele Alessandri 0a0afec0ec Reminder for ZUNION. 2010-04-23 20:54:41 +02:00
Daniele Alessandri 7ae94ca6fb New \Predis\Protocol class. It's not really used right now... 2010-04-23 20:37:57 +02:00
Daniele Alessandri df9fef8900 Moved the IDistributionAlgorithm interface one level up in the namespace chain, from \Predis\Utilities to \Predis. 2010-04-23 20:27:59 +02:00
Daniele Alessandri d369f8bb74 Renamed the \Predis\Utilities\IRing interface to \Predis\Utilities\IDistributionAlgorithm. 2010-04-21 22:13:13 +02:00
Daniele Alessandri 8ae5197a38 Moved the initialization of the default \Predis\ResponseReader instance. 2010-04-21 21:32:19 +02:00
Daniele Alessandri b662b36e95 Updated CHANGELOG. 2010-04-19 20:51:17 +02:00
Daniele Alessandri ce790071fd Providing optional support for Redis 1.0. 2010-04-19 16:52:49 +02:00
Daniele Alessandri f729793a9a Drop default support for Redis 1.0 and switch to the multi-bulk type for all of the Redis commands. 2010-04-19 16:50:50 +02:00
Daniele Alessandri ad2381a305 Users can now register their own \Predis\RedisServerProfile class with one or more aliases. 2010-04-19 15:37:43 +02:00
Daniele Alessandri 3121b1761e Changed the way arguments of SORT are prepared before serialization to be compatible with an eventual switch to multi-bulk requests. 2010-04-18 14:33:22 +02:00
Daniele Alessandri 81aef81b55 Changed the way arguments of SLAVEOF are prepared before serialization to be compatible with an eventual switch to multi-bulk requests. 2010-04-18 13:09:03 +02:00