Daniele Alessandri
|
ffcbc4fdb1
|
Fix SUBSCRIBE and PSUBSCRIBE so that they can accept a list of channels for subscription.
|
2011-03-26 22:57:03 +01:00 |
|
Daniele Alessandri
|
e398ff977e
|
Switch to Redis 2.2 as the default server profile.
|
2011-03-20 16:12:14 +01:00 |
|
Daniele Alessandri
|
18b44fae53
|
Fix a couple of corner cases for Predis\MultiExecBlock.
|
2011-03-20 15:26:02 +01:00 |
|
Daniele Alessandri
|
e800f1904b
|
Remove trailing spaces.
|
2011-03-08 12:27:59 +01:00 |
|
Daniele Alessandri
|
9f1f07083a
|
Add a VERSION constant to Predis\Client.
|
2011-03-08 12:16:40 +01:00 |
|
Daniele Alessandri
|
235d311cb1
|
Change network resource handling in the internals of Predis\Connection.
|
2011-03-06 15:03:07 +01:00 |
|
Daniele Alessandri
|
6f46fa1f2d
|
Improve the parsing of replies to INFO.
|
2011-03-06 12:30:42 +01:00 |
|
Daniele Alessandri
|
798e2b18dc
|
Implement Predis\Command::__toString().
|
2011-03-06 11:21:32 +01:00 |
|
Daniele Alessandri
|
aaa16c8276
|
Remove ConnectionParameters::__toString() (reverts ca6ff4f and e67cfe2).
|
2011-03-06 11:13:53 +01:00 |
|
Daniele Alessandri
|
e700061cc0
|
Change Predis\Connection in order to disable read/write timeouts when the value of 'read_write_timeout' is also equal to 0.
|
2011-03-06 11:11:42 +01:00 |
|
Daniele Alessandri
|
e67cfe27b3
|
Use a slightly different approach for ConnectionParameters::__toString().
|
2011-03-05 16:42:22 +01:00 |
|
Daniele Alessandri
|
f36d7a1d56
|
Implement a new command class for INFO to parse the new reply format for this command in Redis > 2.2.
|
2011-03-05 15:15:10 +01:00 |
|
Daniele Alessandri
|
ca6ff4f734
|
Implement ConnectionParameters::__toString().
|
2011-03-05 13:49:58 +01:00 |
|
Daniele Alessandri
|
06d974c0bc
|
Allow passing an array for the list of source keys to be used in ZUNIONSTORE/ZINTERSTORE.
|
2011-03-05 12:33:04 +01:00 |
|
Daniele Alessandri
|
6b6edbe6c2
|
Add support for connecting to Redis with UNIX domain sockets.
|
2011-03-01 21:46:41 +01:00 |
|
Daniele Alessandri
|
c41bb2c314
|
Fix bug reading zero-length values from a bulk response.
|
2011-02-12 21:48:18 +01:00 |
|
Daniele Alessandri
|
79372cb99b
|
Add inline (p)subscribe via options on Predis\PubSubContext initialization.
|
2011-02-12 11:43:37 +01:00 |
|
Daniele Alessandri
|
0d7fe31110
|
Minor indentation fix.
|
2011-01-26 16:24:34 +01:00 |
|
Daniele Alessandri
|
118af2809c
|
Use only one check for replies that should not be passed to a reply parser.
|
2011-01-14 17:07:00 +01:00 |
|
Daniele Alessandri
|
8dcd10dbbc
|
Fix missing registration for the Redis 2.2 profile.
|
2011-01-13 12:32:31 +01:00 |
|
Daniele Alessandri
|
3a6907241b
|
Promote the profile for Redis 2.2 as stable (the default for the client is still 2.0).
|
2011-01-13 12:26:19 +01:00 |
|
Daniele Alessandri
|
eae29bc3da
|
Do not use is_numeric() when it is not really needed (it is relatively slow).
|
2011-01-13 12:18:24 +01:00 |
|
Daniele Alessandri
|
727feb3f27
|
Remove usage of constants in the protocol handlers.
|
2011-01-13 12:13:46 +01:00 |
|
Daniele Alessandri
|
3924235501
|
Apply minor changes.
|
2011-01-13 12:09:46 +01:00 |
|
Daniele Alessandri
|
dc704c8cc4
|
Remove unused variables.
|
2011-01-13 12:07:54 +01:00 |
|
Daniele Alessandri
|
8d6f65d3dd
|
Add the 'on_retry' callback as an option for Predis\MultiExecBlock.
|
2011-01-13 12:06:11 +01:00 |
|
Daniele Alessandri
|
40dfabb139
|
Do not perform useless read operations in the bulk reply handler.
|
2011-01-13 00:17:03 +01:00 |
|
Daniele Alessandri
|
923d998f35
|
Fix namespacing issue.
|
2011-01-06 00:59:12 +01:00 |
|
Daniele Alessandri
|
eae8fb8971
|
Minor code style change.
|
2011-01-06 00:55:38 +01:00 |
|
Daniele Alessandri
|
4fc5ee65fd
|
Look for a closing curly brace in a string only after the index of the opening one when using key tags.
|
2011-01-06 00:55:38 +01:00 |
|
Daniele Alessandri
|
007ddaecfa
|
Optimize when a pair of curly brackets for key tagging is missing.
|
2011-01-06 00:55:38 +01:00 |
|
Daniele Alessandri
|
455e56927a
|
Create a new class to handle the old response type of KEYS (Redis v1.2).
|
2011-01-06 00:55:38 +01:00 |
|
Daniele Alessandri
|
4b1302a93a
|
Use a faster method to detect errors when reading a line from the server.
|
2011-01-06 00:55:00 +01:00 |
|
Daniele Alessandri
|
d46b0e0785
|
Reuse code a bit.
|
2011-01-06 00:55:00 +01:00 |
|
Daniele Alessandri
|
cf522ff2b4
|
Use a local cache for handlers while iterating chunks of a multi-bulk reply.
|
2011-01-06 00:54:10 +01:00 |
|
Daniele Alessandri
|
db92c7a9b8
|
Reduce overhead by directly managing reply handlers for multibulk replies.
|
2011-01-06 00:54:10 +01:00 |
|
Daniele Alessandri
|
30926def60
|
Rewrite the bulk reply handler (more compact and faster code).
|
2011-01-06 00:54:10 +01:00 |
|
Daniele Alessandri
|
7465daa0eb
|
More strict check of the length argument for a network read.
|
2011-01-06 00:52:56 +01:00 |
|
Daniele Alessandri
|
2c761d6c95
|
Remove a useless check for the payload length.
|
2011-01-06 00:52:56 +01:00 |
|
Daniele Alessandri
|
1e32f8aaa8
|
Use an explicit index to add values to the multi-bulk reply array.
|
2011-01-06 00:52:55 +01:00 |
|
Daniele Alessandri
|
2a25b0e3f3
|
Nothing fancy, and hardly an optimization.
|
2011-01-06 00:52:55 +01:00 |
|
Daniele Alessandri
|
5a6a48fa17
|
Avoid allocating an iterator to traverse the arguments list of a command.
|
2011-01-06 00:52:55 +01:00 |
|
Daniele Alessandri
|
64951b1799
|
Preallocate an empty array for empty command arguments.
|
2011-01-06 00:52:04 +01:00 |
|
Daniele Alessandri
|
0c9b822095
|
Code style changes only.
|
2011-01-01 13:49:55 +01:00 |
|
Daniele Alessandri
|
030d9740bd
|
Cannot execute with a transaction block after using fluent interface style with Predis\MultiExecBlock.
|
2011-01-01 13:49:39 +01:00 |
|
Daniele Alessandri
|
0bbbe064b5
|
Improve fluent-interface style for transactions with CAS.
|
2011-01-01 13:49:39 +01:00 |
|
Daniele Alessandri
|
87439ae631
|
Cannot use the 'retry' option for transactions without providing a function block.
|
2011-01-01 13:49:39 +01:00 |
|
Daniele Alessandri
|
7997eab57c
|
Do not fail with empty transactions when using CAS.
|
2011-01-01 13:49:38 +01:00 |
|
Daniele Alessandri
|
d667bcb6bb
|
Fix and optimize WATCH with CAS.
|
2011-01-01 13:49:38 +01:00 |
|
Daniele Alessandri
|
e3dd311dd3
|
Add support for optional automatic retries upon aborted transactions.
|
2011-01-01 13:49:08 +01:00 |
|